Re: [leaf-user] DHCP client
Bering uses pump.lrp by default. From: Alexander Borghgraef <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [leaf-user] DHCP client Date: Sat, 2 Aug 2003 11:08:48 +0200 (CEST) Ok, I finally got the via-rhine driver installed, but now I can't get the dhcp client running (I've got a cable modem internet connection). After some browsing through the docs I noticed dhclient.lrp is not standard included in Bering, which seems strange since the default network setup is eth0 dhcp, eth1 fixed IP. Dhcpd.lrp is included though. Do I need the dhclient package, or am I missing something? Also, are there any remote login tools included in the standard boot disk? -- Alex Borghgraef --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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 _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
Re: [leaf-user] DHCP client
To clarify, however... Bering is indeed setup to use pump.lrp by default, and it works extremely well. HOWEVER, since Bering is set up so that you can use DHCP, PPP, or PPPoE with the default image, pump.lrp is NOT loaded by default in syslinux.cfg. So, if you open up syslinux.cfg and add pump to the LRP= statement, you should have no issues getting your Bering box to grab an IP from your provider for eth0. George M Lu wrote: Bering uses pump.lrp by default. From: Alexander Borghgraef <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [leaf-user] DHCP client Date: Sat, 2 Aug 2003 11:08:48 +0200 (CEST) Ok, I finally got the via-rhine driver installed, but now I can't get the dhcp client running (I've got a cable modem internet connection). After some browsing through the docs I noticed dhclient.lrp is not standard included in Bering, which seems strange since the default network setup is eth0 dhcp, eth1 fixed IP. Dhcpd.lrp is included though. Do I need the dhclient package, or am I missing something? Also, are there any remote login tools included in the standard boot disk? -- Alex Borghgraef --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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 _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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 --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
Re: [leaf-user] DHCP client
On Sat, 2 Aug 2003, George Metz wrote: > To clarify, however... > > Bering is indeed setup to use pump.lrp by default, and it works > extremely well. HOWEVER, since Bering is set up so that you can use > DHCP, PPP, or PPPoE with the default image, pump.lrp is NOT loaded by > default in syslinux.cfg. Hmm... Strange, it was in my syslinux.cfg, and I didn't do it myself. Anyway, when I run ps I see pump -i eth0 running, but when I try to ping either google or my proxy, I get nothing. I don't know yet if I don't get an IP, or if the problem lies with contacting the DNS. How can I check if I've been granted an IP address? Ifconfig doesn't seem to be part of the LEAF distro, and I don't know what else checks it. -- Alex --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
RE: [leaf-user] DHCP client
If you are using Bering, then type 'ip addr'. > -Original Message- > From: Alexander Borghgraef [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 9:23 AM > To: George Metz > Cc: [EMAIL PROTECTED] > Subject: Re: [leaf-user] DHCP client > > > On Sat, 2 Aug 2003, George Metz wrote: > > > To clarify, however... > > > > Bering is indeed setup to use pump.lrp by default, and it works > > extremely well. HOWEVER, since Bering is set up so that you can use > > DHCP, PPP, or PPPoE with the default image, pump.lrp is NOT > loaded by > > default in syslinux.cfg. > > Hmm... Strange, it was in my syslinux.cfg, and I didn't do it myself. > Anyway, when I run ps I see pump -i eth0 running, but when I try to > ping either google or my proxy, I get nothing. I don't know yet if I > don't get an IP, or if the problem lies with contacting the DNS. > How can I check if I've been granted an IP address? Ifconfig doesn't > seem to be part of the LEAF distro, and I don't know what else checks > it. > -- > Alex > > > > --- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet > _072303_01/01 > -- > -- > 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 > --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
Re: [leaf-user] DHCP client
Um. Okay, color me stupid. For some reason, I mixed up pump and DHCPd for some reason. DHCPd is not loaded in there by default, but is on the disk. Sorry for confusing you... George Metz Luis.F.Correia wrote: If you are using Bering, then type 'ip addr'. -Original Message- From: Alexander Borghgraef [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 9:23 AM To: George Metz Cc: [EMAIL PROTECTED] Subject: Re: [leaf-user] DHCP client On Sat, 2 Aug 2003, George Metz wrote: To clarify, however... Bering is indeed setup to use pump.lrp by default, and it works extremely well. HOWEVER, since Bering is set up so that you can use DHCP, PPP, or PPPoE with the default image, pump.lrp is NOT loaded by default in syslinux.cfg. Hmm... Strange, it was in my syslinux.cfg, and I didn't do it myself. Anyway, when I run ps I see pump -i eth0 running, but when I try to ping either google or my proxy, I get nothing. I don't know yet if I don't get an IP, or if the problem lies with contacting the DNS. How can I check if I've been granted an IP address? Ifconfig doesn't seem to be part of the LEAF distro, and I don't know what else checks it. -- Alex --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet _072303_01/01 -- -- 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 --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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 --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
RE: [leaf-user] DHCP client
Or you can do pump -s it will tell you more details about the DHCP status of your router. Try to ping IP instead of names first as you may need to specify the DNS. Your ISP DNSes will be listed in the output of the above command. M Lu From: "Luis.F.Correia" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: [leaf-user] DHCP client Date: Mon, 4 Aug 2003 09:37:47 +0100 If you are using Bering, then type 'ip addr'. > -Original Message- > From: Alexander Borghgraef [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 9:23 AM > To: George Metz > Cc: [EMAIL PROTECTED] > Subject: Re: [leaf-user] DHCP client > > > On Sat, 2 Aug 2003, George Metz wrote: > > > To clarify, however... > > > > Bering is indeed setup to use pump.lrp by default, and it works > > extremely well. HOWEVER, since Bering is set up so that you can use > > DHCP, PPP, or PPPoE with the default image, pump.lrp is NOT > loaded by > > default in syslinux.cfg. > > Hmm... Strange, it was in my syslinux.cfg, and I didn't do it myself. > Anyway, when I run ps I see pump -i eth0 running, but when I try to > ping either google or my proxy, I get nothing. I don't know yet if I > don't get an IP, or if the problem lies with contacting the DNS. > How can I check if I've been granted an IP address? Ifconfig doesn't > seem to be part of the LEAF distro, and I don't know what else checks > it. > -- > Alex > > > > --- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet > _072303_01/01 > -- > -- > 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 > --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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 _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
RE: [leaf-user] DHCP client
On Mon, 4 Aug 2003, M Lu wrote: > Or you can do > > pump -s > > it will tell you more details about the DHCP status of your router. Running ip addr returns no ip for eth0. Eth1 gets the static address it has been assigned. Running pump -s returns "Operation failed", as do pump -R or -r, with or without adding pump -i eth0. I tried switching the order of the nic drivers to see if it was a hardware problem. They both run fine as eth1, and fail to collect an ip as eth0. I tried not loading the shorwall package (read somewhere that it might block packages from the dhcp server), to no avail. My debian box has no problem connecting, no fancy configurations required by the provider, same /etc/network/interfaces as the default LEAF box one (minus the static eth1, only one nic). Dhclient gets an ip no problem. Really, I have no idea what might be going wrong. I briefly tried running with the dhclient.lrp package, but it seems to require a file called /etc/init.d/network in some scripts, which isn't there. Maybe I need to explore this route further, but it's strange that pump doesn't want to work. -- Alex Borghgraef --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
Re: [leaf-user] DHCP client
On Tue, Aug 05, 2003 at 05:53:51PM +0200, Alexander Borghgraef wrote: > it might block packages from the dhcp server), to no avail. My debian > box has no problem connecting, no fancy configurations required by the > provider, same /etc/network/interfaces as the default LEAF box one > (minus the static eth1, only one nic). Dhclient gets an ip no problem. pump is badly broken in a way which causes many DHCP servers to ignore it. It sends requests with the source address of the internal interface instead of the standard 0.0.0.0; most ISPs have their DHCP servers to ignore requests coming from ranges (esp. RFC1918 addresses) which they don't provide. It took a little work moving files around to get dhclient.lrp working on wisp-dist but it was otherwise uneventful. Chris --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 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
Re: [Leaf-user] dhcp-client-identifier
On Thu, 14 Feb 2002, Henning, Brian wrote: > Hello- > You might try putting your M$ system name in the > dhclient.conf file (as host-name, not dhcp-client-identifier). > > > how do i figure out this information... Windows 98: Control Panel | Network Identification Tab Computer Name The concept is that if this name was given to you by your ISP, their DHCP server will expect to see it and give you your IP based on that name. This technique is optional on the part of the ISP, and in my experience is not very common. > can some one give me an example of this... dhclient.conf: send host-name "myassignedname.myisp.net"; --- Jeff NewmillerThe . . Go Live... DCN:<[EMAIL PROTECTED]>Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...2k --- ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [leaf-user] dhcp client TTL
On Thursday 20 June 2002 15:32, Henning, Brian wrote: > Hello- > can someone tell me what the TTL value is for dhclient and udhcp. > My DHCP client might generate IP packets with a TTL values that are > too high to work with my router. Can this value change easily? It is set from the ISP's dhcp server. You cannot change the lease time they give you. -- ~Lynn Avants aka Guitarlynn guitarlynn at users.sourceforge.net http://leaf.sourceforge.net If linux isn't the answer, you've probably got the wrong question! --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ 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
Re: [leaf-user] DHCP Client TTL Too Small (AT&T Broadband)
I am one of those others who is possibly encountering this also, however I am using a basic Dachstein setup. Will let you know if it works. Steve On Thu, 27 Jun 2002 22:24:11 -0500 "Ethan Galstad" <[EMAIL PROTECTED]> wrote: > I sent a message to the leaf-devel list a few days back about this > issue, but didn't get any replies. Any developer willing to > recompile dhclient with this TTL hack (one line of code)? > > I tried compiling ISC's dhcp-2.0pl5 on a RedHat 5.2 box today - > compiled okay and executed okay on my LRP box, but I get > "send_packet" errors when trying to send DHCPDISCOVERS to eth0. The > stock > dhclient-2.0pl5 in the Dachstein 1.0.2 image doesn't give these > errors, so > its driving me mad. :-( Since its driving me crazy, I was hoping > someone > who actually knew what they're doing (not me) could recompile. I > know > there must be others out there who have encountered this issue. > > > > --- Forwarded message follows --- > From: Ethan Galstad <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: DHCP Client TTL Problem - AT&T Broadband > Date sent:Sat, 22 Jun 2002 19:08:40 -0500 > > There is a problem with the ISC's DHCP client (including all LRP > version) with the TTL being hardcoded to 16. This started giving me > (and > others) problems last Monday when AT&T broadband "upgraded" their > systems > in the St. Paul/Minneapolis area. > > Turns out that now the DHCP server is (no joke) 18 hops away from me. > > Since the DHCP client sets the DHCPDISCOVER packet TTL to 16, the > message never gets to the server. The "fix" is to hack the ISCP DHCP > source code and use a larger value (i.e. 128) in the TTL field. > AFAIK, > the Microsoft DHCP client uses a value of 128 in the TTL field. > > The message below was sent by Paul Dokas where he outlines how to do > this. > > Can someone make an updated dhclient package with this change > incorporated? FWIW, I'm running the Dachstein 1.0.2 distribution. > My home network is useless without it. :-( > > PS: I found a newsgroup message outlining the same problem and fix, > so I know there are others out there who are having similar problems. > > Here's the Google URL: > > http://groups.google.com/groups?selm=c91381b2.0206210920.269f9e1b%40po > stin > g.google.com > > > --- Forwarded message follows --- > > [snip] > > Found the problem. The ISC DHCP client sets the TTL on the DHCP > request to 16, which is apparently too low for AT&T's network. This > would explain why it works for some people and not other on an > apparently random basis. > > > I edited line 159 of common/packet.c in the ISC DHCP source code. It > used > to be: > > ip.ip_ttl = 16; > > and I changed it to be: > > ip.ip_ttl = 128; > > > And, now I get a lease almost immediately after running dhclient. > > > So, I guess that AT&T's DHCP servers are just fine (I don't need to > set any strange options in dhclient.conf). The "problem" is that the > Internet, or at least AT&T's broadband network, has grown larger than > what > the source code assumes to be a *big* network. > > > I'll send in a bug report to ISC first thing in the morning. > > > Paul > --- End of forwarded message --- > > > > > Ethan Galstad, > Nagios Developer > --- > Email: [EMAIL PROTECTED] > Website: http://www.nagios.org > > > > --- > This sf.net email is sponsored by:ThinkGeek > Bringing you mounds of caffeinated joy. > http://thinkgeek.com/sf > > 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 --- This sf.net email is sponsored by:ThinkGeek Bringing you mounds of caffeinated joy. http://thinkgeek.com/sf 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