OpenWrt Forum Archive

Topic: airodump-ng on La Fonera 2200

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I can't get airodump-ng to work on La Fonera 2200. I've created a new interface in monitor mode:

root@OpenWrt:~# wlanconfig ath create wlandev wifi0 wlanmode monitor
root@OpenWrt:~# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

br-lan    no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Managed  Frequency:2.422 GHz  Access Point: Not-Associated   
          Bit Rate:36 Mb/s   Tx-Power:18 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=34/70  Signal level=-59 dBm  Noise level=-93 dBm
          Rx invalid nwid:9963  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath1      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Monitor  Frequency:2.422 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=34/70  Signal level=-59 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Here is my wireless configuration file:

root@OpenWrt:~# cat /etc/config/wireless
config wifi-device  wifi0
        option type     atheros
        option channel          5
        option diversity        0
        option txantenna        1
        option rxantenna        1

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     "sta"

airodump-ng starts for interface ath1, but it doesn't find anything! Any idea why?

(Last edited by kenjiru on 18 Jun 2008, 15:11)

The solution was to delete the existing wlan interface and to create a new interface in monitor mode.

root@OpenWrt:~# wlanconfig ath0 destroy
root@OpenWrt:~# wlanconfig wlan0 create wlandev wifi0 wlanmode monitor
wlan0

The discussion might have continued from here.