[oe] Automatically connect to ethernet

Travis Stratman tstratman at emacinc.com
Mon Mar 9 21:09:26 UTC 2009


Jan,

On Mon, 2009-03-09 at 11:32 +0100, Jan Pannecoeck wrote:
> 
> So my problem is that linux does not connect to the DHCP server 
> automatically when I plug in the ethernetcable. When I plug-in the cable 
> before I launch the linux, this is working fine because at start-up the 
> DHCP-server is asked for a new IP-lease. But when I don't plug-in the 
> cable, and I plug it in when linux is already booted, the DHCP-server 
> isn't contacted for a new IP-lease and I can't connect to the Internet. 
> I can use the "/etc/init.d/networking restart" command but this isn't a 
> solution of course because it should work all the time, also if I'm not 
> there to enter that command...
> 
> So, do I  have to change some settings in the kernel, or do I have to 
> install some extra packages to get this working properly?
> 

You should look at ifplugd. This will detect the network link beat and
bring the interface up/down as required.

TAS

> Thanks in advance,
> Jan Pannecoeck
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list