LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Problems starting the wireless network card in monitor mode, dell inspiron n4110 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/problems-starting-the-wireless-network-card-in-monitor-mode-dell-inspiron-n4110-912865/)

HankScorpio 11-10-2011 12:14 PM

Problems starting the wireless network card in monitor mode, dell inspiron n4110
 
I have problems starting the wireless network card in monitor mode, dell inspiron laptop n4110.

I'm buy a usb wireless network card D-Link DWA-125, this card use the Ralink RT3070 chipset, i'm have installed Backtrack 5 distribution, and I could not fully execute some scripts. (airmon-ng related)

This is the output of some commands that I executed:

Code:

root@bt:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:41 Base address:0x2000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:149 errors:0 dropped:0 overruns:0 frame:0
          TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10433 (10.4 KB)  TX bytes:10433 (10.4 KB)

wlan0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11146 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15418809 (15.4 MB)  TX bytes:1627686 (1.6 MB)

wlan1    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@bt:~# iwlist wlan1 scan
wlan1    Scan completed :
          Cell 01 - Address: xx:xx:xx:xx:xx:xx
                    Channel:2
                    Frequency:2.417 GHz (Channel 2)
                    Quality=70/70  Signal level=-39 dBm 
                    Encryption key:on
                    ESSID:"Hack-Lab"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000001b5d24f4a
                    Extra: Last beacon: 820ms ago
                    IE: Unknown: 00084861636B2D4C6162
                    IE: Unknown: 010882848B0C12961824
                    IE: Unknown: 030102
                    IE: Unknown: 0706555320010B1B
                    IE: Unknown: 200100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010020FF7F
          Cell 02 - Address: xx:xx:xx:xx:xx:xx
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=21/70  Signal level=-89 dBm 
                    Encryption key:on
                    ESSID:"Allison"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000073f494c9b3
                    Extra: Last beacon: 1130ms ago
                    IE: Unknown: 0007416C6C69736F6E
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 32040C183060
                    IE: Unknown: 0706444520010D10
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0104
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD07000C4300000000

root@bt:~# lshw -C network
  *-network             
      description: Wireless interface
      product: Centrino Wireless-N 1030
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      logical name: wlan0
      version: 34
      serial: xx:xx:xx:xx:xx:xx
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlagn driverversion=2.6.39.4 firmware=17.168.5.1 build 33993 ip=192.168.0.3 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
      resources: irq:48 memory:d1600000-d1601fff
  *-network
      description: Ethernet interface
      product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:03:00.0
      logical name: eth0
      version: 05
      serial: xx:xx:xx:xx:xx:xx
      size: 10MB/s
      capacity: 100MB/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
      resources: irq:41 ioport:3000(size=256) memory:d0404000-d0404fff memory:d0400000-d0403fff
  *-network
      description: Wireless interface
      physical id: 2
      bus info: usb@2:1.3
      logical name: wlan1
      serial: xx:xx:xx:xx:xx:xx
      capabilities: ethernet physical wireless
      configuration: broadcast=yes driver=rt2800usb driverversion=2.6.39.4 firmware=0.29 link=no multicast=yes wireless=IEEE 802.11bgn

root@bt:~# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 07d1:3c16 D-Link System DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT3070]
Bus 002 Device 003: ID 8086:0189 Intel Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2881 Sunplus Innovation Technology Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@bt:~# lsmod | grep rt
rt2800usb              12228  0
rt2800lib              40789  1 rt2800usb
crc_ccitt              1581  1 rt2800lib
rt2x00usb              10496  1 rt2800usb
rt2x00lib              37138  3 rt2800usb,rt2800lib,rt2x00usb
mac80211              277511  4 rt2800lib,rt2x00usb,rt2x00lib,iwlagn
parport                34080  1 lp
cfg80211              165732  3 rt2x00lib,iwlagn,mac80211

root@bt:~# modinfo rt2800usb
filename:      /lib/modules/2.6.39.4/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
license:        GPL
firmware:      rt2870.bin
description:    Ralink RT2800 USB Wireless LAN driver.
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    1BF0335B5467644CC4BAF13
alias:          usb:v0586p341Ad*dc*dsc*dp*ic*isc*ip*
.
.
.
alias:          usb:v07B8p2870d*dc*dsc*dp*ic*isc*ip*
depends:        rt2x00lib,rt2800lib,rt2x00usb
vermagic:      2.6.39.4 SMP mod_unload
parm:          nohwcrypt:Disable hardware encryption. (bool)

root@bt:~# dmesg | grep rt2800
[ 1080.970941] Registered led device: rt2800usb-phy1::radio
[ 1080.970976] Registered led device: rt2800usb-phy1::assoc
[ 1080.971005] Registered led device: rt2800usb-phy1::quality
[ 1080.971229] usbcore: registered new interface driver rt2800usb

The problems:
Code:

root@bt:~# airmon-ng


Interface      Chipset        Driver


-> And the script does not stop and do nothing

^C // Finish the process manually

root@bt:~# airmon-ng start wlan1


Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID    Name
1229    dhclient3
1230    dhclient3
1747    wpa_supplicant
1762    dhclient
3568    dhclient
Process with PID 1229 (dhclient3) is running on interface wlan0
Process with PID 1747 (wpa_supplicant) is running on interface wlan0
Process with PID 3568 (dhclient) is running on interface wlan1


Interface      Chipset        Driver

-> And the script does not stop and do nothing

^C // Finish the process manually

Disconnect the USB network card and try to use the wireless network card in the laptop does nothing to change the situation and the scripts are still not working.

Please help and thanks in advance.

h4ck3r8ug5 03-08-2013 02:18 PM

Hi.
U must be root.

try this:

1) Clear all monitor interfaces
--> airmon-ng stop wlanx "x is the number, in ur example wlan1

[You forgot this process]
2) Kill any processes that are hindering proper interception
--> airmon-ng check kill wlan0

3) Create a new monitoring interface
--> airmon-ng start wlan0


All times are GMT -5. The time now is 02:47 AM.