Hi.  

I have just decided to upgrade my lovely Bering firewall to take
advantage of uCLib.  I have put together my Bering 2 floppy and almost
everything works fine!  The fly in the ointment is the connection to my
ISP.  I am on BigPond Cable and I use udhcpc and BPALogin in my working
Bering floppy.  Udhcpc doesn't seem to have been recompiled for uCLib so
I am using dhclient and BPALogin in my uCLib version.  

The oddness is that using udhcp I get a particular IP Address (call it
IPudhcp) but with dhclient I get a totally different IP (call it
Ipdhclient).  But my hardware is the same so my MAC addresses don't
change.  This is repeatable ie if I boot with my udhcp disk, I get
IPudhcp every time, then if I boot my dhclient floppy I get IPdhclient
every time.  This seems odd to me because all I have read indicates that
IP addresses might be allocated on the basis of stored MAC addresses,
not some characteristic of the dhcp client.

The reason this is an issue is because BPAlogin for the dhclient floppy
won't login!  It says it can't find the authentication server.  The
settings are the same as for the udhcp floppy and I use the dotted quad
IP address to point to the server.  However, I find that if I turn my
modem off for about 5 minutes with my router off, then turn the modem
back on, and reboot the router, it will connect.  This sort of behaviour
is typically associated with clearing the MAC address stored by the
modem, but I don't see why it makes any difference to me because my MAC
Address doesn't change!

Then after about 5 minutes my connection disappears!  When I look at my
Shorewall logs following the disconnection I find that there are entries
showing rejection of connections from the Authentication server to port
5050 (which is the BigPond heartbeat port) but to Ipudhcp, not
IPdhclient!  So the rejection logs show that the authentication server
has tried to contact my router on the IP address that would have been
allocated if I had used udhcpc!  And because the connection was
rejected, I am logged out!

This is all very weird.  It appears that dhclient is connecting ok using
the allocated IP address but 'something' in the Auth server is still
associating my MAC address with the IP address I would have been given
if I was using udhcp.

I am after any advice anyone can offer on what might cause this or how
to get around it. Is there any connection between MAC Address and the
dhcp client?  Does the dhcp client send a MAC address to the auth
server?  I would like to try another dhcp client and I see Pump has been
recompiled so I will try that first.  Lynn, are you planning to
recompile udhcpc because I would like to try that as well.

Thanks folks, as usual!

David Pitts
IT Services Manager
Reid Library 
University of Western Australia
 
Telephone:   (08) 6488 3492     Fax:  (08) 6488 1012



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to