Linux-Misc Digest #750, Volume #27 Mon, 30 Apr 01 09:13:05 EDT
Contents:
Re: Sound Problem (Sarina)
wu-ftpd login delay, telnet okay. ([EMAIL PROTECTED])
Re: Could Linux be used in this factory environment ? ("Erik Funkenbusch")
Re: mail spool permissions (Michael Heiming)
dd if=/dev/zero of=/dev/hda (Neil Zanella)
How to configure colors in Staroffice ? (Vincent Bisiaux)
Re: dd if=/dev/zero of=/dev/hda (David)
Linux mkdosfs (Neil Zanella)
Input/output error. ("z.z.w.")
Re: Linux vs Microsoft (Allen Ashley)
Re: How to remove the hd noise? (SammyTheSnake)
Re: Sound Problem (Dave Uhring)
Re: Sound Problem (Dave Uhring)
Re: Partition Problem and New HD ("Dave Cleghorn")
Re: mail spool permissions (Jean-David Beyer)
size of a mailbox for each user ("FooSi")
Re: Could Linux be used in this factory environment ? (Jonadab the Unsightly One)
Re: Linux mkdosfs ("Jarkko Hakala")
Re: netbooting tagged kernel gives screen junk and error message (eric)
Re: wu-ftpd login delay, telnet okay. (eric)
ptys error (Philip)
----------------------------------------------------------------------------
From: Sarina <[EMAIL PROTECTED]>
Subject: Re: Sound Problem
Date: Sun, 29 Apr 2001 21:58:54 -0400
Dave Uhring wrote:
>
> What does lsmod report? The kernel native drivers for the VIA KT133
> motherboards do not work. The alsa drivers do work.
>
>
ls mod reports the following:
via82cxxx_audio 16800 0 (autoclean)
ac97_codec 8688 0 (autoclean) [via82cxxx_audio
]
soundcore 3504 2 (autoclean) [via82cxxx_audio
]
... end lsmod
Question, how do I load Alsa, during the install I saw alsa installed.
thanks in advance
-S
------------------------------
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: wu-ftpd login delay, telnet okay.
Date: Mon, 30 Apr 2001 05:03:45 GMT
When I ftp into my Redhat 7.0 box, running wu-ftpd 2.6.1, I experience a
30 second delay before seeing the login prompt. I have read numerous
posts in the various comp.os.linux newsgroups, and it seems this problem
is often caused by reverse DNS lookup failures. I beleive this is NOT
the case on my machine.
When I test using telnet to connect to port 21, I will not see the 220
message for about 30 seconds. However, if I telnet to the telnet port,
I get an immediate response. Does this not suggest that my reverse DNS
lookups are okay?
Curiously, this only happens from other machines. When performing the
tests from a local console, I do not see the delay, using either
localhost or the domain name.
I am really begining to be annoyed by this little problem.
I did not see this problem when the stock ftpd was installed. It may be
possible I have done something to cause this delay, but where do I begin
looking? I see very little in syslog in the way of activity during
these 30 second delays.
Any ideas on what I should try or test?
------------------------------
From: "Erik Funkenbusch" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Could Linux be used in this factory environment ?
Date: Mon, 30 Apr 2001 00:38:24 -0500
"hac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Erik Funkenbusch wrote:
> >
> > "Jonadab the Unsightly One" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > "Erik Funkenbusch" <[EMAIL PROTECTED]> wrote:
> > >
> > > > > That's silly. All you need is to queue the upgrade to
> > > > > any given page until nobody's looking at it.
> > > >
> > > > And you magically know when nobody is looking at it, how?
> > >
> > > The OS should know that.
> >
> > It should? I didn't realize they had optical sensors that allowed the
> > terminals to notice when someone was looking at the terminal or not.
> >
> Even an idiot should realize that no one is looking at a page that
> isn't displayed. Ergo, pages not displayed may be updated. Which is
> what he clearly intended to convey, before you went out of your way to
> be obtuse and argumentative. Unless, of course, you really are that
> stupid. You seem bent on convincing everyone that you are.
How exactly do you "update the page" of a standalone application?
His argument was about how a single app on a server accessed by terminals is
easier to maintain than an HTML based system.
My argument is that yes, you can update the exe in one fell swoop, but
getting every terminal to be using that updated exe is not quite so easy in
a 24x7 environment because you can't just kill the app because it might be
in use.
I still don't understand what you or he are trying to say exactly, since you
can't update a "page" in a standalone exe.
------------------------------
Date: Mon, 30 Apr 2001 08:32:31 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: mail spool permissions
[EMAIL PROTECTED] wrote:
>
> Running Debian 2.2.
>
> When I use mailx to read my mail spool, it exits with:
>
> 'Unable to lock mailbox: Permission denied'
>
> The mail is read OK, it is moved to ~/mbox OK.
>
> Where is it trying to write the lock file?
>
> Relevant bits:
>
> drwxrwsr-x 2 root mail 4.0k Apr 30 13:11 .
> drwxr-xr-x 15 root root 4.0k Jan 22 19:59 ..
> -rw-rw---- 1 az mail 4.8k Apr 30 13:11 az
/var/spool/mail is normally set 1777 on most systems, to prevent
users from deleting each other files.
drwxrwxrwt 2 root root 4096 Apr 29 22:05 .
Why is your mailbox set 660? It should be 600.
Good luck
Michael Heiming
------------------------------
From: Neil Zanella <[EMAIL PROTECTED]>
Subject: dd if=/dev/zero of=/dev/hda
Date: Mon, 30 Apr 2001 03:38:06 -0230
Hello,
I am trying to zero my entire hard drive including the master boot record.
I have issued the command dd if=/dev/zero of=/dev/hda and several variants
of it with bs and count options but each time I do this it takes forever.
The hard drive is not even 10GB and the system is only two years old or
so but after two hours dd was still running.
Any ideas of how I can speed up the process? The worst thing about dd is
that it displays no output as it runs. For instance it would be nice
if it could display a message for each MB it copied or for each 10MB
it copied or something like that.
Thanks,
Neil
------------------------------
From: Vincent Bisiaux <[EMAIL PROTECTED]>
Subject: How to configure colors in Staroffice ?
Date: Mon, 30 Apr 2001 09:10:59 +0200
This is a multi-part message in MIME format.
==============B3171D64F372BD31F76DAFF3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello
I use StarOffice with linux . It works all right but my eyes are tired
so I want to set background
in dark and foreground text in white, as I do for KDE, or under Windows.
I did it using KDE control center, an I also tried to play with config
files as .Xdefaults
but staroffice does not take my changes in account, while under Windows
it works.
Does anybody know a solution ?
I have Suse 6.3, a celeron 650, 96 M RAM and everything else is OK.
Tank you
Vincent Bisiaux
==============B3171D64F372BD31F76DAFF3
Content-Type: text/x-vcard; charset=us-ascii;
name="vincent.bisiaux.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vincent Bisiaux
Content-Disposition: attachment;
filename="vincent.bisiaux.vcf"
begin:vcard
n:Bisiaux;Vincent
x-mozilla-html:FALSE
org:ALCATEL;T2 (MDL LANNION)
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ingeneer
note;quoted-printable:Tel 02 96 23 42 70=0D=0A
x-mozilla-cpt:;17736
fn:Vincent Bisiaux
end:vcard
==============B3171D64F372BD31F76DAFF3==
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: dd if=/dev/zero of=/dev/hda
Date: Mon, 30 Apr 2001 07:15:40 GMT
Neil Zanella wrote:
>
> Hello,
>
> I am trying to zero my entire hard drive including the master boot record.
> I have issued the command dd if=/dev/zero of=/dev/hda and several variants
> of it with bs and count options but each time I do this it takes forever.
> The hard drive is not even 10GB and the system is only two years old or
> so but after two hours dd was still running.
>
> Any ideas of how I can speed up the process? The worst thing about dd is
> that it displays no output as it runs. For instance it would be nice
> if it could display a message for each MB it copied or for each 10MB
> it copied or something like that.
>
> Thanks,
>
> Neil
!!!!WARNING!!!!
THIS WILL DELETE ALL PARTITIONS AND
WIPE THE DRIVE CLEAN!!!!
!!!!YOU HAVE BEEN WARNED!!!!
To remove all partitions and wipe the drive clean.
cat /dev/zero >/dev/hdX
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.179% of seti users. +/- 0.01%
------------------------------
From: Neil Zanella <[EMAIL PROTECTED]>
Subject: Linux mkdosfs
Date: Mon, 30 Apr 2001 04:52:24 -0230
Hello,
I wonder how come the mkdosfs utility from the tomsrtbt distribution of
Linux is so fast while the dos format utility takes for ever. I thought
the two commands are supposed to do the same thing. I have not tried
running mkdosfs from another distribution.
All feedback is greatly appreciated,
Thanks,
Neil
------------------------------
From: "z.z.w." <[EMAIL PROTECTED]>
Subject: Input/output error.
Date: Mon, 30 Apr 2001 12:07:49 -0800
Dear all
A problem i have never met before.
I was making a iso image and something went wrong.
# mkisofs -r -o cdimage /mnt/cdrom
mkisofs: Input/output error. cannot read from /mnt/cdrom/mpegav/avseq01.dat
The cdrom is working correctly.
Would you please tell me what's going on?
thanks a lot
zzw
------------------------------
From: [EMAIL PROTECTED] (Allen Ashley)
Subject: Re: Linux vs Microsoft
Date: 30 Apr 2001 09:33:48 GMT
"bowman" <[EMAIL PROTECTED]> writes:
>Yeah. Just bought a LinkSys NIC. Big Penguin on the box, and a TurboLinux CD
>inside. A booklet and glossy docs for three or flavors of Windows. And
>somewhere around page 60, a note that it will work on Linux, but is
>completely unsupported. That little MS flag means it will work on Windows;
>that little Tux means they're trying to climb on the bandwagon for free.
I got a floppy with the tulip driver for linux with my LinkSys card. As I
recall you can get the drivers from www.scynld.com. LinkSys provides more
support for linux than some other vendors.
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: How to remove the hd noise?
Date: Mon, 30 Apr 2001 11:02:36 +0100
In article <u3WG6.1561$[EMAIL PROTECTED]>, Anders Braathen wrote:
>Definately from my HD. I have two, I've tried installing on them both. I've
>come to notice that it seems to stop, or quiet down after some time...I've
>tried almost anything within hdparm.
sounds like (s)locate is updating its database, don't worry about it.
man locate
or man slocate
or man updatedb
should give you some more info.
HTH
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Sound Problem
Date: Mon, 30 Apr 2001 05:19:41 -0500
Sarina wrote:
> Dave Uhring wrote:
>
>
>>
>> What does lsmod report? The kernel native drivers for the VIA KT133
>> motherboards do not work. The alsa drivers do work.
>>
>>
>
> ls mod reports the following:
>
> via82cxxx_audio 16800 0 (autoclean)
> ac97_codec 8688 0 (autoclean) [via82cxxx_audio
> ]
> soundcore 3504 2 (autoclean) [via82cxxx_audio
> ]
>
> ... end lsmod
>
> Question, how do I load Alsa, during the install I saw alsa installed.
> thanks in advance
> -S
>
The alsa startup script doesn't seem to do anything on my system. What I
did was to add to /etc/rc.d/rc.local at the bottom of that script:
modprobe snd-card-via686a
modprobe snd-pcm-oss
sleep 1
aumix -v100 -w100
/usr/local/bin/ntpdate bar
/usr/local/bin/ntpd
Works like a charm.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Sound Problem
Date: Mon, 30 Apr 2001 05:48:03 -0500
Dave Uhring wrote:
> Sarina wrote:
>
>> Dave Uhring wrote:
>>
>>
>>>
>>> What does lsmod report? The kernel native drivers for the VIA KT133
>>> motherboards do not work. The alsa drivers do work.
>>>
>>>
>>
>> ls mod reports the following:
>>
>> via82cxxx_audio 16800 0 (autoclean)
>> ac97_codec 8688 0 (autoclean) [via82cxxx_audio
>> ]
>> soundcore 3504 2 (autoclean) [via82cxxx_audio
>> ]
>>
>> ... end lsmod
>>
>> Question, how do I load Alsa, during the install I saw alsa installed.
>> thanks in advance
>> -S
>>
>
> The alsa startup script doesn't seem to do anything on my system. What I
> did was to add to /etc/rc.d/rc.local at the bottom of that script:
>
> modprobe snd-card-via686a
> modprobe snd-pcm-oss
> sleep 1
> aumix -v100 -w100
>
> /usr/local/bin/ntpdate bar
> /usr/local/bin/ntpd
>
> Works like a charm.
>
>
I forgot to add...
Remove the line(s) referring to sound in /etc/modules.conf and remove the
symlinks to /etc/init.d/alsa in /etc/rc.d/rc0.d to rc6.d. Certainly don't
want the modules to be fighting with each other.
Also, I seem to be missing a module. cat /proc/asound/sndsystat indicates
that no sequencer is active. Since I don't use midi, it doesn't bother me.
------------------------------
From: "Dave Cleghorn" <[EMAIL PROTECTED]>
Crossposted-To: alt.windows98
Subject: Re: Partition Problem and New HD
Date: Mon, 30 Apr 2001 10:52:36 +0100
Why have so many partitions???
Dave
"AK" <[EMAIL PROTECTED]> wrote in message
news:9cib3m$3i2$[EMAIL PROTECTED]...
>
> I have 4 Primary Partitions:
>
> C:
> D:
> E:
> F:
>
> When I put my Removable drive in it shifts
> the Partitions,
>
> and I get:
>
> C:
>
> D: NEW HD
> E: NEW HD
>
> F:
> G:
> H:
>
>
> As you can imagine this cause a few problems in windows.
> I am planning on putting Linux and and keeping one partions
> for other stuff .. (this drive is removable).
>
> Would converting my partitions to Logical cause the two new
> partitions on this drive to go in the rightful place.. at the end?
>
> If so, would parition magic do this?
>
> --
> E-mail: [EMAIL PROTECTED]
>
>
>
>
>
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: mail spool permissions
Date: Mon, 30 Apr 2001 07:19:52 -0400
Michael Heiming wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > Running Debian 2.2.
> >
> > When I use mailx to read my mail spool, it exits with:
> >
> > 'Unable to lock mailbox: Permission denied'
> >
> > The mail is read OK, it is moved to ~/mbox OK.
> >
> > Where is it trying to write the lock file?
> >
> > Relevant bits:
> >
> > drwxrwsr-x 2 root mail 4.0k Apr 30 13:11 .
> > drwxr-xr-x 15 root root 4.0k Jan 22 19:59 ..
> > -rw-rw---- 1 az mail 4.8k Apr 30 13:11 az
>
> /var/spool/mail is normally set 1777 on most systems, to prevent
> users from deleting each other files.
>
> drwxrwxrwt 2 root root 4096 Apr 29 22:05 .
>
> Why is your mailbox set 660? It should be 600.
>
Not mine:
valinux:jdbeyer[~]$ ls -ld /var/spool/mail/
drwxrwxr-x 2 root mail 1024 Apr 30 06:01
/var/spool/mail/
It came like this. This also prevents users, other than root and mail,
from deleting one another's files.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 7:15am up 9 days, 13:39, 3 users, load average: 0.15, 0.31, 0.72
------------------------------
From: "FooSi" <[EMAIL PROTECTED]>
Subject: size of a mailbox for each user
Date: Mon, 30 Apr 2001 19:02:38 +0800
I want to know how to control the size of a mailbox for each user.
If I put the mailbox file in user home directory, i can easily acheive.
But I want to know there are any more methods?
Thanks
------------------------------
From: [EMAIL PROTECTED] (Jonadab the Unsightly One)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Could Linux be used in this factory environment ?
Date: Mon, 30 Apr 2001 11:47:48 GMT
"Erik Funkenbusch" <[EMAIL PROTECTED]> wrote:
> It should? I didn't realize they had optical sensors that allowed the
> terminals to notice when someone was looking at the terminal or not.
Oh, that's easy. If they don't press a key in over twenty
minutes, you go to a blank screen until they press a key.
If they don't notice the blank screen in ten minutes, they're
not looking at it, so you automatically reset the terminal.
> That "page"? We're talking about a standalone application versus HTML.
Page, screen, menu, record, file, function, whatever. I was
trying to be general, since obviously the precise content of
the CRT display will vary from application to application.
- jonadab
------------------------------
From: "Jarkko Hakala" <[EMAIL PROTECTED]>
Subject: Re: Linux mkdosfs
Date: Mon, 30 Apr 2001 14:56:11 +0300
"Neil Zanella" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I wonder how come the mkdosfs utility from the tomsrtbt distribution of
> Linux is so fast while the dos format utility takes for ever. I thought
> the two commands are supposed to do the same thing. I have not tried
> running mkdosfs from another distribution.
I'd say mk*fs doesn't actually format the disk, as dos format-command.
It only writes the data needed for filesystem, like inode-tables and
stuff.
If I recall, there's /quick -parameter for m$-dos format which is
closer to mkdosfs, so
format a: ~~ fdformat /dev/fd0 ; mkdosfs /dev/fd0
format a: /quick ~~ mkdosfs /dev/fd0
---
Jarkko Hakala
http://byterapers.com/~jhakala/
IRCnet: privmsg jakemus :
------------------------------
From: eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.embedded
Subject: Re: netbooting tagged kernel gives screen junk and error message
Date: Mon, 30 Apr 2001 07:20:57 -0500
Jeroen Kransen wrote:
> Hello, I tagged a kernel with mknbi-linux, and when I boot the client,
> ist finds the file and starts loading it, but during the loading I see
> all this binary junk roll over my screen and then it says that the
> file is too large for the lower memory or something. This doesn't seem
> likely, since the kernel is only 570k and I don't see get it smaller
> anyway. I created the root filesystem in /tftpboot with the script in
> the Diskless-HOWTO.
>
> jeroen
The junk appears on your screen because you are writing over the lower
video memory section. If you have the memory try loading it above
0x100000 (preferably the size of the uncompressed kernel above that
mark).
Eric
------------------------------
From: eric <[EMAIL PROTECTED]>
Subject: Re: wu-ftpd login delay, telnet okay.
Date: Mon, 30 Apr 2001 07:30:05 -0500
[EMAIL PROTECTED] wrote:
> When I ftp into my Redhat 7.0 box, running wu-ftpd 2.6.1, I experience a
> 30 second delay before seeing the login prompt. I have read numerous
> posts in the various comp.os.linux newsgroups, and it seems this problem
> is often caused by reverse DNS lookup failures. I beleive this is NOT
> the case on my machine.
>
> When I test using telnet to connect to port 21, I will not see the 220
> message for about 30 seconds. However, if I telnet to the telnet port,
> I get an immediate response. Does this not suggest that my reverse DNS
> lookups are okay?
>
> Curiously, this only happens from other machines. When performing the
> tests from a local console, I do not see the delay, using either
> localhost or the domain name.
>
> I am really begining to be annoyed by this little problem.
>
> I did not see this problem when the stock ftpd was installed. It may be
> possible I have done something to cause this delay, but where do I begin
> looking? I see very little in syslog in the way of activity during
> these 30 second delays.
>
> Any ideas on what I should try or test?
If you want to verify that it is or is not dns, add the ip and name of the
remote host you are testing from to the /etc/hosts file on the box with
your ftp daemon.
I'd dump wu-ftpd and go with something else like proftpd or sftp (from
openssh) (not that this would change the issue your having, but it would
probably increase the security of your box)
Eric
------------------------------
From: Philip <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: ptys error
Date: Mon, 30 Apr 2001 12:33:11 GMT
While trying to scp a file I received the following error message.
"The system has no more ptys. Ask your system administrator to create
more."
What does this error mean?
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************