PDA

View Full Version : Wireless USB Interface Not Recognized - No WLAN0



heycubby
2014-03-21, 23:04
Hello,

Full disclosure: I am completely new to this forum and to Kali Linux. My main objective is to get Kali to recognize my Netgear WNDA3100v2 USB wireless adapter so it appears after running airmon-ng. I previously used a WNA3100 Netgear wireless adapter and Kali had no problems recognizing it upon startup. My son stepped on it so I had to buy the WNDA3100v2.

- I am running Kali via Vmware player/workstation as a guest OS on Windows XP.

- I have tried 3 other wireless adapters as well, but continue to receive the same driver error when I disconnect it from the host and try to connect to Kali / Vmware.

- I have searched google and your forums high and low. I have tried every suggestion that was relative to my issue, to no avail, obviously. I tried entering: ifconfig WLAN0 up, etc.

How do I get Kali / Vmware to recognize my wireless adapter?

I know I haven't probably supplied all the information you would need, so please let me know what else you would need to know to help diagnose.

Thanks for any help!

iLLNESS
2014-03-22, 17:00
first off, make sure the device is enabled in vmware.
if it is, in a terminal check lsusb command to see if it shows up. if it does then type rfkill list to see if its blocked. if its blocked, type rfkill unblock wifi.

then check ifconfig to see if it shows.

if it isn't showing in lsusb, replug your dongle make sure its enabled in vmware and check dmesg to see any details about why it isn't showing up. it will show driver errors/etc.

heycubby
2014-03-24, 04:12
Thank you for the response. I switched to my WNA3100v1 assuming Kali would be more likely to recognize the older driver for the device.

I have attempted your suggestions, and here is everything that transpired in the terminal:

root@kali:~# check lsusb
bash: check: command not found
root@kali:~# lsusb
Bus 001 Device 002: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@kali:~# check lsusb
bash: check: command not found
root@kali:~# rfkill list
Can't open RFKILL control device: No such file or directory
root@kali:~# rfkill
Usage: rfkill [options] command
Options:
--version show version (0.4-1 (Debian))
Commands:
help
event
list [IDENTIFIER]
block IDENTIFIER
unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
<idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm
root@kali:~# rfkill unblock wifi
Can't open RFKILL control device: No such file or directory
root@kali:~# rfkill
Usage: rfkill [options] command
Options:
--version show version (0.4-1 (Debian))
Commands:
help
event
list [IDENTIFIER]
block IDENTIFIER
unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
<idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm
root@kali:~# rfkill unblock wifi
Can't open RFKILL control device: No such file or directory
root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:47:1e:98
inet6 addr: fe80::20c:29ff:fe47:1e98/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:346 errors:0 dropped:0 overruns:0 frame:0
TX packets:279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36804 (35.9 KiB) TX bytes:27644 (26.9 KiB)
Interrupt:19 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:65536 Metric:1
RX packets:110 errors:0 dropped:0 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9092 (8.8 KiB) TX bytes:9092 (8.8 KiB)

I don't know how to compact the results of "dmesg", so I will break it into several threads following....

heycubby
2014-03-24, 04:20
Continued...

root@kali:~# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12-kali1-686-pae ([email protected]) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.12.6-2kali1 (2014-01-06)
[ 0.000000] Disabled fast string operations
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000ca000-0x00000000000cbfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001feeffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001fef0000-0x000000001fefefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000001feff000-0x000000001fefffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000001ff00000-0x000000001fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f7ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffe0000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.4 present.
[ 0.000000] DMI: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[ 0.000000] Hypervisor detected: VMware
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x20000 max_arch_pfn = 0x1000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-CBFFF write-protect
[ 0.000000] CC000-EFFFF uncachable
[ 0.000000] F0000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0000000000 mask FFE0000000 write-back
[ 0.000000] 1 disabled
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
[ 0.000000] found SMP MP-table at [mem 0x000f6bf0-0x000f6bff] mapped at [c00f6bf0]
[ 0.000000] initial memory mapped: [mem 0x00000000-0x01bfffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x1e800000-0x1e9fffff]
[ 0.000000] [mem 0x1e800000-0x1e9fffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1e7fffff]
[ 0.000000] [mem 0x1c000000-0x1e7fffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[ 0.000000] [mem 0x00100000-0x001fffff] page 4k
[ 0.000000] [mem 0x00200000-0x1bffffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x1ea00000-0x1feeffff]
[ 0.000000] [mem 0x1ea00000-0x1fdfffff] page 2M
[ 0.000000] [mem 0x1fe00000-0x1feeffff] page 4k
[ 0.000000] BRK [0x016f0000, 0x016f0fff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x1ff00000-0x1fffffff]
[ 0.000000] [mem 0x1ff00000-0x1fffffff] page 4k
[ 0.000000] BRK [0x016f1000, 0x016f2fff] PGTABLE
[ 0.000000] RAMDISK: [mem 0x1eaad000-0x1fecefff]
[ 0.000000] ACPI: RSDP 000f6b80 00024 (v02 PTLTD )
[ 0.000000] ACPI: XSDT 1fef1208 0005C (v01 INTEL 440BX 06040000 VMW 01324272)
[ 0.000000] ACPI: FACP 1fefee73 000F4 (v04 INTEL 440BX 06040000 PTL 000F4240)
[ 0.000000] ACPI: DSDT 1fef1470 0DA03 (v01 PTLTD Custom 06040000 MSFT 03000001)
[ 0.000000] ACPI: FACS 1fefffc0 00040
[ 0.000000] ACPI: BOOT 1fef1448 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
[ 0.000000] ACPI: APIC 1fef13f8 00050 (v01 PTLTD ? APIC 06040000 LTP 00000000)
[ 0.000000] ACPI: MCFG 1fef13bc 0003C (v01 PTLTD $PCITBL$ 06040000 LTP 00000001)
[ 0.000000] ACPI: SRAT 1fef1304 000B8 (v02 VMWARE MEMPLUG 06040000 VMW 00000001)
[ 0.000000] ACPI: HPET 1fef12cc 00038 (v01 VMWARE VMW HPET 06040000 VMW 00000001)
[ 0.000000] ACPI: WAET 1fef12a4 00028 (v01 VMWARE VMW WAET 06040000 VMW 00000001)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 512MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 20000000
[ 0.000000] low ram: 0 - 20000000
[ 0.000000] BRK [0x016f3000, 0x016f3fff] PGTABLE
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] Normal [mem 0x01000000-0x1fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x1feeffff]
[ 0.000000] node 0: [mem 0x1ff00000-0x1fffffff]
[ 0.000000] On node 0 totalpages: 130958
[ 0.000000] free_area_init_node: node 0, pgdat c15bc700, node_mem_map de6ad020
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3998 pages, LIFO batch:0
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 126960 pages, LIFO batch:31
[ 0.000000] Using APIC driver default
[ 0.000000] ACPI: PM-Timer IO Port: 0x1008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086af01 base: 0xfed00000
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] nr_irqs_gsi: 40

heycubby
2014-03-24, 04:28
I give up on cutting and pasting in new threads. How do I just export the results of the command prompts I entered so all can see the results?

kcdtv
2014-03-24, 13:57
It is recommended to use the option "enter code" on a forum when you copy paste such outputs :)




Bus 001 Device 002: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300

that your chipset , so you go to Linux Wireless to check compatibility and drivers issues ( it is recognizedv by lsusb so that a first good point )
wireless.kernel.org/en/users/Drivers/brcm80211 (http://wireless.kernel.org/en/users/Drivers/brcm80211)

here you can read


[B]Unsupported Chips

Chip

BCM43231
0846:9020


That is not good news, it seems to not be supported :


BCM43231 and BCM43236 (rev <= 2) have another architecture and can't be easily supported by brcmfmac. They have less memory on the chip and can't run full MAC firmware, so they require implementing some extra code in the Linux driver. On the other hand they are not standard soft MAC devices, so they can't be supported by brcmsmac or b43.

Do you have any driver for linux from the manufacturer, on the setup CD?

heycubby
2014-03-25, 00:06
Thanks again for the reply. I do have the setup disk & will give that a try. I only installed the driver form it initially. Will post back with results

heycubby
2014-03-25, 04:54
Unfortunately the installation disc only comes with a windows driver.

I don't understand why I can connect to the internet with IceWeasel with both my WNDA3100v2 & WNA3100, but Kali will still not show this device as a viable interface within the command prompt. Furthermore, Kali DID recognize my WNDA4100 adapter in the command prompt before I had to replace it. Any idea why the WNDA4100 worked yet the other two will not? I thought that the WNDA4100 was built after the WNA3100, but before the WNDA3100v2. Please correct me if I'm wrong.

I'm at the point where I'll just buy another adapter that is compatible, but for the sake of time spent and information retention going forward, I would like to understand why I am encountering these issues or how to correct them.

Any light shed, information or new approach is appreciated.

Thanks again!

blackMORE
2014-03-25, 07:22
Netgear WNDA3100v2 USB wireless adapter
AIrcrack-ng forum is good but it's sometime hard to find the correct info there. I would recommend researching on WikiDevi before buying an USB Wifi Adapter for Kali Linux.

For example:
https://wikidevi.com/wiki/Netgear_WNDA3100v2

(God bless WikiDevi maintainer)

I personally use an Alfa and never had to look back. There was a post in the forum about recommended USB adapters, but I cant seem to find it now. You can follow this one as well: Best USB Wireless Cards for Kali Linux (http://www.blackmoreops.com/2014/01/08/recommended-usb-wireless-cards-kali-linux/)

Good luck.

kcdtv
2014-03-25, 15:33
(God bless WikiDevi maintainer)

Yes!
The best data base about wireless devices and linux :)



Any idea why the WNDA4100 worked yet the other two will not?

Let's go to the wiki devi :) : https://wikidevi.com/wiki/Netgear_WNDA4100


Probable Linux driver
rt3573sta, possibly rt5572sta, and future support in rt2800usb (juhosg's patchset adding support, may be in by k3.12)
USB ID first seen in kernel v3.12 (2013-11-03)
(see also passys)

The WNDA4100 has a different chipset, Ralink one, it seems that juhosg's patchset is working good :cool:

You should grab a wireless stick with RPSMA connector :)