Wireless LAN not working properly.

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
iffuw

Wireless LAN not working properly.

Post by iffuw »

Hi,

i've just installed Linux Mint 18.3 and everything seems to be working quite smoothly.
Unfortunately my wireless lan does not work.
I can see the wireless networks around me, but when i try to connect to my own network (password is saved correctly)
I'm unable to connect. The "wait" circle is showing and after a few seconds the message "not connected to network" pops up.
I have a TP-Link TL-WN851N 300Mbps Wireless N PCI Adapter.
When i run "lspci" i can read:
04:07.0 Network controller: Qualcomm Atheros AR9227 Wireless Network Adapter (rev 01).
I am running on the kernel: 4.13.0-36-generic.

I have also tried another wlan adapter I have at home, a ASUS PCE-AC51. I've observed exactly the same issue there.

Please, can anyone help me out? I can surely provide additional info if needed.

Btw.: Im running a dual boot with windows 10 here, and there the wireless network works just fine for both adapters.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: Wireless LAN not working properly.

Post by JeremyB »

See the wireless script link in my signature and post results
iffuw

Re: Wireless LAN not working properly.

Post by iffuw »

Thanks for the quick answer. Here is the info file.
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: Wireless LAN not working properly.

Post by JeremyB »

I would see if the following helps

Code: Select all

sudo iw reg set DE

Code: Select all

sudo iwconfig wlp4s7 txpower 18
Change IPv6 setting in Network Manager for wifi to ignore/disable, then try to connect. You do have one wifi access point using WPA with TKIP, when WPA2 with AES/CCMP is preferred
iffuw

Re: Wireless LAN not working properly.

Post by iffuw »

Hi,

thanks again for the quick reply.
I did what you told me, at first ran "sudo iw reg set DE", and after that "sudo iwconfig wlp4s7 txpower 18".
After that i went to "network" in the system settings and disabled IPv6 for my home wireless network.
Unfortunately the result was the same. The loading symbol shows up next to the network, and after a few seconds the "network disconnected" pops up.
I ran your infoscript after the changes from above again an attached it, maybe that helps.

Do you think it would help, if i installed the system again natively in german? I'm just guessing bearing your the first command (set DE) in mind.

Furthermore if i run "dmesg | grep wlp4s7" i repeatedly get the following lines:
[ 1028.909079] wlp4s7: authenticate with 88:03:55:8d:10:d6
[ 1028.940899] wlp4s7: send auth to 88:03:55:8d:10:d6 (try 1/3)
[ 1029.018341] wlp4s7: send auth to 88:03:55:8d:10:d6 (try 2/3)
[ 1029.068034] wlp4s7: send auth to 88:03:55:8d:10:d6 (try 3/3)
[ 1029.119633] wlp4s7: authentication with 88:03:55:8d:10:d6 timed out
maybe that helps...
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: Wireless LAN not working properly.

Post by JeremyB »

Try with ethernet disconnected as the TX power is good now
iffuw

Re: Wireless LAN not working properly.

Post by iffuw »

Hi,
sorry, exactly the same, when the ethernet cable is not plugged in.
iffuw

Re: Wireless LAN not working properly.

Post by iffuw »

Hey, i got the solution via another issue (not all my usb ports were working).

The solution was:
- enable XHCI hands-off
- enable EHCI hands-off
- endable IOMMU controller
all in the UEFI.
Furthermore:
in /etc/default/grub
Add the line:
GRUB_CMDLINE_LINUX="iommu=soft"
Save, rebuild grub config with
sudo update-grub.

No everything works fine!
Tanks again!
Locked

Return to “Networking”