В сети много информации на эту тему, но ничего из описанного у меня не работает. Проблема в том, что wlan стартует, получает от dhcpd ip-адрес, а затем уходит в Backgrounding. Становится неактивным, не пингуется снаружи (внутри - да)
Конфигурация стандартная.
/etc/rc.conf
rc_depend_strict="NO"
modules_wlan0="wpa_supplicant"
config_wlan0="dhcp"
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=users
update_config=1
network={
ssid="my_ssid"
psk="my_key"
proto=RSN
key_mgmt=WPA-PSK
group=CCMP TKIP
pairwise=CCMP TKIP
priority=5
auth_alg=OPEN
}
При запуске интерфейса wlan0
localhost my_username # /etc/init.d/net.wlan0 start
* Bringing up interface wlan0
* Starting wpa_supplicant on wlan0 ...
Successfully initialized wpa_supplicant [ ok ]
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ... ...
* WARNING: net.wlan0 has started, but is inactive
localhost my_username # iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 4E:85:DE:53:5E:6D
ESSID:"my_ssid"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:150 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=100/100 Signal level=84/100
Extra:fm=0003
===========================================================
localhost my_username # ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.5.5.100 netmask 255.255.255.0 broadcast 10.5.5.255
inet6 fe80::ba27:ebff:fe2b:141 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:2b:01:41 txqueuelen 1000 (Ethernet)
RX packets 2080 bytes 161748 (157.9 KiB)
RX errors 0 dropped 3 overruns 0 frame 0
TX packets 23 bytes 2252 (2.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.175.203 netmask 255.255.0.0 broadcast 169.254.255.255
inet6 fe80::373f:8cda:1764:b914 prefixlen 64 scopeid 0x20<link>
ether 00:c6:b2:a1:c9:0d txqueuelen 1000 (Ethernet)
RX packets 21 bytes 73519 (71.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21 bytes 6933 (6.7 KiB)
TX errors 0 dropped 1 overruns 0 carrier 0 collisions 0
==========================================================
localhost my_username # iwconfig
wlan0 IEEE 802.11bgn ESSID:"my_ssid" Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency:2.462 GHz Access Point: 4E:85:DE:53:5E:6D
Bit Rate:72.2 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-****-**** Security mode:open
Power Management:off
Link Quality=100/100 Signal level=78/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
lo no wireless extensions.
eth0 no wireless extensions.
Что ещё можно посмотореть или сделать?