# Copyright (C) 2006 OpenWrt.org config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 config interface lan option ifname eth0 option proto static option ipaddr 192.168.1.40 option netmask 255.255.255.0 option gateway 192.168.1.1 option dns 85.37.17.50 85.38.28.76 option type 'bridge' config wifi-device wifi0 option type atheros option channel '6' # option diversity 1 # option txantenna 0 # option rxantenna 0 # option distance 2000 # disable radio to prevent an open ap after reflashing: option disabled 0 option mode '' option maxassoc '' option distance '' option diversity '0' option txantenna '2' option rxantenna '2' config wifi-iface option device wifi0 option network 'lan' option mode 'sta' option ssid 'OpenWrt AP' option hidden '0' option bgscan '0' option encryption 'none' option bssid '' option server '' option port '' option isolate '0' option txpower '18' option key1 '' option key2 '' option key3 '' option key4 '' config wifi-iface option device wifi0 option network lan option mode wds option bssid xx:xx:xx:xx:xx:xx iwlist scan eth0 Interface doesn't support scanning. lo Interface doesn't support scanning. wifi0 Interface doesn't support scanning. br-lan Interface doesn't support scanning. ath0 Scan completed : Cell 01 - Address: 00:18:84:2A:57:15 ESSID:"OpenWrt AP" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=75/94 Signal level=-20 dBm Noise level=-95 dBm Encryption key:off Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 Extra:wme_ie=dd180050f2020101840002a3400027a4000042435e00623 22f00 Extra:ath_ie=dd0900037f01010020ff7f iwconfig eth0 no wireless extensions. lo no wireless extensions. wifi0 no wireless extensions. br-lan no wireless extensions. ath0 IEEE 802.11g ESSID:"OpenWrt AP" Nickname:"" Mode:Managed Frequency:2.427 GHz Access Point: Not-Associated Bit Rate:54 Mb/s Tx-Power=17 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=74/94 Signal level=-21 dBm Noise level=-95 dBm Rx invalid nwid:1 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0