[Cialug] Networks service detection/configuration

Nicolai nicolai-cialug at chocolatine.org
Fri Mar 2 12:03:38 CST 2012


On Fri, Mar 02, 2012 at 11:47:42AM -0600, Jim Popken wrote:
> I have tried dhclient in a script. However if there is no dhcp server on
> the network the retries and time outs add up to minutes before the program
> returns. That is a problem in this application. I have not found any way to
> adjust the time outs or retires.

Since your home network is small, and it sounds like the pelican box
isn't routing, you might be able to do this:

0. Configure the box as if it's always on the corporate network
1. Initiate a bit of traffic to your home router's internal if IP address
2. If the MAC seen in `arp -an` matches that of your home router's
internal interface,
3. Reconfigure the system for home

You've given very little information about either network though, so
that's all I can say.

Nicolai


More information about the Cialug mailing list