File: ifupdown

package info (click to toggle)
guessnet 0.56
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 1,064 kB
  • ctags: 863
  • sloc: cpp: 5,355; sh: 1,432; makefile: 168; perl: 118
file content (59 lines) | stat: -rw-r--r-- 1,473 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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