Network scripts gone wrong

Rui Paulo rpaulo at freebsd.org
Thu Oct 22 15:30:48 UTC 2009


I don't have time to debug this today, but it seems that latest 9.0  
has problems with wireless devices:

wlan0: Ethernet address: 00:0b:6b:2d:dc:d8
Starting Network: lo0 ath0 ath1 ath2 npe0 npe1.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet 127.0.0.1 netmask 0xff000000
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu  
2290
	ether 00:0b:6b:2d:dc:d8
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <mesh>
	status: running
ath1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:17:f2:9c:a7:62
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
ath2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:17:f2:9c:a7:6b
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
npe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLANnpe0: link state changed to UP
_MTU>
	ether 00:d0:12:04:e4:7d
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
npe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLANnpe1: link state changed to DOWN
_MTU>
	ether 00:d0:12:03:e3:7c
	media: Ethernet autoselect (none)
	status: no carrier
Starting devd.
Starting Network: ath1.
ath1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:17:f2:9c:a7:62
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
Starting Network: ath1.
ath1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
Starting Network: ath2.
ath2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:17:f2:9c:a7:6b
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
Starting Network: ath2.
ath2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:17:f2:9c:a7:6b
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
Starting Network: npe0.
npe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:d0:12:04:e4:7d
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
Starting Network: npe1.
npe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:d0:12:03:e3:7c
	media: Ethernet autoselect (none)
	status: no carrier


All I have in rc.conf is (network wise):

background_dhclient_npe1="YES"  # Start dhcp client in the background.
defaultroute_delay="0"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode mesh"
ifconfig_wlan0="meshid freebsd-mesh channel 36 10.2.0.103/24"


--
Rui Paulo



More information about the freebsd-net mailing list