Linux-Setup Digest #917, Volume #19 Fri, 27 Oct 00 12:13:06 EDT
Contents:
Re: Multiple ip addresses ("Dr. Jason J. Hogan-O'Neill")
ALSA sound modules ("Dr. Jason J. Hogan-O'Neill")
Re: INIT: No more process left in this runlevel ("Peter T. Breuer")
openssl & egd (Kuang-chun Cheng)
Re: how to set time in linux ("Tom Brinkman")
setting my path? ("David")
Fdisk does not see part of my disk!!!!!!! (ElPato)
Re: kde2 on Mandrake 7.1 - minor glitches ("D. D. Brierton")
Re: XFree86 4.0.1 / RPM unusual error (Colin Watson)
Install via FTP pointers needed [Red Hat] (Charles Andrews)
Restricted root privledges ([EMAIL PROTECTED])
Re: TFTP won't work with Linux RH 6.1 (Vincent C Jones)
Re: setting my path? (Colin Watson)
----------------------------------------------------------------------------
From: "Dr. Jason J. Hogan-O'Neill" <[EMAIL PROTECTED]>
Subject: Re: Multiple ip addresses
Date: Fri, 27 Oct 2000 17:28:51 +0300
victor wrote:
> Hello,
>
> I currently use cable (@home) to connect to the internet and I use a
> linux box as a
> firewall and router to do ip-maskerading on the rest of my computers
> (Mac and
> Windows).
> For a certain software (special kind of VPN ...) it is necessary for my
> windows
> machine to have an public ip address, which is why I want to get a
> second one from
> @home.
> Problem: I don't want to connect that windows box directly to the modem
> (via hub),
> but I would like it to be behind my linux firewall.
>
> Now my question:
> How do I have to set up my linux box to route this second ip address
> through to my
> windows machine? I guess what the question comes down to is, how do I
> set up my
> linux machine to recognize both ip addresses - it's own and the one of
> the windows
> machine - and then route the traffic for the windows machine through to
> it.
>
> Victo
> ----------------------------------------------
> "THE ACADEMIC SITE"
> NEW PhD DATABASE - VISIT: WWW.ACADEMIC.ST
> ----------------------------------------------
>
OK well I am running apache on REDHAT. It is possible to set up virtual
hosts to do this.
Am I right in saying thta you can now run APACHE on WINDOWS? If so your
problems shoudl be solved. Go to www.apacheweek.com for a good article on
how to set virtual hosts under their features section.
I hope I have understood your problem correctly!!
Jason
> -----------------------------------------------------------
> Dr. J.J. Hogan-O'Neill Office: U216A main building
> Laboratory of Physics Tel: +358-9-451 3112
> Helsinki University of Technology Fax: +358-9-451 3116
> P.O.Box 1100,FIN-02015 HUT,Finland Mobile: +358-(0)50-538 9776
> ****** The Academic Site : WWW.ACADEMIC.ST ******
> --------------------------------------------------------------
------------------------------
From: "Dr. Jason J. Hogan-O'Neill" <[EMAIL PROTECTED]>
Subject: ALSA sound modules
Date: Fri, 27 Oct 2000 17:37:22 +0300
==============BAF5D7867F12D888FAE53166
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
-------------------------------------------
"THE ACADEMIC SITE"
NEW PhD DATABASE - VISIT: WWW.ACADEMIC.ST
-------------------------------------------
Hi all,
I am trying to get the ALSA modules installed on my RedHat 6.1, 2.2.17 kernel box. I
have downloaded
the tarballs, configs, maked, and make installed them. Then typed ./sndconfig .
So far so good. I now have a heap of modules in the expectd pace (I think):
/lib/modules/2.2.17/misc
Now by my understanding I just type
modprobe snd-intel8x0 (I have the dreaded intel i810 chip!)
and that will install the module. But no, life is obviously far more difficult than
this. I am getting:
/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_special
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_special
snd-mixer: No such file or directory
snd-pcm: No such file or directory
What on earth is going on? I have snd.o in the /lib/modules/2.2.17/misc directory too.
I also try
modprobe snd-mixer
modprobe snd-pcm
but I get:
/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_special
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_special
snd-timer: No such file or directory
any help would now be greatly appreciated on what I do next.
Cheers,
Jason
============================================================
Dr. J. Hogan-O'Neill
==============BAF5D7867F12D888FAE53166
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<pre></pre>
<pre>
-------------------------------------------
"THE ACADEMIC SITE"
NEW PhD DATABASE - VISIT:
WWW.ACADEMIC.ST
-------------------------------------------
</pre>
<pre>Hi all,</pre>
<pre>I am trying to get the ALSA modules installed on my RedHat 6.1, 2.2.17 kernel
box. I have downloaded</pre>
<pre>the tarballs, configs, maked, and make installed them. Then typed ./sndconfig
.</pre>
<pre>So far so good. I now have a heap of modules in the expectd pace (I
think):</pre>
<pre>/lib/modules/2.2.17/misc</pre>
<pre>Now by my understanding I just type</pre>
<pre>modprobe snd-intel8x0 (I have the dreaded intel i810 chip!)</pre>
<pre>and that will install the module. But no, life is obviously far more difficult
than this. I am getting:</pre>
<pre>/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_special
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_special
snd-mixer: No such file or directory
snd-pcm: No such file or directory
What on earth is going on? I have snd.o in the /lib/modules/2.2.17/misc directory
too.</pre>
<pre>I also try</pre>
<pre>modprobe snd-mixer</pre>
<pre>modprobe snd-pcm</pre>
<pre>but I get:</pre>
<pre>/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_dsp
/lib/modules/2.2.17/misc/snd.o: unresolved symbol unregister_sound_special
/lib/modules/2.2.17/misc/snd.o: unresolved symbol register_sound_special
snd-timer: No such file or directory</pre>
<pre>any help would now be greatly appreciated on what I do next.</pre>
<pre>Cheers,</pre>
<pre>Jason</pre>
============================================================<br>
Dr. J. Hogan-O'Neill</html>
==============BAF5D7867F12D888FAE53166==
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: INIT: No more process left in this runlevel
Date: 27 Oct 2000 14:33:54 GMT
In comp.os.linux.help Jack <[EMAIL PROTECTED]> wrote:
: INIT: No more process left in this runlevel
Looks like you messed up your boot scripts.
: I can boot with linux 1, what can I do from here.
Everything!
: If its the /etc/inittab what need to edited or corrected.
How would we know? Go take a look, figure out what's damaged and fix
it. From here it looks like the inittab is OK (since it knows the
difference between 1 2 and 3), but that the rest of your /etc/init.d or
rc.d directory is royally messed.
Peter
------------------------------
From: Kuang-chun Cheng <[EMAIL PROTECTED]>
Subject: openssl & egd
Date: Fri, 27 Oct 2000 14:59:37 +0000 (UTC)
Hi,
Does anyone know how to ask OpenSSL to use egd instead
of looking for /etc/random. Thanks. Please reply by email
if possible.
Kuang-Chun
[EMAIL PROTECTED]
------------------------------
From: "Tom Brinkman" <[EMAIL PROTECTED]>
Subject: Re: how to set time in linux
Date: Fri, 27 Oct 2000 15:12:28 GMT
In article <[EMAIL PROTECTED]>, "Travis Hein"
<[EMAIL PROTECTED]> wrote:
> How do you set the system date/time in linux.
> (Red Hat 6.2, KDE)
alias tdate="rdate -sp time.nist.gov"
I put that alias in /etc/bashrc (Mandrake 7.2). Then
anytime I'm connected to the Net, I can su to root and type
'tdate' That sets the system clock to the correct time
from the time.nist.gov server. In my case US Central time.
You may want a different time server. I then type
'hwclock --systohc' to set the hardware clock (bios) to the
corrected system clock.
Tom
------------------------------
Reply-To: "David" <[EMAIL PROTECTED]>
From: "David" <[EMAIL PROTECTED]>
Subject: setting my path?
Date: Fri, 27 Oct 2000 13:39:19 +0100
Hi I have been trying to set the path so that the current working directory
is checked but so far I have had no luck. This is what I have been trying.
[user@dogbert ~]$ echo $SHELL
/bin/csh
[user@dogbert ~]$ echo $PATH
/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
/usr/local/bin
[user@dogbert ~]$ set path = ( $PATH . )
[user@dogbert ~]$ echo $PATH
/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
/usr/local/bin:.
[user@dogbert ~]$
all seems well until
[user@dogbert ~]$ ls
ls: Command not found.
so I check the path again to make sure that I hadn't overwritten he rest.
[user@dogbert ~]$ echo $PATH
/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
/usr/local/bin:.
[user@dogbert ~]$
This seems fine so ls should work but it doesn't. Next I opened another
terminal and tried again
[user@dogbert ~]$ echo $PATH
/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
/usr/local/bin
[user@dogbert ~]$ ls
Desktop bin nsmail week01 week02 week03 week04
[user@dogbert ~]$
but now I have lost the . ????
Next I tried logging out and back in to see if the changes would only take
effect from login but they had been lost
[user@dogbert ~]$ echo $PATH
/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
/usr/local/bin
[user@dogbert ~]$
I have also tried all the above using the bash shell and the command export
PATH=$PATH:.
but the same thing happens.
If any one can help I would be very grateful
Thanks
David
:-)
I am using RedHat 7.0 with the KDE windows manager and kernel 2.2.16
------------------------------
From: ElPato <[EMAIL PROTECTED]>
Subject: Fdisk does not see part of my disk!!!!!!!
Date: Fri, 27 Oct 2000 15:09:16 GMT
Reply-To: [EMAIL PROTECTED]
Here is the problem:
I had win2k on a 10Gig partition, and winme on a 5Gig partition, all on
one harddrive. Linux was alone on a different drive, LILO installed.
I decided to wipe out win2k altogether, so I fdisk'd and deleted its
partition. Now fdisk sees only one drive of 5Gigs taken at 100%; in
other words, the 10 Gig partition is not seen by fdisk.
BTW, I wiped out Linux also on its own drive.
How can I recover the 10Gig partition without, of course lose my 5Gig
where all my backup files recide?
Help please!!!!!!!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "D. D. Brierton" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: kde2 on Mandrake 7.1 - minor glitches
Date: Fri, 27 Oct 2000 16:40:36 +0100
Reply-To: [EMAIL PROTECTED]
In article <8tba7l$tpj$[EMAIL PROTECTED]>, "D. D. Brierton"
<[EMAIL PROTECTED]> wrote:
> 1. In order to install kdebase I had to install mandrake_desk and now
> the only option available in either kdm or gdm is kde. I no longer
> have the option of starting GNOME, WindowMaker, BlackBox,
> Enlightenment, etc. This is a big problem for me. I use GNOME as my
> regular desktop---kde is something I use only about one third of
> the time in fact, although with kde2 that may change. I also fairly
> regularly start a vanilla X session with just Blackbox, or bask in
> the visual glory that is WindowMaker. Can anyone offer any advice
> as to what I need to tweak or install to get kdm and gdm back to
> offering the full range of installed options?
I have solved this problem. It seems that the installation of one of the
packages (mandrake_desk?) deleted /etc/X11/window-managers. Thankfully I
had a backup, restored it, moved /etc/X11/wmsession.d/, and ran
convertsession and it built all the correct entries in
/etc/X11/wmsession.d/. Now both kdm and gdm work. However, it was
definitely not me who removed /etc/X11/window-managers, so I think that
this should be looked into before 7.2 goes final.
Any help with the kdemultimedia problem would be a big help.
--
======================================================================
D. D. Brierton Department of Philosophy, University of Edinburgh
[EMAIL PROTECTED] http://www.cogsci.ed.ac.uk/~ddb
======================================================================
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: XFree86 4.0.1 / RPM unusual error
Date: 27 Oct 2000 15:44:57 GMT
Mick <[EMAIL PROTECTED]> wrote:
>Yes RH has a so claimed version RPM-3.5.9 which is supposed to use RPM3.xx
>to install RPM v4.xx - but itself does not install on the standard RH6.2
>release.
Naughty Red Hat. :( File some loud bug reports if they haven't been
filed already, I'd say ...
--
Colin Watson [[EMAIL PROTECTED]]
Jam wants colonies. I am a jest on clowns.
------------------------------
From: Charles Andrews <[EMAIL PROTECTED]>
Subject: Install via FTP pointers needed [Red Hat]
Date: Fri, 27 Oct 2000 11:59:09 -0400
Reply-To: [EMAIL PROTECTED]
Would one or more of you please give me some pointers on how to start?
I have an old 486DX machine with a 250mb HD, 8meg Ram, and 2 3Com
nics, that I would like to set up as my internet server/firewall. It
will not run X or have any other purpose except to serve web traffic
to other machines on my network(Maskerading?). The network consists of
a bunch of windows 9x computers and a HUB.
I have installed RedHat in the past via FTP but that was awhile ago.
I'd like to do it again could someone help me with instructions on
starting. This machine has no CD-Rom.
What Disk image(s) would be needed? (FTP install)
What FTP server would be best?
(I know there are lots. Which have best throughput?)
What packages would I need?
What other factors may effect this install?
Any links to relative Docs?
Thank you all
Charles Andrews
remove "ca." to E-mail
Every man has a right to utter what he thinks truth,
and every other man has a right to knock him
down for it. Martyrdom is the test.
Samuel Johnson (1709-84)
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc
Subject: Restricted root privledges
Date: Fri, 27 Oct 2000 15:35:28 GMT
Hello,
Is it is possible to give a user restricted
root privledges to upgrade/install rpm packages only ?
Ciao,
Andreas
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Crossposted-To: comp.os.linux.networking,comp.dcom.sys.cisco,linux.redhat
Subject: Re: TFTP won't work with Linux RH 6.1
From: [EMAIL PROTECTED] (Vincent C Jones)
Date: Fri, 27 Oct 2000 09:44:24 -0400
The TFTP server used by recent Suse, Redhat & Mandrake Linux appears to
be semi-broken. The only way I have been able to use it is to turn off
TCP wrappers by deleting hosts.allow and hosts.deny in /etc. It also
refuses to create new files, even if you turn on the allow create
switch, so to tftp to your Linux box, the file must already exist in the
/tftpboot directory and be writeable by user "nobody" I used to use the
following script.
#!/bin/sh
touch /opt/tftpboot/$1
chmod 666 /opt/tftpboot/$1
sudo chown nobody.nogroup /opt/tftpboot/$1
ls -l /tftpboot/$1
If you don't like the idea of exposing your machine to the world, lobby
for fixes to in.tftpd and in the meantime check out freshmeat for utftp,
a much improved tftp daemon designed for router maintenance.
Good luck and have fun!
Vincent C Jones
In article <[EMAIL PROTECTED]>, rkanthlall <[EMAIL PROTECTED]> wrote:
>u need to creat a directory tftpboot(default) , where the cisco router looks
>for the file to up/download. these files must also be readable/writable.
>
>rajay
>"Andrea Marouk" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Has anyone ever had trouble getting Linux Redhat 6.1 to accept TFTP
>> connections from a Cisco router? What am I doing wrong? I am not such a
>pro
>> at configuring Linux but I have gone in and taken out the # next to TFTP
>in
>> the etc/rc.d/rc.local file which [I am pretty sure] is the last rc file
>that
>> gets run in the system configuration scripts. But it doesn't seem to open
>> the TFTP port. I have even done port scans to verify this. Port 21 [FTP]
>is
>> open [among others] but port 69 [TFTP] is not listed as open. Any ideas
>what
>> I am doing wrong?
>> Please reply to all if possible. Thank you.
>>
>> Luke
>>
>
>
--
Dr. Vincent C. Jones, PE Expert advice and a helping hand
Computer Network Consultant for those who want to manage and
Networking Unlimited, Inc. control their networking destiny
14 Dogwood Lane, Tenafly, NJ 07670
http://www.networkingunlimited.com
[EMAIL PROTECTED] +1 201 568-7810 Fax: +1 201 568-7269
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: setting my path?
Date: 27 Oct 2000 15:53:53 GMT
David <[EMAIL PROTECTED]> wrote:
>Hi I have been trying to set the path so that the current working directory
>is checked but so far I have had no luck. This is what I have been trying.
>
>[user@dogbert ~]$ echo $SHELL
>/bin/csh
>[user@dogbert ~]$ echo $PATH
>/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
>/usr/local/bin
>[user@dogbert ~]$ set path = ( $PATH . )
The path is (a) spelled PATH, not path, (b) an environment variable, not
a shell variable, and (c) a string, not a word list, so that won't work.
export PATH=$PATH:. (bash)
setenv PATH $PATH:. (csh)
... but be warned that this is a security risk (what happens if the
current working directory is /tmp and you mistype a command?). Just
train yourself to type ./foo for executables in your current directory.
>This seems fine so ls should work but it doesn't. Next I opened another
>terminal and tried again
>
>[user@dogbert ~]$ echo $PATH
>/home/user/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:
>/usr/local/bin
>[user@dogbert ~]$ ls
>Desktop bin nsmail week01 week02 week03 week04
>[user@dogbert ~]$
>
>but now I have lost the . ????
Unsurprisingly, because environment variable settings take effect only
for the current shell (and child processes, if you export them). Set
them in various of .profile, .bash_profile, .bashrc, .cshrc, and friends
(see the bash and csh man pages for when these various files are used)
if you want them to be persistent across shells.
>I have also tried all the above using the bash shell and the command export
>PATH=$PATH:.
>but the same thing happens.
Are you sure that fails to set the execution search path? It works here,
and should work on your system.
>I am using RedHat 7.0 with the KDE windows manager and kernel 2.2.16
I'll be scared if the window manager or the kernel is relevant here. ;)
--
Colin Watson [[EMAIL PROTECTED]]
"I still remember the way that you laughed / When you pushed me down
that elevator shaft" - "You Don't Love Me Anymore", Weird Al Yankovic
------------------------------
** 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 (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
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
******************************