Linux-Misc Digest #14, Volume #28 Sun, 3 Jun 01 05:13:02 EDT
Contents:
Re: preventing OS / platform info on connect ("Glitch")
lilo.conf used from where? ("Tom Edelbrok")
rpm not working? ("Tom Edelbrok")
Re: slooooooooooooooooooooowwwwwwwwwwwwwww!!!!!!!!!!! ("news1.sympatico.ca")
Re: gcc version in RH 7.0, 7.1 and Mandrake 8.0 (Timur Aydin)
Re: i386, i586, i686? (David)
Re: Help! VPN'ing through a Linux firewall? ("news1.sympatico.ca")
Re: How to get the distribution name/version (Lew Pitcher)
Re: lilo.conf used from where? (David)
Re: rpm not working? (David)
Re: lilo.conf used from where? (Brian Walton)
Re: rpm not working? (David)
Re: Apache question (J Sloan)
Re: path environment (faeychyld)
Re: Upgrading glibc (Mike Castle)
Re: Remote X sessions. ("green")
restric telnet access. ("green")
Re: i386, i586, i686? ("green")
Re: I need a really small distro for an old puter ("A.J")
Re: Waah! Can't get KDE2 working! (Ransom)
Re: Linux in college & high school (Marc Schlensog)
----------------------------------------------------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: preventing OS / platform info on connect
Date: Sun, 03 Jun 2001 01:18:30 -0400
In article <[EMAIL PROTECTED]>, "Unknown"
<[EMAIL PROTECTED]> wrote:
> Undoubtedly this is a simple switch somewhere - when I telnet or ftp in
> to my Linux box (running RH 6.xx), I get a message before the login
> prompt specifying the OS, and kernel number, and the platform the OS is
> running on.
>
> For example, on one particular box
>
> Red Hat Linux release 6.0 (Hedwig)
> Kernel 2.2.5-15 on an i686
> login:
>
>
> Any way I can turn of the information preceding the login: prompt?
>
contents are in /etc/issue for local logins and /etc/issue.net for
logins over telnet, etc. Just delete teh contents of the files.
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: lilo.conf used from where?
Date: Sun, 03 Jun 2001 05:16:17 GMT
I have Redhat 6.0 on a PII-233. It works fine.
But it has no lilo.conf anywhere. I use a floppy to boot.
So if I am upgrading the kernel and want to be able to choose the kernel
when booting then where do I edit (or create) lilo.conf?
Thanks,
Tom
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: rpm not working?
Date: Sun, 03 Jun 2001 05:29:37 GMT
When I go to install some kernel rpm's I get the following messages:
rpm -i kernel-2.2.14-5.0.i386.rpm
error: cannot open file kernel-2.2.14-5.0.i386.rpm
rpm -i kernel-2.2.14-5.0.i686.rpm
error: cannot open file kernel-2.2.14-5.0.i386.rpm
This error happens on any rpm's that I have copied from my Redhat 6.2 CD. Is
my rpm program too old to work with the new rpm's?
Thanks,
Tom
------------------------------
Reply-To: "news1.sympatico.ca" <[EMAIL PROTECTED]>
From: "news1.sympatico.ca" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: slooooooooooooooooooooowwwwwwwwwwwwwww!!!!!!!!!!!
Date: Sun, 3 Jun 2001 01:36:51 -0400
top:
the "mem" line : what's the first number? it should be the amount of memory
in your machine in kilo bytes.
I have 256mb which shows up as 261000 bytes or something.
"Liverpool_fc" <[EMAIL PROTECTED]> wrote in message
news:9f6kpo$r3e$[EMAIL PROTECTED]...
> hello,
> i got a rh6.2 box that boots and runs extremely slow at the console.
> if i telnet into the box from a win98 client, it runs ok.
>
> but netscape, control panel or any gui app launched through gnome takes
> 30 -60 minutes to start. on boot half way through it stops and freezes at
> startting sendmail. well it appears to freeze. but if a few hours go by it
> will eventually come up. i am able to ping it while it boots.
>
> i tried "top". this does not tell me much.
> thank you for any input.
>
>
>
>
------------------------------
From: Timur Aydin <[EMAIL PROTECTED]>
Subject: Re: gcc version in RH 7.0, 7.1 and Mandrake 8.0
Date: Sun, 3 Jun 2001 01:44:11 -0400
Reply-To: [EMAIL PROTECTED]
Dave Uhring wrote:
>
> Install the compat.XXXX rpms and get kgcc. mv /usr/bin/gcc
> /usr/bin/gcc-2.96, ln -s /usr/bin/kgcc /usr/bin/gcc.
>
> Don't try to replace gcc-2.96 with gcc-2.95.3, you'll regret it.
>
>
The compat.xxx in the RedHat CD's is the egcs 1.1.2 version of the
compiler, which is fairly old (at least for C++ development).
So either I have to use a fairly old version of gcc, or a development
snapshot. What was RedHat and Mandrake thinking ?
Timur.
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: i386, i586, i686?
Date: Sun, 03 Jun 2001 05:41:37 GMT
Tom Edelbrok wrote:
>
> I have a Pentium II-233 running Redhat 6.0 with kernel 2.2.5-15.
>
> I am upgrading the kernel to 2.2.14-5.0. Should I use the i386, i586, or
> i686 rpm?
>
> Thanks,
> Tom
check to see what it is using.
uname -m
--
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.229% of seti users. +/- 0.01%
------------------------------
Reply-To: "news1.sympatico.ca" <[EMAIL PROTECTED]>
From: "news1.sympatico.ca" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: Help! VPN'ing through a Linux firewall?
Date: Sun, 3 Jun 2001 01:42:37 -0400
the microsoft brand of vpn works with a "contol" connection on port 1723 to
the vpn sever.
the server then replies with vpn data packets, which are marked with the
protocol number 47 ( GRE ).
on your firewall, try tcpdump -i <extern iface> src host <ip of the vpn
server>
and see if you see the sever replying to you from port 1723.
also see if any protocol 47 packets are hitting your firewall ( check the
logs , at the very least.
If you find them hitting the firewall, then you will have to download the
kernel source, and patch it for handling vpn.
I tried this yesterday, and found that no gre packets were reaching my
firewall. I heard that these packets are used by routers to update their
routing tables...
good luck.
joseph
"Reuben King" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> The whole IPChains thing mystifies me.. managed to get it working on a
> basic level by using the HOWTO's.. Now I'm trying to VPN in to work and
> my VPN client refuses to connect to the server. I can ping the server
> fine. Others use it without problem.
>
> My network is set up using IP masquerading through a cable modem. I
> don't have any problems with any other IP services but from what I
> understand VPN and IPsec are a bit tricker than your standard TCP
> service.
>
> Any advice and help would be most appreciated!
>
> Thanks,
> -Reuben
------------------------------
From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: How to get the distribution name/version
Date: Sun, 03 Jun 2001 05:45:06 GMT
Stanislaw Flatto wrote:
>
> Slackware installs in /etc a file named Slackware.version where this
> information is stored. Don't know what other distros do.
Not in Slackware 3.0 or 3.3. However my Slackware 7.0 installations all
have it, so somewhere around Slackware 4.0, this feature was added to
the distro.
> Stanislaw.
> Slack user from Ulladulla.
>
> joshua wrote:
>
> > Hi all,
> > I want to get the name/version of linux dist like
> > Red Hat 7.1; Red Hat 6.2 ,,,,,
> > Is there a command for this?
> > Where is the information stored?
> >
> > Just like we use 'uname -a' or -s or -n for other info,
> > I would like to get 'Dist name/ver'.
> >
> > Thanks in advance
> >
> > Joshua
--
Lew Pitcher
Master Codewright and JOAT-in-training
Registered Linux User #112576
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: lilo.conf used from where?
Date: Sun, 03 Jun 2001 05:47:38 GMT
Tom Edelbrok wrote:
>
> I have Redhat 6.0 on a PII-233. It works fine.
>
> But it has no lilo.conf anywhere. I use a floppy to boot.
>
> So if I am upgrading the kernel and want to be able to choose the kernel
> when booting then where do I edit (or create) lilo.conf?
>
> Thanks,
> Tom
Create it in /etc/lilo.conf and it might look something like this if you
have a Dual boot system.
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
image=/boot/vmlinuz-2.2.19 # use correct kernel version
label=linux
initrd=/boot/initrd-x.x.xx.img # use correct kernel version
read-only
root=/dev/hda5
other=/dev/hda1
label=dos
If it is a Linux only system then you don't need the last 2 lines. Also
the "initrd=" line may not ne required depending on how you have your
system setup.
Hope this helps.
--
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.229% of seti users. +/- 0.01%
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: rpm not working?
Date: Sun, 03 Jun 2001 05:49:37 GMT
Tom Edelbrok wrote:
>
> When I go to install some kernel rpm's I get the following messages:
>
> rpm -i kernel-2.2.14-5.0.i386.rpm
> error: cannot open file kernel-2.2.14-5.0.i386.rpm
>
> rpm -i kernel-2.2.14-5.0.i686.rpm
> error: cannot open file kernel-2.2.14-5.0.i386.rpm
>
> This error happens on any rpm's that I have copied from my Redhat 6.2 CD. Is
> my rpm program too old to work with the new rpm's?
>
> Thanks,
> Tom
I would go to redhat FTP site and get the 2.2.19 kernel which has some
security bug fixes in it.
--
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.229% of seti users. +/- 0.01%
------------------------------
From: Brian Walton <[EMAIL PROTECTED]>
Subject: Re: lilo.conf used from where?
Date: Sun, 03 Jun 2001 02:02:14 -0400
The file is located in /etc directory (/etc/lilo.conf)
Brian
Tom Edelbrok wrote:
>
> I have Redhat 6.0 on a PII-233. It works fine.
>
> But it has no lilo.conf anywhere. I use a floppy to boot.
>
> So if I am upgrading the kernel and want to be able to choose the kernel
> when booting then where do I edit (or create) lilo.conf?
>
> Thanks,
> Tom
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: rpm not working?
Date: Sun, 03 Jun 2001 06:05:50 GMT
David wrote:
>
> Tom Edelbrok wrote:
> >
> > When I go to install some kernel rpm's I get the following messages:
> >
> > rpm -i kernel-2.2.14-5.0.i386.rpm
> > error: cannot open file kernel-2.2.14-5.0.i386.rpm
> >
> > rpm -i kernel-2.2.14-5.0.i686.rpm
> > error: cannot open file kernel-2.2.14-5.0.i386.rpm
> >
> > This error happens on any rpm's that I have copied from my Redhat 6.2 CD. Is
> > my rpm program too old to work with the new rpm's?
> >
> > Thanks,
> > Tom
>
> I would go to redhat FTP site and get the 2.2.19 kernel which has some
> security bug fixes in it.
BTW there is a new version of rpm available too.
--
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.229% of seti users. +/- 0.01%
------------------------------
From: J Sloan <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,redhat.config,redhat.networking.general,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Apache question
Date: Sun, 03 Jun 2001 06:33:41 GMT
Lamar Thomas wrote:
> I am running RH 7.1 and I have FTP and Apache web servers working.
> However, after rebooting my Linux box no one can connect to my Apache
> web server until I issue the following command: # "service httpd
> restart".
In my experience with Linux, reboots are for hardware
upgrades, so we're talking about a once in a blue
moon thing here to start with -
> Anyone know how I can make Apache auto start after a reboot? Thanks for
> any and all help.
Any of the elementary Linux runlevel editors will do.
ntsysv, tksysv, or even the command-line
utility, "chkconfig", e.g. "chkconfig --list httpd"
cu
jjs
------------------------------
Date: Sun, 03 Jun 2001 16:43:46 +1000
From: faeychyld <[EMAIL PROTECTED]>
Subject: Re: path environment
Chiefy wrote:
>
> 02 Jun 2001 04:09 UTC, faeychyld did say to the dudes:
> > Where is the complete path environment
> > kept in RH.
> >
> > What you get with "echo $PATH" is more
> > than is found in /etc/profile.
>
> Check you home directory.
>
> On this Debian box, ~/.bash_profile has extra PATH definitions.
>
> --
> Chiefy. <[EMAIL PROTECTED]>
>
> You have no mail because:
> Mail server hit by UniSpammer
Not on redhat, ~/bash_profile contains
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""
and that is as close as it comes to a path statement
The actual path statement from "echo $PATH" looks like
/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/home/nykysle/bin
notice there is no "/sbin" and there used to be.
--
-
-
-
Regards F
------------------------------
From: [EMAIL PROTECTED] (Mike Castle)
Subject: Re: Upgrading glibc
Date: Sun, 3 Jun 2001 00:05:48 -0700
In article <[EMAIL PROTECTED]>,
Juergen Heinzl <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, Mike Castle wrote:
>>Existing applications will work.
>[-]
>Most ... Sun's JDK seems to have problems with glibc-2.2.3. Using
>IBM's version here ... no problems.
Yeah. I should have written "will probably work." I still have problems
with netscape locking up in Java. Never bothered to track down what libs
it was built with and do all the funny stuff necessary to get that going.
I don't use it that much.
>>If a library was built against glibc X and you upgrade to glibc >X, then
>>you should recompile all of your libraries. They may or may not work
>>properly.
>[-]
>Hmmm ... usually they do since glibc has been having versioning support
>for quite some time. Quite some of my shared libraries are > 2 years
>old and I'm using glibc-2.2.3 at the moment.
It may be better now. But I remember having hellish troubles with
switching from 2.0 to 2.1. The biggest issue is that 3rd party libraries
would use undocumented APIs that were exposed. Then later versions of
glibc would tighten up, and break libraries. Since then, I always
recompile everything.
Actually, I thought I remembered reading where the glibc folx recommend
rebuilding any libraries that you will link against, but I can't find the
message in the glibc-bug list archives. And it's at least alluded to in
the FAQ (at least when going from 2.0 to 2.1).
Personally, I have my system set up to recompile all dependent parts
whenever I upgrade a particular thing (upgrade in kernel rebuilds libc
which rebuilds everything else, upgrade in libc rebuilds everything,
upgrade in ncurses rebuilds everything that uses it, and so on).
mrc
--
Mike Castle [EMAIL PROTECTED] www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
------------------------------
From: "green" <[EMAIL PROTECTED]>
Subject: Re: Remote X sessions.
Date: Sun, 3 Jun 2001 18:03:10 +1000
"Joel" <[EMAIL PROTECTED]> wrote in message
news:9fca81$16jm$[EMAIL PROTECTED]...
> Thanks, I'll try that, but is there a way to (at boot) start that X
server,
> instead of running it locally? X starts automaticaly when I boot, can it
> start the remote session instead? Thanks for your info.
>
perhaps on the remote computer change the boot script to auto run X -query
xxx.xxx.xxx.xxx
eg add
x3:345:respawn:/usr/X11R6/bin/X -query x.x.x.x
to /etc/inittab
or have a user login shell equal X -query xxx.xxx.xxx.xxx
so when you login it will load that.
------------------------------
From: "green" <[EMAIL PROTECTED]>
Subject: restric telnet access.
Date: Sun, 3 Jun 2001 18:05:05 +1000
I'm about to go live with a linux computer but I need to stop root logins
and users accessing su through Telnet any suggestions?
------------------------------
From: "green" <[EMAIL PROTECTED]>
Subject: Re: i386, i586, i686?
Date: Sun, 3 Jun 2001 18:06:10 +1000
"Tom Edelbrok" <[EMAIL PROTECTED]> wrote in message
news:zrjS6.26344$[EMAIL PROTECTED]...
> I have a Pentium II-233 running Redhat 6.0 with kernel 2.2.5-15.
>
> I am upgrading the kernel to 2.2.14-5.0. Should I use the i386, i586, or
> i686 rpm?
>
> Thanks,
> Tom
mine uses 586. but if you want to play it safe go 386.
------------------------------
From: "A.J" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,aus.computers.linux
Subject: Re: I need a really small distro for an old puter
Date: Sun, 3 Jun 2001 16:40:34 +1000
You might have a look at peanut Linux too
and tims tiny linux
You'll find them all at www.sourceforge.org
or www.freshmeat.net
--
Alienjones...
Writer of the last FAQ !
=======
"Missy" <[EMAIL PROTECTED]> wrote in message
news:QMgS6.13626$[EMAIL PROTECTED]...
> I have a PS/2 56 or 57 made in 1992 with OS/2 currently on it. I know
> nothing about OS/2, nor really want it. I got this puter to put Linux on
and
> tinker with it without destroying my parents puter. lol Does anyone have
> suggestions of what distro to put on it? It has a 216MB hard drive and 8MB
> of RAM, a floppy drive, and a 'cd-rom reader with a caddy' that I've yet
to
> install. Thanks!
>
> Missy
>
>
------------------------------
From: Ransom <[EMAIL PROTECTED]>
Subject: Re: Waah! Can't get KDE2 working!
Date: Sun, 3 Jun 2001 10:39:28 +0200
On Saturday 02 June 2001 21:30 Raviprasad wrote:
> help!
> i installed Kde2.0 on my RedHat 7.0 but everytime i try to start kde
> it dies with the following error;
> xsetroot: unable to open display''
> xset: unable to open dispaly''' '
> ksplash: cannot connect to X server
> Error: Kunique application : can't determine Display. Aborting.
> ksmserver: Cannot connect to X server
>
[-]
How do you start kde? The usual way would be to create .xinitrc in your
home dir containing a line like 'exec $KDEDIR/bin/startkde'. $KDEDIR
must be set to the root of your kde installation, e.g /opt/kde or
/usr/local/. Make sure that you set $QTDIR as well. Now run 'startx'
and you should be ok.
HTH,
Ransom
------------------------------
From: Marc Schlensog <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux in college & high school
Date: Sun, 03 Jun 2001 10:43:15 +0200
"Aaron R. Kulkis" wrote:
>
> somebody wrote:
> >
> > Craig Kelley <[EMAIL PROTECTED]> stands accused of saying:
> >
> > >Well, MacOS X is simply Apple's version of Linux.
Craig, that was a dumb one. MacOS X isn't even remotely linked to
Linux.
Yes, true may be the fact that it's UN*X-based, but that'd be some
*BSD-flavor
and not Linux. Furthermore, I don't think, that Aqua is X-based, is it?
> >
> > is freebsd simply freebsd's version of Linux?
>
> No. FreeBSD is based on the Berkely version (BSD) of Unix.
X-actly! Maybe one should get off the trip to think that UNIX==Linux.
>
> --
> Aaron R. Kulkis
> Unix Systems Engineer
> DNRC Minister of all I survey
> ICQ # 3056642
>
===============8<======[.signature=snippery]=============>8===============
Greetz, Marc
--
They're only trying to make me LOOK paranoid!
------------------------------
** 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
******************************