wlanconfig ath0 det stroy device ath0 left promiscuous mode br-lan: port 2(ath0) entering disabled state root@OpenWrt:/# wlanconfig ath create wlandev wifi0 wlanmode sta ath0 root@OpenWrt:/# ifconfig ath0 up root@OpenWrt:/# iwlist ath0 scan ath0 Scan completed : Cell 01 - Address: 00:13:10:2B:15:9B ESSID:"dodonet" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=58/94 Signal level=-37 dBm Noise level=-95 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s 12 Mb/s; 48 Mb/s Extra:bcn_int=100 root@OpenWrt:/# iwconfig ath0 essid dodonet key 1986 5abcdef root@OpenWrt:/# iwconfig eth0 no wireless extensions. lo no wireless extensions. br-lan no wireless extensions. wifi0 no wireless extensions. ath0 IEEE 802.11g ESSID:"dodonet" Nickname:"" Mode:Managed Frequency:2.437 GHz Access Point: 00:13:10:2B:15:9B Bit Rate:36 Mb/s Tx-Power:18 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:1985-ABCD-EF Security mode:restricted Power Management:off Link Quality=62/94 Signal level=-33 dBm Noise level=-95 dBm Rx invalid nwid:16 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 root@OpenWrt:/# dhcl     root@OpenWrt:/# root@OpenWrt:/# udh root@OpenWrt:/# udhcpc -i ath0 udhcpc (v1.4.1) started Sending discover... Sending select for 192.168.182.187... Lease of 192.168.182.187 obtained, lease time 600 deleting routers adding router 192.168.182.3 adding dns 192.168.182.3 root@OpenWrt:/# ping -c2 google.com PING google.com (64.233.167.99): 56 data bytes 64 bytes from 64.233.167.99: icmp_seq=0 ttl=245 time=14.9 ms 64 bytes from 64.233.167.99: icmp_seq=1 ttl=245 time=13.8 ms --- google.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 13.8/14.3/14.9 ms root@OpenWrt:/#