Searched refs:ifconfig (Results 1 - 25 of 130) sorted by relevance

123456

/netbsd-current/etc/rc.d/
H A Dpflogd20 if ! ifconfig pflog0 >/dev/null 2>&1; then
21 ifconfig pflog0 create
24 ifconfig pflog0 up
H A Ddowninterfaces17 tmp=$(ifconfig -lu)
31 ifconfig $int down
/netbsd-current/tests/sbin/ifconfig/
H A Dt_repeated_updown.sh33 atf_set "descr" "Test with ifconfig(8) that repeated up/down " \
48 for i in $(ifconfig -l); do
51 ifconfig -s $i
55 ifconfig $i up
60 ifconfig $i down
62 ifconfig $i up
67 ifconfig $i $state
H A Dt_tap.sh45 ifconfig "tap$tap"
52 ifconfig "tap$tap" create
64 ifconfig "tap$tap"
67 ifconfig "tap$tap" destroy
86 ifconfig tap99999 create
91 ifconfig tap99999
94 ifconfig tap99999 destroy
H A Dt_repeated_scan.sh33 atf_set "descr" "Test with ifconfig(8) that repeated 802.11 " \
52 for i in $(ifconfig -l); do
55 ifconfig -s $i
60 ifconfig $i up
69 ifconfig $i list scan >/dev/null 2>&1
78 ifconfig $i list scan >/dev/null 2>&1
82 ifconfig $i $state
H A Dt_bridge.sh44 ifconfig "bridge$bridge" >/dev/null 2>&1
51 ifconfig "bridge$bridge" create
62 ifconfig "bridge$bridge" destroy >/dev/null 2>&1
H A Dt_repeated_mtu.sh34 atf_set "descr" "Check with ifconfig(8) that setting MTUs works"
49 for i in $(ifconfig -l); do
51 mtu=$(ifconfig $i | grep "mtu" | sed "s/.*mtu //")
59 echo "Request: ifconfig $i mtu $j"
60 ifconfig $i mtu $j >/dev/null 2>&1
63 ifconfig $i mtu $mtu
H A Dt_repeated_link_addr.sh33 atf_set "descr" "Check with ifconfig(8) that " \
59 for i in $(ifconfig -l); do
62 addr=$(ifconfig $i | grep "address")
70 ifconfig -s $i
74 ifconfig $i up
80 echo "Request: ifconfig $i link $j active"
81 ifconfig $i link $j active
87 if [ -z "$(ifconfig $i | grep $j)" ]; then
94 # From the ifconfig(8) manual page:
99 ifconfig
[all...]
H A Dt_woptions.sh41 atf_set "descr" "Test with ifconfig(8) that setting " \
57 for i in $(ifconfig -l); do
65 ifconfig -s $i
72 mm=$(ifconfig $i | grep "chan")
80 ifconfig $i chan $j >/dev/null 2>&1
82 ifconfig $i -chan $j >/dev/null 2>&1
86 ifconfig $i chan $m >/dev/null 2>&1
90 ifconfig $i $state
104 atf_set "descr" "Test with ifconfig(8) that setting " \
118 for i in $(ifconfig
[all...]
H A Dt_nonexistent.sh33 atf_set "descr" "Check ifconfig(8) with " \
40 ifconfig nonexistent0 1.2.3.4/24
/netbsd-current/etc/powerd/scripts/
H A Dacadapter17 for intf in $(/sbin/ifconfig -l); do
18 /sbin/ifconfig $intf -powersave >/dev/null 2>&1
44 for intf in $(/sbin/ifconfig -l); do
45 /sbin/ifconfig $intf powersave >/dev/null 2>&1
/netbsd-current/external/mpl/bind/dist/bin/tests/system/
H A Difconfig.sh.in41 elif type ifconfig >/dev/null; then
44 echo "$0: can't find ip or ifconfig" >&2
53 [ "$a" ] && ifconfig lo0:$int $a netmask 0xffffffff up
56 [ "$a" ] && ifconfig lo0:$int $a netmask 0xffffffff up
60 /sbin/ifconfig lo0:$int plumb
61 /sbin/ifconfig lo0:$int $a up
62 /sbin/ifconfig lo0:$int mtu 1500
65 /sbin/ifconfig lo0:$int inet6 plumb
66 /sbin/ifconfig lo0:$int inet6 $aaaa up
87 ifconfig l
[all...]
H A Dorg.isc.bind.system14 # see also ifconfig.sh.in and testsock.pl
17 /sbin/ifconfig lo0 10.53.$1.$3 alias
18 /sbin/ifconfig lo0 inet6 fd92:7065:b8e:${2}ff::${3} alias
/netbsd-current/tests/net/net/
H A Dt_ipv6_lifetime.sh54 atf_check -s exit:0 rump.ifconfig shmif0 up
57 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip
58 $DEBUG && rump.ifconfig -L shmif0
59 atf_check -s exit:0 -o not-match:'pltime' rump.ifconfig -L shmif0
60 atf_check -s exit:0 -o not-match:'vltime' rump.ifconfig -L shmif0
61 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip delete
64 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip pltime $time
65 $DEBUG && rump.ifconfig -L shmif0
66 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -L shmif0
67 atf_check -s exit:0 -o match:'vltime infty' rump.ifconfig
[all...]
H A Dt_ipaddress.sh43 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip/24
44 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 up
45 atf_check -s exit:0 -o ignore rump.ifconfig -w 10
53 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip delete
61 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip/24
62 atf_check -s exit:0 -o ignore rump.ifconfig -w 10
70 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip delete
90 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 inet6 $ip
91 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 up
92 atf_check -s exit:0 -o ignore rump.ifconfig
[all...]
/netbsd-current/tests/net/if/
H A Dt_ifconfig.sh44 atf_set "descr" "tests of ifconfig create and destroy"
55 atf_check -s exit:0 rump.ifconfig shmif0 create
56 atf_check -s exit:0 rump.ifconfig shmif0 destroy
59 atf_check -s exit:0 rump.ifconfig shmif0 create
60 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
61 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.1/24
62 atf_check -s exit:0 rump.ifconfig shmif0 up
63 atf_check -s exit:0 rump.ifconfig shmif0 destroy
66 atf_check -s exit:0 rump.ifconfig shmif0 create
67 atf_check -s exit:0 rump.ifconfig shmif
[all...]
/netbsd-current/distrib/utils/embedded/
H A Dusermode45 bridging=$(ifconfig tap0 | awk '$1 == "inet" { print $2 }')
48 *) interface=$(ifconfig -l | awk '{print $1}')
49 sudo ifconfig tap0 create up
50 sudo ifconfig bridge0 create
/netbsd-current/usr.sbin/sliplogin/
H A Dslip.login19 /sbin/ifconfig sl${UNIT} inet ${LOCALADDR} ${REMOTEADDR} netmask ${NETMASK} \
/netbsd-current/distrib/utils/x_ifconfig/
H A DMakefile2 # Build a smaller ifconfig (i.e. for boot media)
12 PROG= ifconfig
13 SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
/netbsd-current/tests/net/if_tun/
H A Dt_tun.sh92 atf_check -s exit:0 rump.ifconfig shmif0 create
93 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS
94 atf_check -s exit:0 rump.ifconfig shmif0 ${IP_LOCAL}/24 up
95 atf_check -s exit:0 rump.ifconfig -w 10
99 atf_check -s exit:0 rump.ifconfig shmif0 create
100 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS
101 atf_check -s exit:0 rump.ifconfig shmif0 ${IP_REMOTE}/24 up
102 atf_check -s exit:0 rump.ifconfig -w 10
105 atf_check -s exit:0 rump.ifconfig tun0 create
106 atf_check -s exit:0 rump.ifconfig tun
[all...]
/netbsd-current/tests/net/arp/
H A Dt_dad.sh56 atf_check -s exit:0 rump.ifconfig shmif0 inet $ip/24
57 atf_check -s exit:0 rump.ifconfig shmif0 up
58 atf_check -s exit:0 rump.ifconfig -w 10
60 $DEBUG && rump.ifconfig shmif0
85 atf_check -s exit:0 rump.ifconfig shmif0 inet 10.0.0.1/24
86 atf_check -s exit:0 rump.ifconfig shmif0 inet 10.0.0.2/24 alias
87 $DEBUG && rump.ifconfig shmif0
89 atf_check -s exit:0 rump.ifconfig shmif0 up
90 rump.ifconfig shmif0 > ./out
110 atf_check -s exit:0 rump.ifconfig
[all...]
/netbsd-current/tests/net/if_bridge/
H A Dt_bridge.sh90 atf_check -s exit:0 rump.ifconfig shmif0 inet6 ${addr}
92 atf_check -s exit:0 rump.ifconfig shmif0 inet ${addr} netmask 0xffffff00
95 atf_check -s exit:0 rump.ifconfig shmif0 up
96 $DEBUG && rump.ifconfig shmif0
107 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
121 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
122 atf_check -s exit:0 -o match:shmif1 rump.ifconfig
131 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
132 atf_check -s exit:0 -o match:shmif1 rump.ifconfig
141 atf_check -s exit:0 rump.ifconfig shmif
[all...]
/netbsd-current/tests/net/mpls/
H A Dt_ldp_regen.sh52 rump.ifconfig shmif1 10.0.5.1/24 alias
54 rump.ifconfig -w 60
71 atf_check -s exit:0 rump.ifconfig shmif0 create
72 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
73 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24
74 atf_check -s exit:0 rump.ifconfig mpls0 create up
82 atf_check -s exit:0 rump.ifconfig shmif0 create
83 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
84 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.2/24
85 atf_check -s exit:0 rump.ifconfig shmif
[all...]
/netbsd-current/tests/net/if_tap/
H A Dt_tap.sh83 atf_check -s exit:0 rump.ifconfig shmif0 $IP4_LOCAL
84 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $IP6_LOCAL
85 atf_check -s exit:0 rump.ifconfig shmif0 up
86 atf_check -s exit:0 rump.ifconfig -w 10
90 atf_check -s exit:0 rump.ifconfig shmif0 $IP4_REMOTE
91 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $IP6_REMOTE
92 atf_check -s exit:0 rump.ifconfig shmif0 up
93 atf_check -s exit:0 rump.ifconfig -w 10
99 atf_check -s exit:0 rump.ifconfig shmif0 $IP4_LOCAL delete
100 atf_check -s exit:0 rump.ifconfig shmif
[all...]
/netbsd-current/tests/net/if_vether/
H A Dt_vether.sh82 atf_check -s exit:0 rump.ifconfig shmif0 $IP4_LOCAL
83 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $IP6_LOCAL
84 atf_check -s exit:0 rump.ifconfig shmif0 up
85 atf_check -s exit:0 rump.ifconfig -w 10
88 atf_check -s exit:0 rump.ifconfig shmif0 $IP4_REMOTE
89 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $IP6_REMOTE
90 atf_check -s exit:0 rump.ifconfig shmif0 up
91 atf_check -s exit:0 rump.ifconfig -w 10
97 atf_check -s exit:0 rump.ifconfig shmif0 $IP4_LOCAL delete
98 atf_check -s exit:0 rump.ifconfig shmif
[all...]

Completed in 163 milliseconds

123456