On Wed, Sep 7, 2011 at 11:20 AM, AJ ONeal <[email protected]> wrote:
> I'm working on a linux gadget. > > I want it to get DHCP if I plug in the network cable after it has booted up > already or if the network cable unplugged and replugged. > > > However, I've got a feeling deep down in my little toe that tells me that > there's a better way to deal with hotplug events for the ethernet cable. > > Do any of you know what way that is? > > > AJ ONeal > > A quick Google search turned up netplugd, I don't have access to my Linux box right now so I don't know how modern it is but it looks like exactly what you want. http://linux.die.net/man/8/netplugd -Richard Holden /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
