Hi all,
I have installed ifplugd and guessnet on latest debian/unstable.
My configuration does not work as expected,
The system is attached with eth1 to lanb but guessnet fails to detect it
and chooses the default dhcp.
I do not understand why. How can I debug it further? Why is the arping
help message printed?
TIA, Bruno
europa:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth1
allow-hotplug eth1
mapping eth1
script guessnet-ifupdown
map lana lanb dhcp
map init-time: 5
map timeout: 10
map default: dhcp
map verbose: true
map debug: true
iface lana inet dhcp
test1 peer address 192.168.52.80 mac 00:0E:A6:1C:1F:95
dns-search .test1.de
iface lanb inet static
test1 peer address 172.17.33.254 mac 00:00:0C:09:AC:08
address 172.17.33.85
broadcast 172.17.33.254
netmask 255.255.255.0
gateway 172.17.33.254
dns-search .test2.de
iface dhcp inet dhcp
dns-search .test3.de
europa:/# ifup eth1
guessnet: 2 candidates found in input
guessnet: Guessnet 0.41 starting...
guessnet: Trying MII detection
guessnet: 2 candidate profiles
guessnet: Trying MII detection
guessnet: Initialized test subsystems
guessnet: Added "default" test dhcp
guessnet: Default test is dhcp
guessnet: Will check network lana for IP address 192.168.52.80 (MAC
00:0e:a6:1c:1f:95)
guessnet: Starting peer test subsystem
guessnet: Sending 10 ARP probes, 1 every second...
guessnet: Will check network lanb for IP address 172.17.33.254 (MAC
00:00:0c:09:ac:08)
guessnet: Sending 10 ARP probes, 1 every second...
guessnet: Listen ARP
guessnet: Started tests
guessnet: 3 candidates
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:16:36:bf:65:d6
Sending on LPF/eth1/00:16:36:bf:65:d6
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 172.17.33.252
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 172.17.33.252
bound to 172.17.33.85 -- renewal in 34258 seconds.
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source]
destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use (eth0)
-s source : source ip address
destination : ask for what ip address
resulting resolv.conf shows that the defaul was chosen.
europa:/# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 172.17.1.1
search .xy.de .test3.de
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]