Re: limiting hard drive space for a user..

2003-03-30 Thread ktb
On Mon, Mar 31, 2003 at 09:19:48AM +1000, Ross Tsolakidis wrote:
 Hi all,
 
 Newbie question I know,
 But how can I limit a users home dir to certain amount of hard drive space ?
 Is it possible ?

man quota

Look at the quota section -
http://www.debian.org/doc/manuals/securing-debian-howto/ch4.en.html#s4.10
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



[OT] History of debian-user footer.

2003-03-28 Thread ktb
In light of the most recent iteration of the 'users can't unsubscribe'
discussion I thought I would do a bit of research.  

When I started using debian the footer was -

Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null

There was a huge debate about whether or not to change this to a more
user friendly format or not.  Some argued the footer should remain due
to tradition.  Some argued for a kinder and gentler footer.  Others felt
a more user friendly footer would be codling users too much.  After much
debate we ended up with -

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

For whatever reason, and I bet we can guess why, Bruce turned over the
responsibility to Templin -

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

After Templin stepped down I guess no one stepped forward, or it was
decided it was too much for one person and Listmaster took over -

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

Now I see people are calling for yet another improvement a link to -

http://www.debian.org/MailingLists/subscribe 

This debate and problem has been going on forever:)  I find this
humorous on one level.  On another I find it disturbing that as a
species we can send someone to the moon but we are too stupid to
unsubscribe from an email list, *after* we have subscribed.  Or is the
problem the instructions aren't clear enough or the listmaster isn't
responsive enough? evil grin
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: leaving computer on 24/7

2003-03-27 Thread ktb
On Thu, Mar 27, 2003 at 02:15:43AM -0800, Paul Johnson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, Mar 27, 2003 at 10:08:17AM +1100, Lindsay Yardley wrote:
  if it's a 24/7 box it's probably better to run it headless and administer it
  from a web interface. i.e. webmin etc
 
 Why go with the insecurity of webforms when SSH exists and gives you a
 real environment?

Or a serial connection.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Good open source primer?

2003-03-26 Thread ktb
On Tue, Mar 25, 2003 at 01:47:57PM -0500, stan wrote:
 I found myself in a discussion wiht my bosses boss this morning. It was
 about how we had time synched all the *NIX boxes.
 
 Somewhere in the middle of the discussion, it became quite clear that he
 simply _did not understand_ the concept of obtaining a peice of software
 that he did not have to pay for :-(
 
 I guess it never occured to me that there could be this lack of
 understanding.
 
 I would like to provide him with a gentle introduction to open
 source/public doamin software.
 
 Any susgestions?

I have not read though these yet so don't know how gentle they are but
you might find something here -

http://www.oreilly.com/catalog/opensources/book/toc.html

kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



[OT] user psychology

2003-03-23 Thread ktb
I've been searching around the web for some documentation on how to deal
with users from the perspective of a systems administrator.  I'm finding
a lot on account management and user policies but not much by way of
dealing with people.  I'm interested in educating myself about the different
approaches sys admins take and the success or failure of these approaches.

As you can guess I've recently inherited a network.  I'm having no
problems with the technical side of administering the network but am
finding myself increasingly taking more of a hard-line with regards to
users and I would like to decide where I want to draw the lines.
Thanks,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



[OT] starting damons as non-priv

2003-03-18 Thread ktb
1) How can you tell if a program is actually running as a non-privileged 
user?

For example proftpd is configured to run as User nobody and Group
nogroup but when I do a lsof|grep proftpd root is listed as the
user.

proftpd   5884 root0u  IPv4  20170 TCP *:ftp (LISTEN)

2) If I create an in house damon and have it owned by user nobody but
start it from a shell as root which user actually owns this process?

Pointers to docs would be appreciated.
Thanks,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: nothing works

2003-03-17 Thread ktb
On Mon, Mar 17, 2003 at 06:15:08PM -0500, Nori Heikkinen wrote:
 my old computer's dead as a whole.  i determined that it was either
 the motherboard or processor, and bought a new combo.  plugged them
 in.  turned on computer, and all is well!  i let it download email for
 a while, transferred over some files, and went to reboot for some
 reason.  it halted ... and then never came back up.  i can't even turn
 it on now -- the fan whirrs, but it doesn't even get as far as
 POSTing, and there's no signal to the monitor.  this is where i was
 before -- BUT it was up for two hours!  what's wrong?
 
 i'm going to go swap around RAM when i get home.  but i find it very
 weird that it booted once, and no longer.
 

Make sure your power supply fan is turning.  Smell the power supply
vents to see if it is burned out.  Check for unusual heat also.
If it is damaged you many be getting enough power to turn the CPU fan 
and that is about it.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Removing CRONTAB jobs

2003-03-16 Thread ktb
On Mon, Mar 17, 2003 at 01:06:38AM -0500, sean finney wrote:
 On Mon, Mar 17, 2003 at 06:33:50AM +0100, n/a wrote:
  I've just set up a firewall for some students, now it's late and i'm still awake 
  and 
  
  this machine is making a lot of noise. Are there any crontab jobs i surely should 
  NOT remove ?
 
 in general, i think most the crontabs are there for a reason.  for example,
 the find job (probably the noisiest of them all), updates the database
 that the locate command uses for finding stuff.  if the noise keeps
 you up at night, i guess you could disable it, but then don't expect
 locate to be too helpful in a couple weeks.
 
 also, you can change the frequency of any of these jobs by moving
 them from /etc/cron.daily to /etc/cron.weekly if you really want.
 

You could also edit /etc/crontab to change the time cron.daily runs.
See man 5 crontab
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Difficulty configuring exim for use with fetchmail and as external MTA.

2003-03-16 Thread ktb
On Mon, Mar 17, 2003 at 12:59:39AM -0500, Chris Metzler wrote:
 
 Hi.  I'm a new-ish Debian home user, and exim was the default
 SMTP handler at installation time.  I have a problem with exim
 that I've put up with for quite some time; but enough is enough,
 and I'm trying to solve it now, and hope someone can help.
 
 I don't use exim to listen on port 25; no incoming SMTP connections
 are allowed.  I use exim 1) as an MTA for outgoing external mail,
 and 2) as a local MDA.
 
 Email sent to users on my host first goes to an IMAP server at my
 ISP, speakeasy.net; I fetch it from them using fetchmail, which then
 passes it off to exim for local delivery.  Since the email grabbed by
 fetchmail, and then passed to exim for local delivery, will come in
 with addresses of the form [EMAIL PROTECTED], exim needs to
 recognize that incoming mail with that domain is indeed local, and
 should be put in username's mailbox in /usr/mail, rather than being
 forward via outgoing SMTP back to mail.speakeasy.net.  This implies
 that speakeasy.net should be set as a local domain in exim.conf.
 

You don't have to set up exim for delivery of email if your using
fetchmail.  Just slurp it in.

 Also, outgoing email needs a domain tacked on.  In particular,
 outgoing external mail, to be passed to mail.speakeasy.net by SMTP,
 needs @speakeasy.net to be tacked on to username in the From:
 header.  At present, I take care of this by having qualify-domain
 -- the domain automatically tacked on to all unqualified addresses
 -- set to speakeasy.net.
 
 THE PROBLEM:  outbound external email to an address at speakeasy.net
 which is not on my local host -- [EMAIL PROTECTED] --
 fails.  exim sees the @speakeasy.net and interprets the mail as being
 local, because speakeasy.net is in the local domain list.  It then
 tries to deliver the mail to some_external_user on my local host, and
 fails because there is no such user.

See the REWRITE CONFIGURATION section near the bottom of exim.conf.
And add your user/domain to /etc/email-addresses.
hth,
kent 

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Debian Boot Process

2003-03-13 Thread ktb
On Thu, Mar 13, 2003 at 11:27:55AM -0800, Kris wrote:
 You state it calls init.  Where is init  /usr/bin /usr/sbin.  is init a
 program.  Thanks

/sbin/

# which init
$ man init
$ ps ax|grep init

kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: SSL installation help.

2003-03-12 Thread ktb
On Wed, Mar 12, 2003 at 11:02:00AM -0600, linux stuff wrote:
 yes, thank you ... i realized i had omitted the subject and re-sent the
 message 
 
 as i understand it, it's not the actually install, which should work fine
 the way you propose, but the configuration and getting a certificate and
 stuff like that which is difficult ...
 
 anyway, is there perhaps a mini-HOWTO that can help me with the basics of
 created an SSL page ?

Probably the hardest part is jumping though the hoops to get a cert.  To
find that info go to the company your purchasing the cert from.
Thawte is one I know off the top of my head but I know there are others.
Once you get the cert back drop it into place.  You will find
documentation about all this where you purchase your cert.  A google for
setting up SSL server or some such phrase should net you plenty of
information to fill the cracks.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: newbie mutt questions

2003-03-11 Thread ktb
On Tue, Mar 11, 2003 at 02:56:15PM -0500, Chris Hoover wrote:
 Sorry for this newbie type of questions, but how do you move mail messages to 
 another folder when in mutt?
 

If you want to move one message at a time you can use s for save.  If
I move a whole folder I generally just cp folder folder0
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Setting Static IP Address

2003-03-11 Thread ktb
On Tue, Mar 11, 2003 at 07:52:04PM -0800, CM Miller wrote:
 
 
 Very new to Debian and installed Woody last weekend. 
 FOr some reason, it didn't recognize by pci 3com nics,
 but after a little help on this list I got them. 
 
 Now, how do I set a static ip address?
 

That is set in -
/etc/network/interfaces

For example -

auto eth0
iface eth0 inet static
address 192.168.10.7
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1

For more info -
$ man interfaces
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



ATA raid install

2003-02-28 Thread ktb
I've been wading though the various howtos and list archives and could
use some advice.  I have a GA-7VAXP Gigabyte motherboard with on-board
ATA raid.  I've got the disks set up with MBFastrack 2+0 stripe.

Should I be attempting this with stable/testing/unstable?  Does anyone
have a floppy set up for preloading the modules and kernel I need?  What
modules do I actually need?  Any advice or links would be appreciated.
Thanks,
kent
  
-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



screens saver - scrolling marquee

2002-05-22 Thread ktb
I've got a kiosk set up and would like to display what the intended use
of the kiosk is for, in the form of a screensaver.  I've installed
xscreensaver.  The only two screensavers included that come close are
flag and GLtext.  Flag doesn't look very professional and GLtext
flips around so much the text is unreadable and for some reason the
letter T doesn't have the top line on it.  

I've searched deb packages, freshmeat and google.

Anyone know of a screensaver for linux along the lines of Scrolling
Marquee in Windows?  
Thanks,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Small footprint window manager

2002-05-12 Thread ktb
On Sat, May 11, 2002 at 11:37:37PM +0200, Miroslav Mazurek wrote:
 
 I need som recomendation for some realy small footprint window manager (it 
 should run on 386/16MB). What's best choice?
 

Take a look at PWM.  Has great customizable keyboard support.  It also
allows you to stick windows together and then quickly iterate though
them.  http://www.students.tut.fi/~tuomov/pwm/
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: print web pages with dot matrix?

2002-04-30 Thread ktb
On Mon, Apr 29, 2002 at 08:23:55PM -0500, Gary Turner wrote:
 On Mon, 29 Apr 2002 09:42:09 -0500, ktb wrote:
 
 I'm running Woody.  The printer I'm working with is a Panasonic
 KX-P2030.  It will print web pages fine from a windows computer but from
 Woody it only spits out something along the lines of -
 
 %!PS-Adobe-3.0
 %%BoundingBox: 54 72 558 720
 %%Creator: Mozilla (Netscape) HTML - PS
 %%DocumentData: Clean7Bit
 snip
 [ /.notdef /.notdef ..
 
 This is raw Post Script, which the Panasonic doesn't interpret.
 
 
 I installed the printer using apsfilterconfig.  I chose the Epson
 Ghostscript driver as specified at linuxprinting.org.  The printer of
 course prints plain text just fine.  Have I missed a step here or change
 a config?
 
 Apsfilter probably set you up with:
 
   lp--default, doesn't go through Apsfilter/gs
   raw--(may be called something else) goes through Apsfilter,
   but is not modified
   pandot--(my name for the panasonic dot-matrix printer) goes
   through Apsfilter and gs and is output as a graphic
   (raster scan) for the Panasonic

OK things are becoming a little more clear but looking though the
print howto and gs manpage it isn't becoming apparent to me how to
generate a command to do what pandot does for you.  I'm going though
the gs docs in /usr/share/doc/gs/Use.htm to see if I can figure this
out.  I was wondering if you could share your printcap?  You can email
it to me directly if you like.  It looks like I'm going to have to muck
around with files in /usr/share/ghostscript/common/ also, is that
correct?
Thanks,
kent  

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



print web pages with dot matrix?

2002-04-29 Thread ktb
I'm running Woody.  The printer I'm working with is a Panasonic
KX-P2030.  It will print web pages fine from a windows computer but from
Woody it only spits out something along the lines of -

%!PS-Adobe-3.0
%%BoundingBox: 54 72 558 720
%%Creator: Mozilla (Netscape) HTML - PS
%%DocumentData: Clean7Bit
snip
[ /.notdef /.notdef ..

I installed the printer using apsfilterconfig.  I chose the Epson
Ghostscript driver as specified at linuxprinting.org.  The printer of
course prints plain text just fine.  Have I missed a step here or change
a config?
Thanks,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



cdrecord/burn problem

2002-04-25 Thread ktb
My burner used to work fine until I installed woody.  I've been
searching the net and found the suggestion to use the -dao switch.
That didn't help.  I'm running a 2.4.18 kernel.  Here is the output of -

# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
 0,0,0 0) 'SONY' 'CD-RW CRX0811   ' 'MYS2' Removable CD-ROM


Here is a snip of what I get when I run -

# cdrecord -v speed=4 dev=0,0,0 woody_netinst-20020215-i386.iso 

Starting to write CD/DVD at speed 4 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01:   0 of  29 MB written.cdrecord: Input/output error. write_g1:
scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.002s timeout 40s

write track data: error after 0 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing  time:5.031s
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: no
error
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 72 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x04 (empty or partially written reserved track)
Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.001s timeout 480s
cmd finished after 0.001s timeout 480s
Fixating time:0.002s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

Anyone know what is going on here?
Thanks,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: cdrecord/burn problem

2002-04-25 Thread ktb
On Thu, Apr 25, 2002 at 07:20:22PM -0700, Erik Steffl wrote:
 ktb wrote:
  
  My burner used to work fine until I installed woody.  I've been
  searching the net and found the suggestion to use the -dao switch.
  That didn't help.  I'm running a 2.4.18 kernel.  Here is the output of -
 
   which kernel you used when it worked? I also have some funny problem
 with cdrom burner (I cannot rip audio CDs, everything else works), which
 I didn't have long time ago (different kernel, different motherboard so
 I am not sure who to blame:-)
 

It was somewhere between 2.4.0 and 2.4.18.  It has been a few months
since I used the setup so probably somewhere in the middle.  
kent  

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Woody Woes

2002-04-21 Thread ktb
On Mon, Apr 22, 2002 at 11:47:55AM +1000, Matt Chipman wrote:
 Hi all
 
 I am trying to upgrade to Woody and use the 2.4 kernel.
 I am a wireless enthusiast and have a pcmcia to pci adapter PLX card with a
 hermes enterasis card which is why i want to use the 2.4 Kernel. (support is
 in this kernel if you didnt know)
 
 I added the correct llines to the apt soureces list and the upgrade went
 smoothly with apt-get dist-upgrade
 
 Upon reboot. i am still using the 2.2.17 potato kernel :(
 
 I know it is something i am doing wrong but i don't know what.
 
 RTFM and all that, i have done but have not been able to make it work.
 
 I guess my question is when i have the correct apt sources, why doesnt my
 kernel upgrade?
 
 any pointers appreciated

Woody uses a 2.2.x kernel by default.  A dist-upgrade isn't going to give 
you a 2.4.x kernel.  You will have to snag the kernel source and build/install 
the kernel yourself.

If you don't know how to install a kernel:

The debian way -
http://www.debian.org/doc/FAQ/ch-kernel.html

The traditional way -
http://www.tldp.org/HOWTO/Kernel-HOWTO.html

hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: config file for current kernel

2002-04-21 Thread ktb
On Sun, Apr 21, 2002 at 05:58:12AM -0700, Kapil Khosla wrote:
 Hi,
 I normally have to recompile my kernel a number of times.
 
 Obviously , the .config file in /usr/src/linux gets overwritten and I lose my 
 old .config file. I know I can save it by a unique name but 
 is there a command/utility which I could use to know the configuration of the 
 current running kernel ?

IIUC -

$ less /usr/src/linux/.config

or

cd /usr/src/linux
# make menuconfig

Select *not* to save your configuration on exit if all you want to do is
view the current config.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Woody Woes

2002-04-21 Thread ktb
On Sun, Apr 21, 2002 at 08:35:51AM -0700, Osamu Aoki wrote:

snip 

 One reminder, 2.4 kernels are very modular and must be configured using
 modules otherwise most key functions do not work.
 

I've got a 2.4.18 kernel with one module installed.  Everything else is
static.  I've seen no key functions that don't work.  Which functions
are you talking about?
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: ispell

2002-04-17 Thread ktb
On Wed, Apr 17, 2002 at 12:23:40PM -0600, Arthur H. 
Edwards,1,505-853-6042,505-256-0834 wrote:
 After a testing dist-upgrade I lost ispell. The entire directory
 
 /usr/lib/ispell
 
 is gone. I have tried installing, removing and installing, purging and 
 installing. So far nothing has worked.
 
 Suggestions welcome

I would suggest installing Aspell and the corresponding dictionary for
that program.  It blows ispell away IMHO.  In fact it is the best spell
check program I have run across under any platform.

$ apt-cache search aspell
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: ispell

2002-04-17 Thread ktb
On Wed, Apr 17, 2002 at 03:39:08PM -0600, Art Edwards wrote:
 Thanks for the recommendation. Does this integrate easily with
 emacs/xemacs?
 

I don't use emacs so don't know for sure but it is claimed to be a drop
in replacement for ispell.  I use it with mutt and off the command line.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: What are the bf varient kernel packages?

2002-04-09 Thread ktb
On Tue, Apr 09, 2002 at 01:19:04PM -0400, Curtis Dean Smith wrote:
 As above, what is the difference between the regular kernel packages and
 bf varients in testing?
 

Read the README.txt -

http://ftp.us.debian.org/debian/dists/testing/main/disks-i386/current/bf2.4/README.txt

and the flavors section of README.txt
http://ftp.us.debian.org/debian/dists/testing/main/disks-i386/current/README.txt

hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: Menuing system

2002-04-04 Thread ktb
On Thu, Apr 04, 2002 at 01:48:34PM -0500, Matthew Daubenspeck wrote:
 Is there a package for a utility that will allow me to make custom menu 
 screens for utilities? I am setting up a server for a user that is not linux 
 savvy and I want to create a menu to run commands like adduser, userdel, etc 
 etc.
 
 It would be best if each menu item would allow me to customize each item to 
 make this as stupid proof as possible.
 

Maybe -

whiptail
xdialog
dialog

is what your looking for.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: black screen of death

2002-04-03 Thread ktb
On Wed, Apr 03, 2002 at 11:27:00AM -0300, Marcelo Chiapparini wrote:
 Hello!
 
 I am running woody + sawfish-gnome. Sometimes, after xscreensaver has started 
 and the monitor enters the suspend mode it never comes back again. No matter 
 I 
 do, the screen remains black and insensible to any mouse or keyboard input. 
 The solution is to reset the machine. 
 Did anyone face this problem in the past? is it a xserver bug (I am running 
 xfree86 4.0)? what is the solution?
 

I haven't had that problem but -
$ xset -dpms
should kill suspend mode.  
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: How to reconfigure fetchmail?

2002-03-24 Thread ktb
On Sun, Mar 24, 2002 at 02:11:14PM -0500, stan wrote:
 I need to reconfigure fetchmail on one of my woody machines. 
 
 I tried using dselct to delte  reinstall it. That did not prompt me for
 configuration data, so I tried dpkg-rconfigure fetchmail. This just
 returned a prompt.
 
 How can I do this?
 

I just edit .fetchmailrc in my home directory.  

You could also run -
$ apt-cache search fetchmail

and you would find -
fetchmailconf - fetchmail configurator

# apt-get install fetchmailconf

hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


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



Re: libm.so.5

2002-03-23 Thread ktb
On Fri, Mar 22, 2002 at 03:47:41PM -0800, Joe Wise wrote:
 I just did an apache installation and that libm.so.5 library is missing
 from our Debian/linux 2.2r2
 
  
 
 What is the workaround or solution.
 

You can do a search at -
http://www.debian.org/distrib/packages#search_contents
to find out what package the file your looking for is in.

Looks like the libc5 package.  

# apt-get install libc5

hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: attachment problem with mutt

2002-03-23 Thread ktb
On Fri, Mar 22, 2002 at 06:09:21PM -0300, Marcelo Chiapparini wrote:
 Hello,
 
 I am running woody and mutt. I have a problem with the attached files in 
 mutt: 
 mutt insists in put the attached file in the body of the message, either in 
 the messages I send as well as the messages I receive with attached files. 
 Does exist an option for fix this problem?
 

Open the mail and then hit, v

You will then see that you can save the attachment by pressing, s

If you are attaching plain text files you will see it in the body of
the message but if you follow the steps above you will see the file is
attached.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: How can I find out what package contains the Gnome dictionaty aplet?

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 06:52:34AM -0500, stan wrote:
 Somewhere along the line, one of my dslect upgrades must have removed the 
 Gnome dictionary aplet, but I cna't seem to find it in the dselect list.
 
 Is there a tool that I can use to search the avaialble packages  see
 what package conyains this?
 

If I were you I would try -
$ dpkg -S applet

If that didn't bring anything up I would try searching for applet at -
http://www.debian.org/distrib/packages
under section Search the contents of packages and see if you find
something that looks relevant.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


pgpHzmwZKrFdM.pgp
Description: PGP signature


Re: apt-get reinstall?

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 09:33:59AM -0600, Elizabeth Barham wrote:
 Hi,
 
 Is there an easy method to re-install a package? I rebooted my machine
 and apache is segfaulting right as it starts up. Other applications
 are running fine, even Tomcat which taxes memory.
 
 Any ideas on how to diagnosis this or any ideas on how to re-install?
 

There is a --reinstall option which you can find and read about in -
$ man apt-get

If that doesn't work for you try -

# apt-get remove package_name

You could throw in a --purge to wipe out all config files if you want
to go that far but you probably don't need to in this case.

Before you do any of that you should of course back up all config files
and what you have in /var/www 

Then just reinstall with -

# apt-get install package_name

hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: dosemu

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 09:08:17AM -0700, Phil Reardon wrote:
 I installed dosemu on my potato box to try to help Cheryl, but it did not 
 give me any man or info pages.  Who maintains dosemu, anyway?
 

I went here -
http://www.debian.org/devel/people

Looks like -
Xu, Herbert ?[EMAIL PROTECTED] 

http://gondor.apana.org.au/~herbert/

is the maintainer.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: Galeon PSM

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 08:32:11AM -0800, Michael Montagne wrote:
 What is PSM for Galeon (mozilla?)?
 When trying to reach a secure sight I'm informed that this must be
 installed.  The download is a whole bunch of files tarred together.  I'm
 unsure how to proceed.  Should I just copy the whole tree I downloaded
 into my mozilla tree (the directories and file names seem to match so
 there will be much overwriting)?  I've installed everything else with
 apt-get so I'd like to stay within the system.  Can I install PSM with
 apt-get?
 

Install - mozilla-psm

# apt-get install mozilla-psm

hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: su montioring

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 06:27:46PM -, David Richards wrote:
 hi
 
 are there any program that will log/monitor who are using root
 privigies ?
 

I don't know if it completely fits the bill but take a look at 
/var/log/auth.log
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


pgpNhSNyELfpQ.pgp
Description: PGP signature


Re: re-set button keeps blinking

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 03:07:42PM -0500, [EMAIL PROTECTED] wrote:
 Hi I just thought you might help me
 I have a hp deskjet 870Cse printer just
 a couple of days ago I noticed no print jobs
 when I turn it on  the re-set button keeps blinking
 and the paper won't feed. I don't have an owners
 manuel because I found the printer. by the garabage
 can. practically brand new. Maybe you can give me a few
 pointers.P.S. I re-instaled the printer. still not working
 

There may be a reason why it was by the trash can. OTOH hand people do
throw out perfectly good stuff.  At any rate I would look for the
documentation at -
hp.com

The site is usually a nightmare to find stuff but they usually have what 
I'm looking for.

We had a few hp deskjets serving the public as a temporary solution.  We
got a lot of the blinking reset buttons.  Usually unplugging the power
and then plugging it back in would work.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


pgpc8KkJPOldk.pgp
Description: PGP signature


Re: dosemu: cua

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 02:13:09PM -0600, Cheryl Homiak wrote:
 Looking again at the README.txt.gz, I see that all the serial examples use
 /dev/cua1 etc, though the examples in /etc/dosemu/dosemu.conf use 
 /dev/ttyS0,
 etc. What on earth is a /dev/cua device; I don't have anything like that in
 /dev.
 TIA.

This may help answer your question, from 
$ man MAKEDEV -


   Serial Devices

   ttyS{0..63}
  Serial ports and corresponding dialout device.  For
  device ttySx, there is also the device  cuax  which
  is  used to dial out with.  This can avoid the need
  for cooperative locks in simple situations.


http://linuxdoc.org/HOWTO/Serial-HOWTO-5.html#ss5.5

Lists /dev/cua as being obsolete but shows how to create them with
mknod

I've never messed with dosemu so can't tell you what to do with the info
but thought it might be helpful.  Someone else will probably point the
way better than I.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


pgpCGK8G2E56i.pgp
Description: PGP signature


Re: vim-gtk, where is gvim ?

2002-03-20 Thread ktb
On Wed, Mar 20, 2002 at 10:41:25PM +0100, Thomas wrote:
 Hello,
 
 I've installed vim-gtk with apt-get, but I cannot find /usr/bin/gvim, 
 it's just a link to vim. Moreover, vim -g doesn't launch the GUI. Does 
 anyone have the same problem ?
 

I just installed vim-gtk from testing and gvim came with it.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


pgpX1qL5poZ3K.pgp
Description: PGP signature


Re: menu

2002-03-19 Thread ktb
On Tue, Mar 19, 2002 at 09:39:18AM +, Marcelo Leal wrote:
 Has anyone a menu script done??? I need do some scripts, and i will have
 to do a nice interface... i thought if somebody have a default one...
 with colors and so on... 
 

Look at the package dialog, xdialog, whiptail.

You can search for packages on your own at -
http://www.debian.org/distrib/packages

or with -

$ apt-cache search package_name
  
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: Which window-manager for a kiosk?

2002-03-19 Thread ktb
On Tue, Mar 19, 2002 at 11:41:35AM -0600, Kent West wrote:
 Which window manager will give me the ability to size/move/close/etc 
 windows, but without the ability to start other programs, etc. I want a 
 kiosk style setup, on a low-memory machine. ICEWM has that menu at the 
 bottom with the Start menu, so it's unsuitable. I tried twm, but I 
 have to manually place the default app (Galeon) when it starts or when a 
 new window is opened by the web site being visited, and I would prefer 
 the window to just take the entire screen or at least not require manual 
 placement.
 
 Any suggestions?

I used fvwm on our kiosks at work.  I'm not sure what yours is going to
be used for but ours loads netscape which is pointed to two internal web
servers.  We didn't want them to have the capability of size/move/etc
so we overlayed all the buttons and such with graphics.  At any rate you
should be able to add or remove whatever buttons you want to windows,
configure the root menus, etc under fvwm.  It is light weight and highly 
configurable, not the most beautiful though:)  Depending on your security 
needs you might want to look into running this in a chroot directory or use 
rbash.  
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: bash scripting question (variables and spaces)

2002-03-19 Thread ktb
On Tue, Mar 19, 2002 at 08:35:53PM +0100, Karsten Heymann wrote:
 Hi,
 
 I have once again come upon bash problem I can't solve. I'm writing a
 little bash frontend and one of the programs expects a option that includes
 spaces and is composed from two other shell var's. Example:
 
 #!/bin/bash
 A=Hello
 B=Karsten
 C=$A $B 
 someprog --greeting $C
 

#!/bin/bash
A=Hello
B=Karsten
C=$A $B

echo $C

Works fine for me.  

[EMAIL PROTECTED]:~/scratch$ ./yo2
Hello Karsten

What is your someprog ?
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: PDF

2002-03-19 Thread ktb
On Tue, Mar 19, 2002 at 02:43:56PM -0800, curtis wrote:
 What is the best tool for editing and creating pdf files?
 

Here is a quick online prog -
http://www.ps2pdf.com/convert/convert.htm

Maybe not exactly what your looking for but...
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)


pgpEjN2qyJWUt.pgp
Description: PGP signature


Re: linux on IBM PS/1

2002-03-18 Thread ktb
On Mon, Mar 18, 2002 at 03:05:21PM +0100, Bostjan Muller wrote:
 Hi!
 
 We recieved a few IBM PS/1 machines in our local cybercaffe, and would
 like to install linux on them, but none of the install floppies would
 recognize the disk controler nor the disk.
 If anyone has any information about installing linux on PS/1 machines
 I'd be verry gratefull, if he/she would share the information.
 

A few years back I installed on a IBM PS/2 386.  It had a MCA bus.  I
would imagine the PS/1 does also.  I don't know off the top of my head
if debian supports MCA.  When I installed (I think it was mutt) I had to
get special boot disks.  I found them with a web search.  I know there
isn't anything definitive in what I've said here but maybe it will give
you a start.  Does the bios recognize the drive?
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: linux on IBM PS/1

2002-03-18 Thread ktb
On Mon, Mar 18, 2002 at 03:45:37PM +0100, Robert Waldner wrote:
 
 On Mon, 18 Mar 2002 08:29:01 CST, ktb writes:
 debian on IBM PS/1
 A few years back I installed on a IBM PS/2 386.  It had a MCA bus.  I
 would imagine the PS/1 does also.  I don't know off the top of my head
 if debian supports MCA.
 
 At least the stock kernel always complains 'cause it can't find any 
  MCA-bus ;)
 
   When I installed (I think it was mutt) I had to
 get special boot disks.  I found them with a web search.  I know there
 isn't anything definitive in what I've said here but maybe it will give
 you a start.  Does the bios recognize the drive?
 
 Special boot disks for a mailclient?

Ha:) I meant (hamm) not (mutt).  It is still early for me.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: exim getting the from addresses right

2002-03-17 Thread ktb
On Sat, Mar 16, 2002 at 08:41:19PM -0800, Harry Putnam wrote:
 After getting a little experience with exim, I think I've done my last
 painful config hairpulling session with sendmail.  And have moved
 other machines not running debian to exim too.
 
 I think I may be botching my config with old hold-over sendmailisms.
 
 First let me set down the basic details of the setup here:
 
 Home network of 5-6 machines.  A newly installed and still being
 configed debian, machine, a Redhat 7.1 (main desktop at this point) A
 solaris 8 (intel), A laptop running freebsd, and 2 winX machines
 (win2k and win98)
 
 All this is behind a hardware firewall (Netgear FR314)
 I have a static IP address and am dsl connected, through a local isp.
 
 I'm now setting up the debian machine to be the mail, machine for this
 motley collection.  I've installed popa3d and have gotten the basics
 working.  I can collect from the deb machine or send thru it at this
 point.
 
 My actual mail usage is a little bit complicated but nothing really
 far fetched.  My wife and I have accounts for mail with Newsguy.com so
 that is one pop source.  We all (Family) have accounts with or isp,
 dslextreme as well, another pop source.
 
 I've set the ISPs smtp machine as our smarthost.  
 
 
 When I ran through eximconfig It asked me what public name to
 use. That is, what would makeup the from header.  On my macine.  The
 one that will be the mail hub, that is newsguy.com.  My address being
 [EMAIL PROTECTED]  Newsguy is actually an nonline commercial
 newsfeed and mail IP.  I'm not really part of it at all.
 
 So I answered newsguy.com.  I've used sendmail for years and have
 always masqueraded as newsguy.com in my sendmail configs.
 
 Then it asks if there are other names that will be used.  I gave my
 actual local.lan name and dslextreme.com.  Which is my daughters From
 address (in part).
 
 When asked if I wanted to relay for any local machines I said
 192.168.0.0/24.
 
 So my exim settings on these points look like:
 
 qualify_domain = newsguy.com
 local_domains = localhost:newsguy.com:local.lan:dslextreme.com
 local_domains_include_host = true
 local_domains_include_host_literals = true
 [...]
 host_accept_relay = 127.0.0.1 : 1 : 192.168.0.0/24
 [...]
 
 The rest doesn't really look like it has bearing on the problem I'm
 about to describe:
 
 If I say `echo something|mail -v -s test of exim [EMAIL PROTECTED]'
 The verbose information shows the mail is immediately put in
 /var/mail/reader  It doesn't actually go to the smtp server at
 newsguy.
 
 Ditto if I say [EMAIL PROTECTED] (also a real address).
 
 [A side note here: With verbose mail flag set, the prompt is not
   returned after the command completes.  One has to
   press ^c to get the prompt back.  Is that by design
   for some reason? (The same command returns the
   prompt using sendmail)]
 
 I suspect I should have something different in the config but not sure
 what it would be.  I think both items above should actually go the
 circuit they are addressed for.  That is, be passed to newsguy
 machines or dslextreme machines respectively, and be pulled back with
 fetchmail or what ever.
 
 Apparently I've given exim bad info, but not at all clear how to tell exim
 to address my mail with newsguy but I'm not really it... hehe.
 

Check the rewrite configuration section at the bottom of exim.conf.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: browser tries to download php test file info.php

2002-03-17 Thread ktb
On Sat, Mar 16, 2002 at 10:05:09PM -0800, Xeno Campanoli wrote:
 Say, I'm stuck making PHP go.  As per instructions on page 43 of
 Converse and Park, I made an info.php file, but when I specify it's URI,
 the browser just tries to download it.  I've got the Addtype(s) in
 Apache, and I've got valid /etc/php4/*/php.ini files (the * gives
 apache and cgi directories), and I've protected /var/www as per the
 instructions.  So what gives?  Is this a simple omission, or am I
 broken?  Is this obvious?
 

Have you uncommented -
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
in /etc/apache/httpd.conf and restarted Apache?
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: booting from PCI IDE card rather than SCSI

2002-03-16 Thread ktb
On Sat, Mar 16, 2002 at 01:39:02AM -0600, Ron Johnson wrote:
 On Fri, 2002-03-15 at 21:59, Matt Garman wrote:
  
  Okay---at this point I've rebooted my computer probably 50 times over
  the last three days.  I'm trying to install a new IDE hard drive and
  have it run off of an IDE PCI controller.  Everything that could go
  wrong has, short of data loss (so I'm fuming, not crying :)
  
  Anyway, sparing you my long story of frustration, here's my current
  problem: I've got my old system running off of my SCSI disks.  It
  works fine.  However, I just bought a Promise ATA/133 PCI IDE card and
  a new IDE hard drive.  I got my new system installed on the new
  drive.
  
 [snip]
  
  The only other thing I could think of is using my rescue disk to do a
  rescue root=/dev/hda2 but this Promise ATA/133 controller needs a
  patched kernel or a 2.4.19-pre3 (or newer) kernel to be supported.  I
  don't have such a rescue disk.  I tried the mkboot command from the
  new system; when I booted with *that* disk, it just froze when it
 
 Three things:
 1. Maybe you _can't_ boot off of the Promise controller, since you
don't have the proper kernel.
 2. what does lilo.conf say are the values of the boot and root
variables?
 3. In the kernel build process, there's an option to allow booting
off of an external PCI card.  Maybe that option is not set in
your kernel.
 

One thing I will add to this list is be aware that you will need to 
change your /etc/fstab to reflect your new disk location.  More than 
likely it will be /dev/hde
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: noise when using esd

2002-03-16 Thread ktb
On Sat, Mar 16, 2002 at 12:56:07PM +0100, Preben Randhol wrote:
 I have set up esd on a machine that has a via868 soundcard. I compiled
 the latest alsa driver. The sound works nicely without any problem. Even
 having several programs playing sound at the same time works (which was
 the reason I started using esd, so that galeon would stop hanging every
 time it came to a page with flash.) I had tried this earlier, but then
 esd added noice on top of the sound.
 
 However when I try to do the same with a another machine that has a
 intel820 soundcard (using alsa here too) I get noise added to the sound,
 usually in the right channel. Same happens with artsd.
 
 Does anybody know why this happens and is there a way I can fix this?
 I'm going to setup for a third machine where the soundcard is via8233.
 

To be honest I don't know what esd and artsd are but it sounds like you
could be experiencing a feedback problem.  Check the placement of your
speakers and look inside your box for any loose wires or power running
past your sound card.  Kind of vague I know but:)
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: Newbie - Internet install help 2

2002-03-16 Thread ktb
On Sat, Mar 16, 2002 at 03:27:59PM +0100, Ronald Castillo wrote:
 Hello..
  
 I am new to the Linux world.  I want to install Debian Linux but I have
 some questions, and I would really appreciate it if you could help me:
  
 I have a CD of the Debian 2.1 (Slink) distribution.  Is there any way I
 can just install a base system and download the rest of the system via
 internet? I want to install Woody but I couldn?t find an ISO online.
  
 If it is possible, how can I do to configure my internet connection? I
 connect to the Internet using a LAN connection (cable-modem). All my
 internet settings are automatically configured by an DHCP server.  I
 already know the module name of my LAN card (tulip), but that?s all I
 know.
  
 I would really appreciate any help you could give me about this.   I
 want to learn to use Debian so I can configure a home system and a HTTP,
 FTP and news server.
  
 If you have read my last email which contains this same information and
 you plan to write me, please do so by replying to this email and not the
 other one.
  

Slink is a bit old.  Sounds like you have a fast connection.  What I
would do is download the woody floppy images -
root.bin, rescue.bin and the four driver-x.bin files.

You can get by with less driver files if you use a different kernel.
I'll let you research that one if you choose.

You can get the files at -
ftp://http.us.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/

Read the installation instructions -
ftp://http.us.debian.org/debian/dists/woody/main/disks-i386/current/README.txt

During the install you will be configuring your network settings.
Choose dhcp.

After you have your box up and running I would take it off line and lock
it down.  Take a look at -
http://www.debian.org/doc/manuals/securing-debian-howto/index.en.html

It sounds like you wanted cc'd  I'm going to do so but prefer to keep
things on list.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: Newbie - Internet install help 2

2002-03-16 Thread ktb
On Sat, Mar 16, 2002 at 04:15:48PM +0100, Ronald Castillo wrote:
 Thanks a lot for your help!!  I'll give a try to what you are suggesting
 me.
 
 About the HTML emails..  I hadn't noticed I had that set up, but now
 they are configured as plain text.  Thanks for warning me.
 
 And, about the CCs..  I had forgotten that I can get replies just by
 emailing the mailing list, that's why I said that I preferred you to
 email me to this address.  It is fine for me if you just mail to the
 mailing list instead of sending an email to me personally.
 
 Again, I want to appreciate all of you who have given me assistance.
 I'll post again when I have given that a try.
 

I would go with the CD ISO method.  Sounds a lot easier.  Floppies can
be temper-mental:)
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: server error

2002-03-16 Thread ktb
On Sat, Mar 16, 2002 at 08:26:32PM +, john gennard wrote:
 I've just re-installed Potato 2.2 r4 (following changes to hard disks) -this
 is something I have not done for a long time as I don't have crashes. Now 
 I have a problem not encountered before.
 
 When trying to 'startx', I get the following error message:-
 
   Fatal server error:
   could not open default font 'fixed'
 
 I can make no sense of this and don't know what is involved. So far as I 
 can remember I followed  a normal minmal install and then used apt-get 
 for my main programs including KDE.
 
 Can anyone point the way please and also if possible explain what is
 (or is not) involved.
 

Try installing xfonts-jmk.  I *think* that contains fixed fonts.  Or you
could edit /etc/X11/XF86Config so it doesn't look for 'fixed' fonts.
At any rate X is looking for 'fixed' fonts and you don't have them
installed.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: netscape6

2002-03-15 Thread ktb
On Fri, Mar 15, 2002 at 09:31:04AM +, Marcelo Leal wrote:
 how can i install netscape6 in Debian unstable?

I've been off list for a while so I don't know if anyone has a package
put together.  Search the archives for that.  

If there isn't a package you can try -
http://browsers.netscape.com/browsers/main.tmpl
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: package install problem

2002-03-15 Thread ktb
On Fri, Mar 15, 2002 at 03:06:57AM -0800, faisal gillani wrote:
 Can anyone tell me what this mean when i install this
 package with dpkg ? 
 
 debian:~# dpkg -i fetchmailconf.deb
 dpkg-deb: unexpected end of file in version number in
 fetchmailconf.deb
 dpkg: error processing fetchmailconf.deb (--install):
  subprocess dpkg-deb --control returned error exit
 status 2
 Errors were encountered while processing:
  fetchmailconf.deb

You probably have a partial download or corrupted file.  Go to the
download page and look for the checksum -
The MD5sum for fetchmailconf_5.3.3-3.deb stable is 
223c6590b7495a41d4743d526222bc

Run -
md5sum file_name

The two numbers probably won't match.  If not download the file again.
Try a different mirror if the second download doesn't work.
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: Slow list?

2002-03-14 Thread ktb
On Fri, Mar 15, 2002 at 12:29:03AM +0100, Carel Fellinger wrote:
 Is it just me, or are others too experiencing a rather slow
 debian-user?  It takes more then an hour just to get me own posting
 back!  This used to be mere minutes.
 
 So what happened, is my ISP holding up the messages or is the debian
 mail server sluggish.  And if the latter, what has happened to it to
 make it so slow?
 

I just subscribed and it took longer than that to complete the process.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)



Re: Advice on creating a workstation

2001-10-13 Thread ktb
On Sat, Oct 13, 2001 at 01:29:16PM +0300, [EMAIL PROTECTED] wrote:
 Hello All
 
 I do voluntary work in a place where members of
 the public come to use computers, drink tea and
 coffee, read newspapers ...
 
 Usually we use windows but I have decided to 
 experiment with linux workstation (dual booting 
 with win2000).
 
 I really want to restrict users to browsing the www,
 using some office apps, accessing some other systems
 using some SSH type app, printing ...
 
 Does anyone have any words of advica to give before
 I embark on my journey (links to sources of info 
 welcome).
 
 At the moment I am deciding how to partition the 
 hard disk - I have reserved 4GB for linux.

Check out the Kiosk HOWTO -
http://www.linuxdoc.org/HOWTO/Kiosk-HOWTO.html

Also there are patches and a HOWTO to lock down the KDE browser.  I have
the link at work.  I can shoot it to you Monday if you can't find it.
It isn't at linuxdoc.org.  
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Where do I start looking for one hand typing?

2001-10-12 Thread ktb
On Fri, Oct 12, 2001 at 02:30:59PM +0200, Danie Roux wrote:
 Just out of curiosity mostly: 
 
 How can I make the shift key sticky. And can I switch between a sticky
 and non sticky shift in one keystroke?
 
 I don't want to stop typing when I drink my coffee :-)

I've never tried it but I would look into mapping the 'shift' key to the
'caps lock' key.  You can use xmodmap for that in X.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: How to prevent blanking of monitor?

2001-10-12 Thread ktb
On Fri, Oct 12, 2001 at 08:58:39AM -0400, Stan Brown wrote:
 Debian stable + Progeny upgrades )XF964) _ 2.4.9 kernel. 
 
 When I log intot an X session, after a certsin period of time of inactivy
 the monitor blaks out.
 
 How can I stop this?

xset I think will work.  Check the man-page but xset s off should do
the trick.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Man

2001-10-06 Thread ktb
On Sat, Oct 06, 2001 at 12:31:44AM -0500, Michael Grover wrote:
 is there any on-line version of the man pages?
 
 like for man 5 interfaces
 
 I tried man 5 interfaces  mike.txt but there was so many control
 chars that the text file was too hard to read.
 

google.com will net you lots of info -
http://www2.linuxjournal.com/help/man.html
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: debian Xwindows -- query

2001-10-01 Thread ktb
On Mon, Oct 01, 2001 at 12:48:55PM +0800, louie miranda wrote:
 Hi, i try to install the xfree86*.deb files and some other libraries, and i
 choose fvwm for my desktop. And i installed xterm and netscape only..
 
 this was in dselect, now after the dselect installed/configured the
 packages..
 
 i started running XF86Setup to setup some other things..
 
 then after that
 
 i run startx on the console, it started successfully, but on my desktop only
 xterm is there..
 
 i mean a blank desktop and only xterm is running, its weird..
 
 
 btw, on my first installation i did choose the export option, because i
 wanted to choose the packages which i really want on my machines :)

Create an .xsession file in your home directory and run fvwm from there.

There are good instructions on creating an .xinitrc file at
http://www.linuxdoc.org/HOWTO/XFree86-HOWTO/x121.html
use them for creating your ~/.xsession file.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: notification related

2001-10-01 Thread ktb
On Mon, Oct 01, 2001 at 03:49:40PM +0530, Jeffrin Jose T. wrote:
 
 Iam using mutt  as MUA and i have different mail  boxes.  Is it possible
 to make an arrangement such that i should to notified that a new message
 has arrived at a typical box without opening it.

I use gbuffy.  There are various buffy and biff programs.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: www.debian.org

2001-10-01 Thread ktb
On Mon, Oct 01, 2001 at 05:45:27PM +0300, Ilmars Dinbirs wrote:
 any problems with subj. ?

The server seems to be down at the moment as you have discovered.
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: not sure how to retrive my mail

2001-09-28 Thread ktb
On Fri, Sep 28, 2001 at 10:07:19PM +0100, j.dales wrote:
 please could you put me on the right track to be able to retrive my mail. 
 very new to this. i used to go onto the ntl icon and double click and the 
 computor would ask if i wanted to retrive my mail. i phoned ntl support line 
 who corrected some problems for me now i can only get onto the internet by 
 clicking on the big e icon. please help
 

This is a list for Debian Linux users.  I suggest you call your isp for
help.
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: So many package tools, apt, dselect, dpkg, which should I choose?

2001-09-27 Thread ktb
On Thu, Sep 27, 2001 at 07:12:17AM +, Yuwen Dai wrote:
 Hi, All
 
 I'm new to Debian but not new to Linux.  I find there're many packages in 
 Debian.  I'm confused.  In what situation should I choose one?
 
 Thank you in advance.

Take a look at -
http://www.debian.org/doc/FAQ/ch-pkgtools.html

I use apt-get for installing packages off the net.  If I have a .deb
locally on my machine I install with dpkg.  
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: kernel modules problems

2001-09-26 Thread ktb
On Wed, Sep 26, 2001 at 12:38:53AM -0400, Bart Himel wrote:
 I've been a user of Debian for several years now.  Due to a problem with 
 libc last week, I had to go through the pain of reinstalling 
 everything.  Anyway, since then, every time I try to compile a new 2.4.x 
 kernel, I get a message from depmod reporting dependency prioblems with 
 almost ALL of my modules.  Am I missing some package essential to making 
 kernel deb packages?  or is this simply another issue with gcc 2.95.x?

Did you upgrade modutils? linux/Documentation/Changes will tell you
which packages and versions you need to upgrade to.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: kernel modules problems

2001-09-26 Thread ktb
On Wed, Sep 26, 2001 at 01:22:51AM -0400, Bart Himel wrote:
 I did, but I still get the same problem.  Funny enough, I went ahead and 
 installed the kernel, and the modules 'seem' to work okay, but I'm still 
 concerned about that error message.
 

Have you tried running -
# depmod -a
?

IIRC it is run in the start scripts but I've found running it prior to a
reboot can sometimes help with some issues.
kent

 At 12:11 AM 9/26/2001 -0500, ktb wrote:
 On Wed, Sep 26, 2001 at 12:38:53AM -0400, Bart Himel wrote:
   I've been a user of Debian for several years now.  Due to a problem with
   libc last week, I had to go through the pain of reinstalling
   everything.  Anyway, since then, every time I try to compile a new 2.4.x
   kernel, I get a message from depmod reporting dependency prioblems with
   almost ALL of my modules.  Am I missing some package essential to making
   kernel deb packages?  or is this simply another issue with gcc 2.95.x?
 
 Did you upgrade modutils? linux/Documentation/Changes will tell you
 which packages and versions you need to upgrade to.
 hth,
 kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: exim rewrite, sorry

2001-09-26 Thread ktb
On Wed, Sep 26, 2001 at 06:38:34PM -0400, Giulio Morgan wrote:
 I can't make my exim rewrite line work...on a dial-up machine, no domain
 
 Here are what I think are the pertinent parts of my exim.conf
 
qualify_domain = SanMarco
 
# qualify_recipient =
 
local_domains = localhost:SanMarco
 
[EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\
   ^
   should be your hostname + local domain
 {$value}fail} bcfrF
 
 From /etc/email-addresses
 giulio: [EMAIL PROTECTED] 
  ^  
this should be your username


 
 I know this is a problem which has been asked many times before, but after two
 frustrating days...I'm sorry for one more time
 
 Thank you very much for any help

My computer's hostname = scab
 domain= nixnotes.org
 user name = kent
  email address I want = [EMAIL PROTECTED]

So I have the following -

/etc/email-addresses
kent: [EMAIL PROTECTED]

/etc/exim.conf
qualify_domain = scab.nixnotes.org
local_domains = localhost:scab.nixnotes.org

[EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF

Make sure you restart exim -
# /etc/init.d/exim reload

hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: .raw vs .iso for burning?

2001-09-26 Thread ktb
On Wed, Sep 26, 2001 at 06:04:43PM -0500, Kent West wrote:
 Following the links on the Debian homepage I've found some .raw files of 
 Sid; however, I've always used .iso files for burning CDs. Can I burn a 
 .raw file just the same as an .iso, or is it a different format, or 
 should I just rename the extension, or what? BTW, the burner I'd use is 
 on a Macintosh, but I have a friend who has a Windows-based burner if 
 necessary.

If your burn software will take the .raw extension burn that, if not, change 
the filename from .raw to .iso and it should work fine.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: How to fix corrupted download

2001-09-25 Thread ktb
On Tue, Sep 25, 2001 at 09:04:44AM -0700, Ross Boylan wrote:
 Is there an easy way to force apt to download a deb again?  I seem to have 
 got a corrupted one:
 
 (Reading database ... 131943 files and directories currently installed.)
 Preparing to replace xfonts-75dpi 4.1.0-5 (using 
 .../xfonts-75dpi_4.1.0-6_all.deb) ...
 Unpacking replacement xfonts-75dpi ...
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 dpkg: error processing /usr/var/apt/archives/xfonts-75dpi_4.1.0-6_all.deb 
 (--unpack):
 
 I think it's just my download, not the version on the server, that's corrupt.

# apt-get clean 

will delete your downloaded debs.  You may have other issues though.  
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: time sync probs

2001-09-24 Thread ktb
On Mon, Sep 24, 2001 at 01:19:54PM -0700, Mike Egglestone wrote:
 Hi,
 
 I thought I would try and sync my potato server 
 to an internet time server, so I installed ntp, edited
 the /etc/ntp.conf file:
 
 server 192.5.41.209
 
 I then restart the ntp daemon and noticed my date never changed.
 However, earlier, I used ntpdate to sync with that time server 
 and it worked. (I make sure both aren't running at the same time)
 
 Is there a part of the ntp daemon that I'm missing?
 Any help would be great!!
 

Have you tried running ntp recently?  Often the time difference is too
great for ntp to sync initially.  After you run ntpdate and sync up with
the time server then ntp can do it's work.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: How to disable X temporarily?

2001-09-17 Thread ktb
On Mon, Sep 17, 2001 at 01:43:48PM +0200, Alexander Steinert wrote:
 What would you regard as the most elegant way to keep all users of a
 system from starting a X session.
 
 It should be
 
 a) temporarily and
 
 b) nothing like apt-get remove ... ;-)

Don't know how elegant but how about -
# chmod  /usr/X11R6/bin/X
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: what command in linux such as mem in dos

2001-09-12 Thread ktb
On Wed, Sep 12, 2001 at 10:45:58PM +0200, thomas anderson wrote:
 Hi,
 
 is there a command in linux to show a more detailed information on memory
 usage and alternatively also cpu usage? currently I use 'ps aux' but I need
 more information...

One way you can find information about commands on your system is search
with man -k  

$ man -k memory
Will show the command free.  Another, top should be useful to you.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: little script for log watching

2001-09-12 Thread ktb
On Wed, Sep 12, 2001 at 04:01:12PM -0700, Mike Egglestone wrote:
 Hi,
 
 I would like to write a script that would
 output to the screen the latest contents of a log,
 and continue to do so until I abort the script.
 
 For example,
 I have squid running, and would like to see the latest additions
 to the /var/log/squid/access.log as it takes place.
 
 Something like typing the tail command over and over again or something.
 
 Is this possible?
 If its quite complicated, please point me to a nice script 
 place on the web where I can learn about simple scripts.
 

tail -f access.log should do the trick.  Check the man page for more.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Mutt Unread Mail

2001-09-11 Thread ktb
On Tue, Sep 11, 2001 at 01:37:28PM +0100, Paul Clark wrote:
 I am learning to use Mutt. I cannot find a way to jump to unread
 messages across my many mail folders. I know TAB works
 within folders but that means I have to try every folder to find
 unread messages.
 
 Is there an easier way?

I start mutt with mutt -y which shows what folders contain new
messages.  Then iterate through them with c + enter
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: How

2001-09-10 Thread ktb
On Mon, Sep 10, 2001 at 02:41:24PM -0700, rg2k1 wrote:
 Hi
 
 Have been trying my darndest to download Debian from the net. But evidently I
 don't understand how to do it. And can't find any How to references. I go to
 download with FTP/ USA and get the Parent list. ?? I'm a newbi to Linux, with 
 a great interest in learning all I can. But tell me please, How in the heck 
 do I download from the net?? I've gone everywhere on your site to no avail. 
 Or is the
 Linux OS just beyond me, and I should stick with Microsoft.  Thanks for your 
 help!

There are different ways of installing.  You didn't mention what method
you wish to use.  You also didn't mention what you are trying to
download a floppy image or iso image.  What I would suggest to you is
read or reread the installation instructions at -
http://www.debian.org/releases/stable/i386/install

Once you have done that and understand what installation method you are
attempting, post back if you have problems.  Linux isn't beyond you.
It just takes some time, usage and reading to become comfortable with it:)
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: aterm and ~/.Xdefaults

2001-09-09 Thread ktb
On Sat, Sep 08, 2001 at 07:19:52PM -0500, Rob VanFleet wrote:
 Aterm doesn't seem to want to read my ~/.Xdefaults file even though its
 manpage declares it will.
 
 Before anyone tells me to try ~/.Xresources, I already have, and xterm
 reads ~/.Xdefaults just fine.
 
 All I have in my ~/.Xdefaults is the background and foreground color:
 
 XTerm*background: black
 XTerm*foreground: grey
 
 I also tried 'ATerm' in place of 'XTerm', but to no avail.  Aterm
 remains the default white background and black foregound.
 
 I'm running unstable (sid) btw.
 
 Anyone have some pointers ,ideas, etc?

Run the following line on the command line in your home directory 

xrdb -load .Xresources

If that does the trick then run it from your X startup file.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Mouse problems after upgrading to Woody (X4)

2001-09-09 Thread ktb
On Sun, Sep 09, 2001 at 06:44:23PM +0200, Daniel de los Reyes wrote:
 
 -- 
 __
 Daniel de los Reyes
 S2-Desarrollo, Grupo S2
 Valencia Spain
 e-mail: [EMAIL PROTECTED]
 Powered by Debian GNU-Linux 2.2r3
 __

 Date: Sun, 9 Sep 2001 18:42:24 +0200
 From: Daniel de los Reyes [EMAIL PROTECTED]
 To: Lista de Debian-KDE debian-kde@lists.debian.org
 Subject: Mouse problems after upgrading to Woody (X4)
 User-Agent: Mutt/1.3.20i
 
 After an upgrade to Woody and X 4 , and quite a bit of a trouble to be
 able to get my X back to work, T can't get my mouse to work correctly.
 From time to time it gets frozen
 This is the output of the X session:
 
 (==) NV(0): Backing store disabled
 (==) NV(0): Silken mouse enabled
 (**) NV(0): DPMS enabled
 (II) Keyboard Generic Keyboard handled by legacy driver
 (**) Configured Mouse: Protocol: ImPS/2
 (**) Configured Mouse: Core Pointer
 (==) Configured Mouse: Buttons: 3
 (**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
 (**) Configured Mouse: ZAxisMapping: buttons 4 and 5
 (**) Generic Mouse: Protocol: ImPS/2
 (**) Generic Mouse: always reports core events
 (EE) xf86OpenSerial: Cannot open device /dev/input/mice
 No such file or directory.
 (EE) Generic Mouse: cannot open input device
 (EE) PreInit failed for input device Generic Mouse
 (II) XINPUT: Adding extended input device Configured Mouse
 (type: MOUSE)
 
 And this is my XF86Config related to mouse:
 
 Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolIMPS/2
 Option Device  /dev/gpmdata
 Option SampleRate 150
 Option ChordMiddle
 EndSection
 
 gpm gets started at boot time
 

Shut down gpm and see if your mouse works.
# /etc/init.d/gpm stop

You might have to point your mouse to /dev/psaux for ps/2 or /dev/ttyS0 for
serial.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Mouse problems after upgrading to Woody (X4)

2001-09-09 Thread ktb
On Sun, Sep 09, 2001 at 07:28:08PM +0200, Daniel de los Reyes wrote:
 El Sun, Sep 09, 2001 at 12:02:35PM -0500, ktb dijo:
 -| On Sun, Sep 09, 2001 at 06:44:23PM +0200, Daniel de los Reyes wrote:
 -|  
 -|  -- 
 -|  __
 -|  Daniel de los Reyes
 -|  S2-Desarrollo, Grupo S2
 -|  Valencia Spain
 -|  e-mail: [EMAIL PROTECTED]
 -|  Powered by Debian GNU-Linux 2.2r3
 -|  __
 -| 
 -|  Date: Sun, 9 Sep 2001 18:42:24 +0200
 -|  From: Daniel de los Reyes [EMAIL PROTECTED]
 -|  To: Lista de Debian-KDE debian-kde@lists.debian.org
 -|  Subject: Mouse problems after upgrading to Woody (X4)
 -|  User-Agent: Mutt/1.3.20i
 -|  
 -|  After an upgrade to Woody and X 4 , and quite a bit of a trouble to be
 -|  able to get my X back to work, T can't get my mouse to work correctly.
 -|  From time to time it gets frozen
 -|  This is the output of the X session:
 -|  
 -|  (==) NV(0): Backing store disabled
 -|  (==) NV(0): Silken mouse enabled
 -|  (**) NV(0): DPMS enabled
 -|  (II) Keyboard Generic Keyboard handled by legacy driver
 -|  (**) Configured Mouse: Protocol: ImPS/2
 -|  (**) Configured Mouse: Core Pointer
 -|  (==) Configured Mouse: Buttons: 3
 -|  (**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
 -|  (**) Configured Mouse: ZAxisMapping: buttons 4 and 5
 -|  (**) Generic Mouse: Protocol: ImPS/2
 -|  (**) Generic Mouse: always reports core events
 -|  (EE) xf86OpenSerial: Cannot open device /dev/input/mice
 -|  No such file or directory.
 -|  (EE) Generic Mouse: cannot open input device
 -|  (EE) PreInit failed for input device Generic Mouse
 -|  (II) XINPUT: Adding extended input device Configured Mouse
 -|  (type: MOUSE)
 -|  
 -|  And this is my XF86Config related to mouse:
 -|  
 -|  Section InputDevice
 -|  Identifier  Mouse1
 -|  Driver  mouse
 -|  Option ProtocolIMPS/2
 -|  Option Device  /dev/gpmdata
 -|  Option SampleRate 150
 -|  Option ChordMiddle
 -|  EndSection
 -|  
 -|  gpm gets started at boot time
 -|  
 -| 
 -| Shut down gpm and see if your mouse works.
 -| # /etc/init.d/gpm stop
 -| 
 -| You might have to point your mouse to /dev/psaux for ps/2 or /dev/ttyS0 for
 -| serial.
 -| hth,
 -| kent
 

 IF I do this I have to choose between using the mouse in the console
 with the gpm or in X. I need both... :-((

There are various work arounds to getting X and gpm happy with each
other.  It has been covered many times.  I suggest you search the
archives for the answer.  I've never found the fixes to help in my
situation.  I don't use a mouse in console very often so I just start 
gpm when I need it and stop it when I move back to X.
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Debian Progeny Debian?

2001-09-09 Thread ktb
On Sun, Sep 09, 2001 at 04:56:14PM +0800, Paolo Alexis Falcone wrote:
 I'm scouting for a Linux distro for a complete newbie who I think will be 
 interested in Linux. RedHat or Mandrake might be easy to install, but the 
 mere fact that they ship with a broken compiler that breaks almost anything 
 is not too comforting (I started with RedHat, and I can't forget the first 
 time I tried to compile a program - it failed and I almost didn't get my 
 machine problem done had I not checked RedHat's fixes). I would prefer my 
 newbie friend and classmate in computer science to try out Debian, but it 
 might intimidate her initially (she's currently a Windows user). Would anyone 
 recommend Progeny Debian instead? I looked at their web site and it looked 
 good - the matter in question would be - would it be as good for a beginner? 
 Can anyone give a qualitative analysis on Progeny? 
 

If your friend doesn't mind some help with the install from you, I would
just install debian.  If she wants to do it all her self no harm in
letting her try a debian install and if she simply can't make it though
suggest progeny.  Basically the two distros are the same except progeny
has an easier install and some more recent software such as XFree 4.
hth,
kent  

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Burning .raw

2001-09-07 Thread ktb
On Fri, Sep 07, 2001 at 01:58:50PM +0200, Helgi Örn wrote:
 Hello all!
 I just domnloaded the DEMUDI image to give it a try end the file happens to 
 be in a .raw format which I don't know anything about. How do I do to 
 successfully burn it in XCDroast?

You should be able to burn it as .raw under linux.  Just treat it as you
would any .iso.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Burning .raw

2001-09-07 Thread ktb
On Fri, Sep 07, 2001 at 03:23:57PM +0200, Helgi Örn wrote:
 On Friday 07 September 2001 14:26, ktb wrote:
  On Fri, Sep 07, 2001 at 01:58:50PM +0200, Helgi Örn wrote:
   Hello all!
   I just domnloaded the DEMUDI image to give it a try end the file happens
   to be in a .raw format which I don't know anything about. How do I do to
   successfully burn it in XCDroast?
 
  You should be able to burn it as .raw under linux.  Just treat it as you
  would any .iso.
  hth,
  kent
 Thank's for your reply Kent!
 I'm afraid that doesn't work, or I might have done something wrong. I had the 
 same problems trying to burn some Solaris 8 images a while ago. Alexis Rodas 
 advice in another mail, using cdrecord, works wonderfully.

Ya, I've always used cdrecord myself but thought XCDroast was just a
gooy front end for cdrecord.  Took a look and see it is a front end for
cdwrite and mkisofs.  cdrecord works great, does just what you tell it
to:)
kent 

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: SHIT! Was: Re: procmail don't work

2001-09-06 Thread ktb
On Thu, Sep 06, 2001 at 06:25:59PM +0200, Timeboy wrote:
 
 Hi!
 
 What a bad thing. I experimented with my .procmailrec and lost 14 of
 your mails. ARGHHH!! Next time i will use fetchmail -k for someting
 like that.
 
 Ok! If someone wrote me a message with subject Re: i810 sound?, 
 Re: procmail don't work or Re: isdnlog not working in the time 
 between 15:00 and 16:40 clock Europe Berlin today, please send me
 again if possible, so i can get a look to this lost mails.
 

That's what archives are for.  It takes a bit for them to show up but
there are several places to search them on-line.
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: dominate xdm?

2001-09-05 Thread ktb
On Tue, Sep 04, 2001 at 06:13:37AM +, Johnny Ernst Nielsen wrote:
 On Mon, Sep 03, 2001 at 11:43:07AM -0400, richard wrote:
  New install and just got X to work. xdm starts twm, which is lame, on
 
  VC7 with a login. You can't get out of it on that console. Startx won't
 
  work anywhere of cours.
  
  I want to use e.g. icewm. How do I reconfigure xdm to default to a
  different
  window manager, and/or turn xdm off? I couldn't find the script to
  change in /etc/X11.
  
  I wrote a test .xsession file (did make executable) with just exec
  xterm. Even though allow-user-xsession does in
  /etc/X11/Xsession.options, that $HOME/.xsession doesn't prevail and
  still stuck with twm.
 
 If you don't want a graphical login remove xdm with apt-get.
 
 To load icewm from xdm or startx, if the executable name is icewn put
 -
 exec icewm
 in ~/.xsession
 
 Make sure all exec lines are backgrounded with  except one.  
 
 For example -
 
 #!/bin/sh
 exec xterm 
 exec icewm
 
 Used in this manner .xsession doesn't have to be set as executable.
 
 FYI
 I don't think it is a good idea to use exec more than once.
 In the above case do not exec xterm.
 
 I read somewhere (in bash' man pages I think) that exec substitutes the 
 current
 shell with the exec'ed command.
 In the case of X the effect would be that when ending the exec'ed command
 X would also end.
 In the above case I am not sure what would happen if the user decided that
 he did not need the xterm any longer, but would like to stay in X.
 I'm not in front of a Linux box right now, so I can't test what will happen.
 
 
 See man bash or try apropos exec - or just test the above setup of course
 :o)

I've been using the .xsession configuration as listed above for
several years with no problems.  The reason I've been using .xsession
in this manner is because I learned that way in the beginning and it has
always worked for me.  At any rate I decided to do a little
investigative work.  

Many times I have read .xsession has to be set executable.  Mine is not
and as far as I can tell doesn't have to be.

I tried .xsession with exec and without exec.  I didn't see any
difference from the standpoint of a user.  When I closed out an xterm
it went away and didn't bring X down whether exec was used or not.

So I took a look at the XFree86 HOWTO.  Found what I was looking for -
http://www.linuxdoc.org/HOWTO/XFree86-HOWTO/x116.html

Basically what Mr. Raymond says is the last command in the file should
be started with exec and not backgrounded with   The last command
is the window manager.  Used in this manner the window manager replaces
the xinit process and if the window manager is closed then X will shut
down.  

So with the above knowledge in hand I will retract what I said and offer
the revised example:)

#!/bin/sh
xterm 
exec icewm

kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: exim: how to modify the Sender: header

2001-09-05 Thread ktb
On Wed, Sep 05, 2001 at 02:53:30PM +0700, Rahmat M. Samik-Ibrahim wrote:
 Hello:
 
 Thank you for your email. Unfortunately, /etc/email-addresses 
 modifies the RFC-2822's From:  header, and NOT the 
 Sender:  one :-(.
 
 I guess, that this is a Netscape mailer problem, since
 there is no problem with mutt. Apparently, Netscape
 put a non FQDN Sender: , and the smarthost adds
 its FQDN to that header.
 

I'm kind of jumping in the middle here so if my comments don't apply
disregard.  Have you checked the 'rewrite configuration' section at the
bottom of your /etc/exim.conf file?  I remember on one occasion I
couldn't get it to work with /etc/email-address so I just bypassed the
email-address file and got the behavior I was looking for.  Try adding
something like -

[EMAIL PROTECTED][EMAIL PROTECTED]bcfrF

hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Quoting styles, cont (Was Re: Fonts in GTK)

2001-09-05 Thread ktb
On Wed, Sep 05, 2001 at 08:48:22AM -0700, Craig Dickson wrote:
 Bud Rogers wrote:
 
  Except that in this case we're not talking about a practice that was
  not previously common or even not so common. We're talking about a
  practice that was virtually unknown until Microsoft flooded the market
  with badly broken mail and news clients that make it very difficult to
  properly quote or attribute anything.
 
 True. In this situation, I wouldn't use the word deprecated. I would
 just say that putting one's reply above the original message makes one
 look like an idiot.

I like that...lol.  I remember when I first started using linux I posted
to some list, probably this one.  I wanted to know how to set Netscape
mail to default, like outlook, to appending my text to the top of the
message.  You can imagine what response I got:D
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: shell script for bash [timeboy@Calculusterix]

2001-09-05 Thread ktb
On Wed, Sep 05, 2001 at 06:09:05PM +0200, Timeboy wrote:
 
 Hi!
 
 I like to write a litte shell script that first makes a connection to my ISP
 and then runs fetchmail. This is no problem for me. But cause it takes some
 seconds till the connection to ISP is done, the script needs to wait for 5 or 
 10 seconds bevore it runs fetchmail. How can i do this waiting with a bash
 kommand?

 sleep is what your looking for. sleep 10s to wait 10 seconds.  

Take a look at the fetchmail man page.  Fetchmail has several exit codes so
you can write your script to say, 'wait 15m when your isp doesn't respond
before trying again' and other fun stuff.
hth,
kent  

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Printing go bye-bye

2001-09-05 Thread ktb
On Wed, Sep 05, 2001 at 11:16:42AM -0400, Kyle Girard wrote:
 Somewhere in between now and about hmm a month ago my ability to print
 has ceased. 
 
 Here's some background info:
 
 Distribution: sid (current as of this morning)
 kernel 2.4.9
 Printer:  hp720c 
 
 I am using magicfilter with pnm2ppa
 
 my printcap hasn't changed in a long time..
 
 
 # This file was generated by /usr/sbin/magicfilterconfig.
 #
 lp|hp720c|hp:\
   :lp=/dev/lp1:sd=/var/spool/lpd/hp720c:\
   :sh:pw#80:pl#66:px#1440:mx#0:\
   :if=/etc/magicfilter/pnm2ppa-720-bw-eco-filter:\
   :af=/var/log/lp-acct:lf=/var/log/lp-errs:
 
 
 
 I seem to be having some issues with lpd.  I run /etc/init.d/lpd stop
 and it spits
 
 
 Stopping printer spooler: lpd not running.
 
 even though
 
 ps ax | grep lpd
 741 ?S  0:00 /usr/sbin/lpd
 782 pts/0S  0:00 grep lpd
 
 

Try -
# kill -9 741

That should kill lpd.  Then restart it.

 I also cannot clear the queue  I have three things in there and they
 will not leave!  Any help would be appreciated.

Have you tried clearing the queue with -
# lprm
?

Seems like one time I had to run lpc up all or lpc enable all to get
my printing to work.  Check the lpc man-page for more info.

Some error messages from your end would help if you get any.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: Quoting styles, cont (Was Re: Fonts in GTK)

2001-09-05 Thread ktb
On Wed, Sep 05, 2001 at 07:27:13PM +0200, Cliff Sarginson wrote:
 On Wed, Sep 05, 2001 at 11:52:27AM -0500, ktb wrote:
  On Wed, Sep 05, 2001 at 08:48:22AM -0700, Craig Dickson wrote:
   Bud Rogers wrote:
   
Except that in this case we're not talking about a practice that was
not previously common or even not so common. We're talking about a
practice that was virtually unknown until Microsoft flooded the market
with badly broken mail and news clients that make it very difficult to
properly quote or attribute anything.
   
   True. In this situation, I wouldn't use the word deprecated. I would
   just say that putting one's reply above the original message makes one
   look like an idiot.
  
  I like that...lol.  I remember when I first started using linux I posted
  to some list, probably this one.  I wanted to know how to set Netscape
  mail to default, like outlook, to appending my text to the top of the
  message.  You can imagine what response I got:D
  kent
  
 Did they tell you cannot append something before something else..
 (just teasing)

Got me  :)
Lets start another definition thread. Kiddingjustkidding:)
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: is exim the cause for this?

2001-09-05 Thread ktb
On Wed, Sep 05, 2001 at 09:52:30PM +0200, Timeboy wrote:
 Hi!
 
 Since i use exim as MTA there is a very strange thing: Everytime if i make
 with Balsa a reply to all i get the following mail into my mailbox. It is 
 eaqual which mail address of yours i reply. There cames everytime the same 
 message. Only the subjet in first line is identical whith the subject of 
 your mails i reply. And the same happens if i write e new mail to debians
 user-list. Any idea why this happens?
 
 Timo
 
 On 2001.09.05 14:40 Mensagem Automatica da TERRA wrote:
 
 Your message with subject [Re: i810 sound?] was not delivered to the
 following recipient: [heiliger].  This recipient's mailbox is full.
 
 Sua mensagem com assunto [Re: i810 sound?] nao foi entregue ao seguinte
 destinatario: [heiliger].  A caixa-postal deste destinatario esta' cheia.

snip

Check recent archives.  This has been answered a few times.  Someone on
the list has a full mailbox and is returning messages.  Send them to
/dev/null.  
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: XFree86 4.10-4 and huge fonts

2001-09-04 Thread ktb
On Tue, Sep 04, 2001 at 10:18:03AM +0100, Ross Burton wrote:
 Hi,
 
 I'm running Sid at home, previously X fonts were a normal size (at
 100dpi) where a 10pt font was roughly the same size as a 10pixel font.
 This looks about right on my monitor.  However, last night I upgraded to
 X4 4.10-4 and suddenly the fonts are huge!  A 10pt font is about 20
 pixels high! (still at 100dpi).
 
 I can change the GTK+ font to half cure this problem, but at any time an
 application requests a specific font it looks terrible again.
 
 Has anyone else had this problem?

If your 100dpi fonts are on top of your 75dpi fonts in XF86Config or
XF86Config-4 then swap them and restart X.  There are probably two sets.
Put the 75s ahead of both 100s.
hth,
kent

-- 
The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them.
 --Albert Einstein



Re: startx on another terminal say, tty8 and then tty9

2001-09-03 Thread ktb
On Mon, Sep 03, 2001 at 10:25:59PM +0530, [EMAIL PROTECTED] wrote:
 A]] I tried startx -l:8 for getting
 XWindows onto tty8 and then Ctrl+Alt+F8 to get there
 
  Result : (1)If the machine has not put up XWindows by default , then 
 it
 comes on tty7 , which is the default.
  (2) if XWindows comes up as default , then this shows an 
 error ,
 saying that display is already active on 0.
 
 B]] Then I did from another user's shell :
 startx -l:10  for getting
 XWindows onto tty9 and then Ctrl+Alt+F9 to get there.
 
  Result : this shows an error , saying that display is already active on 0.
 
 
 I remember some member of the list confidently assuring members that you can 
 open
 XWindows display on more than one virtual terminal .
 


$ startx -- :1 
should work.  By default it will be running on F8 if you have X running
on F7 already.
hth,
kent



Re: kill netscape persistant

2001-09-03 Thread ktb
On Mon, Sep 03, 2001 at 06:33:13PM +0200, Thomas Halahan wrote:
 
 When netscape (4.75) crashes I often still get:
 
 PID /usr/lib/netscape/475/navigator/navigator-smotif.real
 
 running under processes.  even if i try to explicitly kill 
 it with its pid it will not go away.  this is really 
 inconvenient as to get rid of this process running in the 
 background i end up shuting down.  has anyone any 
 suggestions?

You need to kill both the pid and remove the ~/.netscape/lock file.
BTW try kill -12 when trying to kill netscape.  It is suppose to save
bookmarks and such.  If that doesn't work then kill -9 it.
hth,
kent




Re: dominate xdm?

2001-09-03 Thread ktb
On Mon, Sep 03, 2001 at 11:43:07AM -0400, richard wrote:
 New install and just got X to work. xdm starts twm, which is lame, on
 VC7 with a login. You can't get out of it on that console. Startx won't
 work anywhere of cours.
 
 I want to use e.g. icewm. How do I reconfigure xdm to default to a
 different
 window manager, and/or turn xdm off? I couldn't find the script to
 change in /etc/X11.
 
 I wrote a test .xsession file (did make executable) with just exec
 xterm. Even though allow-user-xsession does in
 /etc/X11/Xsession.options, that $HOME/.xsession doesn't prevail and
 still stuck with twm.

If you don't want a graphical login remove xdm with apt-get.

To load icewm from xdm or startx, if the executable name is icewn put -
exec icewm
in ~/.xsession

Make sure all exec lines are backgrounded with  except one.  

For example -

#!/bin/sh
exec xterm 
exec icewm

Used in this manner .xsession doesn't have to be set as executable.
hth,
kent




Re: Debian Parititioning Trouble

2001-09-02 Thread ktb
On Sun, Sep 02, 2001 at 09:58:08PM -0400, [EMAIL PROTECTED] wrote:
 I'm trying to set up a machine I just built to run Debian. It installs fine, 
 but LILO says it cannot install itself on the hard disk due to an error, (I 
 forgot what it says precisely, but it says this is a common problem with 
 disks over 500mb.) It suggests making a /boot partition at the start of the 
 disk, but I do not understand how to do that. I tried installing it in the 
 root partition's boot sector and writing an MBR, but the system can't find 
 the OS when I boot with it that way.
 
 Does anyone know what I should do?

Knowing the error would help.  I'm going to guess if you run -
# lilo -L
it will install.
hth,
kent




Re: Just a question

2001-08-31 Thread ktb
On Thu, Aug 30, 2001 at 08:45:29PM -0700, Vineet Kumar wrote:
 
 * Brian Schramm ([EMAIL PROTECTED]) [010830 19:41]:
  Is there a way that I can take a passwd file and compare the full name data 
  in it to the email ldap server and give a a list of what it finds and what 
  it 
  misses?  I am doing this manually but with the number of users that there 
  are 
  involved it is going to be really time consuming.
 
 I don't really know what I'm talking about, but this should probably
 help you get started:
 
 awk -F : '{print $5}' /etc/passwd | sed -e s/^\([^,]*\).*$/\1/
 
 That will give you a list of just the full names. Pipe that into
 something else that will look each one up in the directory service.
 
 Not a complete answer, but it's a start...
 

Or -
$ cat /etc/passwd | cut -d : -f 5
:)
kent







Re: Just a question

2001-08-31 Thread ktb
On Thu, Aug 30, 2001 at 08:45:29PM -0700, Vineet Kumar wrote:
 
 * Brian Schramm ([EMAIL PROTECTED]) [010830 19:41]:
  Is there a way that I can take a passwd file and compare the full name data 
  in it to the email ldap server and give a a list of what it finds and what 
  it 
  misses?  I am doing this manually but with the number of users that there 
  are 
  involved it is going to be really time consuming.
 
 I don't really know what I'm talking about, but this should probably
 help you get started:
 
 awk -F : '{print $5}' /etc/passwd | sed -e s/^\([^,]*\).*$/\1/
 
 That will give you a list of just the full names. Pipe that into
 something else that will look each one up in the directory service.
 
 Not a complete answer, but it's a start...

BTW what does [ sed -e s/^\([^,]*\).*$/\1/ ] accomplish?  I'm just
grooving on one liners lately and am curious.  It seems like -
awk -F : '{print $5}' /etc/passwd is all you need to spit out the full
names.
Thanks,
kent






Re: Just a question

2001-08-31 Thread ktb
On Thu, Aug 30, 2001 at 10:51:12PM -0700, Karsten M. Self wrote:
 on Thu, Aug 30, 2001 at 11:09:07PM -0500, ktb ([EMAIL PROTECTED]) wrote:
  On Thu, Aug 30, 2001 at 08:45:29PM -0700, Vineet Kumar wrote:
   
   * Brian Schramm ([EMAIL PROTECTED]) [010830 19:41]:
Is there a way that I can take a passwd file and compare the full name 
data 
in it to the email ldap server and give a a list of what it finds and 
what it 
misses?  I am doing this manually but with the number of users that 
there are 
involved it is going to be really time consuming.
   
   I don't really know what I'm talking about, but this should probably
   help you get started:
   
   awk -F : '{print $5}' /etc/passwd | sed -e s/^\([^,]*\).*$/\1/
   
   That will give you a list of just the full names. Pipe that into
   something else that will look each one up in the directory service.
   
   Not a complete answer, but it's a start...
  
  BTW what does [ sed -e s/^\([^,]*\).*$/\1/ ] accomplish?  I'm just
  grooving on one liners lately and am curious.  It seems like -
  awk -F : '{print $5}' /etc/passwd is all you need to spit out the full
  names.
 
 Not quite the same thing:
 
 $ awk -F : '/karsten/ {print $5}' /etc/passwd
 Karsten M. Self,,,
 
 
 $ awk -F : '{print $5}' /etc/passwd | sed -e s/^\([^,]*\).*$/\1/
 Karsten M. Self
 
 In the original pattern:
 
 sed -e s/^\([^,]*\).*$/\1/
 
 We have:
 
   -e: expression to evaluate.
   s:  create a substitution using the following pattern.
   /   start of expression
   ^   beginning of line (actually, beginning of fifth field
   \(  start a substitution
   [^,]* match zero or more instances of any character other than ','
   \)  end substitution
   .*$ match to end of line
   /   end of expression
   \1  replace with contents of first substitution (the \([^,]*\)
 pattern)
   /   end expression
 
 sed is for people who think Perl's too easy to understand.

Thanks for the nice explanation:)  What was confusing me is the two
/etc/passwd files I ran the various commands against, non of them had
and ','s' in them.  I just tried my progeny box here at work and see
fully what the sed expression is used for.
kent






Re: managing /etc/rc?.d

2001-08-30 Thread ktb
On Thu, Aug 30, 2001 at 03:54:02AM -0500, Colin Watson wrote:
 On Wed, Aug 29, 2001 at 10:03:35PM -0500, ktb wrote:
  On Thu, Aug 30, 2001 at 04:03:47AM +0200, Martin F Krafft wrote:
   despite wonderful packages like file-rc, the /etc/rc?.d structure is
   damn difficult to maintain, is it not? in fact, here is the only tool
   that i miss from my redhat days - some text-oriented tool which let
   you specify the order and runlevels of each of the scripts in
   /etc/init.d. is there something like that?
   
   how do you guys manage these?
  
  I created the attached script to manage rc*d.  It is a little rough as it 
  is my first write but it works for my needs at the moment.
 
 Er! Surely that's just a clone of update-rc.d?
 

Your making a joke right?  I've never looked at the source for
update-rc.d.  Have no idea what it is written in.  Hmmm, just looked and
it's written in Perl.  I created it to manage an LFS system.  Even if
it was a clone as you say, what difference would it make?  It's what I
use to manage my links to /etc/init.d, which was what the original
poster requested. 
kent

 



Re: managing /etc/rc?.d

2001-08-30 Thread ktb
On Thu, Aug 30, 2001 at 09:28:41AM -0500, Colin Watson wrote:
 On Thu, Aug 30, 2001 at 07:26:57AM -0500, ktb wrote:
  On Thu, Aug 30, 2001 at 03:54:02AM -0500, Colin Watson wrote:
   On Wed, Aug 29, 2001 at 10:03:35PM -0500, ktb wrote:
I created the attached script to manage rc*d.  It is a little rough as 
it 
is my first write but it works for my needs at the moment.
   
   Er! Surely that's just a clone of update-rc.d?
  
  Your making a joke right?  I've never looked at the source for
  update-rc.d.  Have no idea what it is written in.  Hmmm, just looked and
  it's written in Perl.  I created it to manage an LFS system.  Even if
  it was a clone as you say, what difference would it make?  It's what I
  use to manage my links to /etc/init.d, which was what the original
  poster requested. 
 
 I wasn't accusing you of copying it; I was wondering why you didn't just
 use update-rc.d instead, since it seems to do everything you need and
 comes with Debian ...

That's a relief:)  Actually I created it to use on a non-debian system.
After having looked and realized that update-rc.d is a Perl script, I
could have copied it over to my other system but I didn't know that at
the time.  The original poster wasn't satisfied with update-rc.d so I
just posted what I used as requested, in the hopes it would help out.
kent




Re: Configuring ethernet driver

2001-08-29 Thread ktb
On Tue, Aug 28, 2001 at 07:29:28PM -0500, Gary Setter wrote:
 Hi,
 
 I would like point out a problem with the installation
 instructions for Debian. Nowhere does the user receive a hint how
 to configure the Ethernet driver. I wasted considerable time
 getting my network connection up because I didn't know, 1) what
 my Ethernet card driver was and 2)what configuration parameters
 it needed.


Sounds to me like it was the most valuable part of the install for you.
You learned something:)
 
 I did get things up a running. I'd like to feed my experience
 back into the documentation. Has anyone else had the same
 problem(s) and if so, where could the documentation be improved
 to make installation easer?

I'm a little confused here.  What type of documentation is going to tell
you what network card you have in your computer and what configuration
parameters that card needs for your machine?  If your wishing that the
card was auto detected and installed for you then join the development
team and start coding.  

Running linux often forces you to know something about your computer's
hardware.  Learn where to find the information.  If I don't know what
network card is in a computer, if it has windows installed, I would look
in devices to find out.  If that isn't an option I would pop the cover
and look on the card for the information.  Once you know the card
search google.com/linux for the driver name or the debian-user mail list
or http://www.linuxdoc.org/HOWTO/Hardware-HOWTO/nic.html, etc.

Whether it is hardware/software or the OS you are dealing with, at some 
point you're going to have to read documentation if you want to run linux.
hth,
kent




  1   2   3   4   5   6   7   8   9   10   >