PDA

View Full Version : Nexus 7 2012 Wifi, TL-WN821N not registering as wlan1



Tsquare
2015-06-19, 01:55
I have confirmed that the wireless adapter does work, tested on my Kali pc. I'm not sure if the device requires power but I have tried with an OTG Y cable that I have successfully powered and detected an external hard drive with, using my nexus(mounting with StickMount). It shows using lsusb, but I don't get wlan1 on ifconfig or iwconfig, and wifite gives me "SI0CGIFFLAGS (No such device)." I've reinstalled multiple times, first using nexus root toolkit to unlock and root, then used the final step of the windows nethunter installer. It was as functional as now, the only notable difference being that the kernel was a google kernel. Second, after flashing stock, I used the nethunter installer all the way through with the same result. I then found a post about the kernel being wrong if it says google in it, so I got the one from photonic tried replacing the kernel and broke my installation. My most recent install, after going back to stock, unlocked and rooted with nexus toolkit, flashed Kernel-groupertilapia-kitkat-12042014, moved nethunter zip to device and installed using twrp.

When I enter lsusb in the kali terminal, it reads:

root@kali:/# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here is my tablet info:

Android version
4.4.4

Kernel version
3.1.10-kangaroo
root@kali #1

Build number
KTU84P

Here is a snippet from dmesg (It was pretty long and I'm not sure how much was relevant):

[42910.852069] cable_type_detect()
[42910.852263] INOK=L
[42910.852728] smb347_charger: [cable_type_detect] Reg39 : 0x10
[42910.853337] smb347_charger: [cable_type_detect] Reg3F : 0x83
[42910.853538] smb347_charger: [cable_type_detect] USB_IN
[42910.853985] smb347_charger: [cable_type_detect] Reg3E : 0x0e
[42910.854336] Cable: host mode charging ac
[42910.854524] ================================================== ======
[42910.854869] battery_callback usb_cable_state = 3
[42910.855055] ================================================== ======
[42910.855402] battery_callback cable_wake_lock 5 sec...
[42910.855411]
[42910.856509] elan-ktf3k 1-0010: Update power source to 1
[42910.862182] healthd: battery l=100 v=4133 t=31.0 h=2 st=5 chg=a
[42911.105088] [MPDEC]: CPU[1] off->on | Mask=[0.1100]
[42911.191673] smb347_otg_status waiting for external power done 1
[42911.191744] smb347_otg_status allow battery to be charged
[42911.192498] smb347_otg_status enableOTG, dont chargeSlaves, don't stopChargeSlaves
[42911.192615] smb347_configure_otg otg=1 chargeSlaves=0 stopSlaves=0 lastOtg=0
[42911.192983] smb347_configure_otg enable host mode
[42911.193703] smb347_otg_status make external power detectable2
[42911.194982] smb347_otg_status DONE hostmode=1 externalPowerState=1 chargeSlaveDevicesState=0
[42911.195099] tegra-otg tegra-otg: call tegra_start_host()
[42911.195718] phy->instance = 0, phy->xcvr_setup_value = 56
[42911.195859] create_regulator: fixed_reg_en_avdd_hdmi_usb_a01: Failed to create debugfs directory
[42911.195972] tegra_usb_phy_open instance 0 MAX77663_IRQ_ACOK_RISING
[42911.199624] tegra-ehci tegra-ehci.0: Tegra EHCI Host Controller
[42911.199784] tegra-ehci tegra-ehci.0: new USB bus registered, assigned bus number 2
[42911.221653] tegra-ehci tegra-ehci.0: irq 52, io mem 0x7d000000
[42911.233040] [MPDEC]: CPU[2] off->on | Mask=[0.1110]
[42911.241655] tegra-ehci tegra-ehci.0: USB 2.0 started, EHCI 1.00
[42911.241858] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[42911.241922] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[42911.242033] usb usb2: Product: Tegra EHCI Host Controller
[42911.242094] usb usb2: Manufacturer: Linux 3.1.10-kangaroo ehci_hcd
[42911.242204] usb usb2: SerialNumber: tegra-ehci.0
[42911.242613] hub 2-0:1.0: USB hub found
[42911.242751] hub 2-0:1.0: 1 port detected
[42911.242999] Wake39 for irq=52
[42911.243067] Enabling wake39
[42911.243196] tegra-otg tegra-otg: done id_is_set=1 ##############
[42911.243276] tegra-otg tegra-otg: !USB_ID_INT_STATUS but USB_VBUS_INT_STATUS id_is_set)1
[42911.243389] tegra-otg tegra-otg: USB_VBUS_INT_STATUS
[42911.243451] tegra-otg tegra-otg: USB_VBUS_STATUS && id_is_set: to=OTG_STATE_A_HOST
[42911.243565] tegra-otg tegra-otg: HOST --> HOST
[42911.243624] tegra-otg tegra-otg: call smb347_otg_status()
[42911.243739] smb347_otg_status from=9 to=9 hostmode=1 externalPowerState=1 usbhost_charge_slave_devices=0 fixed_install_mode=0
[42911.243850] cable_type_detect()
[42911.243912] INOK=L
[42911.244232] smb347_charger: [cable_type_detect] Reg39 : 0x10
[42911.244534] smb347_charger: [cable_type_detect] Reg3F : 0x93
[42911.244596] smb347_charger: [cable_type_detect] USB_IN
[42911.244892] smb347_charger: [cable_type_detect] Reg3E : 0x0e
[42911.244960] Cable: host mode charging ac
[42911.245073] ================================================== ======
[42911.245133] battery_callback usb_cable_state = 3
[42911.245243] ================================================== ======
[42911.245317] elan-ktf3k 1-0010: Update power source to 1
[42911.245617] smb347_otg_status allow battery to be charged
[42911.247152] smb347_otg_status enableOTG, dont chargeSlaves, don't stopChargeSlaves
[42911.247271] smb347_configure_otg otg=1 chargeSlaves=0 stopSlaves=0 lastOtg=1
[42911.249200] smb347_otg_status make external power detectable2
[42911.250285] healthd: battery l=100 v=4133 t=31.0 h=2 st=5 chg=a
[42911.251031] smb347_otg_status DONE hostmode=1 externalPowerState=1 chargeSlaveDevicesState=0
[42911.251148] tegra-otg tegra-otg: call tegra_start_host()
[42911.251262] tegra-otg tegra-otg: done id_is_set=1 ##############
[42911.571740] usb 2-1: new high speed USB device number 2 using tegra-ehci
[42911.604333] usb 2-1: New USB device found, idVendor=0bda, idProduct=8178
[42911.604550] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42911.604908] usb 2-1: Product: USB WLAN
[42911.605103] usb 2-1: Manufacturer: 802.11n
[42911.605451] usb 2-1: SerialNumber: 00e04c000001
[42911.887204] [MPDEC]: CPU[2] on->off | Mask=[0.1100] | time online: 654
[42912.146959] [MPDEC]: CPU[1] on->off | Mask=[0.1000] | time online: 1042
[42913.250888] healthd: battery l=100 v=4162 t=31.0 h=2 st=5 chg=a
[42913.964802] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42914.036966] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 72
[42918.514800] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42918.918612] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 404
[42920.855129] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42922.412847] tegra_update_cpu_speed: couldn't switch to gmode (freq)
[42922.857910] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 2002
[42924.774773] [MPDEC]: CPU[1] off->on | Mask=[0.1100]
[42925.047453] [MPDEC]: CPU[1] on->off | Mask=[0.1000] | time online: 272
[42928.294904] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42930.787462] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 2492
[42931.415005] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42931.626929] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 211
[42932.324969] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42932.583096] tegra_update_cpu_speed: couldn't switch to gmode (freq)
[42936.947448] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 4622
[42937.524854] [MPDEC]: CPU[LP] off->on | Mask=[1.0000]
[42939.989032] [MPDEC]: CPU[LP] on->off (freq) | Mask=[0.1000] | time on: 2464

ohunt
2015-08-06, 03:13
I'm having the same issue, same build, same dongle (but I did try others, with the same result). I tried everything that you did, hopefully someone will reply with a few ideas.

javierdanielcruz
2015-08-07, 20:34
I was able to get the wifi working again. Took me a couple tries. First i messed around with the kernel because the other day after installing it straight from the kali nethunter program, it left the old kernel for google. once i loaded up the groupertilpia kernel i got to work on checking to see if the wifi dongle was being read by my tablet. Still nothing. I was noticing i was having problem with Kali not loading correctly, i couldn't getthe shell to open in terminal or sometimes wifite wouldnt open at all.

Finally decided to reinstall the original nakasi zip file from TWRP and once it finished loading, checked the status of the wireless with "ifconfig" but still nothing. Tested it out with wifite and gave me the same error. After closing it out and opening again it was working once again. I'm currently scanning networks right now.

Not sure if its intermittent where sometimes it will work and other times not but thats what i did to get it to work. After I'm done scanning some networks i will attempt to update kali and see if anything changes.

Specs:
Nexus 7 2012 WIFI+Mobile 32GB

localhost
2015-08-12, 03:24
UPDATE 2: wlan1 is not showing up I have the TP-LINK WN722N connected over OTG cable like i've had in the past its not showing the wireless card connected

UPDATE 1: Ran apt-get install pciutils
and it appears to work now wifite does.

Having the same issue with Net hunter 2.0 on Nexus 7 2013 Wifi tablet SI0CGIFFLAGS (No such device) with wifite tells me something about Please install lspci from your distro's package manager and just keeps spamming that till I CRTL+C any fix for this?
i'm using a TP-LINK WN722N Wireless card connected over OTG cable used to work on the old net hunter but not in 2.0 now.

deadlyhabit
2015-08-12, 03:39
UPDATE 2: wlan1 is not showing up I have the TP-LINK WN722N connected over OTG cable like i've had in the past its not showing the wireless card connected

UPDATE 1: Ran apt-get install pciutils
and it appears to work now wifite does.

Having the same issue with Net hunter 2.0 on Nexus 7 2013 Wifi tablet SI0CGIFFLAGS (No such device) with wifite tells me something about Please install lspci from your distro's package manager and just keeps spamming that till I CRTL+C any fix for this?
i'm using a TP-LINK WN722N Wireless card connected over OTG cable used to work on the old net hunter but not in 2.0 now.
Are you using Kit-Kat or Lollipop, as I know in Lollipop I had issues bringing my WN722N up or getting it recognized.
Going to do a fresh install on my N7 2013 and if 2.0 still has issues would be great to know to stick to Kit-Kat/

ididntdoit
2015-08-12, 07:41
UPDATE 2: wlan1 is not showing up I have the TP-LINK WN722N connected over OTG cable like i've had in the past its not showing the wireless card connected

UPDATE 1: Ran apt-get install pciutils
and it appears to work now wifite does.

Having the same issue with Net hunter 2.0 on Nexus 7 2013 Wifi tablet SI0CGIFFLAGS (No such device) with wifite tells me something about Please install lspci from your distro's package manager and just keeps spamming that till I CRTL+C any fix for this?
i'm using a TP-LINK WN722N Wireless card connected over OTG cable used to work on the old net hunter but not in 2.0 now.

I'm having the exact same issue with the Alfa card using the RTL8187.
Running Nethunter 1 bult by vx at 2015-07-10 on the nexus 7 (2013) WiFi only (flo) and with Cyanogenmod 12.1 (Android 5.1.1)

localhost
2015-08-12, 17:07
TP-LINKWN722N doesn't work with Nethunter 2.0 with either Kitkat or Lolipop
http://i.imgur.com/nB4R3Iu.png

I'm not even sure how to install drivers :B

Pedros
2015-08-12, 21:35
TP-LINKWN722N doesn't work with Nethunter 2.0 with either Kitkat or Lolipop
http://i.imgur.com/nB4R3Iu.png

I'm not even sure how to install drivers :B

Look at post 4 by localhost.
Open terminal and run apt-get install pciutils.
Thats all works.

Tsquare
2015-08-19, 21:02
UPDATE I ordered a TP-LINK WN722N and it worked right off the bat, didn't have much time to mess with it though. I tried again a while later and it wouldn't even detect it with lsusb. Turns out I had some usb connection issues and could no longer maintain a stable connection even to my computer. I managed to ssh a recovery image, restored to stock, tried to install nethunter 2 and ended up with the nethunter version 1 still, but the usb connection is now stable and the TP-LINK WN722N is functioning at the moment.

ldglance
2015-08-20, 19:14
for me i noticed that mine would not go up less i had the internal wifi enabled. after the internal wifi was enabled then i was able to bring up the external wifi adapter and get responses from it. though since i enabled it after i had external connected my adapter was set to wlan0.

o i am on oneplus one cm12 build.

Zaplancek
2016-11-29, 17:31
Same problem here. (NO wlan1) Tried with 3 different wifi cards (also y cable). Nothing seems to work. i did my homework and surf the WEB for solutions. Try ALL of them - fixed nothing. Just throw hours/days into nothing damnit!
I guess, i have to wait for some more stable versions.
Thanks for doing this har work guys.
I appreciate.

yoy123
2020-04-14, 03:05
https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project/-/issues/1315#note_323054792

Try This