Linux-Networking Digest #303, Volume #11 Thu, 27 May 99 10:14:31 EDT
Contents:
Re: Kernel - where from?? ("Ian")
Re: Linux: ICMP Redirect, IP Source Routing unterdruecken (Gert Doering)
Re: IP Masq + FTP Help ("Ian")
2 3C509B BUT ONLY 1 can be probed (Wilson Lam)
CONFIG_NET_ALIAS (Charly)
Re: ppp script won't recognize BUSY string (Wouter Liefting)
Re: Poor man's port forwarding (Chris Severn)
Re: Pinging for behind IP Masq?? (mist)
Re: Internet Setup (Wouter Liefting)
Re: RH 6.0 + Cable Modem using DHCP - I just want to die... ("Jeff Volckaert")
Re: getty (Wouter Liefting)
Re: NFS update problem (Wouter Liefting)
SSH2 question : AllowGroups (Geert Altena)
mail rerouting (Xavier Garcia)
Re: apache settings ("Derek Burnheim")
----------------------------------------------------------------------------
From: "Ian" <[EMAIL PROTECTED]>
Subject: Re: Kernel - where from??
Date: Thu, 27 May 1999 08:55:16 +1200
Try ftp://sunsite.unc.edu or one of their mirrors.
I have a cliant with a 5 PC network using a dx2/66 8M ram 420M disk as a
mail / route / print server. Seems to work fine, but it's not doing file
serving.
Ian
Adam Evans wrote in message ...
>
>Where is the best place to get the lastest Kernel for my RedHat 5.2
machine?
>
>Also, would a DX2/66 be capable of full internet routing, and samba serving
>for a small network? I expect so, it's just I thought the file sharing may
>slow it down a bit.
>
>
>
>Adam Evans
>
>--
>Webmaster and Sales Assistant
>CJE, 78 Brighton Road, Worthing,
mailto:[EMAIL PROTECTED]
>West Sussex, BN11 2EN, England
http://www.cje.co.uk/
>Tel: +44 (0)1903 523666 Fax: +44 (0)1903
523679
> * * * * Any views expressed by me are not necessarily those of CJE * * * *
>
------------------------------
Crossposted-To: de.comm.internet.routing
From: [EMAIL PROTECTED] (Gert Doering)
Subject: Re: Linux: ICMP Redirect, IP Source Routing unterdruecken
Date: Thu, 27 May 1999 10:27:21 GMT
[EMAIL PROTECTED] (Helge Oldach) writes:
>In <7ifh5i$ejq$[EMAIL PROTECTED]> Bernd Eckenfels <[EMAIL PROTECTED]> writes:
>| In comp.os.linux.networking Detlef Bosau <[EMAIL PROTECTED]> wrote:
>| > Wenn ein Design Stuss ist, und icmp redirects sind Stuss, zwar
>| > aus der Historie erklaerbar, da hat man ja alles moegliche in den
>| > DoD Salat gemengt, aber es ist und bleibt Stuss, kann man es nun
>| > langsam ja mal verabschieden.
>| Hmm... ich finde sie praktisch. Spart eine Menge Arbeit.
>Klar. Aber kein Geld: Das verdreifacht gegen�ber einer seri�sen
>Konfiguration die Anzahl der Pakete und verlangt ergo nach Fast
>Ethernet. Ohne Not, wohlgemerkt.
Sehe ich eigentlich nicht so - im Gegenteil: das erste Paket, was
an den falschen Gateway geschickt wird, generiert ein (1) zusaetzliches
Paket, und alle weiteren Pakete muessen dann nur noch einmal uebers
LAN. Das ist gar nicht so bloed.
Eine "Verdreifachung" der Pakete kann ich beim besten Willen nicht
nachrechnen - ausser fuer das allererste Paket zu einem bestimmten
Ziel.
gert
--
Yield to temptation ... it may not pass your way again! -- Lazarus Long
//www.muc.de/~gert
Gert Doering - Munich, Germany [EMAIL PROTECTED]
fax: +49-89-3243328 [EMAIL PROTECTED]
------------------------------
From: "Ian" <[EMAIL PROTECTED]>
Subject: Re: IP Masq + FTP Help
Date: Thu, 27 May 1999 08:52:59 +1200
/sbin/modprobe ip_masq_ftp
or
/sbin/insmod /fullpathtofile/ip_masq_ftp.o
Ian
Matt Goebel wrote in message <7ig21v$ne4$[EMAIL PROTECTED]>...
>Hi,
>After setting up my Linux box (Redhat 6) to use IP masq'n (via IP chains)
>all of my sevices work except FTP. I can log in but can't ls, so it
doesn't
>work. Now I've seen posts somewhere that say to use ip_masq_ftp.o . This
>is on my drive but how to I load this module? Even though the other
>services work should I also load the other modules in that folder too??
>
>
------------------------------
From: Wilson Lam <[EMAIL PROTECTED]>
Subject: 2 3C509B BUT ONLY 1 can be probed
Date: Thu, 27 May 1999 18:08:52 +0800
Hi,
I try to use 2 3C509B LAN cards in IBM P100/HP Vectra running
Redhat 5.2( Linux 3.0.36). After installation, the kernel can probe
the second card( both cards PNP disabled ).
But after rebuilding the kernel and even I pass parms while
booting or add a append a line such as:
append="ether=10,0x300,eth1 ether=11,0x320,eth0"
in /etc/lilo.conf and run lilo
and add
"alias eth1 3c509
options 3c509 io=0x300,0x320"
to /etc/conf.modules
The system issue a messages:
"Delaying eth1 initialization"
during bootup process
and the eth1 is not working.
Even I issue ifconfig line manually, the system issue error:
SIOSIFADDR: Operation not supported by device
eht1: unknown interface
SIOSIFNETMASK: Operation not supported by device
eht1: unknown interface
It seems the kernel cannot probe the card!
Can anybody help me?
Wilson Lam
------------------------------
From: Charly <[EMAIL PROTECTED]>
Subject: CONFIG_NET_ALIAS
Date: Thu, 27 May 1999 12:12:08 +0200
Hi all,
I wish to upgrade my 2.0.36 kernel to the 2.2.9 kernel.
The problem is that my machine got an IP alias (it have ifcfg-eth0
and ifcfg-eth0:0) and the 2.2.9 kernel doesn't have the
CONFIG_NET_ALIAS option in the kernel configuration. It only
have CONFIG_IP_ALIAS but it doesn't seem to be enougth.
Can someone tell me how to keep my alias even with this kernel ?
I tried to launch ifup-aliases eth0:0 but it didn't work.
Maybe a script need to be modified but wich one and how ?
Thanks
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: ppp script won't recognize BUSY string
Date: Thu, 27 May 1999 13:27:39 +0200
[EMAIL PROTECTED] wrote:
> Hi, all.
>
> Well, the title says it all...
> I dial to my school's modem pool which has way less modems
> than it should. And I always get a busy signal for the first
> or second attempt to dial in.
> The thing is my ppp script does not recognize the busy signal.
> I thought it might be a problem with something else, like my modem
> setting, but when I run minicom it terminates dialing right away
> with BUSY string.
> Here's how it looks like (well, essentially identical to ppp-howto)
>
> ...
> exec /usr/sbin/chat -v
> TIMEOUT 3 \
> ABORT '\nBUSY\r' \
> ABORT '\nNO ANSWER\r' \
> '' \rAT \
> 'OK-+++\c-OK' ATH0 \
> TIMEOUT 40 \
> OK ATDT$TELEPHONE \
> ...
>
> Other than that, the script runs nice and smooth. :-)
Try different combinations of \r and \n around the BUSY statement.
> ... and also...
> Is there any ppp util program that does auto-dialing when the line
> is busy until it goes through? I guess I could write a perl script
> or something... but I guess I shouldn't bother if someone else
> already did the same thing...
You might set something up with diald...
>
>
> Thanks for your help!
>
> Regard,
>
> DAE
> p.s. I broke my right index finger yesterday and, man... typing
> without it is just a torture!
>
> --== Sent via Deja.com http://www.deja.com/ ==--
> ---Share what you know. Learn what you don't.---
------------------------------
From: Chris Severn <[EMAIL PROTECTED]>
Subject: Re: Poor man's port forwarding
Date: 27 May 1999 19:32:44 +0800
"Dr. Yuan Liu" <[EMAIL PROTECTED]> writes:
>Chris Severn wrote:
>> Apache to serve web requests from the outside world, because it is the web
>> server too.
>>
>> I was wondering if there was an easier way, like having a daemon sitting waiting
>> for connections on port 8000, and then just establishing a connection to
>> 10.1.0.1 port 80 and pipe all the data to and from it. Is there such an
>> application around ?
>>
>> Or better yet, can squid or Apache or another application which is probably
>Definitely. Both Apache and squid can be configured for that.
Thanks, but I've tried rinetd as per another poster (Tobias) suggested.
It does exactly what I want, easily and reliably. Thanks Tobias.
I looked at the squid and Apache doco out of interest, but couldn't find
any indications of what I wanted to do. Should I look at any keywords
in particular ?
Chris.
--
Delete the 'x' to remove the spamblock.
Except spammers, for whom my email address is abuse@localhost
------------------------------
From: mist <[EMAIL PROTECTED]>
Subject: Re: Pinging for behind IP Masq??
Date: Thu, 27 May 1999 10:59:16 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>
Matt Goebel <[EMAIL PROTECTED]> scribed to us that -
>I'm using Redhat 6.0 isn't ICMP masq enabled by default?
I have no idea, but the only [1] way to be certain is to re-compile the
kernel yourself.
[1] There's probably another way to check if ICMP masq is enabled,
probably by looking at /proc or something.
--
Mist.
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: Internet Setup
Date: Thu, 27 May 1999 13:21:03 +0200
Dan Serban wrote:
> I have 3 systems all connected together through a 10mbit coax connection, 2
> are running win98 and the other, redhat 5.2. What I want to do is use a
> proxy server (wingate) on the win98 system that will allow the other win98
> machine and the linux box to access the cable modem. The cable modem is on
> connected to its own network card leaving the other network card in the same
> computer to communicate with the others. Can I make the linux box use the
> connection and use proxies to access the outside world? Has this been done,
> or does my set-up need to be reconfigured? I know this is probably a very
> lame question but I'm a newbie and I do learn quick :).
>
> Ciao
> Dan Serban
No problem. In fact, don�t do anything to Linux at all. Just configure netscape
to use the Win95 box as proxy.
- Wouter.
------------------------------
From: "Jeff Volckaert" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Re: RH 6.0 + Cable Modem using DHCP - I just want to die...
Date: Thu, 27 May 1999 08:49:04 -0400
Try the pump update for redhat 6.0. I tried it and it still didn't fix my
cable modem problem, but you might have better luck. At least you get an
IP. My ifconfig doesn't even show eth0.
Jeff Volckaert
You Wish <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> If anyone could help, you might just save my life :)
>
> Here's the problem: I just installed RH 6.0 but cannot use the Net (that's
the
> short version).
>
> Now here's the details:
>
> When I boot, the system hangs for over 4-5 minutes on sendmail and another
4-5
> minutes on httpd with the following:
>
> ...
> May 27 05:08:02 gate network: Bringing up interface eth0
> ...
> May 27 05:13:50 gate sendmail: sendmail startup succeeded
> ...
> May 27 05:16:41 gate httpd: httpd: cannot determine local host name.
> May 27 05:16:41 gate httpd: Use the ServerName directive to set it
manually.
> May 27 05:16:41 gate httpd: httpd startup failed
> ...
>
> When logged in, I can ping my host with both 127.0.0.1 and 24.x.y.z
> (my given IP) but I can only ftp to the loopback, trying to ftp to
> 24.x.y.z gives me a "Connected to server" message but then it hangs...
>
> Trying to ping any other host (using IP addresses because my DNS lookups
> hang) fails...
>
> Here's the "setup" I get once booted and logged in:
>
> IP forwarding enabled.
>
> DHCP enabled on eth0.
>
> ifconfig:
> --------------------
> eth0 Link encap:Ethernet HWaddr 00:13:2D:BC:06:2B
> inet addr:24.x.y.z Bcast:24.x.y.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MTU:1500 Metric:1
> RX packets:170 errors:1 dropped:0 overruns:0 frame:0
> TX packets:1135 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> Interrupt:17 Base address:0x6d00
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:3924 Metric:1
> RX packets:572 errors:0 dropped:0 overruns:0 frame:0
> TX packets:572 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> --------------------
>
>
> netstat -rn:
> --------------------
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt
Iface
> 24.x.y.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
> 0.0.0.0 24.x.y.1 0.0.0.0 UG 0 0 0 eth0
> --------------------
>
> route:
> --------------------
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
Iface
> 24.x.y.0 * 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
>
> *The "route" command hangs after the previous display...*
> --------------------
>
> Here's some more stuff:
>
> /etc/resolv.conf
> --------------------
> domain videotron.ca
> nameserver 127.0.0.1
> --------------------
>
> /etc/named.conf
> --------------------
> // generated by named-bootconf.pl
>
> options {
> directory "/var/named";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> };
>
> //
> // a caching only nameserver config
> //
> zone "." {
> type hint;
> file "named.ca";
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "named.local";
> };
> --------------------
>
> /etc/nsswitch.conf
> --------------------
> passwd: files nisplus nis
> shadow: files nisplus nis
> group: files nisplus nis
>
> #hosts: db files nisplus nis dns
> hosts: files dns
>
> services: nisplus [NOTFOUND=return] files
> networks: nisplus [NOTFOUND=return] files
> protocols: nisplus [NOTFOUND=return] files
> rpc: nisplus [NOTFOUND=return] files
> ethers: nisplus [NOTFOUND=return] files
> netmasks: nisplus [NOTFOUND=return] files
> bootparams: nisplus [NOTFOUND=return] files
>
> netgroup: nisplus
>
> publickey: nisplus
>
> automount: files nisplus
> aliases: files nisplus
> --------------------
>
> /etc/host.conf
> --------------------
> order hosts,bind
> multi on
> --------------------
>
> /etc/HOSTNAME
> --------------------
> myhost
> --------------------
>
> /etc/hosts
> --------------------
> 127.0.0.1 localhost
> --------------------
>
> /etc/networks
> --------------------
> --------------------
>
> /etc/hosts.deny
> --------------------
> ALL: ALL
> --------------------
>
> /etc/hosts.allow
> --------------------
> ALL: LOCAL
> --------------------
>
>
> I tried to get my Internet access to work all night long and couldn't
figure
> out what I'm doing wrong...
>
> I installed RH 5.2 a while ago on the same exact machine and it worked
right
> out of the box... Now I installed 6.0 and it doesn't work anymore...
>
> I'm running NT without problems (so its certainly not hardware).
>
> If someone could help me, I would *really* appreciate it...
>
>
> Thanks!
>
> Marc
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: getty
Date: Thu, 27 May 1999 14:05:16 +0200
David B. Held wrote:
> Hi,
>
> I've set up a little Linux Redhat 4.2 server with getty release 2.0.7h,
> as installed by the setup program. When I log into my server over a LAN
When you login over a LAN you don�t need getty at all. getty is only used for
serial logins, e.g. your virtual consoles and anything coming over a serial port.
telnetd is the program you are using to login to your system over a LAN
> using a standard Windows telnet program, it takes forever to get a login
> prompt. What's the deal? Is there something I can set to speed up
> login times? Any comments would be appreciated. Also, it would be
> helpful if you cc'ed responses to [EMAIL PROTECTED] Thanks.
telnetd does a reverse DNS lookup when someone tries to connect. If reverse DNS is
not configured, it waits for a timeout, which is sometimes several minutes. Try the
command host <ip address of win box> to verify it. It should return the fully
qualified domain name of the win95 box within a couple of seconds. Else, RTMF
DNS-HOWTO and set it up correctly.
- Wouter.
>
>
> Dave
>
> --
> David Held, Chief Programmer "As far as the laws of mathematics refer
> Business Computing Solutions to reality, they are not certain; and
> email: [EMAIL PROTECTED] as far as they are certain, they do not
> web: www.uswest.net/~dheld refer to reality." - Albert Einstein
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: NFS update problem
Date: Thu, 27 May 1999 14:07:12 +0200
A.S.Thompson wrote:
> Hello,
> I was advised to update NFS on PCs running redhat5.0 and
> accordingly loaded version 2-2beta40-1 of NFS-servers and
> servers-clients. now I find that I can't mount anything viaNFS , getting
> a message
> mount clntudp_create: RPC: Program not registered
> any help on this ?
> thanks, Stan Thompson
Looks like mountd is not running. Check out rpcinfo -p and see whether
mountd is actually registered at your portmapper.
Wouter.
------------------------------
From: [EMAIL PROTECTED] (Geert Altena)
Subject: SSH2 question : AllowGroups
Date: 27 May 1999 14:10:47 +0200
Ssh1 had a feature "Allowgroups" that I used as an extra restriction
for accessing a linux server I'm running. Now I see that the Ssh2
server doesn't have this feature. Is there a way to make Ssh2 behave
in a way that the effect is that of "Allowgroups"?
Cheers,
\Geert.
--
Geert Altena | [EMAIL PROTECTED] | Coffee, black, no sugar
Finger for PGPkey : Diffie-Hellman 2048/0xC540C550
Spookline (Hi there!) : FBI CIA NSA Scud ICBM VX Iraq DIA DEA EFF PGP
------------------------------
From: Xavier Garcia <[EMAIL PROTECTED]>
Subject: mail rerouting
Date: Thu, 27 May 1999 13:07:31 +0200
Hi
I have a mail server in my local network (pop/smtp) but not online 24/24
so what i would like is that for exemple every 2 hours it checks the
mail on my provider's mail server and download them. For sending mail
too, store the pending mail into my mail server and when it is online,
sent it to my provider's mail server.
There's no problem to set the connection up every 2hours (diald) but I
just don't know how to upload and download the mails to/from my
provider's mail server.
Thanx in advance
xg
------------------------------
From: "Derek Burnheim" <[EMAIL PROTECTED]>
Subject: Re: apache settings
Date: Thu, 27 May 1999 23:19:02 +1000
FYI, I had no problems connecting to your web server by typing
www.patrick.com
[EMAIL PROTECTED] wrote in message <7igsk5$nii$[EMAIL PROTECTED]>...
>the address of my web server is net.patrick.com
>i have made an alias www for it so that everyone can visit my site
>by typing www.patrick.com in the location box of browser
>i have tested the alias by nslookup www.patrick.com and this works.
>
>but i find that there is no response when i browse www.patrick.com....
>do i need to edit the apache config files?
>how can i solve this problem? thanks!
>
>
>--== Sent via Deja.com http://www.deja.com/ ==--
>---Share what you know. Learn what you don't.---
------------------------------
** 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.networking) 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-Networking Digest
******************************