Linux-Setup Digest #178, Volume #21 Sun, 6 May 01 21:13:11 EDT
Contents:
Re: Max length of password? (Bj�rn T Johansen)
Re: RH7.1 - Can't telnet or SSH in from another host (Michael Heiming)
Re: Xterm exits.. (John Hagen)
how to add lan card without linuxconf? ("tin")
Re: how to add lan card without linuxconf? (Eugenio Mastroviti)
Re: DHCP and Road Runner blues (Black Dragon)
Re: Max length of password? (Bj�rn T Johansen)
replacing a stupidly deleted script (Peter Kelly)
Re: Soundblaster 16 PCI setup (Scott)
Re: File System going bad (Scott)
gtkam/gphoto2 library not found
Re: Xterm exits.. (Bit Twister)
Re: problem repartitioning for linux (Steve Hill)
Re: gtkam/gphoto2 library not found
Re: Loading modules (Dean Thompson)
new kernel APIC problem ("Kelly Shutt")
Re: how to add lan card without linuxconf? (Etienne Bolduc)
Re: how to add lan card without linuxconf? (Dean Thompson)
----------------------------------------------------------------------------
From: Bj�rn T Johansen <[EMAIL PROTECTED]>
Subject: Re: Max length of password?
Date: Sun, 06 May 2001 23:13:30 +0200
When I try min and max option in my passwd-file, I get unrecognized
command in syslogd... :-(
BTJ
On Sun, 06 May 2001 12:09:07 -0700, "Duane Healing"
<[EMAIL PROTECTED]> wrote:
>The related line in my /etc/pam.d/passwd looks like this:
>password required pam_unix.so nullok obscure min=6 max=12 md5
>
>From what tests I've done 12 character passwords are not getting passed
>when only 8 chars are supplied so it seems to work.
------------------------------
Date: Sun, 06 May 2001 23:19:24 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: RH7.1 - Can't telnet or SSH in from another host
Aaron Kaase wrote:
>
> On Sun, 06 May 2001 12:53:19 GMT, [EMAIL PROTECTED] (James Rose)
> wrote:
>
> >Great! You figured out one of your problems on your own. You can be sure that
> >the telnet server is now working (at least over the loopback device.)
> >
> >>HOWEVER, I still can't access the system from another computer and I
> >>have no idea why. Any ideas? I can telnet OUT of the system just fine,
> >>just not IN to the computer.
> >
> >You can also be sure that the networking stuff is loaded correctly because you
> >can telnet/ping out to somewhere else.
>
> Exactly. I can telnet, ftp, ping, traceroute out... Works fine. I
> can't do anything in.
>
> >What happens when you try to telnet from another machine? Any error messages?
>
> It times out. No error message. And this same thing happens even
> before I activated it.
>
> >Where is the machine you are attempting to connect to, in relation to the
> >machine you are initiating the connection from? Can you use another service
> >(ftp, http, ssh, etc.) to connect to this machine successfully?
>
> They are on the same LAN in the same subnet.
>
> System A (Linux) = 192.168.123.199 (255.255.255.0)
> System B (Win2k) = 192.168.124.191 (255.255.255.0)
They are not on the same subnet!
This is a reserved class C address. You should be first able to ping
the system from each other with IP and names.
Check your routing table "netstat -rn".
Michael Heiming
------------------------------
Date: Sun, 06 May 2001 14:28:22 -0700
From: John Hagen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Xterm exits..
Bit Twister wrote:
>
> xterm -e /bin/bash -c "fortune;echo \"Press Enter to continue...\c\";read "
>
> On Sat, 05 May 2001 08:43:51 -0700, John Hagen <[EMAIL PROTECTED]> wrote:
> >Hi all,
> >
> >I'm trying to run a program in an xterm that outputs lines of text and
> >then exits. When this happens, the xterm goes away as well. I'd like to
> >be able to read the output and then kill the xterm window at my
> >pleasure.
This worked fine.
The other 2 suggestions:
xterm -e "fortune | less" &
xterm -e '(fortune ; sleep 600 )'
did not work and produced errors:
xterm: Can't execvp fortune | less
xterm: Can't execvp (fortune ; sleep 600 )
Now I am trying to extend this to a Perl script I wrote that snarfs the
weather off of the IWIN site and prints it to stdout. The script is
excecuteable and works when run interactively:
$ ll
~/bin/perl
total 90
---
---
-rwxr-xr-x 1 john users 1626 May 4 07:15 zone_weather
But when I run it as part of the command above, I get errors:
$ xterm -e /bin/bash -c "/home/john/bin/perl/zoneweather; echo \"Press
Enter to continue..\";read"
The xterm that pops up then has:
/bin/bash: /home/john/bin/perl/zoneweather: No such file or directory
Press Enter to continue..
If I try to see what path I have set for the child process, I use:
$ xterm -e /bin/bash -c "echo $PATH; echo \"Press Enter to
continue..\";read"
Which gets me the following when the xterm pops up:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/games:/opt/kde/bin:/usr/share/texmf/bin:/home/john/bin:/home/john/bin/bash/:/home/john/bin/perl:/usr/local/Acrobat4/bin/:.
Press Enter to continue..
So, it looks like ~/bin/perl is in my path for the child process, which
makes sense, because I can launch the script on the command line with
just "zoneweather". But now I can't figure out why both the parent
process and the child process have the correct path set, but only the
parent can find the zone_weather script.. :(
Thanks to all,
--
john hagen ~ [EMAIL PROTECTED]
=================================
------------------------------
From: "tin" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Subject: how to add lan card without linuxconf?
Date: Mon, 7 May 2001 05:30:49 +0800
may i know how to add lan card by command line?(without linuxconf)
how to add ip, gateway , netmask, boardcast address etc...
--
[EMAIL PROTECTED]
------------------------------
From: Eugenio Mastroviti <[EMAIL PROTECTED]>
Subject: Re: how to add lan card without linuxconf?
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Date: Sun, 6 May 2001 23:35:40 +0100
tin wrote:
> may i know how to add lan card by command line?(without linuxconf)
>
> how to add ip, gateway , netmask, boardcast address etc...
man ifconfig
Eugenio
>
> --
>
> [EMAIL PROTECTED]
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Black Dragon)
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Date: Sun, 06 May 2001 21:43:05 GMT
On Sun, 06 May 2001 13:23:51 GMT in alt.linux,
<[EMAIL PROTECTED]> `william crowell' said:
: furthermore, why buy more ethernet addresses? put a second nic in your
: machine and use ip masquerade. set up a hub on the second nic and make the
: ip address on the second nic the default gateway for the lan. make the rr
: nic the default gateway for your linux box. you can run a zillion computers
: on the lan side through the linux box.
: note that this violates the acceptable use policy.
No, using NAT does not violate anything, Road Runner just does not
*support* it. In other words, if you have a problem you're on your own.
You're on your own anyway if using anything but Win or a Mac and their
connectivity software. Read RR's terms of use policy, it's all spelled
out very clearly in it.
--
Black Dragon
Free the Software!
------------------------------
From: Bj�rn T Johansen <[EMAIL PROTECTED]>
Subject: Re: Max length of password?
Date: Sun, 06 May 2001 23:41:34 +0200
And how do I go about to start using MD5 based password scheme?
BTJ
On 6 May 2001 20:41:28 GMT, [EMAIL PROTECTED] (Bill Unruh) wrote:
>In <[EMAIL PROTECTED]> "Duane Healing"
><[EMAIL PROTECTED]> writes:
>
>>The related line in my /etc/pam.d/passwd looks like this:
>>password required pam_unix.so nullok obscure min=6 max=12 md5
>
>>From what tests I've done 12 character passwords are not getting passed
>>when only 8 chars are supplied so it seems to work.
>
>crypt(3) is defined to use 8 bytes. That is the length of a DES
>password, which is how the crypt(3) hash function uses the password.
>It cannot be changed. It is written in immutable bits, with chattr +i
>forever set.
>
>If you want longer passwords use the MD5 based password scheme.
------------------------------
From: Peter Kelly <[EMAIL PROTECTED]>
Subject: replacing a stupidly deleted script
Date: Sun, 06 May 2001 22:10:31 GMT
I'm running Redhat 7.1, and recently I tried to upgrade Samba in an
incorrect order.
Suffice it to say, I've screwed up a bunch of stuff.
I managed to delete the /etc/rc/d/init.d/smb file.
I can always download the latest tarball (got it). Getting the thing
to run automatically is my problem right now.
I've looked around the redhat site, but can't find an easy way to find
the basic 7.1 scripts. Hell, I can't find them.
I'm always afraid to reboot with the install disc after I've modified
a working install.
I'm still in the learning phase, so re-doing Samba isn't a problem at
all.
Is there a place that has the Redhat scripts available for
download/edit?
Thanks.
Peter
When responding by email, please change the no-spam to disco.
Sorry for the inconvenience.
Spam really sucks.
------------------------------
From: Scott <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.help
Subject: Re: Soundblaster 16 PCI setup
Date: Sun, 06 May 2001 17:35:29 -0500
Ok then. That's what I needed to know.
(when I had OSS compiled in the kernel, I did have /dev/sndstat)
-Scotty
Rasmus B�g Hansen wrote:
>
> On Sat, 5 May 2001, Scott wrote:
>
> > I rebuilt the kernel with ensoniq 1371 loaded. I DO get sound,
> > but it's kinda staticy
> >
> > However, 'cat /dev/sndstat' gives me Device not found.
>
> /dev/sndstat is an OSS (OpenSoundSystem) feature. es1371 is a non-OSS
> driver and thus does not support /dev/sndstat (nor /proc/sound).
>
> > It was there when I had tried building the kernel with SB16 support.
> > But now it's not there...
>
> You should be able to get it by somehow configuring OSS - but I'm not
> 100% sure.
>
> I have a SB PCI 64, and I have never used /dev/sndstat nor /proc/sound
> but my card works fine anyway.
>
> Rasmus
>
> --
> -- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
> Drink wet cement: Get Stoned.
> ----------------------------------------- [ Remove 'spam' to reply ] --
------------------------------
From: Scott <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,alt.linux.slakware
Subject: Re: File System going bad
Date: Sun, 06 May 2001 17:43:27 -0500
Yes and no.
"I" didn't turn off a mounted FS. My power grid did, when
a storm came through. And my UPS didn't save me (which pissed
me off). I expect FS errors when that occurs.
I've only had my new RAM in there for a few days. It would
take weeks for the errors to show up. (fsck'ing would show
no problem for weeks, then suddenly, pow, bunches of them)
But I sure hope that was the problem.
-Scotty
Rasmus B�g Hansen wrote:
>
> On Sat, 5 May 2001, Scott wrote:
>
> > Took a power hit last night, and reboot's fsck gave me
> > 'Deleted inode xxxx has zero dtime. FIXED'
>
> Took a power hit? Do you mean you just turned off the machine while the
> filesystem was mounted? Then you ask for FS errors. ext2 is not
> journaling. Besides the above message means, that there were no serious
> trouble at all.
>
> > Those are the kind of things that got accumulated before,
> > without hostile shutdowns.
>
> You mean that you haven't got any errors (yet) with the new RAM? Sounds
> like a bad RAM block...
>
> Rasmus
>
> --
> -- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
> I'm a bastard. I have absolutely no clue why people can ever think
> otherwise. Yet they do. People think I'm a nice guy, and the fact is
> that I'm a scheming, conniving bastard who doesn't care for any hurt
> feelings or lost hours of work if it just results in what I consider
> to be a better system.
> - Linus Torvalds
> ----------------------------------------- [ Remove 'spam' to reply ] --
------------------------------
From: [EMAIL PROTECTED] ()
Subject: gtkam/gphoto2 library not found
Date: Sun, 06 May 2001 22:54:24 GMT
I've installed gphoto2 (and the required libgpio) and when I try
to run the gtkam front end, I get:
gtkam: error while loading shared libraries: libgphoto2.so.0: cannot load
shared object file: No such file or directory
libgphoto2.so.0 is in /usr/local/lib and points to libgphoto2.so.0.0.0 which
is there.
What's going on?
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To: comp.os.linux.x
Subject: Re: Xterm exits..
Reply-To: [EMAIL PROTECTED]
Date: Sun, 06 May 2001 23:05:17 GMT
Just guessing Here, try putting
#!/bin/perl
as the first line of /home/john/bin/perl/zoneweather
On Sun, 06 May 2001 14:28:22 -0700, John Hagen <[EMAIL PROTECTED]> wrote:
>Bit Twister wrote:
>>
>> xterm -e /bin/bash -c "fortune;echo \"Press Enter to continue...\c\";read "
>>
>> On Sat, 05 May 2001 08:43:51 -0700, John Hagen <[EMAIL PROTECTED]> wrote:
>> >Hi all,
>> >
>> >I'm trying to run a program in an xterm that outputs lines of text and
>> >then exits. When this happens, the xterm goes away as well. I'd like to
>> >be able to read the output and then kill the xterm window at my
>> >pleasure.
>
>This worked fine.
>
>The other 2 suggestions:
>
>xterm -e "fortune | less" &
>xterm -e '(fortune ; sleep 600 )'
>
>did not work and produced errors:
>
>xterm: Can't execvp fortune | less
>xterm: Can't execvp (fortune ; sleep 600 )
>
>Now I am trying to extend this to a Perl script I wrote that snarfs the
>weather off of the IWIN site and prints it to stdout. The script is
>excecuteable and works when run interactively:
>
>$ ll
>~/bin/perl
>total 90
>---
>---
>-rwxr-xr-x 1 john users 1626 May 4 07:15 zone_weather
>
>But when I run it as part of the command above, I get errors:
>
>$ xterm -e /bin/bash -c "/home/john/bin/perl/zoneweather; echo \"Press
>Enter to continue..\";read"
>
>The xterm that pops up then has:
>
>/bin/bash: /home/john/bin/perl/zoneweather: No such file or directory
>Press Enter to continue..
>
>If I try to see what path I have set for the child process, I use:
>
>$ xterm -e /bin/bash -c "echo $PATH; echo \"Press Enter to
>continue..\";read"
>
>Which gets me the following when the xterm pops up:
>
>/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/games:/opt/kde/bin:/usr/share/texmf/bin:/home/john/bin:/home/john/bin/bash/:/home/john/bin/perl:/usr/local/Acrobat4/bin/:.
>Press Enter to continue..
>
>So, it looks like ~/bin/perl is in my path for the child process, which
>makes sense, because I can launch the script on the command line with
>just "zoneweather". But now I can't figure out why both the parent
>process and the child process have the correct path set, but only the
>parent can find the zone_weather script.. :(
>
>Thanks to all,
>
>--
>john hagen ~ [EMAIL PROTECTED]
>=================================
--
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a, man command_here or cat command_here, before using it.
------------------------------
From: Steve Hill <[EMAIL PROTECTED]>
Subject: Re: problem repartitioning for linux
Date: Sun, 06 May 2001 16:12:51 -0700
I have FIPS2.0 and was warned not to use it from windows ... but the new
machine that I'm trying to install this on doesn't have a "Restart from
DOS" capability, nor do I even see how to create a DOS boot disk. Has
Unca Billy done it to me again?? Has anyone repartitioned a WIN ME
drive, and if so, how??
Steve
Chiefy wrote:
> > Fips (First non-destructive Interactive Partition Splitting program) is the
> > safe way to re-partition a hard drive to maintain windows and dual boot with
> > linux.
>
> I'll second that. Must have used FIPS over a hundred times over a few
> years and haven't lost a single DOS partition. Haven't lost a single
> byte of data to my knowledge. Excellent little prog.
=======================
email:
[EMAIL PROTECTED]
=======================
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: gtkam/gphoto2 library not found
Date: Sun, 06 May 2001 23:28:13 GMT
On Sun, 06 May 2001 22:54:24 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>I've installed gphoto2 (and the required libgpio) and when I try
>to run the gtkam front end, I get:
>
>gtkam: error while loading shared libraries: libgphoto2.so.0: cannot load
>shared object file: No such file or directory
>
>libgphoto2.so.0 is in /usr/local/lib and points to libgphoto2.so.0.0.0 which
>is there.
>
>What's going on?
I looked at man pages for keywords "shared" and "library" and saw ldd.
I did $ ldd /usr/local/lib/libgphoto2.so.0
libdl.so.2 => /lib/libdl.so.2 (0x40079000)
libgphoto2_port.so.0 => not found
libc.so.6 => /lib/i686/libc.so.6 (0x4007d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
However libgphoto2_port.so.0 is there in /usr/local/lib and points to version
0.0.3
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.help
Subject: Re: Loading modules
Date: Mon, 07 May 2001 10:10:07 +1000
Hi Scott,
[...]
>
> I added modules to /etc/rc.d/modules.rc but that didn't seem to do it.
> Can anyone explain this, or point me to something besides the howto?
>
> When I do a kernel rebuild, and 'make modules' the modules
> are compiled, but not moved to /lib/modules/2.2.16/...
> Do I have to move them manually?
> 'make bzlilo' installs the kernel for me, am I just too spoiled by this?
You need to do a "make modules_install" to shift your modules across to the
appropriate directory under the /lib/modules directory hierarchy.
>
> As an example, I added sound support to my kernel. Was it even
> nessesary to rebuild? Could I have just loaded sound.o and
> es1371.o? I couldn't figure out where to get those to load.
> (lsmod didn't show them as loaded)
If the modules were in existence before the compile in the /lib/modules
directory, then the answer was probably yes. Under Redhat the file
/etc/modules.conf plays a big role in deciding which modules are loaded with
each device. I am not sure whether SuSE has the same approach (it probably
does, just that it uses different names).
You might also like to check to see whether SuSE has a program called
"sndconfig" which allows you to configure your sound card. This will handle
the loading of the appropriate modules for sound when your system boots.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
From: "Kelly Shutt" <[EMAIL PROTECTED]>
Subject: new kernel APIC problem
Date: Sun, 6 May 2001 19:09:35 -0500
I'm trying to update to the latest kernel... the problem is it's SMP support
is not liking my processors. I'm currently running 2.2.16 which is the
kernel that comes with slack 7.1.... I've compiled it with smp and it runs
great. I'm trying to use 2.4.4... it all complies and installs fine... but
when i boot i get" APIC error on CPU0" and cpu1... the boot process goes for
a little while with only a few of these... but then they just start coming
out constantly and it won't boot further.... anyone have any suggestions on
how i might be able to get this kernel to work?
MY SETUP:
Dual 433 Celerons overclocked to 600... these run quite stable, I've run
several OS at this speed including win98 and 2K.
Abit BP6 mobo
128megs of PC100
Creative Labs Savage 4
3com Etherlink III
Pioneer 16x DVD
i'm pretty sure it's a kernel specific problem since the old kernel runs
great without any problems... if i can't fix this, is there another newer
kernel i can use that won't cause this problem?
thanks,
Kelly
------------------------------
From: Etienne Bolduc <[EMAIL PROTECTED]>
Subject: Re: how to add lan card without linuxconf?
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Date: Sun, 6 May 2001 20:31:48 -0400
tin wrote:
> may i know how to add lan card by command line?(without linuxconf)
>
> how to add ip, gateway , netmask, boardcast address etc...
>
> --
>
> [EMAIL PROTECTED]
>
>
>
You might as well want to edit /etc/hosts
it contains the hosts your computer recognize, including yours (if you have
a static ip).
if you have a X server installed, on RedHat you should also try netcfg,
very effective for that kind of things, I personally use it.
--
\\\\\\\\\\\\\\\\\\\\\\\
Etienne Bolduc
just chillin' :)
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: how to add lan card without linuxconf?
Date: Mon, 07 May 2001 11:01:28 +1000
Hi!,
> may i know how to add lan card by command line?(without linuxconf)
> how to add ip, gateway , netmask, boardcast address etc...
You might like to take a look through the NET-HOWTO which is located at
http://www.linuxdoc.org. As you haven't specified which version of Linux you
are using, it is impossible to give you detailed instructions. I would
recommend however, that you let Kudzu do the network card detction and
installation for you. Once that is done, if you are using RedHat/Mandrake,
you might like to take a look at the files /etc/sysconfig/network and
/etc/sysconfig/network-scripts/ifcfg-eth0.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
** 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.setup.
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-Setup Digest
******************************