# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo eth0 eth1

iface lo inet loopback

mapping eth0
	#script /tmp/ifprobe
	script /home/enrico/dev/deb/guessnet-0.18/src/guessnet-ifupdown
	map prova zippo lippo
	map cippo
	map verbose: true
	map default: cippolizzo

iface prova inet static
	guessnet peer 192.168.1.11 00:80:AD:7E:50:62
	test-peer address 192.168.1.1 mac 00:80:AD:7E:50:62 pippo 1
	test peer address 192.168.1.1 mac 00:80:AD:7E:50:62
	test peer address 192.168.1.1 mac 00:80:AD:7E:50:62 source 192.168.1.2
	test peer address 192.168.1.1 source 192.168.1.2
	test1 peer address 192.168.1.1
	test2-peer address 192.168.1.1

iface cippo inet static
	test-script /bin/true
	test script /bin/true
	test1 script /bin/true
	test2-script /bin/true
	guessnet test-script /bin/true
	guessnet1 test script /bin/true
	guessnet2 test1 script /bin/true
	guessnet3 test2-script /bin/true

iface lippo inet static
	test-missing-cable please
	test missing-cable
	test1 missing-cable
	test1-missing-cable
	guessnet test-missing-cable
	guessnet1 test-missing-cable
	guessnet2 test missing-cable

iface zippo inet static
	test-pppoe please
	test pppoe
	test1 pppoe
	test1-pppoe
	guessnet test-pppoe
	guessnet1 test-pppoe
	guessnet2 test pppoe

iface pippo inet static
	test-wireless-ap args
	test-wireless-scan args args args
	test1-wireless-id args args "args args"

iface pluto
	guessnet default
