Re: Which network auto-detect do you use?
According to pmarc,
> 2005/12/20, Jason Martens <me@jasonmartens.com>:
>
> > http://www.debian-administration.org/articles/312
>
> Yeah, using guessnet and ifplugd. Nice article.
> back at home I installed those 2 packages, but was unable to fully
> configure them.
I also use resolvconf so I can set up DNS dynamically.
The config was pretty straightforward.
/etc/network/interfaces...
mapping eth1
script /usr/sbin/guessnet-ifupdown
map work work
map home home
map dhcp dhcp
iface dhcp inet dhcp
iface home inet static
test-peer address 192.168.1.1 mac 99:C9:9F:97:39:29
address 192.168.1.41
broadcast 192.168.1.255
netmask 255.255.255.0
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package,
# if installed
dns-nameservers 192.168.1.1
iface work inet static
test-peer address 10.0.4.98 mac 00:C0:9F:97:39:29
address 10.0.4.44
broadcast 10.0.255.255
netmask 255.255.0.0
gateway 10.0.0.1
# dns-* options are implemented by the resolvconf package,
# if installed
dns-search domain.com
dns-nameservers 10.0.0.4
I use iputils-arping to get mac addresses.
Reply to: