Re: auto laptop interfaces [ was: apt-get update: Could not connect...]
On Thursday, December 13, 2001 1:58 PM, dman wrote:
> The only problem left (for me) is : how can it automatically
> determine whether or not to use DHCP (that is, is the link from home
> or not). I don't think that can be automated (GPS ;-)?). What I
> really need to do is configure dhcpd at home sometime.
Someone here posted that he had a program that would
check for the presence of another host on the LAN. I'm
not sure if it was based on MAC or IP but if you can't
find that, I would think some kind of arp-based script could
tell you if a specific interface was nearby. Then just create
a couple of virtual interfaces that are mapped via that
script: one for DHCP, one for static.
-g
Reply to: