FW: [Leaf-user] Please help with 2 NIC's useing DHCPD.

2001-09-23 Thread David McBride



-Original Message-
From: David McBride 
Sent: Sunday, September 23, 2001 3:56 PM
To: 'Charles Steinkuehler'
Subject: RE: [Leaf-user] Please help with 2 NIC's useing DHCPD.


Thanks for the info Charles, it did the trick.  I now have two of the three
NIC's useing DHCPD for IP info.  AWSOME 

thanks a million, you did save quit a number of the hairs on my head from
perishing,
David  :)

---snip

I just tried setting IF_DHCP=eth0 eth1 in network.conf and got the error
you were seeing.  I have tracked this problem to a problem with the
/etc/init.d/dhclient init script, which needs to be changes as follows:

Current script:
case $1 in
start)
if [ $EXTERN_DHCP = YES ] || \
if [ $EXTERN_DHCP = Yes ] || \
if [ $EXTERN_DHCP = yes ]; then
if [ $IF_DHCP ]; then

Change the last line to:
if [ $IF_DHCP ]; then

The problem is the missing quotes around $IF_DHCP.  I thought I had checked
this, but thinking back, I must have manually run the dhclient command,
rather than using the init script, figuring the problem was with dhclient,
not the init scripts...sorry for any confusion, wasted time, and/or lost
hair...

I'll update the dhclient package for the upcomming dachstein release.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Please help with 2 NIC's useing DHCPD.

2001-09-23 Thread David McBride

I have, with Charles help, been able to get a LRP box with two NIC's with
DHclient for two  cable modems and one Nic for the LAN to work.  Thanks
again Charles.
My next step is to get the two cable modem interfaces combined together.  I
looked in the archives and did not really understand what I read.  A few
things I saw were, floating static routing, EQL, and Beowulf project.
What would be the best direction to go??
Most of my traffic is outgoing.  I also do NOT need LRP to be a firewall or
to NAT.  I looked at the Beowulf.org site and read a little bit and noticed
that they called it bonding two interfaces, I also noticed a module, dont
remember where, called bonding.o.  Is this module the samething that
Beowulf project is doing??

Any advice is appreciated,
David

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Please help with 2 NIC's useing DHCPD.

2001-09-21 Thread David McBride

Thanks again for the responce.  I think Im about to loose me mind.  Any way.
Just to clarify, I added the EXTERN_IF=eth0 eth2 only after the first try
of changing IF_DHCP=eth0 eth2 did not work.
It is still not working.  I have tried redownloading the eigerstein file and
even tried the eigersteinbeta2.
What kind of network cards are you useing in the system that you got two
nics to use dhcp client.  Im bordering insanity, if there is any thing else
that you think may help or find the problem please let me know.

Desperate for a solution,
David

-Original Message-
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 9:11 AM
To: David McBride
Subject: Re: [Leaf-user] Please help with 2 NIC's useing DHCPD.


 This is what I have done.  **SIGH**
 Recreated the disk from file eigerstein_1_img_eigerstein.exe.
 Copy modules tulip.o and rtl8139.o to /lib/modules.
 Changed file /etc/modules - uncommented tulip and added the line rtl8139
 after the tulip line.
 In network.conf change IF_DHCP to say IF_DHCP=eth0 eth2.
 Backed up the entire disk.
 Reboot.
 IP ADDR SHOW lists eth0 eth1 and eth2.
 When I do this the result listed earlier in the post happens.
 If I change in the EXTERN_IF=eth0 to EXTERN_IF=eth0 eth2 in
network.conf
 as well as having IF_DHCP=eth0 eth2 - then I get a bunch of line at boot
 that scroll very fast that look like the say something like Try
 '/sbin/ipchains--help .. or something like that.

Your problem is the EXTERN_IF setting.  You cannot have more than one
external interface (at least as far as the default firewall scripts are
concerned).  Set EXTERN_IF=eth0, leave IF_DHCP=eth0 eth2, and you should
be up and running.  You'll have to hack your firewall rules, routing setup,
and probably a few other things if you *really* want to have two external
interfaces...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Please help with 2 NIC's useing DHCPD.

2001-09-21 Thread Charles Steinkuehler

 OP.  I am very sorry, I think I may have made a very bad
 mistake.
 The subject line says DHCPD, I want the two nics to be able to get an IP
 address from a DHCP server not hand IP's out.  Have I been asking the
wrong
 question???  If so, I am very sorry for the mix up.

No, your previous messages, and problem context, indicated problems with
dhclient...I hadn't noticed the dhcpd inconsistency until you pointed it
out.

 Thanks again for the responce.  I think Im about to loose me mind.  Any
way.
 Just to clarify, I added the EXTERN_IF=eth0 eth2 only after the first
try
 of changing IF_DHCP=eth0 eth2 did not work.
 It is still not working.  I have tried redownloading the eigerstein file
and
 even tried the eigersteinbeta2.
 What kind of network cards are you useing in the system that you got two
 nics to use dhcp client.  Im bordering insanity, if there is any thing
else
 that you think may help or find the problem please let me know.

I am running a system with two NetGear FA310TX cards using the tulip driver.
The system is one of my HP Vectra VL series 3 Pentium 75 test systems, with
16 Megs of memory.

I just tried setting IF_DHCP=eth0 eth1 in network.conf and got the error
you were seeing.  I have tracked this problem to a problem with the
/etc/init.d/dhclient init script, which needs to be changes as follows:

Current script:
case $1 in
start)
if [ $EXTERN_DHCP = YES ] || \
if [ $EXTERN_DHCP = Yes ] || \
if [ $EXTERN_DHCP = yes ]; then
if [ $IF_DHCP ]; then

Change the last line to:
if [ $IF_DHCP ]; then

The problem is the missing quotes around $IF_DHCP.  I thought I had checked
this, but thinking back, I must have manually run the dhclient command,
rather than using the init script, figuring the problem was with dhclient,
not the init scripts...sorry for any confusion, wasted time, and/or lost
hair...

I'll update the dhclient package for the upcomming dachstein release.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



[Leaf-user] Please help with 2 NIC's useing DHCPD.

2001-09-18 Thread David McBride

I am trying to get DHCP client to work on a LRP box (Eigerstein) on two
nic's at one time.
I have tried to list both in the EXTERN_IF line in network.conf, but only
one will try to get an address from a DHCP server.  Both card are loading
properly.  One nic is a KNE110 and the other is a SMC1211.  The box is a
pentium 100 with 32 mb ram.

Can someone please help??

Thanks in advance,
David

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Please help with 2 NIC's useing DHCPD.

2001-09-18 Thread David McBride

Thanks for the reply Charles.
My network.conf is unchanged except for the change IF_DHCP=eth0 eth1.  I
did include the 's and make sure that only eth1 was in IF_AUTO.  After boot
it displays messages after the lines for DHCPD that say Please contribute
if you find this software useful such as:

Listening on LPF/ETH1/OO:E0:29:91:F7:ED/192.168.1.0
Sending on   LPF/ETH1/OO:E0:29:91:F7:ED/192.168.1.0
Sending on Socket/fallback/fallback-net
Starting additional network services:.
[:eth2:unknown operand
No interfaces defined for DHCP!
Starting /usr/sbin/dnscache

Then the next lines are the login.

Thanks for the help,
David


-Original Message-
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 6:17 PM
To: David McBride
Subject: Re: [Leaf-user] Please help with 2 NIC's useing DHCPD.


 I am trying to get DHCP client to work on a LRP box (Eigerstein) on two
 nic's at one time.
 I have tried to list both in the EXTERN_IF line in network.conf, but only
 one will try to get an address from a DHCP server.  Both card are loading
 properly.  One nic is a KNE110 and the other is a SMC1211.  The box is a
 pentium 100 with 32 mb ram.

 Can someone please help??

I believe this should work...Note that you are listing the wrong variable
name, and you need quotes around the two interface names:

IF_DHCP=eth0 eth1

(or whatever the two interfaces you want configured by dhcp) should do what
you want...remember to remove interfaces configured by dhcp from IF_AUTO.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user