All of lore.kernel.org
 help / color / mirror / Atom feed
* Automatically connect to ethernet
@ 2009-03-09 10:32 Jan Pannecoeck
  2009-03-09 21:09 ` Travis Stratman
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Pannecoeck @ 2009-03-09 10:32 UTC (permalink / raw)
  To: openembedded-devel

Hello all,

I'm using OpenEmbedded for an Taskit PanelCard. I've been able to get 
everything I needed working properly except for one thing now. And I 
assume that it is a problem in the OE linux kernel, or me missing some 
packages.

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?

Thanks in advance,
Jan Pannecoeck



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Automatically connect to ethernet
  2009-03-09 10:32 Automatically connect to ethernet Jan Pannecoeck
@ 2009-03-09 21:09 ` Travis Stratman
  2009-03-10 10:38   ` Jan Pannecoeck
  0 siblings, 1 reply; 3+ messages in thread
From: Travis Stratman @ 2009-03-09 21:09 UTC (permalink / raw)
  To: openembedded-devel

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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Automatically connect to ethernet
  2009-03-09 21:09 ` Travis Stratman
@ 2009-03-10 10:38   ` Jan Pannecoeck
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Pannecoeck @ 2009-03-10 10:38 UTC (permalink / raw)
  To: openembedded-devel

Thanks for the ifplugd tip, I've tried to cross-compile it for the ARM 
I'm using but didn't succeeded yet... I'll try again later! :-)

Thanks,
Jan

Travis Stratman wrote:
> 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@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>     
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>   



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-10 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 10:32 Automatically connect to ethernet Jan Pannecoeck
2009-03-09 21:09 ` Travis Stratman
2009-03-10 10:38   ` Jan Pannecoeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.