Linux-Networking Digest #65, Volume #10 Sun, 31 Jan 99 07:13:48 EST
Contents:
Re: Cable modems, Dual NICs, and Newbies (Brian Watson)
dhcp install problem (wlo)
Streaming audio over IP. (Man Wei Tam)
The 3com Etherlink ("Jim Ray")
Re: The 3com Etherlink (Sonnik)
Re: Windows NT Proxy and Linux Configuration ("wade")
Re: problem with ppp not connecting (William Parr)
Re: Windows NT Proxy and Linux Configuration (Louis Davidson)
Re: How to build a router ??? (Leon Garde)
Q: Since 2.2.x "<ip-addr> sent an invalid ICMP error to a broadcast" (Ralf G. R.
Bergs)
----------------------------------------------------------------------------
Date: Sun, 31 Jan 1999 01:32:48 -0600
From: Brian Watson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Cable modems, Dual NICs, and Newbies
==============50231BB75652BA225468CD10
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sorry! Remove rrdhcpcd to rrlogind for the first set. I moved these so
that when I rebooted the server I could still telnet to it before it
tried to access the roadrunner network.
Brian Watson wrote:
> I just did exactly the same thing. The changes I made are as follows:
>
> lilo.conf:
> append="ether=0,0,eth0 ether=0,0,eth1 ether=0,0,eth2" as the first
> line.
>
> rc.inet1 contains the following:
>
> GATEWAY="" # REPLACE with YOUR gateway address! (---- this is the
> existing line)
>
> # Uncomment the line below to configure your ethernet card.
> echo Starting rrdhcpcd....
> /usr/sbin/rrdhcpcd
> echo Logging in to RoadRunner network....
> /usr/sbin/rrlogind -u biscuit /etc/rrpasswd logon-server
>
> echo Configuring interfaces...
> /sbin/ifconfig eth1 10.0.1.1 broadcast 10.0.1.255 netmask
> 255.255.255.0
> /sbin/ifconfig eth2 10.0.2.1 broadcast 10.0.2.255 netmask
> 255.255.255.0
> echo Adding routing table entries
> /sbin/route add -net 10.0.1.0 netmask 255.255.255.0 eth1
> /sbin/route add -net 10.0.2.0 netmask 255.255.255.0 eth2
> echo Starting rrdhcpcd...
> /usr/sbin/rrdhcpcd
> echo Logging in to the RoadRunner network...
> /usr/sbin/rrlogind -u <username> /etc/rrpasswd logon-server
> echo Configuring IP Forwarding
> /sbin/ipfwadm -F -p deny
> /sbin/ipfwadm -F -a m -b -S 10.0.1.0/24 -D 0.0.0.0/0
> /sbin/ipfwadm -F -a m -b -S 10.0.2.0/24 -D 0.0.0.0/0
>
> That was it. I have two internal networks set up for 2 net cards going
> off to seperate machines (I got the cards for free so it's cheaper
> than buying a router). My machine is configured as 10.0.1.2 and
> another machine is 10.0.2.2, each of them should have their gateways
> set to 10.0.1.1 and 10.0.2.1 respectively.
>
> Hope this helps.
> Michael Benedict wrote:
>
>>
>>
>> >
>> > 1) How to configure dual NICs.
>>
>> I don't know of anything per say, but that shouldn't be too hard, I
>> don't think (just make sure your route table looks good)
>>
>> >
>> > 2) How to use IP masquerading with this configuration.
>>
>> http://www.howto.linuxberg.org! I know there is a decent ip
>> masqurading how-to.
>>
>> -Michael Benedict
>> [EMAIL PROTECTED]
>
> --
> ---------------------------------
> ICQ UIN #804161
> Web Page http://home.austin.rr.com/biscuitshouse
> ---------------------------------
>
--
=================================
ICQ UIN #804161
Web Page http://home.austin.rr.com/biscuitshouse
=================================
==============50231BB75652BA225468CD10
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Sorry! Remove rrdhcpcd to rrlogind for the first set. I moved these so
that when I rebooted the server I could still telnet to it before it tried
to access the roadrunner network.
<p>Brian Watson wrote:
<blockquote TYPE=CITE>I just did exactly the same thing. The changes I
made are as follows:
<p>lilo.conf:
<br>append="ether=0,0,eth0 ether=0,0,eth1 ether=0,0,eth2" as the first
line.
<p>rc.inet1 contains the following:
<p>GATEWAY="" # REPLACE with YOUR gateway
address! (---- this is the existing line)
<p># Uncomment the line below to configure your ethernet card.
<br>echo Starting rrdhcpcd....
<br>/usr/sbin/rrdhcpcd
<br>echo Logging in to RoadRunner network....
<br>/usr/sbin/rrlogind -u biscuit /etc/rrpasswd logon-server
<p>echo Configuring interfaces...
<br>/sbin/ifconfig eth1 10.0.1.1 broadcast 10.0.1.255 netmask 255.255.255.0
<br>/sbin/ifconfig eth2 10.0.2.1 broadcast 10.0.2.255 netmask 255.255.255.0
<br>echo Adding routing table entries
<br>/sbin/route add -net 10.0.1.0 netmask 255.255.255.0 eth1
<br>/sbin/route add -net 10.0.2.0 netmask 255.255.255.0 eth2
<br>echo Starting rrdhcpcd...
<br>/usr/sbin/rrdhcpcd
<br>echo Logging in to the RoadRunner network...
<br>/usr/sbin/rrlogind -u <username> /etc/rrpasswd logon-server
<br>echo Configuring IP Forwarding
<br>/sbin/ipfwadm -F -p deny
<br>/sbin/ipfwadm -F -a m -b -S 10.0.1.0/24 -D 0.0.0.0/0
<br>/sbin/ipfwadm -F -a m -b -S 10.0.2.0/24 -D 0.0.0.0/0
<p>That was it. I have two internal networks set up for 2 net cards going
off to seperate machines (I got the cards for free so it's cheaper than
buying a router). My machine is configured as 10.0.1.2 and another machine
is 10.0.2.2, each of them should have their gateways set to 10.0.1.1 and
10.0.2.1 respectively.
<p>Hope this helps.
<br>Michael Benedict wrote:
<blockquote TYPE=CITE>
<blockquote TYPE=CITE>
<br>1) How to configure dual NICs.</blockquote>
I don't know of anything per say, but that shouldn't be too hard, I don't
think (just make sure your route table looks good)
<blockquote TYPE=CITE>
<br>2) How to use IP masquerading with this configuration.</blockquote>
<a href="http://www.howto.linuxberg.org">http://www.howto.linuxberg.org</a>!
I <i>know</i> there is a decent ip masqurading how-to.
<p> -Michael Benedict
<br> [EMAIL PROTECTED]</blockquote>
--
<br>---------------------------------
<br>ICQ UIN #804161
<br>Web Page <a
href="http://home.austin.rr.com/biscuitshouse">http://home.austin.rr.com/biscuitshouse</a>
<br>---------------------------------
<br> </blockquote>
<p>--
<br>---------------------------------
<br>ICQ UIN #804161
<br>Web Page <A
HREF="http://home.austin.rr.com/biscuitshouse">http://home.austin.rr.com/biscuitshouse</A>
<br>---------------------------------
<br> </html>
==============50231BB75652BA225468CD10==
------------------------------
Subject: dhcp install problem
From: [EMAIL PROTECTED] (wlo)
Date: Sat, 30 Jan 1999 05:12:05 GMT
Hi all, I am having problem installing the dhcp-0.70 into my RH 5.2 box. I
just reinstalled the OS from scratch and retry and it still have the same
problem. There isn't any thing from the DHCP how to to deal with the
installation. I need dhcp to work with the cable modem from @home. Please
help.. Thanks in advance....
The following is the error message :
[root@localhost dhcpcd-0.70]# make
cc -g -Wall -c if.c -o if.o
In file included from /usr/include/linux/if.h:23,
from /usr/include/linux/netdevice.h:30,
from if.c:27:
/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:222: warning: this is the location of the previous
definition
[ whole whack of socket.h redefines snipped -brian ]
In file included from if.c:28:
/usr/include/net/if.h:31: warning: `IFF_UP' redefined
/usr/include/linux/if.h:26: warning: this is the location of the previous
definition
[ whole whack of if.h redefines snipped -brian ]
In file included from /usr/include/linux/if.h:23,
from /usr/include/linux/netdevice.h:30,
from if.c:27:
/usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
/usr/include/linux/socket.h:14: redefinition of `struct linger'
/usr/include/linux/socket.h:26: redefinition of `struct msghdr'
In file included from if.c:28:
/usr/include/net/if.h:30: parse error before `0x1'
/usr/include/net/if.h:73: redefinition of `struct ifaddr'
/usr/include/net/if.h:96: redefinition of `struct ifmap'
/usr/include/net/if.h:111: redefinition of `struct ifreq'
/usr/include/net/if.h:155: redefinition of `struct ifconf'
if.c: In function `ifReset':
if.c:54: `IFF_UP' undeclared (first use this function)
if.c:54: (Each undeclared identifier is reported only once
if.c:54: for each function it appears in.)
if.c:54: `IFF_BROADCAST' undeclared (first use this function)
if.c:54: `IFF_NOTRAILERS' undeclared (first use this function)
if.c:54: `IFF_RUNNING' undeclared (first use this function)
if.c: In function `ifDown':
if.c:132: `IFF_UP' undeclared (first use this function)
make: *** [if.o] Error 1
------------------------------
From: [EMAIL PROTECTED] (Man Wei Tam)
Subject: Streaming audio over IP.
Date: Sun, 31 Jan 1999 01:36:09 -0600
Hi,
I remember many months ago there was a freely available realaudio encoder
and streamer that worked for Linux. Now I can't find it again so I want
to try and find another solution -- is there an alternative I can use?
I'm looking for something that could stream mp3s from a Linux server.
that would work with a Windows 98/NT client.
Is there such a thing available?
MWT
------------------------------
From: "Jim Ray" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help
Subject: The 3com Etherlink
Date: Sun, 31 Jan 1999 02:51:59 -0500
Are the drivers for the Etherlink III (3c900B-TPO) compiled in the kernel
that is included with Redhat 5.1? Yes, I'm very much a newbie, but I went
out and bought this ethernet card and now it doesn't seem to want to work.
Thanks!
Jim
to reply via e-mail remove ".nospam"
------------------------------
From: Sonnik <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help
Subject: Re: The 3com Etherlink
Date: Sun, 31 Jan 1999 02:50:37 -0700
Had the same problem...
According to a mini-faq I found @ linux.org, Linux probably doesn't like the
plug-and-play features of your card. Get the setup program, if you don't have
it already, and disable the plug-and-play. Linux should be able to recognize
the device. However, Windows may need to install ISA drivers for your card
after you boot into Windows the first time after that. After this, Windows
and Linux should be able to use the Ethernet card in harmony.
Jim Ray wrote:
> Are the drivers for the Etherlink III (3c900B-TPO) compiled in the kernel
> that is included with Redhat 5.1? Yes, I'm very much a newbie, but I went
> out and bought this ethernet card and now it doesn't seem to want to work.
> Thanks!
>
> Jim
> to reply via e-mail remove ".nospam"
------------------------------
From: "wade" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: Windows NT Proxy and Linux Configuration
Date: Sat, 30 Jan 1999 00:29:04 -0800
Hello,
When configuring the network portion of Linux make sure that you make the
proxy server you default gateway and the set the browser to point at the
proxy on the linux box..i have had this working for a year with proxy 2.0
from microsoft running on Nt 4.0
Stephen Allen wrote in message ...
>I've recently added a Linux (Redhat 5.1) system to my network which is
using
>a Windows NT 4.0 server running Proxy Server for connection to the internet
>via a cable modem.
>
>After searching the MAN pages and all the HOW-TO's I can find, I still
can't
>get the Linux box to access the internet at all. (All the HOW-TO's address
>using Linux as the Proxy Server)
>
>Any suggestions?
>
>Thanks,
>Stephen Allen
>
>mailto:[EMAIL PROTECTED]
>
>
>
------------------------------
Date: Sun, 31 Jan 1999 08:59:35 +0000
From: William Parr <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: problem with ppp not connecting
I've changed my script as you have suggested...
#!/bin/sh
pppd debug crtscts asyncmap 0 lcp-max-configure 15 /dev/cua0 connect \
'chat -v ABORT "NO DIALTONE" \
ABORT BUSY ABORT "NO CARRIER" ABORT \
"PROTOCOL: NONE" "" ATZ OK atdt0570889001 "CONNECT" \\c'
the /var/log/messages file shows the following
Jan 30 22:35:16 localhost pppd[365]: pppd 2.3.3 started by root, uid 0
Jan 30 22:35:17 localhost chat[366]: abort on (NO DIALTONE)
Jan 30 22:35:17 localhost chat[366]: abort on (BUSY)
Jan 30 22:35:17 localhost chat[366]: abort on (NO CARRIER)
Jan 30 22:35:17 localhost chat[366]: abort on (PROTOCOL: NONE)
Jan 30 22:35:17 localhost chat[366]: send (ATZ^M)
Jan 30 22:35:17 localhost chat[366]: expect (OK)
Jan 30 22:35:17 localhost chat[366]: ATZ^M^M
Jan 30 22:35:17 localhost chat[366]: OK
Jan 30 22:35:17 localhost chat[366]: -- got it
Jan 30 22:35:17 localhost chat[366]: send (atdt0570889001^M)
Jan 30 22:35:17 localhost chat[366]: expect (CONNECT)
Jan 30 22:35:17 localhost chat[366]: ^M
Jan 30 22:35:36 localhost chat[366]: atdt0570889001^M^M
Jan 30 22:35:36 localhost pppd[365]: Serial connection established.
Jan 30 22:35:36 localhost chat[366]: CONNECT
Jan 30 22:35:36 localhost chat[366]: -- got it
Jan 30 22:35:36 localhost chat[366]: send ()
Jan 30 22:35:37 localhost pppd[365]: Using interface ppp0
Jan 30 22:35:37 localhost pppd[365]: Connect: ppp0 <--> /dev/cua0
Jan 30 22:35:43 localhost pppd[365]: Hangup (SIGHUP)
Jan 30 22:35:43 localhost pppd[365]: Modem hangup
Jan 30 22:35:43 localhost pppd[365]: Connection terminated.
Jan 30 22:35:44 localhost pppd[365]: Exit.
the /var/log/debug file shows the following
Jan 30 22:27:59 localhost pppd[347]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xfbfe> <pcomp> <accomp>]
Jan 30 22:28:05 localhost last message repeated 2 times
Jan 30 22:35:37 localhost pppd[365]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffffa342> <pcomp> <accomp>]
Jan 30 22:35:43 localhost last message repeated 2 times
if I connect with minicom and then execute (from the command line) pppd then the
following appears in the /var/log/messages file
Jan 30 22:45:21 localhost pppd[389]: pppd 2.3.3 started by root, uid 0
Jan 30 22:45:21 localhost pppd[389]: Using interface ppp0
Jan 30 22:45:21 localhost pppd[389]: Connect: ppp0 <--> /dev/cua0
Jan 30 22:45:51 localhost pppd[389]: LCP: timeout sending Config-Requests
Jan 30 22:45:51 localhost pppd[389]: Connection terminated.
Jan 30 22:45:51 localhost pppd[389]: Hangup (SIGHUP)
Jan 30 22:45:51 localhost pppd[389]: Exit.
and in the debug file
Jan 30 22:45:21 localhost pppd[389]: sent [LCP ConfReq id=0x1 <magic 0xffff2201>
<pcomp> <accomp>]
Jan 30 22:45:48 localhost last message repeated 9 times
Jan 30 22:49:32 localhost pppd[397]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x7fbd> <pcomp> <accomp>]
Jan 30 22:49:59 localhost last message repeated 9 times
either way the pppd routine exits after about 5 secs.
It is really frustrating!!
William Parr
Clifford Kite wrote:
> William Parr ([EMAIL PROTECTED]) wrote:
>
> : I've tried putting the statement in the syslog.conf file
>
> : This is the output written to the /var/log/debug file
>
> : first if I enclose the name in quotes (ie. name "Internet.****.****")
> : in the options file
>
> : Jan 29 22:47:52 localhost pppd[307]: sent [LCP ConfReq id=0x1 <magic 0x7abd>
> : <pcomp> <accomp>]
> : Jan 29 22:47:58 localhost last message repeated 2 times
>
> : and second if I omit the quotes (ie. name Internet.****.****)
>
> : Jan 29 22:52:10 localhost pppd[321]: sent [LCP ConfReq id=0x1 <magic
> : 0xffff9202> <pcomp> <accomp>]
> : Jan 29 22:52:16 localhost last message repeated 2 times
>
> The ppp negotiations have not progressed to the authentication stage so
> this message is the same for both forms of the username.
>
> When the initial LCP negotiation fails in this way there are usually
> 10 messages unless pppd has been reconfigured for a different number.
> Your's is not reconfigured according to the options file you posted.
> If there are only three messages, then I would extend the timeout in the
> chat script despite the two second margin that seems to exist between
> the chat execution and the time pppd becomes active.
>
> Here is a chat script I use to connect, an example is worth many words.
>
> connect '/usr/sbin/chat -v ABORT "NO DIALTONE" ABORT BUSY ABORT
> "NO CARRIER" ABORT "PROTOCOL: NONE" "" ATZ OK ATDTxxx-xxxx
> CONNECT \\c'
>
> This is all on ONE line although you can use `\' to escape end-of-lines
> so that it is more readable. Pppd is executed in a shell script and
> invokes chat in the manner that you show. It uses the chat default
> timeout of 45 seconds - 20 seconds is not adequate for some ISPs.
>
> ATZ sets the modem to a user profile, ATF or ATF1 may be OK in most cases.
> The meaning of other things in the script can be found in "man 8 chat",
> the double escapes are necessary to keep bash from interpreting a single
> `\` and preventing it's interpretation by chat.
>
> You should add the pppd options "debug" and "crtscts" - and "asyncmap 0",
> although there is a small chance that this one may need to be changed.
>
> ---
> Clifford Kite <[EMAIL PROTECTED]> Not a guru. (tm)
> /* The wealth of a nation is created by the productive labor of its
> * citizens. */
------------------------------
From: Louis Davidson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: Windows NT Proxy and Linux Configuration
Date: Sat, 30 Jan 1999 05:41:18 GMT
Stephen Allen wrote:
> I've recently added a Linux (Redhat 5.1) system to my network which is using
> a Windows NT 4.0 server running Proxy Server for connection to the internet
> via a cable modem.
>
> After searching the MAN pages and all the HOW-TO's I can find, I still can't
> get the Linux box to access the internet at all. (All the HOW-TO's address
> using Linux as the Proxy Server)
>
> Any suggestions?
>
> Thanks,
> Stephen Allen
>
> mailto:[EMAIL PROTECTED]
Hello Stephen,
I am assuming you are using Netscape, if the assumption is correct , using
edit, preferences, advanced, set up your proxy settings using the IP address
instead of the proxy server name then set the port to 80. Possibly the DNS
is not set up correctly and is not recognizing the server name.
Of course ping the NT server with the proxy server from the linux box, you
must get a response. It should work with either MS Proxy, or Wingate proxy,
whichever one you are using.
Let me know if this solves your problem,
Thanks,
Louis.
------------------------------
From: [EMAIL PROTECTED] (Leon Garde)
Subject: Re: How to build a router ???
Date: 31 Jan 1999 19:28:49 -0800
Michael D. Schleif ([EMAIL PROTECTED]) wrote:
: I want to build a router. It is to sit between my MediaOne cable modem
: and my home network.
: It seems that this should be a simple implementation of Linux, since I
: already know how to implement routing on my existing boxes.
well there is a thing called
"the linux router project" which does this job.
(LRP for short)
: However, I want a dedicated box, I want it to be secure and I want that
: box to do *nothing* except this one (1) routing job. I am looking for
: suggestions. Some of the issues I need to examine are:
: [a] How *little* Linux need I install and configure to meet these and
: *only* these requirements?
the LRP does this job, running from one 1.44meg floppy.
: [b] What are the minimum hardware requirements to implement this
: *without* sacrificing performance?
about a 486dx2-66 with a few meg of ram
two network cards.
most motherboards will let u boot without keyboard and monitor
once you set the bios option "halt on : none" or some such.
but u have to have a video card.
it is possible to use a serial calbe connected to your home computer
to admin the LRP ...
(windows 95 /98 has "hyperterminal" which could be used to do the
terminal program job at the other box)
ie console on serial port
(rather then vga card and keyboard )
: [c] Where can I find references to this subject? Howto's? Websites?
: Books?
: [d] Caveats. What are the caveats.
none. we use it here.
its slightly complex but its almost set up ready to go for u.
: What do you think?
: If there is *no* existing Howto, I will be glad to document my success
: ;)
: --
: Best Regards,
: mds
: mds resource
: 888.250.3987
: "Dare to fix things before they break . . . "
: "Our capacity for understanding is inversely proportional to how much we
: think we know. The more I know, the more I know I don't know . . . "
------------------------------
From: [EMAIL PROTECTED] (Ralf G. R. Bergs)
Subject: Q: Since 2.2.x "<ip-addr> sent an invalid ICMP error to a broadcast"
Date: Sun, 31 Jan 1999 10:52:56 GMT
Reply-To: [EMAIL PROTECTED]
Hi there,
since I upgraded our server I noticed the following error/warning
message in the syslog:
kernel: <ip-addr> sent an invalid ICMP error to a broadcast
I'm pretty sure that I haven't seen it before the upgrade.
Am I correct if I assume that this is a problem with the machine
<ip-addr>, and that kernel 2.2.x is a little bit more "offensive"
about what it reports compared to 2.0.x? Or is it a problem with my
machine (which I doubt)?
Thanks,
Ralf
--
Ralf G. R. Bergs * Welkenrather Str. 100--102 * 52074 Aachen * Germany
+49-241-876892, +49-241-877776 (fax), [EMAIL PROTECTED] * Team OS/2
Earth is flat, pigs can fly, and nuclear power is safe. (Greenpeace)
-=> Note new fax no.! <=- PGP-encrypted msgs. welcome!
------------------------------
** 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
******************************