Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Wednesday 04 October 2006 17:41, "Richard Fish" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] DHClient Woes - No Modules Loaded?': > On 10/1/06, Lord Sauron <[EMAIL PROTECTED]> wrote: > > modules_eth0=( "dhcpcd" ) > > This is the problem. By specifying the modules explicitly, you have > told Gentoo *not* to use ifplugd. That's not the way the modules line works. The modules line supplements the built in defaults. For example, I use pump and ifplugd and my modules line is simply: modules_eth0=( "pump" ) The modules you've specified will be used for their service (in this case, dhcp) and the defaults, if available, will be used for other services. Were this not the case, I'd have to specify: modules_eth0=( "ifconfig" "ifplugd" "pump" ) or similar, listing a module for each service. That are at least 3 net services I know of: configuration: either ifconfig or iproute2 link-detection: none, ifplugd, or netplug DHCP: none, dhclient, dhcpcd, or pump (and possibly others) and there are probably more services. If you want to use dhcp via pump and turn off link-detection entirely, you'd have to use a modules line of: modules_$iface=( "pump" "!plug" ) -- "If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability." -- Gentoo Developer Ciaran McCreesh pgp6YRRBtob2y.pgp Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On 10/1/06, Lord Sauron <[EMAIL PROTECTED]> wrote: modules_eth0=( "dhcpcd" ) This is the problem. By specifying the modules explicitly, you have told Gentoo *not* to use ifplugd. Either comment it out like the .example file recommends, or use modules_eth0=( "ifplugd" "dhcpcd" ) -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sun, 1 Oct 2006 22:02:12 -0700, Lord Sauron wrote: > Hazarding a guess as to what would get ifplugd to work: Stop guessing and read the docs. -- Neil Bothwick Loose bits sink chips. signature.asc Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sun, 1 Oct 2006 21:45:49 -0700, Lord Sauron wrote: > I'm going to take your word and try ifplug, however, I installed it and > it doesn't work. Still pings up /dev/null for all it's doing. I even > went to rc-update and had it start at boot, though that didn't work. You don't start it at all, let the network scripts deal with it. > My guess is that it's trying to use net.lo (the loopback device) and > thinks that that's plugged in therefore it tries to ping on everything > else. Nope, it defaults to eth0, but the network scripts use it on whichever interface they are trying to control (but not lo because there is no concept of a network cable or link beat for lo). You really should read net.example. -- Neil Bothwick Mr. bullfrog says: "time's fun when you're having flies." signature.asc Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Monday 02 October 2006 06:02, Lord Sauron wrote: > modules_eth0=( "dhcpcd" ) > iface_eth0=( "dhcpcd" ) > config_eth0=( "dhcp" ) > > Not exactly sure if it's totally right, however, it doesn't give me an > error message, though I suspect I'm really close to getting one ; ) > > Hazarding a guess as to what would get ifplugd to work: > > modules_eth0=( "dhcpcd", "ifplug" ) # or ifplugd, I don't really know > # which > > Thanks for your time! All I have on my laptop is config_eth0=( "dhcp" ) in /etc/conf.d/net and ifplugd worked straight out of the box. I thought I would need to configure it, but it ran fine first time with default settings. It even worked with *no* entries in /etc/conf.d/net, although a message kept coming up saying that eth0 defaults to dhcpcd. Therefore, if my experience is something to go by, I'd suggest that you remove all your entries first to see if you can get your eth0 connected and work backwards from there. -- Regards, Mick pgpFyQPA0MRiF.pgp Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sunday 01 October 2006 21:56, Ryan Tandy wrote: > Lord Sauron wrote: > > On Sunday 01 October 2006 13:48, Jan-Hendrik Zab wrote: > >> PPS. > >> The iface_eth interface is completely out of date, take a _very_ > >> good look at `/etc/conf.d/net.example'. > > > > I did, I updated it as best I could. > > Well, could we take a look at it? > > $ grep -v '^#' /etc/conf.d/net modules_eth0=( "dhcpcd" ) iface_eth0=( "dhcpcd" ) config_eth0=( "dhcp" ) Not exactly sure if it's totally right, however, it doesn't give me an error message, though I suspect I'm really close to getting one ; ) Hazarding a guess as to what would get ifplugd to work: modules_eth0=( "dhcpcd", "ifplug" ) # or ifplugd, I don't really know # which Thanks for your time! -- http://lordsauronthegreat.googlepages.com/ pgpheBvn69Ofb.pgp Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
Lord Sauron wrote: On Sunday 01 October 2006 13:48, Jan-Hendrik Zab wrote: PPS. The iface_eth interface is completely out of date, take a _very_ good look at `/etc/conf.d/net.example'. I did, I updated it as best I could. Well, could we take a look at it? $ grep -v '^#' /etc/conf.d/net -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sunday 01 October 2006 13:48, Jan-Hendrik Zab wrote: > On Sun, 1 Oct 2006 11:44:42 -0700 > > Lord Sauron <[EMAIL PROTECTED]> wrote: > > Proof: > > [EMAIL PROTECTED]:~$ grep -nr "dhclient" ./archival > > [EMAIL PROTECTED]:~$ > > > > I have been getting annoyed at dhcpcd, which will take 180 seconds > > to ping even if there isn't a networking cable in my NIC. I use a > > laptop, so you can easily speculate how I got so annoyed. > > > > I know that Kubuntu had the ability to detect whether there was a > > cable in my laptop and ping accordingly. I looked at my Kubuntu > > workstation and found that it's using dhclient. I installed dhcpd > > on my laptop and tried my best to make it work. I got the > > following: > > [snip] > > Well, maybe I just misunderstood you, anyway... You could try pump > (the fastest/best dhcp client I know of :-) and ifplug, the latter > starts the wired ethernet interfaces when they get a link. Back with DHCPCD, but I haven't unmerged dhclient yet ; ) I'm going to take your word and try ifplug, however, I installed it and it doesn't work. Still pings up /dev/null for all it's doing. I even went to rc-update and had it start at boot, though that didn't work. My guess is that it's trying to use net.lo (the loopback device) and thinks that that's plugged in therefore it tries to ping on everything else. Any suggestions? > PPS. > The iface_eth interface is completely out of date, take a _very_ good > look at `/etc/conf.d/net.example'. I did, I updated it as best I could. -- http://lordsauronthegreat.googlepages.com/ pgpaqpXJJj26S.pgp Description: PGP signature
Re: [gentoo-user] DHClient Woes - No Modules Loaded?
On Sun, 1 Oct 2006 11:44:42 -0700 Lord Sauron <[EMAIL PROTECTED]> wrote: > Proof: > [EMAIL PROTECTED]:~$ grep -nr "dhclient" ./archival > [EMAIL PROTECTED]:~$ > > I have been getting annoyed at dhcpcd, which will take 180 seconds to > ping even if there isn't a networking cable in my NIC. I use a laptop, > so you can easily speculate how I got so annoyed. > > I know that Kubuntu had the ability to detect whether there was a cable > in my laptop and ping accordingly. I looked at my Kubuntu workstation > and found that it's using dhclient. I installed dhcpd on my laptop and > tried my best to make it work. I got the following: [snip] Well, maybe I just misunderstood you, anyway... You could try pump (the fastest/best dhcp client I know of :-) and ifplug, the latter starts the wired ethernet interfaces when they get a link. PPS. The iface_eth interface is completely out of date, take a _very_ good look at `/etc/conf.d/net.example'. Greets, Jan-Hendrik Zab -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- gentoo-user@gentoo.org mailing list