You are not logged in.
Hello Everyone, Hope you are all fine. I have strange problem with my Wireless connections. This is what is happening in as much simple language as possible:
So i have a moto c plus android mobile phone, which has nougat 7.1 (just for information). I used to use it's hotspot for connecting to internet. I have a TP-Link TL-WN722N wireless adapter. The problem is, suddenly my wifi hotspot does not show up in network manager, I do not know how this happened or not, and when this happened (Sorry for this). All other wireless AP's and mobile hotspot AP's are visible in Network Manager. I am also able to connect to them with network manager, i am connected to another mobile's hotspot. Now the most strange thing, that Moto c plus's wireless hotspot is visible in other devices, and they can connect to it, I have dual booted arch linux with windows 7. In windows 7 the moto c plus's wireless hotspot is visible and it can be connected.
I want to state that i have tried to use wicd when this problem started to appear, and then it was also not visible in wicd too, i then purged the wicd, and also i want to tell that i have tried it with wpa_supplicant and dhcpcd. It failed. I had used the same wifi hotspot while installation. Also i had disabled services of wicd and network manager respectively while checking the situation and i tried to purge and install one at a time, The problem still persists.
From a friend's hint i tried to check the channel by putting my wireless card into monitor mode and airodump-ng to check the channel of my wireless ap, I was on channel 13, and other AP which was visible in Network manager (nmtui, nm-applet) was in either channel 7 or other channels. Yet all of them in 2.5 GHZ frequency band.
Also an important thing to state: i have retained the generic names of network interfaces, like wlan0, eth0, after this problem started appearing, (Previously when i used debian etc, i had faced problems while connecting to wifi ap's, i thought this might be the case of interface's name. It did not affect anything. I have tried going into safe mode of mobile phone, and it is not visible. Also no client is blocked in wireless hotspot. I have tried opting only IPV4 address in hotspot settings also. I can also connect to internet via usb tathering but not with wifi.
This is the output of dmesg from where the interface loads up:
[ 13.141386] usb 1-6: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[ 13.141619] usbcore: registered new interface driver ath9k_htc
[ 13.792109] usb 1-6: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[ 14.044463] ath9k_htc 1-6:1.0: ath9k_htc: HTC initialized with 33 credits
[ 14.328341] ath9k_htc 1-6:1.0: ath9k_htc: FW Version: 1.4
[ 14.328345] ath9k_htc 1-6:1.0: FW RMW support: On
[ 14.328347] ath: EEPROM regdomain: 0x809c
[ 14.328348] ath: EEPROM indicates we should expect a country code
[ 14.328350] ath: doing EEPROM country->regdmn map search
[ 14.328352] ath: country maps to regdmn code: 0x52
[ 14.328353] ath: Country alpha2 being used: CN
[ 14.328355] ath: Regpair used: 0x52
[ 14.362957] ieee80211 phy0: Atheros AR9271 Rev:1
[ 15.357893] r8169 0000:02:00.0 eth0: link down
[ 15.357986] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.543304] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.589535] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.636339] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.883142] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 18.320119] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 41.748498] fuse init (API version 7.26)
[ 184.445246] device wlan0mon entered promiscuous mode
[ 301.980740] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 324.152654] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 324.155968] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 324.401345] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 324.492801] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 585.299560] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 586.590913] wlan0: authenticate with 8e:77:16:ad:9f:88
[ 586.851824] wlan0: send auth to 8e:77:16:ad:9f:88 (try 1/3)
[ 586.853654] wlan0: authenticated
[ 586.856663] wlan0: associate with 8e:77:16:ad:9f:88 (try 1/3)
[ 586.860811] wlan0: RX AssocResp from 8e:77:16:ad:9f:88 (capab=0x421 status=0 aid=1)
[ 586.869516] wlan0: associated
[ 586.869922] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2287.035984] perf: interrupt took too long (2533 > 2500), lowering kernel.perf_event_max_sample_rate to 78900
[ 2549.576114] perf: interrupt took too long (3186 > 3166), lowering kernel.perf_event_max_sample_rate to 62700
[ 3044.965046] perf: interrupt took too long (3996 > 3982), lowering kernel.perf_event_max_sample_rate to 49800
[ 3684.217962] perf: interrupt took too long (5017 > 4995), lowering kernel.perf_event_max_sample_rate to 39600
[ 4464.045577] wlan0: deauthenticated from 8e:77:16:ad:9f:88 (Reason: 3=DEAUTH_LEAVING)
[ 4479.040826] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 4479.299601] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 4821.306086] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 4944.323872] usb 1-6: USB disconnect, device number 3
[ 4944.353102] ath: phy0: Failed to wakeup in 500us
[ 4944.363219] ath: phy0: Failed to wakeup in 500us
[ 4944.496415] usb 1-6: ath9k_htc: USB layer deinitialized
[ 5249.162844] usb 1-5: new high-speed USB device number 4 using ehci-pci
[ 5270.609536] usb 1-5: USB disconnect, device number 4
[ 5271.069509] usb 1-5: new high-speed USB device number 5 using ehci-pci
[ 5271.282684] usbcore: registered new interface driver cdc_ether
[ 5271.290240] rndis_host 1-5:1.0 usb0: register 'rndis_host' at usb-0000:00:1d.7-5, RNDIS device, 02:26:ef:d6:19:fa
[ 5271.290309] usbcore: registered new interface driver rndis_host
[ 5271.345509] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not readyThat usb0 is the interface when i connect to the internet with usb tathering. And also i was connected to other mobile's hotspot which i was connected first. That mobile runs on android 5.1
And here is the output of lspci -k
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
Subsystem: Elitegroup Computer Systems 4 Series Chipset DRAM Controller
Kernel modules: intel_agp
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Subsystem: Elitegroup Computer Systems 4 Series Chipset Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Subsystem: Elitegroup Computer Systems 4 Series Chipset Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 01)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family USB2 EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Elitegroup Computer Systems 82801GB/GR (ICH7 Family) LPC Interface Bridge
Kernel driver in use: lpc_ich
Kernel modules: intel_rng, lpc_ich, leds_ss4200
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
Subsystem: Elitegroup Computer Systems 82801G (ICH7 Family) IDE Controller
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi, ata_generic
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family SATA Controller [IDE mode]
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi, ata_generic
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
Subsystem: Elitegroup Computer Systems NM10/ICH7 Family SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 02)
Subsystem: Elitegroup Computer Systems RTL8101/2/6E PCI Express Fast Ethernet controller
Kernel driver in use: r8169
Kernel modules: r8169I think this is understandable and as clean as i can state. I would love to give more information if needed. And i am a newbie, i had used arch before though. Help in any way is appreciated. ![]()
Last edited by Explorer34 (2018-01-01 14:25:26)
Hope is the most dangerous thing to lose.
Offline
You claim to have used wpa_supplicant, does that mean the AP show up in an iw/iwconfig scan?
Channels 12 & 13 are under special regulation in the USA, so if you live there, use a different channel.
Offline
seth thanks for quick reply, i never tried iw though, it is what i get with iwlist wlan0 scanning:
wlan0 Scan completed :
Cell 01 - Address: BC:8A:E8:02:9C:7C
Channel:9
Frequency:2.452 GHz (Channel 9)
Quality=24/70 Signal level=-86 dBm
Encryption key:on
ESSID:"JioFi2_029C7C"
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
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000002718896ef
Extra: Last beacon: 10670ms ago
IE: Unknown: 000D4A696F4669325F303239433743
IE: Unknown: 010882848B960C121824
IE: Unknown: 030109
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1A2C101EFF00000000000000000000000000000000000000000000
IE: Unknown: 3D1609000000000000000000000000000000000000000000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C332C101EFF00000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3409000000000000000000000000000000000000000000
IE: Unknown: DD0600E04C020160
IE: Unknown: DD9B0050F204104A0001101044000102103B0001031047001063041253101920061228BC8AE8029C7C1021001B5265616C74656B2053656D69636F6E647563746F7220436F72702E1023000752544C387878781024000D45562D323031302D30392D32301042000F3132333435363738393031323334371054000800060050F20400011011000652544B5F41501008000200001049000600372A000120And i do not live in USA, seth.
Here is what i get with iwconfig scan:
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:offI meant i used wpa_supplicant, i used to do wpa_passphrase for adding the username and password to wpa_supplicant.conf and then used the wpa_supplicant, then to allocate an ip i used to use dhcpcd. Thanks for your quick reply. And my wireless ap does not show up in the iw scan.
. I have no clue what is happening though.
tbh i am also suspecious about channel the hotspot is using, But there is no way i change it's channel, this mobile is literally new and i have not any option to choose the frequency bands or channel. ![]()
P.S. I had also purged wpa_supplicant.conf file when i had installed network manager. (just for info)
Well i have searched for some time, and i think problem lies here:
[ 14.328347] ath: EEPROM regdomain: 0x809c
[ 14.328348] ath: EEPROM indicates we should expect a country code
[ 14.328350] ath: doing EEPROM country->regdmn map search
[ 14.328352] ath: country maps to regdmn code: 0x52
[ 14.328353] ath: Country alpha2 being used: CN
[ 14.328355] ath: Regpair used: 0x52 This is then using regulatory domain of china. I tried to change it , but it can not be changed.
# iw reg set US
# iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)I also do not live in china though ![]()
Last edited by Explorer34 (2018-01-01 13:51:03)
Hope is the most dangerous thing to lose.
Offline
Is the WLAN adapter from china?
https://www.archlinux.org/packages/core/x86_64/crda/
https://www.archlinux.org/packages/core … ess-regdb/
https://wiki.archlinux.org/index.php/Wi … ory_domain
It's weird though that the AP doesn't even show up in a scan.
Do you have a bluetooth device? What if you rfkill that?
What about the distance to the phone (if it's right next to you or 50m away, try to get into a 2m distance. If you're at 2m, get closer or away from it. Ensure to really re-scan, "sudo iwlist scan", "scanning" just prints the cache)
Also
sudo iw dev wlan0 scan"Offline
Ok I solved it finally, I realized that i had not installed and configured CRDA.
I installed CRDA:
# pacman -S crda And after that i uncommented the regulatory domain for my country in
/etc/conf.d/wireless-regdom
File.
I did a reboot, and i tried to check the wireless AP's, Finally my hotspot was visible and i was able to connect to it.
Thank you seth for your help. ![]()
Hope is the most dangerous thing to lose.
Offline