Re (2): Questions regarding hardware for a Free Software (especially Debian)

2009-12-17 Thread peasthope
Date:   Thu, 17 Dec 2009 00:44:45 -0500, Celejar wrote,
> KMS is apparently badly broken on my Intel 945GM:

And LXDE is broken for the Intel 82815 Chipset 
on the board in the IBM NetVista 6578-RAU.

Regards,... Peter E.


-- 
Google "pathology workshop"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: 2 questions: 1., iptables, 2., local net with rtl8139

2004-08-18 Thread Florian Ernst
Hello!

On Wed, Aug 18, 2004 at 08:28:52PM +0200, Na Zo wrote:
> >>>The problem come, if i try to use the following command:<<<
> 
> router:~# iptables -A FORWARD -i eth0 -o eth1 -m state --state
   ^
> ESTABLISHED,RELATED -j ACCEPT
> 
> then i got this error message (error code: 1):
> "
> iptables: No chain/target/match by that name
> "

Your lsmod listing lacks this module, so try "modprobe ipt_state"...

> 2., the second problem is, that i have in this router
> machine two
> ethernetcard (rtl8029, and 8139). the 8029 works fine, but i
> use 8139too
> driver for the other one. If i try to copy(ftp) _to_ the
> router, everything
> works fine with about 2MByte/s (the router is a PI 100MHZ,
> so it' s good for
> it), but in the other direction (from the router to another
> machine) i can
> copy only with 2-300KByte/s.

Last time I experienced something like this the rtl8139 was faulty
(some people say they are all buggy right when they are shipped).

Cheers,
Flo


signature.asc
Description: Digital signature


2 questions: 1., iptables, 2., local net with rtl8139

2004-08-18 Thread Na Zo
-- Továbbított levél --
Dátum: Sat, 14 Aug 2004 13:35:24 +0200 (CEST)
Feladó: Na Zo <[EMAIL PROTECTED]>
Címzett: [EMAIL PROTECTED]
Tárgy: 2 questions: 1., ipfwadm, 2., local net with rtl8139

hi!

1., I' d like to use ipmasquerading to share the internet,
but i have
problem with it. I have installed the following modules into
the kernel

  IP: Netfilter Configuration  --->
 Connection tracking (required for masq/NAT)
   FTP protocol support
   IRC protocol support
 IP tables support (required for filtering/masq/NAT)
   Packet filtering
   Full NAT
 MASQUERADE target support
   Packet mangling
 ipchains (2.2-style) support
 ipfwadm (2.0-style) support

(certainly i don' t use the last two).

All other modules can be loaded with success.
I use 2.4.26 kernel, and if i load all modules, i got this:

"
router:~# lsmod
Module  Size  Used byNot tainted
iptable_mangle  2208   0  (unused)
ipt_MASQUERADE  1952   0  (unused)
ip_nat_irc  2752   0  (unused)
ip_nat_ftp  3616   0  (unused)
ip_conntrack_irc3296   1  [ip_nat_irc]
ip_conntrack_ftp4128   1  [ip_nat_ftp]
iptable_nat22516   2  (autoclean)
[ipt_MASQUERADE ip_nat_irc
ip_nat_ftp]
ip_conntrack   30452   2  (autoclean)
[ipt_MASQUERADE ip_nat_irc
ip_nat_ftp ip_conntrack_irc ip_conntrack_ftp iptable_nat]
iptable_filter  1728   0  (autoclean) (unused)
ip_tables  14560   6  [iptable_mangle
ipt_MASQUERADE iptable_nat
iptable_filter]
8139too13376   1
ne2k-pci4416   1
router:~#
"

eth0 is the interface to the internet, and eth1 is for the
local net.

>>>The problem come, if i try to use the following command:<<<

"
router:~# iptables -A FORWARD -i eth0 -o eth1 -m state --state
ESTABLISHED,RELATED -j ACCEPT
"

then i got this error message (error code: 1):
"
iptables: No chain/target/match by that name
"

I tried to loose the problem with google, but nothing could
help. Certainly
i made these:

"
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
"

Distro: debian

---

2., the second problem is, that i have in this router
machine two
ethernetcard (rtl8029, and 8139). the 8029 works fine, but i
use 8139too
driver for the other one. If i try to copy(ftp) _to_ the
router, everything
works fine with about 2MByte/s (the router is a PI 100MHZ,
so it' s good for
it), but in the other direction (from the router to another
machine) i can
copy only with 2-300KByte/s.

In the kernel (2.4.26) i compiled this as modules:
"
RealTek RTL-8139 PCI Fast Ethernet Adapter support
",
and compiled these into the kernel:
"
Use PIO instead of MMIO
Support for uncommon RTL-8139 rev. K (automatic channel equ...
"

I tryed all combination of the last two.

The cabel length is about 20m.

Both of the Distros are Debian;

Thans very much for your help.

[EMAIL PROTECTED]





2 questions: 1., ipfwadm, 2., local net with rtl8139

2004-08-14 Thread Na Zo
hi!

1., I' d like to use ipmasquerading to share the internet, but i have
problem with it. I have installed the following modules into the kernel

  IP: Netfilter Configuration  --->
 Connection tracking (required for masq/NAT)
   FTP protocol support
   IRC protocol support
 IP tables support (required for filtering/masq/NAT)
   Packet filtering
   Full NAT
 MASQUERADE target support
   Packet mangling
 ipchains (2.2-style) support
 ipfwadm (2.0-style) support

(certainly i don' t use the last two).

All other modules can be loaded with success.
I use 2.4.26 kernel, and if i load all modules, i got this:

"
router:~# lsmod
Module  Size  Used byNot tainted
iptable_mangle  2208   0  (unused)
ipt_MASQUERADE  1952   0  (unused)
ip_nat_irc  2752   0  (unused)
ip_nat_ftp  3616   0  (unused)
ip_conntrack_irc3296   1  [ip_nat_irc]
ip_conntrack_ftp4128   1  [ip_nat_ftp]
iptable_nat22516   2  (autoclean) [ipt_MASQUERADE ip_nat_irc
ip_nat_ftp]
ip_conntrack   30452   2  (autoclean) [ipt_MASQUERADE ip_nat_irc
ip_nat_ftp ip_conntrack_irc ip_conntrack_ftp iptable_nat]
iptable_filter  1728   0  (autoclean) (unused)
ip_tables  14560   6  [iptable_mangle ipt_MASQUERADE iptable_nat
iptable_filter]
8139too13376   1
ne2k-pci4416   1
router:~#
"

eth0 is the interface to the internet, and eth1 is for the local net.

>>>The problem come, if i try to use the following command:<<<

"
router:~# iptables -A FORWARD -i eth0 -o eth1 -m state --state
ESTABLISHED,RELATED -j ACCEPT
"

then i got this error message (error code: 1):
"
iptables: No chain/target/match by that name
"

I tried to loose the problem with google, but nothing could help. Certainly
i made these:

"
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
"

Distro: debian

---

2., the second problem is, that i have in this router machine two
ethernetcard (rtl8029, and 8139). the 8029 works fine, but i use 8139too
driver for the other one. If i try to copy(ftp) _to_ the router, everything
works fine with about 2MByte/s (the router is a PI 100MHZ, so it' s good for
it), but in the other direction (from the router to another machine) i can
copy only with 2-300KByte/s.

In the kernel (2.4.26) i compiled this as modules:
"
RealTek RTL-8139 PCI Fast Ethernet Adapter support
",
and compiled these into the kernel:
"
Use PIO instead of MMIO
Support for uncommon RTL-8139 rev. K (automatic channel equ...
"

I tryed all combination of the last two.

The cabel length is about 20m.

Both of the Distros are Debian;

Thans very much for your help.

[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



2 questions

2004-04-05 Thread j smith
1st question

i have 2 PCs, one with cable modem connection. I want
to connect them using a serial line. the serial line
actually is a serial mouse extention line. what
software configuration do I have to make?

2nd question

is it possible to use kernel 2.4 in Debian 1.2? the
compiled kernel 2.4 has no modules.


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions from debian noob

2004-01-27 Thread Monique Y. Herman
On 2004-01-27, Timmy P. penned:
> hello,
>
> i was wondering if yall could tell me why the network install for
> debian does not support Internal PCI cards.  I do not have a laptop,
> and can not spare 7 cds to install the os that i have heard so much
> good about. 

I'm not sure about the details of "network install", but you shouldn't
need 7 CDs to install debian.  One will do to get you up and running,
and then you can pull whatever packages you need over the net.  Also,
I'm suspicious about this "no Internal PCI cards" business.  Where is
this stated?

> I do plan on buying the cd set...but i wanted to make sure it worked
> with my hardware, and i liked it myself, before i buy it.

If money is such an issue and you have some bandwidth, there's no need
for you to buy the CDs.  Just download them.

> My other question, does debian work with AMD processors?  I believe
> they are intell compatible, but i can't find them mentioned on the
> debian site...so i figured i would ask the list.

I hope so ... my debian boxes are all athlons.

> Tim P.  Newark, DE (running mandrake and sick of it)

You've come to the right place!


-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions from debian noob

2004-01-27 Thread Nick Hastings
Hi,

* Timmy P. <[EMAIL PROTECTED]> [040128 10:15]:
> hello,
> 
> i was wondering if yall could tell me why the network
> install for debian does not support Internal PCI
> cards.

It does. Why do you think otherwise? What card do you need it to
support?

> I do not have a laptop, and can not spare 7
> cds to install the os that i have heard so much good
> about.

You don't need them anyway. You should be able to get your NIC working
with the net install cd.

> I do plan on buying the cd set...but i wanted to make
> sure it worked with my hardware, and i liked it
> myself, before i buy it.

Ahh, don't bother buying them. Once you have your NIC working you can
just download and install the packages you want painlessly using
apt-get.

> My other question, does debian work with AMD
> processors?  I believe they are intell compatible, but
> i can't find them mentioned on the debian site...so i
> figured i would ask the list.

Yes, see http://www.debian.org/ports/ The AMD processors are basically
same as the Intel. Just use the i386 binaries.

Cheers,

Nick.

-- 
Debian testing/unstable
Linux twofish 2.6.1-looxt93c1 i686 GNU/Linux


signature.asc
Description: Digital signature


Re: 2 questions from debian noob

2004-01-27 Thread Sanjay Chigurupati

I am running Debian on AMD athlon desktop



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions from debian noob

2004-01-27 Thread Alexander Schmehl
* Timmy P. <[EMAIL PROTECTED]> [040127 17:27]:

> i was wondering if yall could tell me why the network
> install for debian does not support Internal PCI
> cards.  I do not have a laptop, and can not spare 7
> cds to install the os that i have heard so much good
> about.  

It depends on the chipset your PCI-card is based on. Most cards should
work. My notebooks Intel ethernet pro 100 based internal device is
supported. Some others might not. Do you know more about your card?


> My other question, does debian work with AMD
> processors?  I believe they are intell compatible, but
> i can't find them mentioned on the debian site...so i
> figured i would ask the list.

Yes, AMD processors are compatible with Intel processors, and therfore
will work with Debian.


Yours sincerely,
  Alexander


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions from debian noob

2004-01-27 Thread Carl Fink
On Tue, Jan 27, 2004 at 08:27:41AM -0800, Timmy P. wrote:

> i was wondering if yall could tell me why the network
> install for debian does not support Internal PCI
> cards.

It does.  I, for instance, installed using an internal PCI ethernet card the
last two times I installed Debian.

What problem are you experiencing?

> I do plan on buying the cd set...but i wanted to make
> sure it worked with my hardware, and i liked it
> myself, before i buy it.

There's no charge.  Debian is *aggressively* free (and Free).  I don't think
the Project objects if you want to donate money, though.
 
> My other question, does debian work with AMD
> processors?  I believe they are intell compatible, but
> i can't find them mentioned on the debian site...so i
> figured i would ask the list.

If you check the Debian package site (packages.debian.org) you'll find a
bunch of packages specifically compiled to better support AMD chips,
including my own 1.4 GHz Athlon.  Works beautifully.

Welcome to Debian.
--  
Carl Fink [EMAIL PROTECTED]
Jabootu's Minister of Proofreading
http://www.jabootu.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions from debian noob

2004-01-27 Thread David Clymer
On Tue, 2004-01-27 at 11:27, Timmy P. wrote:
> hello,
> 
> i was wondering if yall could tell me why the network
> install for debian does not support Internal PCI
> cards.  I do not have a laptop, and can not spare 7
> cds to install the os that i have heard so much good
> about.  
> 

I've never used it, but I'm guessing you just need to make sure that you
load the driver for your specific network card (and do the network
config correctly). 

You dont really need to do a network install unless all you've got are
boot floppies. The first Debian CD in the set all by itself is enough to
give you a usable system. Once you've got that installed you can use apt
to install anything else you might need via your network connection.

> 
> My other question, does debian work with AMD
> processors?  I believe they are intell compatible, but
> i can't find them mentioned on the debian site...so i
> figured i would ask the list.

Debian (and GNU/Linux in general) can run on any x86 compatible
processor be it AMD, Intel, Cyrix or whatever.

Hope that helps,

-davidc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



2 questions from debian noob

2004-01-27 Thread Timmy P.
hello,

i was wondering if yall could tell me why the network
install for debian does not support Internal PCI
cards.  I do not have a laptop, and can not spare 7
cds to install the os that i have heard so much good
about.  

I do plan on buying the cd set...but i wanted to make
sure it worked with my hardware, and i liked it
myself, before i buy it.

My other question, does debian work with AMD
processors?  I believe they are intell compatible, but
i can't find them mentioned on the debian site...so i
figured i would ask the list.

Thank you for your help.

Tim P.
Newark, DE
(running mandrake and sick of it)

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: speaker and bios [WAS: 2 questions: network card and internal speaker volume]

2003-11-04 Thread Vikki Roemer
On Sat, Nov 01, 2003 at 07:06:46PM -0500, Vikki Roemer wrote:
> Hi!
> I have 2 questions.  First, how do I turn up the volume of the internal
> speaker?

Haven't solved this one, but...

> 
> My second question is a little more complicated.  I just put in a new
> motherboard, and everything is working fine except the onboard nic.  It uses
> the same chipset that the old MB's onboard nic had (sis900), and therefore
> should use the same drivers.  But, when I tried to load the appropriate
> module (`modprobe sis900`), it chokes with:
> /lib/modules/2.4.21/kernel/drivers/net/sis900.o: init_module: No such device
> Hint: insmod errors can be caused by incorrect module parameters, including invalid 
> IO or IRQ parameters
> /lib/modules/2.4.21/kernel/drivers/net/sis900.o: insmod 
> /lib/modules/2.4.21/kernel/drivers/net/sis900.o failed
> /lib/modules/2.4.21/kernel/drivers/net/sis900.o: insmod sis900 failed
> 
> I tried recompiling and reinstalling the module, in case that was the
> problem (ran 'make clean ; make modules ; make modules_install'), but that
> didn't help at all.  Does anybody have any idea what the problem might be?

Solved this one.  The card turned out to be a Realtek card.  Found that out
when I ran 'lspci'.  Oops, heh. *grin*  Now I'm recompiling the kernel  with
the new driver, and it should work now.

> BTW, how do I reflash a BIOS without booting off the MB?  I want to fix the
> other MB, and its' problem is a corrupted BIOS, AFAICT.  TIA.

I would still like to know that, though.

-- 
Vikki RoemerHomepage: http://neuromancer.homelinux.com/
Registered Linux user #280021   http://counter.li.org/

How dare the government intervene to stifle innovation in the computer
industry! That's Microsoft's job, dammit!

PGP fingerprint: 0A3E 0AE4 CCD9 FF31 B4BB  C859 2DE1 B1D8 5CE0 1578
Keyserver: http://pgp.mit.edu/

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT d-(?) s: a18 C(++) UL P+ L+++> E W++ N+ o? 
K- w--() O? M? V?(-) PS+(+++) PE(++) Y+ PGP++ t+@ 5 X-() 
R*(?) tv-- b+++(++) DI+ D--(?) G e-(*)>+ h! r x+
--END GEEK CODE BLOCK--


 


pgp0.pgp
Description: PGP signature


2 questions: network card and internal speaker volume

2003-11-01 Thread Vikki Roemer
Hi!
I have 2 questions.  First, how do I turn up the volume of the internal
speaker?

My second question is a little more complicated.  I just put in a new
motherboard, and everything is working fine except the onboard nic.  It uses
the same chipset that the old MB's onboard nic had (sis900), and therefore
should use the same drivers.  But, when I tried to load the appropriate
module (`modprobe sis900`), it chokes with:
/lib/modules/2.4.21/kernel/drivers/net/sis900.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO 
or IRQ parameters
/lib/modules/2.4.21/kernel/drivers/net/sis900.o: insmod 
/lib/modules/2.4.21/kernel/drivers/net/sis900.o failed
/lib/modules/2.4.21/kernel/drivers/net/sis900.o: insmod sis900 failed

I tried recompiling and reinstalling the module, in case that was the
problem (ran 'make clean ; make modules ; make modules_install'), but that
didn't help at all.  Does anybody have any idea what the problem might be?

TIA.

BTW, how do I reflash a BIOS without booting off the MB?  I want to fix the
other MB, and its' problem is a corrupted BIOS, AFAICT.  TIA.

-- 
Vikki RoemerHomepage: http://neuromancer.homelinux.com/
Registered Linux user #280021   http://counter.li.org/

Hurewitz's Memory Principle:
The chance of forgetting something is directly proportional
to . to  uh ..

PGP fingerprint: 0A3E 0AE4 CCD9 FF31 B4BB  C859 2DE1 B1D8 5CE0 1578
Keyserver: http://pgp.mit.edu/

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT d-(?) s: a18 C(++) UL P+ L+++> E W++ N+ o? 
K- w--() O? M? V?(-) PS+(+++) PE(++) Y+ PGP++ t+@ 5 X-() 
R*(?) tv-- b+++(++) DI+ D--(?) G e-(*)>+ h! r x+
--END GEEK CODE BLOCK--


 


pgp0.pgp
Description: PGP signature


Re: never mind last 2 questions

2003-01-15 Thread will trillich
On Wed, Jan 15, 2003 at 01:28:46AM -0800, Adam Kao wrote:
> I got my last two questions answered on IRC.

you might share them with us just in case someone here is
looking for them, too. :)

-- 
I use Debian/GNU Linux version 3.0;
Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
 
DEBIAN NEWBIE TIP #58 from Thomas Zimmerman <[EMAIL PROTECTED]>
:
Wondering HOW TO SET YOUR SYSTEM CLOCK?  There's a true
hardware clock on your computer's motherboard; at startup, it
sets your system's software clock.  To set your hardware clock
use "hwclock" (apt-get install util-linux). Try the --localtime
and --systohc options.  (Or even take a look at --help.)

Also see http://newbieDoc.sourceForge.net/ ...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




never mind last 2 questions

2003-01-15 Thread Adam Kao

I got my last two questions answered on IRC.

Thanks,
Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 2 questions: ethernet card s82595fx ; bunch of background sounds

2002-11-03 Thread Stephen Gran
This one time, at band camp, Antonio Rodriguez said:
> Thanks Stephen for your help, just another question: how do you
> control the volume output level (system wide, and/or user wide)?

With a mixer.  apt-cache search mixer will return a whole list of them.
I prefer aumix myself, but YMMV.  aumix is configurable system-wide in
/etc/aumixrc, and each user will have a ~/.aumixrc after running it
once.  So root can set volume for the box on boot, and users can set the
volume level for their sessions.

Steve

-- 
She cried, and the judge wiped her tears with my checkbook.
-- Tommy Manville



msg10757/pgp0.pgp
Description: PGP signature


Re: 2 questions: ethernet card s82595fx ; bunch of background sounds

2002-11-03 Thread Antonio Rodriguez
Thanks Stephen for your help, just another question: how do you control 
the volume output level (system wide, and/or user wide)?

Stephen Gran wrote:

This one time, at band camp, Antonio Rodriguez said:
 

ethernet card  s82595fx: What is the module for this?  bunch of
background sounds: I had to disable gnome audio events to avoid a
bunch of  repeating sounds that didn't seem to stop. Even that didn't
help. What could be wrong? Thanks. Using sb module, sound card is ess
es1869

thanks to all
   


I can't help you with the network card without more information -
manufacturer, etc.  Maybe google can help you there.  As for the second
problem, I have the same problem with a CS4232 card.  I have to rmmod
and then modprobe it to get it resolve.  Because it happens so frequently
(something to do with the mixer init.d script, followed by starting
gnome-session, although I haven't tracked it down), I made an init.d
script that runs after the mixer one, that just rmmod's and then
modprobe's - all is well.

HTH,
Steve

 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions: ethernet card s82595fx ; bunch of background sounds

2002-11-02 Thread Stephen Gran
This one time, at band camp, Antonio Rodriguez said:
> ethernet card  s82595fx: What is the module for this?  bunch of
> background sounds: I had to disable gnome audio events to avoid a
> bunch of  repeating sounds that didn't seem to stop. Even that didn't
> help. What could be wrong? Thanks. Using sb module, sound card is ess
> es1869
> 
> thanks to all

I can't help you with the network card without more information -
manufacturer, etc.  Maybe google can help you there.  As for the second
problem, I have the same problem with a CS4232 card.  I have to rmmod
and then modprobe it to get it resolve.  Because it happens so frequently
(something to do with the mixer init.d script, followed by starting
gnome-session, although I haven't tracked it down), I made an init.d
script that runs after the mixer one, that just rmmod's and then
modprobe's - all is well.

HTH,
Steve

-- 
BOFH excuse #4:

static from nylon underwear



msg10627/pgp0.pgp
Description: PGP signature


2 questions: ethernet card s82595fx ; bunch of background sounds

2002-11-02 Thread Antonio Rodriguez
ethernet card  s82595fx:
What is the module for this?
bunch of background sounds:
I had to disable gnome audio events to avoid a bunch of  repeating 
sounds that didn't seem to stop. Even that didn't help. What could be 
wrong? Thanks. Using sb module, sound card is ess es1869

thanks to all


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2 questions

2002-09-02 Thread Jamin W . Collins

On Tue, 3 Sep 2002 00:04:12 +0100
Colin Watson <[EMAIL PROTECTED]> wrote:

> That doesn't matter, though. 'export' just marks a variable to be
> exported - it doesn't save its current value and export that. Watch:

Sweet! learn something new every day!

-- 
Jamin W. Collins


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 2 questions

2002-09-02 Thread Nile Gomez


--- Nile Gomez <[EMAIL PROTECTED]> wrote:
> --- "Jamin W.Collins" <[EMAIL PROTECTED]> wrote:
> > On Mon, 2 Sep 2002 18:39:11 -0400
> > Edward Guldemond <[EMAIL PROTECTED]> wrote:
>  
> > > > 2. How to add shutdown and reboot to logout menu?
> 
> If you're using GDM, modify the gdm.conf file in /etc/X11
> as root using your favorite text editor and change the
> line
> using your favorite editor under [security] that says:
> 
> "AllowRoot=false" to "AllowRoot=true"
> 
> then save and exit!
> 
> Be warned, though... the first time I did this and tried
> to
> shutdown it went to an ugly blue striped screen and just
> "hung". I had to reboot and go back in and change the
> background to "none" under the background tab in the gdm
> configuration GUI. For some reason my computer doesn't
> like
> the colored backgrounds.
> 
> Hope this helps!
> 
> Nile

Sorry... the correct path is /etc/X11/gdm for the gdm.conf file!!

=

---

God Bless America!


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 2 questions

2002-09-02 Thread Colin Watson

On Mon, Sep 02, 2002 at 05:52:02PM -0500, Jamin W. Collins wrote:
> On Mon, 2 Sep 2002 18:39:11 -0400
> Edward Guldemond <[EMAIL PROTECTED]> wrote:
> > Put 'export' before the $PATH part.  For example:
> > export $PATH="$PATH:/new_dir"
> 
> The above won't work.  You don't want the $ on the name of the variable
> you are exporting.  So, the line would look more like this:
> 
>   export PATH="$PATH:/new_dir"
> 
> However, /etc/profile already does the PATH exporting.  When you added the
> entry, did you ensure that the addition was before the line reading:
> 
>   export PATH

That doesn't matter, though. 'export' just marks a variable to be
exported - it doesn't save its current value and export that. Watch:

  $ foo=hello
  $ export foo
  $ echo $foo
  hello
  $ foo=world
  $ echo $foo
  world
  $ bash
  $ echo $foo
  world

More likely, /etc/profile simply isn't being read in the context in
which the original poster is expecting it to work, probably because it's
only read for login shells and xterms you launch aren't login shells by
default. See the INVOCATION section of the bash(1) man page, and
consider using ~/.bash_profile and ~/.bashrc instead.

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 2 questions

2002-09-02 Thread Nile Gomez

--- "Jamin W.Collins" <[EMAIL PROTECTED]> wrote:
> On Mon, 2 Sep 2002 18:39:11 -0400
> Edward Guldemond <[EMAIL PROTECTED]> wrote:
 
> > > 2. How to add shutdown and reboot to logout menu?

If you're using GDM, modify the gdm.conf file in /etc/X11
as root using your favorite text editor and change the line
using your favorite editor under [security] that says:

"AllowRoot=false" to "AllowRoot=true"

then save and exit!

Be warned, though... the first time I did this and tried to
shutdown it went to an ugly blue striped screen and just
"hung". I had to reboot and go back in and change the
background to "none" under the background tab in the gdm
configuration GUI. For some reason my computer doesn't like
the colored backgrounds.

Hope this helps!

Nile


=

---

God Bless America!


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 2 questions

2002-09-02 Thread Jamin W . Collins

On Mon, 2 Sep 2002 18:39:11 -0400
Edward Guldemond <[EMAIL PROTECTED]> wrote:

> On Mon, Sep 02, 2002 at 02:57:53PM -0700, Jianbo Wang wrote:
>
> > I installed woody on my pc. I have 2 questions:
> > 1. PATH: I tried to add some directories to PATH, and I change
> >/etc/profile and login.def, but $PATH doesn't change.
> >( I add $PATH="$PATH:/new_dir" in /etc/profile and login.def)
> 
> Put 'export' before the $PATH part.  For example:
> export $PATH="$PATH:/new_dir"

The above won't work.  You don't want the $ on the name of the variable
you are exporting.  So, the line would look more like this:

  export PATH="$PATH:/new_dir"

However, /etc/profile already does the PATH exporting.  When you added the
entry, did you ensure that the addition was before the line reading:

  export PATH

> > 2. How to add shutdown and reboot to logout menu?

This depends entirely on which login manager you are using.

-- 
Jamin W. Collins


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 2 questions

2002-09-02 Thread Edward Guldemond

On Mon, Sep 02, 2002 at 02:57:53PM -0700, Jianbo Wang wrote:
> Hi,
> 
> I installed woody on my pc. I have 2 questions:
> 1. PATH: I tried to add some directories to PATH, and I change
>/etc/profile and login.def, but $PATH doesn't change.
>( I add $PATH="$PATH:/new_dir" in /etc/profile and login.def)

Put 'export' before the $PATH part.  For example:
export $PATH="$PATH:/new_dir"

> 2. How to add shutdown and reboot to logout menu?

Can't say I know how to do this, but hopefully the first answer was
helpful.

-- 
--
Edward Guldemond

Key fingerprint:  29FF 2969 A04E F934 3F03  
  4329 BC56 3AA7 2F57 6735



msg00426/pgp0.pgp
Description: PGP signature


2 questions

2002-09-02 Thread Jianbo Wang

Hi,

I installed woody on my pc. I have 2 questions:
1. PATH: I tried to add some directories to PATH, and I change
   /etc/profile and login.def, but $PATH doesn't change.
   ( I add $PATH="$PATH:/new_dir" in /etc/profile and login.def)

2. How to add shutdown and reboot to logout menu?

Thanks!

Regards!

Jianbo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




linux 2.0.40 [was Re: 2 questions]

2002-02-22 Thread Hans Ekbrand
On Fri, Feb 22, 2002 at 12:57:14PM -0600, Ron Johnson wrote:
> On Fri, 22 Feb 2002 17:22:38 +1100 Matthew Dalton <[EMAIL PROTECTED]> wrote:
> > Not only did the 2.0 series not end at 2.0.36, but it is still going.
> > 2.0.40-rc3 was released only 8 days ago. We'll see a real 2.0.40 in the
> > near future.
> > 
> > http://lwn.net/2002/0221/a/2.0.40-rc3.php3
> 
> Now that's a scary thought... 

Astonishing, I'd say.

> Though I guess it's good for ltsp,
> freesco & tomsrtbt.

There seems to be no good reason to use it on LTSP though. LTSP 3.0 supports 
NFS-swapping out the box, and requires devfs, so a customized 2.4 kernel is the 
way to go for old boxen with low RAM.

pgpSaXvu0oCmM.pgp
Description: PGP signature


Re: 2 questions

2002-02-22 Thread Ron Johnson
On Fri, 22 Feb 2002 17:22:38 +1100 Matthew Dalton <[EMAIL PROTECTED]> wrote:

> dman wrote:
> > It isn't too surprising that it still has a 2.0 kernel packaged for
> > it,  (in fact, .38 must be fairly new since I thought the 2.0 series
> > ended at .36) but the installer uses a 2.2 kernel.
> 
> Not only did the 2.0 series not end at 2.0.36, but it is still going.
> 2.0.40-rc3 was released only 8 days ago. We'll see a real 2.0.40 in the
> near future.
> 
> http://lwn.net/2002/0221/a/2.0.40-rc3.php3

Now that's a scary thought...  Though I guess it's good for ltsp,
freesco & tomsrtbt.

-- 
++
| Ron Johnson, Jr.Home: [EMAIL PROTECTED]|
| Jefferson, LA  USA  http://ronandheather.dhs.org:81|
||
| 484,246 sq mi are needed for 6 billion people to live, 4   !
! persons per lot, in lots that are 60'x150'.|
! That is ~ California, Texas and Missouri.  !
! Alternatively, France, Spain and The United Kingdom.   |
++



Re: 2 questions

2002-02-22 Thread Matthew Dalton
dman wrote:
> It isn't too surprising that it still has a 2.0 kernel packaged for
> it,  (in fact, .38 must be fairly new since I thought the 2.0 series
> ended at .36) but the installer uses a 2.2 kernel.

Not only did the 2.0 series not end at 2.0.36, but it is still going.
2.0.40-rc3 was released only 8 days ago. We'll see a real 2.0.40 in the
near future.

http://lwn.net/2002/0221/a/2.0.40-rc3.php3



Re: 2 questions

2002-02-21 Thread dman
On Fri, Feb 22, 2002 at 12:19:57PM +0800, a wrote:
| thanks!

You're welcome.

| actually both debians are in the same disk. the modem linux driver is for
| 2.2, so i have to install 2.2, though i'm quite happy with 2.1.
| 
| below is part of syslog. the first n lines is about modem's modules loading.
| the last few lines is about dialing.
 
This is the interesting part :

| pppd[163]: pppd 2.3.11 started by root, uid 0
| chat[164]: Can't get terminal parameters: Input/output error
| pppd[163]: Connect script failed
| pppd[163]: Exit.
| 
| "Can't get terminal parameters: Input/output error" means what?

Exactly.  I just skimmed the manpage for chat and didn't see that
particular message.  Perhaps it means the device driver isn't setup
properly, but I know nothing about ham radios or using them with a
computer.  (the error would be in the part of the log I snipped)

How about just trying minicom and working through it interactively?
Then you can see what needs to be done to interact with the modem.
Then locate the chat script your system is using (the one on my system
is /etc/chatscripts/provider, but I'm not actuall using PPP anymore).

-D

-- 

A kindhearted woman gains respect,
but ruthless men gain only wealth.
Proverbs 11:16



Re: 2 questions

2002-02-21 Thread a
thanks!

actually both debians are in the same disk. the modem linux driver is for
2.2, so i have to install 2.2, though i'm quite happy with 2.1.

below is part of syslog. the first n lines is about modem's modules loading.
the last few lines is about dialing.

kernel: hamcore module loaded
kernel: ham: loading HaM PRE-Release 333-5 INT - Feb 22 2002
kernel: ham: /PCI/VENDOR_1813/DEVICE_4000/SUBSYS_ on bus 0
kernel: ham: Device Class=0780 IRQ line=10 IRQ pin=1
kernel: ham: DSP base address: phys=f0412000 virt=c188a000
kernel: ham: I/O Addr1=6000 Mask=ff01 Range=256
kernel: hamcore_init
kernel: hamcore_init:done
kernel: ham:init:uart
kernel: ham:init:serialdriver
kernel: ham:init:serial driver registered
kernel: ham:init:callout driver registered
kernel: ham:init:rs_event_bh initialized
kernel: CSLIP: code copyright 1989 Regents of the University of California
kernel: PPP: version 2.3.7 (demand dialling)
kernel: PPP line discipline registered.
kernel: registered device ppp0
pppd[163]: pppd 2.3.11 started by root, uid 0
chat[164]: Can't get terminal parameters: Input/output error
pppd[163]: Connect script failed
pppd[163]: Exit.


"Can't get terminal parameters: Input/output error" means what?


- Original Message -
From: "dman" <[EMAIL PROTECTED]>
To: 
Sent: Friday, February 22, 2002 10:00 AM
Subject: Re: 2 questions


> On Fri, Feb 22, 2002 at 09:07:40AM +0800, a wrote:
> | i have 2 debians: 2.1 and 2.2. the 1st question is about 2.1 and the 2nd
is
> | about 2.2.
>
> Oh, ok.  If the slink box isn't too underpowered (ie a 386 with 5MB
> RAM) then I recommend upgrading it.  I'm currently getting my 486 box
> up to woody (and kernel 2.4) to serve as a router (and maybe a
> secondary MX).
>
> | ttyS3 is  the port used by modem in MS-Windows, its irq is 10.
> | i type "pon" and there is no ring from the modem.
> | then i type plog. it says something like "connect script fails and exit"
>
> Look in /var/log/syslog then.  (I think that's what 'plog' does
> anyways)  There should be a whole bunch of entries for each thing the
> chat script did.  That should at least show you how far it got before
> it failed.  To debug it, use 'minicom' to manually interact with the
> modem and determine what sequence of expect-send pairs will configure
> the modem (namely to turn off the speaker), dial the other side, and
> initiate a PPP connection.  When you have worked it out manually (the
> interactivity of the method really helps) you can record it in a "chat
> script" which 'pon' will use next time you connect.  For more details
> on minicom and chat scripts and the linux architecture in this area,
> read the modem howto on linuxdoc.org.
>
> -D
>
> --
>
> Windows, hmmm, does it come with a GUI interface that works or just
> pretty blue screens?
>
>




Re: 2 questions

2002-02-21 Thread Osamu Aoki
On Thu, Feb 21, 2002 at 08:52:23PM -0500, dman wrote:
> It isn't too surprising that it still has a 2.0 kernel packaged for
> it,  (in fact, .38 must be fairly new since I thought the 2.0 series
> ended at .36) but the installer uses a 2.2 kernel.

Yes.  But some people likes 2.0 over 2.2 for some reasons.  (Do not ask
me why)  My point was, as you noticed, that 2.0 was available and kept up
to date in potato.

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D
Visit Debian reference http://www.debian.org/doc/manuals/quick-reference/
There are 6 files: index.{en|fr|it}.html quick-reference.{en|fr|it}.txt
I welcome your constructive criticisms and corrections.



Re: 2 questions

2002-02-21 Thread dman
On Fri, Feb 22, 2002 at 09:07:40AM +0800, a wrote:
| i have 2 debians: 2.1 and 2.2. the 1st question is about 2.1 and the 2nd is
| about 2.2.

Oh, ok.  If the slink box isn't too underpowered (ie a 386 with 5MB
RAM) then I recommend upgrading it.  I'm currently getting my 486 box
up to woody (and kernel 2.4) to serve as a router (and maybe a
secondary MX).

| ttyS3 is  the port used by modem in MS-Windows, its irq is 10.
| i type "pon" and there is no ring from the modem.
| then i type plog. it says something like "connect script fails and exit"

Look in /var/log/syslog then.  (I think that's what 'plog' does
anyways)  There should be a whole bunch of entries for each thing the
chat script did.  That should at least show you how far it got before
it failed.  To debug it, use 'minicom' to manually interact with the
modem and determine what sequence of expect-send pairs will configure
the modem (namely to turn off the speaker), dial the other side, and
initiate a PPP connection.  When you have worked it out manually (the
interactivity of the method really helps) you can record it in a "chat
script" which 'pon' will use next time you connect.  For more details
on minicom and chat scripts and the linux architecture in this area,
read the modem howto on linuxdoc.org.

-D

-- 

Windows, hmmm, does it come with a GUI interface that works or just
pretty blue screens?



Re: 2 questions

2002-02-21 Thread dman
On Thu, Feb 21, 2002 at 05:21:07PM -0800, Osamu Aoki wrote:
| On Thu, Feb 21, 2002 at 07:51:55PM -0500, dman wrote:
 
| > Debian 2.2 (aka "potato") comes with kernel 2.2.20 now, and AFAIK, has
| > always had a 2.2.x kernel.  
| 
| No it does not look like so.  Stable potato always and still have 2.0
| kernel.

The first time I installed potato I got kernel 2.2.16 (and RH 7.0 had
2.2.17, IIRC).  That was over a year ago.  More recent versions of
boot-floppies used 2.2.18pre21.  (or something like that, I remember
because there were lots of "what's 'pre'?" questions)

| It is ultrastable so version number does not change as
| frequently.
| 
| $ apt-cache policy kernel-image-2.0.38
| kernel-image-2.0.38:
|   Installed: (none)
|   Candidate: 2.0.38-3
|   Version Table:
|  2.0.38-3 0
| 500 http://http.us.debian.org stable/main Packages

It isn't too surprising that it still has a 2.0 kernel packaged for
it,  (in fact, .38 must be fairly new since I thought the 2.0 series
ended at .36) but the installer uses a 2.2 kernel.

$ apt-cache policy kernel-image-2.2.19
kernel-image-2.2.19:
  Installed: (none)
  Candidate: 2.2.19-4potato.5
  Version Table:
 2.2.19-4potato.5 0
500 http://http.us.debian.org potato/main Packages
 2.2.19-2 0
500 http://security.debian.org stable/updates/main Packages

-D

-- 

Consider what God has done:
Who can straighten what He has made crooked?
Ecclesiastes 7:13



Re: 2 questions

2002-02-21 Thread Osamu Aoki
On Thu, Feb 21, 2002 at 07:51:55PM -0500, dman wrote:
> On Fri, Feb 22, 2002 at 08:38:55AM +0800, a wrote:
> | i compile kernel 2.0.36. everything else seems OK except modprobe complain
> | it can't locate char-major-10

iWhat was minor?  If 135, it is RTC.

alias char-major-10-135 rtc

You foregot to enable it when compiling kernel.  If you configure kernel
right, it will not complain and this is harmless if you do not use them.
Check "man update-modules"

> | i have a Ham modem and debian 2.2. i compile the linux driver and
> install | it. but pon fails. i use the command below: | setserial
> /dev/ttyS3 irq 10 | but it does not help.

May be you do not have serial device.

> Debian 2.2 (aka "potato") comes with kernel 2.2.20 now, and AFAIK, has
> always had a 2.2.x kernel.  

No it does not look like so.  Stable potato always and still have 2.0
kernel.  It is ultrastable so version number does not change as
frequently.

$ apt-cache policy kernel-image-2.0.38
kernel-image-2.0.38:
  Installed: (none)
  Candidate: 2.0.38-3
  Version Table:
 2.0.38-3 0
500 http://http.us.debian.org stable/main Packages

> Your 2.0.36 kernel is extremely old (it
> was what I had when I first saw linux, RH 5.2).  First I would get a
> recent kernel.  Either 2.2.20 or 2.4.17 (I am using the latter).  Then
> check which serial device your modem is plugged in to.  It may not be
> ttyS3.  If you still don't get it to work, then come back and tell us
> what you tried and the exact error messages you got.

You can download newer precompiled one from Debian, too.  Start from
there before compiling kernel.  Also read basic documents on Debian.


-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D
Visit Debian reference http://www.debian.org/doc/manuals/quick-reference/
There are 6 files: index.{en|fr|it}.html quick-reference.{en|fr|it}.txt
I welcome your constructive criticisms and corrections.



Re: 2 questions

2002-02-21 Thread a
i have 2 debians: 2.1 and 2.2. the 1st question is about 2.1 and the 2nd is
about 2.2.

ttyS3 is  the port used by modem in MS-Windows, its irq is 10.
i type "pon" and there is no ring from the modem.
then i type plog. it says something like "connect script fails and exit"

- Original Message -
From: "dman" <[EMAIL PROTECTED]>
To: 
Sent: Friday, February 22, 2002 8:51 AM
Subject: Re: 2 questions


> On Fri, Feb 22, 2002 at 08:38:55AM +0800, a wrote:
> | i compile kernel 2.0.36. everything else seems OK except modprobe
complain
> | it can't locate char-major-10
> |
> | i have a Ham modem and debian 2.2. i compile the linux driver and
install
> | it. but pon fails. i use the command below:
> | setserial /dev/ttyS3 irq 10
> | but it does not help.
>
> Debian 2.2 (aka "potato") comes with kernel 2.2.20 now, and AFAIK, has
> always had a 2.2.x kernel.  Your 2.0.36 kernel is extremely old (it
> was what I had when I first saw linux, RH 5.2).  First I would get a
> recent kernel.  Either 2.2.20 or 2.4.17 (I am using the latter).  Then
> check which serial device your modem is plugged in to.  It may not be
> ttyS3.  If you still don't get it to work, then come back and tell us
> what you tried and the exact error messages you got.
>
> -D
>
> --
>
> In his heart a man plans his course,
> but the Lord determines his steps.
> Proverbs 16:9
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>



Re: 2 questions

2002-02-21 Thread dman
On Fri, Feb 22, 2002 at 08:38:55AM +0800, a wrote:
| i compile kernel 2.0.36. everything else seems OK except modprobe complain
| it can't locate char-major-10
| 
| i have a Ham modem and debian 2.2. i compile the linux driver and install
| it. but pon fails. i use the command below:
| setserial /dev/ttyS3 irq 10
| but it does not help.

Debian 2.2 (aka "potato") comes with kernel 2.2.20 now, and AFAIK, has
always had a 2.2.x kernel.  Your 2.0.36 kernel is extremely old (it
was what I had when I first saw linux, RH 5.2).  First I would get a
recent kernel.  Either 2.2.20 or 2.4.17 (I am using the latter).  Then
check which serial device your modem is plugged in to.  It may not be
ttyS3.  If you still don't get it to work, then come back and tell us
what you tried and the exact error messages you got.

-D

-- 

In his heart a man plans his course,
but the Lord determines his steps.
Proverbs 16:9



2 questions

2002-02-21 Thread a
i compile kernel 2.0.36. everything else seems OK except modprobe complain
it can't locate char-major-10

i have a Ham modem and debian 2.2. i compile the linux driver and install
it. but pon fails. i use the command below:
setserial /dev/ttyS3 irq 10
but it does not help.




Re: 2 questions

2002-02-11 Thread Pietro Cagnoni
> 1.how to fsck /dev/hda3 which is root? it's mounted rw, and fsck warns it is
> dangerous to check it.

this is the safest way, but it needs a reboot:

touch /forcefsck
init 6

this will force a full fsck on all your partitions.
if you set FSCKFIX=yes in /etc/default/rcS, everything will happen
automagically.

pietro.



Re: Printing and CUPS - 2 questions

2002-02-10 Thread Patrick Kirk
: *lpadmin* not found.
>
> That means you don't have the 'cupsys-client' package installed.  It
> works for me because I have it installed.
>

Thanks.  I had thought dpkg -S was sort of like examining the whole
archive...live and learn.



Re: Printing and CUPS - 2 questions

2002-02-10 Thread dman
On Sun, Feb 10, 2002 at 10:19:54PM -0800, Patrick Kirk wrote:
| > $ dpkg -S lpadmin
| > cupsys-client: /usr/share/man/man8/lpadmin.8.gz
| > cupsys-client: /usr/sbin/lpadmin
| 
| Very odd - that doesn't work for me at all.
| zulfiqar:~# dpkg -S lpadmin
| dpkg: *lpadmin* not found.

That means you don't have the 'cupsys-client' package installed.  It
works for me because I have it installed.

-D

-- 

"He is no fool who gives up what he cannot keep to gain what he cannot lose."
--Jim Elliot



Re: Printing and CUPS - 2 questions

2002-02-10 Thread Patrick Kirk
> $ dpkg -S lpadmin
> cupsys-client: /usr/share/man/man8/lpadmin.8.gz
> cupsys-client: /usr/sbin/lpadmin
>  

Very odd - that doesn't work for me at all.
zulfiqar:~# dpkg -S lpadmin
dpkg: *lpadmin* not found.


> | Question 2: what is the correct command to print if you are using CUPS?
> 
> Depends -- do you prefer a SysV or BSD interface?  Install the
> cupsys-client and cupsys-bsd packages respectively.  Then use 'lp' or
> 'lpr'.
> 
Thanks.  Doing that now...



Re: Printing and CUPS - 2 questions

2002-02-10 Thread Brian P. Flaherty
"Patrick Kirk" <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> I thought I had printing working because from the CUPS web interface I can
> print a test page.  But that's all I can print!  lpr /etc/aliases or lpr
> /foo/anythiing else just shoots a blank sheet through.  When I print from
> samba, the print job seems to disappears.

Is the printer enabled?

> Question 1: how do I install lpadmin?  Everything on CUPS refers to this
> command but apt-get install cupsys didn't do it.  I really prefer a command
> line to a web interface so need this.

Install cups-client.  Then see the docs for lpadmin.  Getting your
printer started should be pretty straightforward.  The command for my
printer was this:

lpadmin -E -pyour_printer_name -vparallel:/dev/par0 -mnec1880.ppd

> 
> Question 2: what is the correct command to print if you are using CUPS?
 
lpr and lp both work for me.  lpr doesn't have all the device options
that lp has, so I use lp most of the time.  The CUPS User's manual is
full of these options and I refer to it a lot because I usually don't
remember the syntax.

Brian



Re: Printing and CUPS - 2 questions

2002-02-10 Thread ben
On Sunday 10 February 2002 09:55 pm, Patrick Kirk wrote:
> Hi all,
>
> I thought I had printing working because from the CUPS web interface I can
> print a test page.  But that's all I can print!  lpr /etc/aliases or lpr
> /foo/anythiing else just shoots a blank sheet through.  When I print from
> samba, the print job seems to disappears.
>
> Question 1: how do I install lpadmin?  Everything on CUPS refers to this
> command but apt-get install cupsys didn't do it.  I really prefer a command
> line to a web interface so need this.
>
> Question 2: what is the correct command to print if you are using CUPS?

1. lpadmin is part of cups. if it isn't there, you might want to reinstall 
cups. you should find it in /usr/sbin.

2. on my system, lp does the job.



Re: Printing and CUPS - 2 questions

2002-02-10 Thread dman
On Sun, Feb 10, 2002 at 09:55:28PM -0800, Patrick Kirk wrote:
| 
| Hi all,
| 
| I thought I had printing working because from the CUPS web interface I can
| print a test page.  But that's all I can print!  lpr /etc/aliases or lpr
| /foo/anythiing else just shoots a blank sheet through.  When I print from
| samba, the print job seems to disappears.
| 
| Question 1: how do I install lpadmin?  Everything on CUPS refers to this
| command but apt-get install cupsys didn't do it.  I really prefer a command
| line to a web interface so need this.

$ dpkg -S lpadmin
cupsys-client: /usr/share/man/man8/lpadmin.8.gz
cupsys-client: /usr/sbin/lpadmin
 
| Question 2: what is the correct command to print if you are using CUPS?

Depends -- do you prefer a SysV or BSD interface?  Install the
cupsys-client and cupsys-bsd packages respectively.  Then use 'lp' or
'lpr'.

-D

-- 

Your beauty should not come from outward adornment, such as braided hair
and the wearing of gold jewelry and fine clothes.  Instead, it should be
that of your inner self, the unfading beauty of a gentle and quiet
spirit, which is of GREAT WORTH in God's sight.  For this is the way the
holy women of the past used to make themselves beautiful.
I Peter 3:3-5



Printing and CUPS - 2 questions

2002-02-10 Thread Patrick Kirk

Hi all,

I thought I had printing working because from the CUPS web interface I can
print a test page.  But that's all I can print!  lpr /etc/aliases or lpr
/foo/anythiing else just shoots a blank sheet through.  When I print from
samba, the print job seems to disappears.

Question 1: how do I install lpadmin?  Everything on CUPS refers to this
command but apt-get install cupsys didn't do it.  I really prefer a command
line to a web interface so need this.

Question 2: what is the correct command to print if you are using CUPS?

--
Patrick



Re: 2 questions

2002-02-10 Thread Hay Seed

> 2.in MS-Windows, the monitor is turned down (the
> LED blinks) after
> a period of in-activity. In X, it just blanks.
> what is the
> difference? how to make the LED blinks in X?
> 

Blanktime, StandbyTime, SuspendTime and OffTime in the
"Screen" section of /etc/X11/XF86Config.  
See man XF86Config.  Note that this has never worked
perfectly for me.  My monitor will go into standby and
suspend, but doesn't see to always do it at the times
I have set.

Note also, that this will only work if and while you
are running X.  Without X (just running at a command
prompt with no windowing environment) the screen will
just blank.  This blanking is done in the kernel
config I think.  Can't help you with that.  

The kernel blanking will also take effect while
running X.  This means that if you set BlankTime to
something longer than the kernel's blanktime, or don't
set it at all, you still going to get the kernel
blanking, unless someone else can tell you how to
change the default blanking that Linux does without X.

HTH. 

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



Re: 2 questions

2002-02-09 Thread Gustavo Noronha Silva
On Sat, 9 Feb 2002 16:34:39 -0800 (PST)
"nate" <[EMAIL PROTECTED]> wrote:

> > 2.in MS-Windows, the monitor is turned down (the LED blinks) after
> > a period of in-activity. In X, it just blanks. what is the
> > difference? how to make the LED blinks in X?
> 
> not sure, i don't trust APM, i rather turn my monitor off
> with the switch then trust APM to do it for me.
I don't think this is related to APM... this seems to be related
to DPMS... try xset --help and check the DPMS options

[]s!
-- 
Gustavo Noronha Silva - kov 
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux:  |
| : :'  : + Debian BR...: +
| `. `'`  + Q: "Why did the chicken cross the road?"  +
|   `-| A: "Upstream's decision." -- hmh  |
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+



Re: fsck'ing a rw-mounted partition and display power management in X (was: 2 questions)

2002-02-09 Thread Elizabeth Barham
"a" <[EMAIL PROTECTED]> writes:

> 1.how to fsck /dev/hda3 which is root? it's mounted rw, and fsck warns it is
> dangerous to check it.

You need to remount it read-only (ro). See mount(8) for details:

mount /dev/hda3 -o remount,ro

e2fsck /dev/hda3

mount /dev/hda3 -o remount,rw

> 2.in MS-Windows, the monitor is turned down (the LED blinks) after a period
> of in-activity. In X, it just blanks. what is the difference? how to make
> the LED blinks in X?

Consider adding the line: option "dpms" to your XF86Config file
in the monitor section. Example:

Section "Monitor"
Identifier  "acer aspire 55s"
HorizSync   30-54
VertRefresh 50-110
option "dpms"
EndSection

Elizabeth



Re: 2 questions

2002-02-09 Thread nate

> 1.how to fsck /dev/hda3 which is root? it's mounted rw, and fsck
> warns it is dangerous to check it.

to do it without rebooting:
init 1
mount / -o remount,ro
e2fsck /dev/hda3
mount / -o remount,rw
init 2

if you have other partitions mounted you have to unmount them
first (umount /mountpoint)

>
> 2.in MS-Windows, the monitor is turned down (the LED blinks) after
> a period of in-activity. In X, it just blanks. what is the
> difference? how to make the LED blinks in X?

not sure, i don't trust APM, i rather turn my monitor off
with the switch then trust APM to do it for me.

nate





2 questions

2002-02-09 Thread a
1.how to fsck /dev/hda3 which is root? it's mounted rw, and fsck warns it is
dangerous to check it.

2.in MS-Windows, the monitor is turned down (the LED blinks) after a period
of in-activity. In X, it just blanks. what is the difference? how to make
the LED blinks in X?







Re: 2 questions: Sylpheed & Mozilla

2002-01-13 Thread Ross Boylan
KDE has a feature in which if a URL goes into the paste buffer it
offers to open a browser.  At least if you're in a Konsole this is
what happens.

There's a little bug so that it won't open mozilla properly when you
do this.  Supposedly a fix is coming.

This is probably different from your problem, but I thought I'd
mention it just in case.

On Fri, Jan 11, 2002 at 01:34:19PM -0800, Curtis Vaughan wrote:
> On Friday 11 January 2002 12:19, Mario Vukelic wrote:
> > On Fri, 2002-01-11 at 21:07, Curtis Vaughan wrote:
> > > The Sylpheed question is rather easy, I hope.
> > > How do you uninstall it?  Just delete directories?
> >
> > How did you install it? If from source, there is probably a "uninstall"
> > target in the source directory. cd /your/sylpheed/source/dir; make
> > uninstall
> >
> > If with apt/dselect: apt-get remove sylpheed
> 
> Ok, make uninstall seems to have disabled it, but the directories are all 
> still there.  Is it Ok to delete them?
> 
> >
> > > Earlier I asked about how to make Mozilla my default browser.  Ok, I got
> > > that to work, but now I have different problem.  Say, for example, I have
> > > a hyperlink in a letter.
> >
> > You've got to provide more info with your questions: In what program do
> > you type that letter. Do you use Gnome or KDE? Mpzilla is now your
> > default browser for what? Where and how did you set it?
> 
> I'm using KDE.  To make Mozilla my default browser, I went to File 
> Associations. Under I found html under the "text" section of "known types" 
> and added Mozilla Navigator (the command line being just "mozilla").  Then I 
> actually just removed the other programs listed there.  I think only 
> Kommander was listed there.  For whatever reason there are 2 html file type 
> listings, so I did this under both.  By the way, trying to add Kommander back 
> in doesn't work.  In fact, if I even click on the Kommander Web Browser icon, 
> nothing happens.   I can, of course, open Kommander and then type in an 
> address and it will work.
> 
> KMail is the email client program I am using.
> 
> > > Also, and perhaps related, is the
> > > fact that you can't copy an address and paste it into the address space
> > > for Mozilla.
> >
> > I can with Ctrl-C Ctrl-V in Gnome. Also you can mark the address with
> > the mouse and insert it with a middle-click. Alternatively you can
> > middle-click somewhere in the mozilla window (make sure not to hit a
> > link) and it will go there
> 
> Clicking on hyperlinks within Mozilla works.  But if the hyperlink is in any 
> other application, it won't work.  Mozilla opens on a blank page.
> 
> Curtis
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: 2 questions: Sylpheed & Mozilla

2002-01-12 Thread Mario Vukelic
On Fri, 2002-01-11 at 22:34, Curtis Vaughan wrote:
> Ok, make uninstall seems to have disabled it, but the directories are all 
> still there.  Is it Ok to delete them?

If they are empty it's probably ok to rm them.

> I'm using KDE.

Sorry, I don't now anything about that

> Clicking on hyperlinks within Mozilla works.  But if the hyperlink is in any 
> other application, it won't work.  Mozilla opens on a blank page.

Probably also a KDE issue?

Kind regards, M.
-- 

I did not vote for the Austrian government





Re: 2 questions: Sylpheed & Mozilla

2002-01-11 Thread Curtis Vaughan
On Friday 11 January 2002 12:19, Mario Vukelic wrote:
> On Fri, 2002-01-11 at 21:07, Curtis Vaughan wrote:
> > The Sylpheed question is rather easy, I hope.
> > How do you uninstall it?  Just delete directories?
>
> How did you install it? If from source, there is probably a "uninstall"
> target in the source directory. cd /your/sylpheed/source/dir; make
> uninstall
>
> If with apt/dselect: apt-get remove sylpheed

Ok, make uninstall seems to have disabled it, but the directories are all 
still there.  Is it Ok to delete them?

>
> > Earlier I asked about how to make Mozilla my default browser.  Ok, I got
> > that to work, but now I have different problem.  Say, for example, I have
> > a hyperlink in a letter.
>
> You've got to provide more info with your questions: In what program do
> you type that letter. Do you use Gnome or KDE? Mpzilla is now your
> default browser for what? Where and how did you set it?

I'm using KDE.  To make Mozilla my default browser, I went to File 
Associations. Under I found html under the "text" section of "known types" 
and added Mozilla Navigator (the command line being just "mozilla").  Then I 
actually just removed the other programs listed there.  I think only 
Kommander was listed there.  For whatever reason there are 2 html file type 
listings, so I did this under both.  By the way, trying to add Kommander back 
in doesn't work.  In fact, if I even click on the Kommander Web Browser icon, 
nothing happens.   I can, of course, open Kommander and then type in an 
address and it will work.

KMail is the email client program I am using.

> > Also, and perhaps related, is the
> > fact that you can't copy an address and paste it into the address space
> > for Mozilla.
>
> I can with Ctrl-C Ctrl-V in Gnome. Also you can mark the address with
> the mouse and insert it with a middle-click. Alternatively you can
> middle-click somewhere in the mozilla window (make sure not to hit a
> link) and it will go there

Clicking on hyperlinks within Mozilla works.  But if the hyperlink is in any 
other application, it won't work.  Mozilla opens on a blank page.

Curtis



Re: 2 questions: Sylpheed & Mozilla

2002-01-11 Thread Craig Dickson
Curtis Vaughan wrote:

> The Sylpheed question is rather easy, I hope.
> How do you uninstall it?  Just delete directories?

How did you install it? If you used a .deb package, then

  dpkg -P sylpheed

should do the trick.

If you compiled it yourself, and installed it with "make install", then
you could try "make uninstall" in the Sylpheed source directory.

> Mozilla:
> Earlier I asked about how to make Mozilla my default browser.  Ok, I got that 
> to work, but now I have different problem.  Say, for example, I have a 
> hyperlink in a letter.  If I tap on it, Mozilla starts up, but with a blank 
> page.  It doesn't go to the hyperlink.

That would probably have to do with how the program in which you see
this link (your mail client, or X terminal if you use a text-mode mail
client) handles embedded URLs. Since you're wanting to uninstall
Sylpheed, there's no point in configuring it properly, so what other
mail client do you use? If it's a text-mode app, then what X terminal do
you use (xterm, rxvt, gnome-terminal...)? Once you tell us what software
is involved, someone can tell you how to configure it.

> Also, and perhaps related, is the 
> fact that you can't copy an address and paste it into the address space for 
> Mozilla.  

I do that all the time. Sounds like whatever program you're copying the
text from isn't doing it right. What program is that?

Craig


pgpCsP5ls3OH0.pgp
Description: PGP signature


Re: 2 questions: Sylpheed & Mozilla

2002-01-11 Thread Mario Vukelic
On Fri, 2002-01-11 at 21:07, Curtis Vaughan wrote:
> The Sylpheed question is rather easy, I hope.
> How do you uninstall it?  Just delete directories?

How did you install it? If from source, there is probably a "uninstall"
target in the source directory. cd /your/sylpheed/source/dir; make
uninstall

If with apt/dselect: apt-get remove sylpheed
 
> Earlier I asked about how to make Mozilla my default browser.  Ok, I got that 
> to work, but now I have different problem.  Say, for example, I have a 
> hyperlink in a letter. 

You've got to provide more info with your questions: In what program do
you type that letter. Do you use Gnome or KDE? Mpzilla is now your
default browser for what? Where and how did you set it?

> Also, and perhaps related, is the 
> fact that you can't copy an address and paste it into the address space for 
> Mozilla.  

I can with Ctrl-C Ctrl-V in Gnome. Also you can mark the address with
the mouse and insert it with a middle-click. Alternatively you can
middle-click somewhere in the mozilla window (make sure not to hit a
link) and it will go there

-- 

I did not vote for the Austrian government





2 questions: Sylpheed & Mozilla

2002-01-11 Thread Curtis Vaughan
The Sylpheed question is rather easy, I hope.
How do you uninstall it?  Just delete directories?

Mozilla:
Earlier I asked about how to make Mozilla my default browser.  Ok, I got that 
to work, but now I have different problem.  Say, for example, I have a 
hyperlink in a letter.  If I tap on it, Mozilla starts up, but with a blank 
page.  It doesn't go to the hyperlink.  Also, and perhaps related, is the 
fact that you can't copy an address and paste it into the address space for 
Mozilla.  

Any ideas?



Re: 2 questions package installs and TCP/IP startup script

2000-08-27 Thread Peter Palfrader
Hi Mark!

On Sun, 27 Aug 2000, Mark Simos wrote:

> 1.
> I am trying to install vim on a really bare installation of Debian. I
> have internet access that routes and resolves names fine.
> 
> When I type "apt-get install vim vim-rt" or just about any other package
> name i see listed on Debian's site, i get back "E: Couldn't find package
> vim"
> 
> I don't know where to begin troubleshooting this...

You probably don't have updated apt-gets database. If your
/etc/apt/sources.list
is correct, you should run
apt-get update

after this
apt-get install vim
should work.

A sample sources.list could look like this:

deb http://ftp.at.debian.org/debian potato main contrib non-free
deb http://ftp.at.debian.org/debian-non-US potato/non-US main contrib non-free
deb-src http://ftp.at.debian.org/debian potato main contrib non-free
deb-src http://ftp.at.debian.org/debian-non-US potato/non-US main contrib 
non-free


> 2.
> Also I am not quite sure where to put my "ifconfig eth0." and "route
> add default" statements so they run on bootup
> 
> Thank you and please forgive my windows roots :),

Configure your
/etc/network/interfaces
file. An example can be founc in
/usr/share/doc/netbase/examples/interfaces

If this is done /etc/init.d/networking should automatically configure
your interfaces upon boot.

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



2 questions package installs and TCP/IP startup script

2000-08-27 Thread Mark Simos
All,

I am sure these are pretty easy questions, but I am running out ideas.

1.
I am trying to install vim on a really bare installation of Debian. I
have internet access that routes and resolves names fine.

When I type "apt-get install vim vim-rt" or just about any other package
name i see listed on Debian's site, i get back "E: Couldn't find package
vim"

I don't know where to begin troubleshooting this...

2.
Also I am not quite sure where to put my "ifconfig eth0." and "route
add default" statements so they run on bootup

Thank you and please forgive my windows roots :),

Mark

--
Mark Anthony Simos, MCSE
Poet, Playwright, Swing Dancer




Re: 2 questions

2000-07-29 Thread kmself
On Fri, Jul 30, 1999 at 02:56:53AM +0800, Li Wei wrote:

Fix your system date

> I have Debian 2.0. Where is the package festival? 
> festvox-kdlpc8k depends on it. BTW do you know any text2speech software?

$ dpkg -S speak
speak-freely
Emacspeak-HOWTO

...though you might want to talk to someone who's actually used it.

> Please reply to [EMAIL PROTECTED] because I'll leave the list in a minute.

Suggest you stay on the list long enough to pick up responses.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpjFJYRRB4d6.pgp
Description: PGP signature


2 questions

2000-07-29 Thread Li Wei
I have Debian 2.0. Where is the package festival? 
festvox-kdlpc8k depends on it. BTW do you know any text2speech software?

I have problem connect to ISP after running pppconfig. PAP don't work. I
use CHAT and below is part of output of plog:

Jul 29 18:02:39 debian chat[189]: CONNECT
Jul 29 18:02:39 debian chat[189]:  -- got it 
Jul 29 18:02:39 debian chat[189]: send (^M)
Jul 29 18:02:39 debian chat[189]: expect (sername:)
Jul 29 18:02:49 debian chat[189]:  115200^M
Jul 29 18:03:09 debian chat[189]: *^M
Jul 29 18:03:24 debian chat[189]: alarm
Jul 29 18:03:24 debian chat[189]: Failed
Jul 29 18:03:24 debian pppd[188]: Connect script failed
Jul 29 18:03:25 debian pppd[188]: Exit.

Below is part of "chat" I connect to ISP in Win95:

*
* Quidway A8010 Internet Server *
* welcome!! *
*
please input username:vip
please input password:***

Please reply to [EMAIL PROTECTED] because I'll leave the list in a minute.



Re: 2 questions on apt-get

2000-01-03 Thread John Pearson
On Sun, Jan 02, 2000 at 12:50:49PM +0100, Ulrich Hansmair wrote
> hi freaks,
> 
> recently I´m using apt-get to install my potato. I think this way of
> distributing debian is a great step into future and perfectly combines  the
> abilities of the internet and free software. Debian should go this way.
> 
> Now to the questions. 
> 1. After apt-get update/upgrade I always get the standard kernel-image and
> pcmcia-modules which overwrites my own compiled versions. How can I exclude
> this packages from being upgraded?

With kernel-images, build them using make-kpkg with a command line like
 # make-kpkg --revision=ulrich.0 kernel-image
and the revision string will appear 'newer' than any official version, 
ensuring they don't get replaced.  Use a similar revision string for
your pcmcia-modules.

> 2.apt-get upgrade gives the following message:
> 
> ...
> The following packages have been kept back:
> dpkg-dev kernel-package perl perl-base
> ...
> 
> I wanna this packages be included in the normal upgrade-procedure. What is the
> appropriate action?
> 

 # apt-get dist-upgrade 
may help; if you want to see just what the problem is, try (e.g.)
 # apt-get -s install dpkg-dev
and apt-get will tell you what would be required.  Chances are the newer
versions depend on a package you don't currently have installed, or perhaps
conflict with one that you do.  If you are happy for apt to proceed, you
can upgrade them by running the command again without the '-s'.


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark


Re: 2 questions on apt-get

2000-01-02 Thread Edward Kear

At 06:40 AM 1/2/00 -0800, Fish Smith wrote:

>hi freaks,

Who's a freak??

>1. After apt-get update/upgrade I always get the
>standard kernel-image
>and
>pcmcia-modules which overwrites my own compiled
>versions. How can I
>exclude
>this packages from being upgraded?

I would backup the compiled ones, then put a script
into your shutdown sequence that replaces them with
the backups.  There's probably a better solution, but
this is how I'd do it.


Or...use dselect to mark the package "hold" - find the package using / and 
put it on hold with a =


then simulate the dist-upgrade just to be sure
apt-get -s dist-upgrade

 Ed


Re: 2 questions on apt-get

2000-01-02 Thread Fish Smith
>hi freaks,

Who's a freak??

>1. After apt-get update/upgrade I always get the
>standard kernel-image
>and
>pcmcia-modules which overwrites my own compiled
>versions. How can I
>exclude
>this packages from being upgraded?

I would backup the compiled ones, then put a script
into your shutdown sequence that replaces them with
the backups.  There's probably a better solution, but
this is how I'd do it.

>2.apt-get upgrade gives the following message:
>
>...
>The following packages have been kept back:
>dpkg-dev kernel-package perl perl-base
>...

>I wanna this packages be included in the normal
>upgrade-procedure. What
>is the
>appropriate action?

Well, I'd answer, but considering I've just been
called a freak here... =)  Okay, ya got me, I really
don't know this one.

=
Fish of Borg
Visit me on the web!  
http://www.geocities.com/TimesSquare/Frontier/4874/stccg.html 
///Archaeologists near mount Sinai have discovered what appears to be a missing 
page from the Bible.  The page is currently being carbon dated in Bonn.  If 
genuine it belongs at the beginning of the Bible and is believed to read "To my 
Darling Candy.  All Characters portrayed within this book are fictitious and 
any resemblance to persons living or dead is entirely coincidental."///Red Dwarf
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com


Re: 2 questions on apt-get

2000-01-02 Thread Brian Servis
*- On  2 Jan, Oliver Elphick wrote about "Re: 2 questions on apt-get "
> Ulrich Hansmair wrote:
>   >2.apt-get upgrade gives the following message:
>   >
>   >...
>   >The following packages have been kept back:
>   >dpkg-dev kernel-package perl perl-base
>   >...
>   >
>   >I wanna this packages be included in the normal upgrade-procedure. What is 
> t
>   >he
>   >appropriate action?
> 
> They are kept back because of dependencies on some other packages; these
> dependencies cannot be satisfied if they are upgraded. 
> 
> You must either remove packages that are causing the problem, or wait for
> new versions of the problem packages to become available, or (if you
> know what you are doing) force the installation of the packages you
> want upgraded.
> 

Read the apt-get man page.  You probably want to run 'apt-get
dist-upgrade' and not 'apt-get upgrade'.  The upgrade option will not
remove or change other packages status(i.e. packages will be held back).
Or start dselect, select [U]pdate, select [S]elect, hit space, hit
return(probably a few times as it sorts out depenencies/conflicts),
select [I]nstall.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: 2 questions on apt-get

2000-01-02 Thread Oliver Elphick
Ulrich Hansmair wrote:
  >1. After apt-get update/upgrade I always get the standard kernel-image and
  >pcmcia-modules which overwrites my own compiled versions. How can I exclude
  >this packages from being upgraded?

Read the docs for kernel package and use --revision=... when building your
own kernel.  You have to ensure that your local kernel .deb is a later
release than the standard one.

  >2.apt-get upgrade gives the following message:
  >
  >...
  >The following packages have been kept back:
  >dpkg-dev kernel-package perl perl-base
  >...
  >
  >I wanna this packages be included in the normal upgrade-procedure. What is t
  >he
  >appropriate action?

They are kept back because of dependencies on some other packages; these
dependencies cannot be satisfied if they are upgraded. 

You must either remove packages that are causing the problem, or wait for
new versions of the problem packages to become available, or (if you
know what you are doing) force the installation of the packages you
want upgraded.

-- 
  Vote against SPAM: http://www.politik-digital.de/spam/
 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
   PGP key from public servers; key ID 32B8FAA1
 
 "Ye have heard that it hath been said, Thou shalt love 
  thy neighbour, and hate thine enemy. But I say unto 
  you, Love your enemies, bless them that curse you, do 
  good to them that hate you, and pray for them which 
  despitefully use you, and persecute you;"  
 Matthew 5:43,44 



2 questions on apt-get

2000-01-02 Thread Ulrich Hansmair
hi freaks,

recently I´m using apt-get to install my potato. I think this way of
distributing debian is a great step into future and perfectly combines  the
abilities of the internet and free software. Debian should go this way.

Now to the questions. 
1. After apt-get update/upgrade I always get the standard kernel-image and
pcmcia-modules which overwrites my own compiled versions. How can I exclude
this packages from being upgraded?
2.apt-get upgrade gives the following message:

...
The following packages have been kept back:
dpkg-dev kernel-package perl perl-base
...

I wanna this packages be included in the normal upgrade-procedure. What is the
appropriate action?

I hope this questions are of common interest?

uli



Re: 2 questions

1999-06-01 Thread Stephan Engelke
On Tue, Jun 01, 1999 at 01:22:21PM +0100, Mario Jorge Nunes Filipe wrote:
> Hi
> 
> I have two questions to pose to the enlightened ones in this mailing
> list (boy am i poetic today, maybe because a I've a couple of
> presentations to do today :( ):
> 
> Number 1 : Is there a way to allow the users to create an auto-responder
> (so that their email sents a message for every message they got) saying
> that they are on hollidays. 

Vacation is your friend here.

> The ideal would be the possibility to create filters so that the auto
> responder does not awnser to mailing-lists or a certain number of
> addresses. Can this be done ?

You may want to play around with procmail to achieve this - check the
procmail and procmailex man-pages (or was it procmailexamples?) and read
up on formail.
Procmail can be configured to include the functionality of vacation - 
it just requires a more elaborate setup.

> Number 2 : Is there any linux app capable of showing MS Media Player asf
> files? 

Dunno.

So long -- Stephan
-- 
Stephan Engelke[EMAIL PROTECTED]
*** Spare in der Schweiz, dann hast Du in der Not. ***


Re: 2 questions

1999-06-01 Thread Jean-Yves F. Barbier
Mario Jorge Nunes Filipe wrote:
> 
> Number 1 : Is there a way to allow the users to create an auto-responder
> (so that their email sents a message for every message they got) saying
> that they are on hollidays. I know, I know this things suck and they are
> extremely anoying but the some people here are starting to request them
> and as sys admin (kinf of) i have to be able to give them some anwsers.
> The ideal would be the possibility to create filters so that the auto
> responder does not awnser to mailing-lists or a certain number of
> addresses. Can this be done ?

Yeah, even saying: "whatever the number of e-mail you send, this will be the
only answer you'll get":
see: Mail-HOWTO

JY
-- 
Jean-Yves Barbier   <[EMAIL PROTECTED]>
Membre fondateur du CGE
"L'établissement de l'ordre par la force est souvent un établissement de dernier
ordre." P. DAC
Boycott Intel, watch: http://www.bigbrotherinside.com


2 questions

1999-06-01 Thread Mario Jorge Nunes Filipe
Hi

I have two questions to pose to the enlightened ones in this mailing
list (boy am i poetic today, maybe because a I've a couple of
presentations to do today :( ):

Number 1 : Is there a way to allow the users to create an auto-responder
(so that their email sents a message for every message they got) saying
that they are on hollidays. I know, I know this things suck and they are
extremely anoying but the some people here are starting to request them
and as sys admin (kinf of) i have to be able to give them some anwsers.
The ideal would be the possibility to create filters so that the auto
responder does not awnser to mailing-lists or a certain number of
addresses. Can this be done ?

Number 2 : Is there any linux app capable of showing MS Media Player asf
files? 

Thanks 
-- 
Mario Filipe 
[EMAIL PROTECTED]
http://neptuno.sc.uevora.pt/~mjnf


Re: 2 Questions

1999-04-11 Thread Marsh Ray
On Sun, Apr 11, 1999 at 02:30:05AM -0500, Chris Hoover wrote:
> 1.  How can I get my machine to automatically start fetchmail after
> a reboot?  Also, how do I have it ran by a user other than root
> (it is only setup to run as me right now)?

Debian's boot process is fairly well-described at:
http://www.debian.org/doc/FAQ/debian-faq-12.html#ss12.5

Change the owner of your script to you and set its setuid bit.

$ chown myusername thefilename
$ chmod u+s thefilename

Be extra careful about access permissions when you do this because
other users may be able to execute this script as you.

> 2.  Is there a way to script the startup of a remote program?  I want
> to have wmmon and wmppp start up every time I log into my machine.
> However they are located on my other linux box.

You can use ssh (or rsh for that matter) to connect and run the file.  This can 
be kind of complicated to set up since you don't want to have to type your 
password.  But basically, you'd be putting a command like 'ssh my.machine.name 
my_command_name' in your .bashrc.  The target computer would need to be running 
sshd.  On the local computer ask ssh to generate a key pair (ssh-keygen), and 
append the public key it generates to the file ~/.ssh/authorized_keys on the 
remote computer.


2 Questions

1999-04-11 Thread Chris Hoover
I have two hopefully quick questions.

1.  How can I get my machine to automatically start fetchmail after a reboot?  
Also, how do I have it ran by a user other than root (it is only setup to run 
as me right now)?

2.  Is there a way to script the startup of a remote program?  I want to have 
wmmon and wmppp start up every time I log into my machine.  However they are 
located on my other linux box.

Thanks,

Chris


Re: 2 questions

1999-02-25 Thread Ramiel Givergis
At 09:33 AM 2/24/99 -0600, Andrei Ivanov wrote:
>> 2) For some reason pppd disconnects after some amount of time all by
>> itself.  I want it to stay up 24/7. I did see in dmesg that the PPP has
>> demand dialing. I do not want this.  I want it to go up and come down when
>> I tell it.
>
>Thats probably your ISP kicking you off. Mine has a 2 hour limit.
>
>Andrew

Woops, I misunderstood... you want it to connect after you get droped.
Add "persist"



Ramiel Givergis, [EMAIL PROTECTED], http://www.relm.net 
--~~~===<[^]>===~~~-- 
This mail is a natural product. The slight variations in spelling and 
grammar enhance its individual character and beauty and in no way are to 
be considered flaws or defects.


Re: 2 questions

1999-02-25 Thread Ramiel Givergis
At 09:33 AM 2/24/99 -0600, Andrei Ivanov wrote:
>> 2) For some reason pppd disconnects after some amount of time all by
>> itself.  I want it to stay up 24/7. I did see in dmesg that the PPP has
>> demand dialing. I do not want this.  I want it to go up and come down when
>> I tell it.
>
>Thats probably your ISP kicking you off. Mine has a 2 hour limit.
>
>Andrew

I work at an ISP and what we have is an 18 hours limit per calls and at
peak times when we get near filling up the modems (8PM - 11PM) there is
a 4 hour limit.  Also there is a 30 min inactivity limit.

The reason your dialer keeps dialing is because the script has the
word "persist" in it.  Take it out and it won't do that.





Ramiel Givergis, [EMAIL PROTECTED], http://www.relm.net 
--~~~===<[^]>===~~~-- 
This mail is a natural product. The slight variations in spelling and 
grammar enhance its individual character and beauty and in no way are to 
be considered flaws or defects.


Re: 2 questions

1999-02-25 Thread Andrei Ivanov
> > Thats probably your ISP kicking you off. Mine has a 2 hour limit.
> 
> Try pppupd to get around no-traffic limits.  For pure time limits... ?

pppupd doesnt do what I need, since my ISP has dynamic IP allocation.
I use a shell script I wrote instead.
The source is availible on my homepage (it's a very first version, better
one is in works right now)
Andrew



---
 Andrei S. Ivanov  
 [EMAIL PROTECTED]   
 UIN 12402354  
 http://members.tripod.com/AnSIv   <--Little things for Linux.


Re: 2 questions

1999-02-24 Thread Jesse Jacobsen
On 02/24/99 at 09:33:16, Andrei Ivanov wrote concerning "Re: 2 questions":
> > 2) For some reason pppd disconnects after some amount of time all by
> > itself.  I want it to stay up 24/7. I did see in dmesg that the PPP has
> > demand dialing. I do not want this.  I want it to go up and come down when
> > I tell it.
> 
> Thats probably your ISP kicking you off. Mine has a 2 hour limit.

Try pppupd to get around no-traffic limits.  For pure time limits... ?

-- 
Pastor Jesse Jacobsen <[EMAIL PROTECTED]>
PGP public key at http://www.jvlnet.com/~jjacobsen/pgpkey.asc
or through the keyserver at keys.pgp.net.



pgpFU3OSi7PAb.pgp
Description: PGP signature


Re: 2 questions

1999-02-24 Thread Andrei Ivanov
> 2) For some reason pppd disconnects after some amount of time all by
> itself.  I want it to stay up 24/7. I did see in dmesg that the PPP has
> demand dialing. I do not want this.  I want it to go up and come down when
> I tell it.

Thats probably your ISP kicking you off. Mine has a 2 hour limit.

Andrew

---
 Andrei S. Ivanov  
 [EMAIL PROTECTED]   
 UIN 12402354  
 http://members.tripod.com/AnSIv   <--Little things for Linux.


2 questions

1999-02-24 Thread Ian Setford

Two things.

1) I keep fairly current and after dselect ran last week one time, no one
except root can run ping.  Was this done on purpose.  If so, why?

2) For some reason pppd disconnects after some amount of time all by
itself.  I want it to stay up 24/7. I did see in dmesg that the PPP has
demand dialing. I do not want this.  I want it to go up and come down when
I tell it.

How can I fix these problems?  Is there anywhere I can look to find out
what else on my system will be changed without my knowing (i.e. who makes
these decisions and are they documented?)


TIA.

-Ian
---
Ian Setford
Brite Voice Systems
(972)389-3251


Re: 2 questions

1998-03-25 Thread Paul McDermott
hello again, this is a reply to my own message.  I have found a way to
overlap one image onto another on my web page.  There is a program in the
imagemagick package called combine.  It did exactly what I wanted.  If
anyone had a similar experience try the combine command.
Thanks for the help.
Paul

--
Paul McDermott
The Computer Braille Facility
The University of Western Ontario
University Community Centre 215
London, Ontario N6A 3K7
Phone:   (519) 661-3061
Email:   [EMAIL PROTECTED] 
Web Address: http://www.braille.uwo.ca/~paul

On Tue, 24 Mar 1998, Adam Edwards wrote:

At 09:19 AM 3/23/98 -0500, Paul McDermott wrote:
>a picture every minute and it is put on my web page.  I want to have my
>updated quickcam image overlayed onto the quickcam window image.  My
>question is.  Can I? and How do I do it in html.  I've looked through the
>html help files in lynx and I can't seem to find the answer.  I hope this
>is understable to you and you have some suggestions.  Thanks for your
>help.
I could be wrong but... assuming you use the same name for the picture 
as
you referenced in the img tag of the html file you should be able to use
the meta refresh tag with a setting of 60.  This will force most later
browsers to refetch the contents of the page. (html and associated images)
This would result in the new image of the same name to overwrite the old on
the display and in the users cache.
I'm sure there are more elegant solutions. (This one forces a complete
reload of all text and images on the page, IIRC, not just reloading the
picture.)  It should do what you want though.

My .02,
A


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: 2 questions

1998-03-24 Thread Adam Edwards
At 09:19 AM 3/23/98 -0500, Paul McDermott wrote:
>a picture every minute and it is put on my web page.  I want to have my
>updated quickcam image overlayed onto the quickcam window image.  My
>question is.  Can I? and How do I do it in html.  I've looked through the
>html help files in lynx and I can't seem to find the answer.  I hope this
>is understable to you and you have some suggestions.  Thanks for your
>help.
I could be wrong but... assuming you use the same name for the picture 
as
you referenced in the img tag of the html file you should be able to use
the meta refresh tag with a setting of 60.  This will force most later
browsers to refetch the contents of the page. (html and associated images)
This would result in the new image of the same name to overwrite the old on
the display and in the users cache.
I'm sure there are more elegant solutions. (This one forces a complete
reload of all text and images on the page, IIRC, not just reloading the
picture.)  It should do what you want though.

My .02,
A


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: 2 questions

1998-03-24 Thread Bob Clark
Concerning your first question, you ought to look at the
"mirror" package.  It takes care of the cleanup task for
you.

--Bob

Paul McDermott wrote:
> 
> hello everybody thank you for all of your help.  I am using wget to
> mirror the debian site or part of it anyways.  My question is this: Is
> there a flag to delete files when wget downloads a newer version of the
> same package. I have to clear my ftp site once a week because i run out of
> space.  I did read the documentation and could not find the answer,
> The second question is concerning html.  I grabbed the quickcam window and
> saved the file as a gif.  I have my connectic quickcam automatically take
> a picture every minute and it is put on my web page.  I want to have my
> updated quickcam image overlayed onto the quickcam window image.  My
> question is.  Can I? and How do I do it in html.  I've looked through the
> html help files in lynx and I can't seem to find the answer.  I hope this
> is understable to you and you have some suggestions.  Thanks for your
> help.
> 
> --
> Paul McDermott
> The Computer Braille Facility
> The University of Western Ontario
> University Community Centre 215
> London, Ontario N6A 3K7
> Phone:   (519) 661-3061
> Email:   [EMAIL PROTECTED]
> Web Address: http://www.braille.uwo.ca/~paul
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


2 questions

1998-03-23 Thread Paul McDermott
hello everybody thank you for all of your help.  I am using wget to
mirror the debian site or part of it anyways.  My question is this: Is
there a flag to delete files when wget downloads a newer version of the
same package. I have to clear my ftp site once a week because i run out of
space.  I did read the documentation and could not find the answer,
The second question is concerning html.  I grabbed the quickcam window and
saved the file as a gif.  I have my connectic quickcam automatically take
a picture every minute and it is put on my web page.  I want to have my
updated quickcam image overlayed onto the quickcam window image.  My
question is.  Can I? and How do I do it in html.  I've looked through the
html help files in lynx and I can't seem to find the answer.  I hope this
is understable to you and you have some suggestions.  Thanks for your
help.

--
Paul McDermott
The Computer Braille Facility
The University of Western Ontario
University Community Centre 215
London, Ontario N6A 3K7
Phone:   (519) 661-3061
Email:   [EMAIL PROTECTED] 
Web Address: http://www.braille.uwo.ca/~paul


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: 2 questions...

1998-01-16 Thread Martin Schulze
On Fri, Jan 16, 1998 at 02:23:43PM -0700, Mike Patterson wrote:
> 
> Ok, actually, I lied. Three. The first is: I haven't been getting any traffic
> from the list lately.. has something happened? For that reason, I'd appreciate
> a cc of any responses...

You're not subscribed anymore.  I've put on on the list again.  Seems
your mailsystem was sending out bounces so the list server unsubscribed
you.

> First real question: I want to mount a directory on another system. How 
> do I do this? I thought it would be in the mount man pages, but I guess I'm
> wrong. I assume that there must be something else out there I'm missing 
> (I assume dealing with NFS)

Yep, nfs is good,  you could use samba, too.

On the server:

edit /etc/exports
start rpc.portmap (look at /etc/init.d/netstd_nfs)

On the client

either

mount -s nfs server:/direc/tor/y /he/re

or 

edit /etc/fstab.

Regards,

Joey

-- 
/ Martin Schulze  *  [EMAIL PROTECTED]  *  26129 Oldenburg /
   / To-Zeilen in öffentlichen Nachrichten ist FidoNet-Technologie /
  / ^^ /
 / ... endlich 'mal wieder ein echt gelungener Witz!!!   /
/  -- Rainer Scholz /


pgp6VHS0pu6QS.pgp
Description: PGP signature


2 questions...

1998-01-16 Thread Mike Patterson

Ok, actually, I lied. Three. The first is: I haven't been getting any traffic
from the list lately.. has something happened? For that reason, I'd appreciate
a cc of any responses...

First real question: I want to mount a directory on another system. How 
do I do this? I thought it would be in the mount man pages, but I guess I'm
wrong. I assume that there must be something else out there I'm missing 
(I assume dealing with NFS)

Second: As some of you know, I'm working on a control-a1 controller. I was 
searching through some old documents, and came up with this line:

X \major{87}{}{char }{Sony Control-A1 stereo control bus}

With some hunting, I found that it was part of patch-2.1.54... Can anyone give
me any information on where to go from here? (I can't seemt to find any 
refrences to it... docs, people, etc, would be most helpful)

Thanks,
Mike


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Re[2]: questions: Non-internet connected IP Address default ???

1997-12-09 Thread Nathan E Norman
Following up my verbose message ...

One place you can find all the RFCs in a browsable format is
http://rfc.fh-koeln.de/doc/rfc/html/rfc.html

I find using the browser a bit easier than ftping the RFCs from internic
or wherever ...

: On Wed, 10 Dec 1997, Sen Nagata wrote:
: 
: : about private ip address spaces:
: : 
: : Address Allocation for Private Internets is rfc 1597
: :   http://www.internic.net/rfc/rfc1597.txt
: : 
: : people may want to have a look at:
: : 
: :   http://www.clock.org/~fair/opinion/rfc1597.html
: : 
: : which also talks about:
: : 
: : Network 10 Considered Harmful 
: :   (Some Practices Shouldn't be Codified) which is rfc 1627
: :   http://www.internic.net/rfc/rfc1597.txt
: :   
: : -sen
: 
: Both of these RFCs are obseleted by RFC 1918

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
phone: (605) 334-4454 fax: (605) 335-1173
mailto://[EMAIL PROTECTED] http://www.midco.net
PGP Key ID: 0xA33B86E9 - Public key available at keyservers
PGP Key fingerprint: CE03 10AF 3281 1858  9D32 C2AB 936D C472



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Re[2]: questions: Non-internet connected IP Address default ???

1997-12-09 Thread Nathan E Norman
On Wed, 10 Dec 1997, Sen Nagata wrote:

: about private ip address spaces:
: 
: Address Allocation for Private Internets is rfc 1597
:   http://www.internic.net/rfc/rfc1597.txt
: 
: people may want to have a look at:
: 
:   http://www.clock.org/~fair/opinion/rfc1597.html
: 
: which also talks about:
: 
: Network 10 Considered Harmful 
:   (Some Practices Shouldn't be Codified) which is rfc 1627
:   http://www.internic.net/rfc/rfc1597.txt
:   
: -sen

Both of these RFCs are obseleted by RFC 1918

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
phone: (605) 334-4454 fax: (605) 335-1173
mailto://[EMAIL PROTECTED] http://www.midco.net
PGP Key ID: 0xA33B86E9 - Public key available at keyservers
PGP Key fingerprint: CE03 10AF 3281 1858  9D32 C2AB 936D C472



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re[2]: questions: Non-internet connected IP Address default ???

1997-12-09 Thread Sen Nagata
about private ip address spaces:

Address Allocation for Private Internets is rfc 1597
  http://www.internic.net/rfc/rfc1597.txt

people may want to have a look at:

  http://www.clock.org/~fair/opinion/rfc1597.html

which also talks about:

Network 10 Considered Harmful 
  (Some Practices Shouldn't be Codified) which is rfc 1627
  http://www.internic.net/rfc/rfc1597.txt
  
-sen


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 2 questions.....

1996-09-21 Thread Yves Arrouye
   Second is a question with Ghostscript, I use gs to print postscript files on
   my deskjet.  Now I use a function in my .bashrc to invoke it.  The only
   problem is that when it is done printing I get the GS> prompt and have to
   type "quit" to finish printing and eject the paper.  Is there a way or
   option to use that will finish printing and eject the paper automatically?

Instead of saying something like

gs options -sInputFile=somefile.ps

use

gs options - 

Re: 2 questions.....

1996-09-20 Thread Gilbert Ramirez Jr.
> Second is a question with Ghostscript, I use gs to print postscript files on
> my deskjet.  Now I use a function in my .bashrc to invoke it.  The only
> problem is that when it is done printing I get the GS> prompt and have to
> type "quit" to finish printing and eject the paper.  Is there a way or
> option to use that will finish printing and eject the paper automatically?

Instead of using gs directly, I'd use lpr, especially since lpr is the
standard Unix print command. Here's my entry in /etc/printcap

-(snip)
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
#:of=/etc/filter.pcl:

lp|My LJIIP pretending to be a Postscript printer:\
:lp=/dev/lp1:\
:if=/etc/filter.ps:\
:sh:
-(snip)


Then my /etc/filter.ps program is:


-(snip)
#!/bin/sh
# This is a simple filter for printing postscript files, (see /etc/printcap).

# HP Deskjet 500 printer device
#/usr/bin/gs -q -dSAFER -sDEVICE=djet500 -dNOPAUSE -sOutputFile=- -

# HP LJIIP
/usr/bin/gs -q -dSAFER -sDEVICE=ljet2p -dNOPAUSE -sOutputFile=- -
-(snip)

So, to print a postscript file, I just use lpr:

lpr filename

and lpr sends it to ghostscript, and re-routes gs's output to the printer.

> Thanks for any help
> 
> Andy
> 

--gilbert
__
Gilbert Ramirez Jr. [EMAIL PROTECTED]
University of Texas http://merece.uthscsa.edu/gram
Health Science Center at San AntonioUniversity Health System



Re: 2 questions.....

1996-09-20 Thread Paul Christenson
Andy Tarkinson wrote:

> Second is a question with Ghostscript, I use gs to print postscript
> files on my deskjet.  Now I use a function in my .bashrc to invoke it.
> The only problem is that when it is done printing I get the GS> prompt
> and have to type "quit" to finish printing and eject the paper.  Is
> there a way or option to use that will finish printing and eject the
> paper automatically?

Check out apsfilter.  It does lots of neat things; you can dump
Postscript as well as ASCII (and a number of other formats) using lpr,
and it prints properly automatically.

Really easy to set up.

-- 
++
| Technical Support Engineer, Cyclades Corporation   |
| 800/88-CYCLADES (882-9252) or (510)770-9727, x258  |
| Maker of High Performance Multiport Serial Cards   |
| Unsolicited mail ads subject to a $25 handling fee |
++



Re: 2 questions.....

1996-09-20 Thread Syrus Nemat-Nasser
On Wed, 18 Sep 1996, Andy Tarkinson wrote:

> First is a problem with dircolors.  I had it working fine (I think) with
> "stable" then I upgraded to "unstable" where the color-ls package becomes
> obsolete.  In profile I have a few aliases setting up ls, dir, etc using
> color.  Also I have "eval 'dircolors -b'".  I have the file /etc/DIR_COLORS
> with the colors from Slackware, and also the same as ~/.dircolors.  Now I
> get a few colors like directories and permissions but no colors specific to
> extentions like .tgz, .jpg, .tar etc...  I've tried everything and can't get
> it to work properly.

I think you have to specify the path to your config file.  Here's some info I
keep around regarding this question:

With the integration of color-ls directly into the fileutils
package, a few things have changed.  dircolors no longer sets
up aliases or shell scripts to colorize ls, dir, and vdir.

Here is an excerpt from a .bashrc which sets up aliases after
running dircolors:

# set up color-ls
eval `dircolors /home/syrus/.dir_colors`
alias d='ls -F --color=auto'
alias v='ls -l --color=auto'
alias vdir='ls -l --color=auto'
alias dir='ls -F --color=auto'  
   

Note that color=tty has been changed to color=auto.  See the
documentation for other change information.

Luck, Syrus.


--
Syrus Nemat-Nasser <[EMAIL PROTECTED]>UCSD Physics Dept.



Re: 2 questions.....

1996-09-20 Thread Brian C. White
> Second is a question with Ghostscript, I use gs to print postscript files on
> my deskjet.  Now I use a function in my .bashrc to invoke it.  The only
> problem is that when it is done printing I get the GS> prompt and have to
> type "quit" to finish printing and eject the paper.  Is there a way or
> option to use that will finish printing and eject the paper automatically?

$ gs --help
[...]
 -c quit (as the last switch)
   exit after last file
[...]
 
  Brian
 ( [EMAIL PROTECTED] )
 
---
In theory, theory and practice are the same.  In practice, they're not.



2 questions.....

1996-09-19 Thread Andy Tarkinson
Hi all, 

I am a new Debian user and I think it is great, although it will take a
little (not much) to get used to it after using Slackware for over a year. I
have 2 questions one more specific to Debian than the other.

First is a problem with dircolors.  I had it working fine (I think) with
"stable" then I upgraded to "unstable" where the color-ls package becomes
obsolete.  In profile I have a few aliases setting up ls, dir, etc using
color.  Also I have "eval 'dircolors -b'".  I have the file /etc/DIR_COLORS
with the colors from Slackware, and also the same as ~/.dircolors.  Now I
get a few colors like directories and permissions but no colors specific to
extentions like .tgz, .jpg, .tar etc...  I've tried everything and can't get
it to work properly.

Second is a question with Ghostscript, I use gs to print postscript files on
my deskjet.  Now I use a function in my .bashrc to invoke it.  The only
problem is that when it is done printing I get the GS> prompt and have to
type "quit" to finish printing and eject the paper.  Is there a way or
option to use that will finish printing and eject the paper automatically?

Thanks for any help

Andy

<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

 



socks and maple on debian/2.0.x (2 questions)

1996-09-02 Thread Allen Moy

  I am in the process of switching from "ancient" a.out/Linux 1.2.13
to debian/Linux 2.0.x 

  Two questions

  (1) I have been using (under license through the university)
  maple on Linux.  maple/xmaple for Linux has been running
  fine on my old a.out/Linux 1.2.13 distribution.  

  maple seems to be fine on debian/Linux 2.0.x but xmaple
  complains about libXt.so.3 and libX11.so.3 being missing.

  I tried copying over the a.out libXt.so.3 and libX11.so.3 which
  I have on my old 1.2.13 ditribution, but I get segmentation faults
  when I try to run xmaple.  

  Would anyone know if this can be fixed? (Possibly with elf versions
  of libXt.so.3 and libX11.so.3?)

  (2) I have been using socks-4.2 both in server and client mode under my
  a.out/Linux 1.2.13 setup.  I looked, but there is no socks debian
  package.  Can debian/Linux 2.0.x be a socks server?

  Thanks in advance.

- Allen