Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

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.
HAMOS

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by HAMOS »

I'm using the Edimax wireless mini USB that used to run perfectly on mint 11 with the rtl8192cu. Now I have mint 13 mate and the connection is problematic. Works sometimes, other times it doesn't. The amount of time I can be connected is random. I have tried everything on this thread, has anyone figured out a solution to this problem. My readouts in the terminal are the same as those on this thread as far as I can tell.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by AlbertP »

@ HAMOS: Please open a new topic for that.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
HAMOS

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by HAMOS »

I have

http://forums.linuxmint.com/viewtopic.php?f=90&t=129729


Maybe now someone from this forum might know the answer to my problem.




Sorry, for not posting the link.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by AlbertP »

In that case please don't use two threads for one question - that is part of the forum rules. Please read the forum rules at http://forums.linuxmint.com/viewtopic.php?f=17&t=83314.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

Hi guys, for the record I ended up buying the TP-Link TL-WN822N device. I plugged it in, and it started detecting the network almost immediately.

However, the connection seems very slow. I am wondering whether the previously-installed Realtek drivers may be causing conflicts with the new device? How can I uninstall that driver? I cannot find an obvious method described in the README.

With the new device (and wireless adapters in general), should I try to use the wireless-compat drivers first, or the specific ones for that device?

(If I have any problems with the TP-Link TL-WN822N device, I will ask in a separate thread. Thought it would be most appropriate to post this Realtek driver uninstallation question here.).
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by AlbertP »

That slow connection can be easily fixed - apparently you indeed got a device with Atheros chip. Please post the output of inxi -N, then I know which revision of the device you have and which driver it uses.

edit: just re-read your post. It is not a conflict with realtek drivers, then you would have no driver loaded at all.
Last edited by AlbertP on Wed Apr 03, 2013 1:47 pm, edited 1 time in total.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by caf4926 »

You can always test in from a live DVD
If it works there it has a driver ready in the kernel
Linux Mint 21.1 Cinnamon
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

Hi guys. Here is the output of inxi -N:

Code: Select all

Network:   Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169 
           Card-2: Atheros TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287] driver: ath9k_htc 
(I see that the old Realtek USB adaptor is listed as Card-1. Should I do anything to remove it from the list? It is not plugged in anymore, and I am not planning on using it again).
Interesting that Linux is listing the device as 'TL-WN821N v3', instead of TP-Link TL-WN822N v2 - which is what is printed on the box which I bought.

In any case, I see that the wikidevi pages for the devices [1, 2] list the correct driver as ath9k_htc.

I followed your instructions earlier in this thread to install that ath9k_htc driver:

sudo make wlunload

Code: Select all

Unloading rtlwifi...
FATAL: Module rtlwifi is in use.
Unloading mac80211...
FATAL: Module mac80211 is in use.
Unloading cfg80211...
FATAL: Module cfg80211 is in use.
sudo make btunload

Code: Select all

Stoping bluetooth service..
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service bluetooth stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop bluetooth
bluetooth stop/waiting
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service bluetooth status

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the status(8) utility, e.g. status bluetooth
bluetooth stop/waiting
Unloading bnep...
Unloading rfcomm...
sudo modprobe ath9k_htc

Here is the output of sudo iwlist scan:

Code: Select all

wlan2     Scan completed :
          Cell 01 - Address: A0:21:B7:AD:9B:32
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=47/70  Signal level=-63 dBm  
                    Encryption key:on
                    ESSID:"Sirius"
                    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=00000000278e8d80
                    Extra: Last beacon: 184ms ago
                    IE: Unknown: 00085369726975736C79
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C334C101BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3401080800000000000000000000000000000000000000
                    IE: Unknown: 3D1601080800000000000000000000000000000000000000
                    IE: Unknown: DD0A00037F04010002004000
                    IE: Unknown: DD7F0050F204104A0001101044000102103B0001031047001000000000000010000000A021B7AD9B32102100044E54475210230009776E72323030307633102400016E104200046E6F6E651054000800060050F20400011011001B574E5232303030763328576972656C6573732041502D322E344729100800020086103C000103

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.
Let me know how these outputs seem to you. Subjectively, the network connection currently seems slower than I thought it would be. (Compared to the 2 other notebook in this room with inbuilt network adaptors.) Would be great to increase the connection speed via AlbertP's trick.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by caf4926 »

I think this
Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169
Is your Ethernet (wired connection)

On the USB device there should be a small label. Does that quote v2 or 3?
Linux Mint 21.1 Cinnamon
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

A sticker on the USB device confirms that it is a TP-Link TL-WN822N v2 adapter.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by caf4926 »

Have you done a speedtest on it?
Linux Mint 21.1 Cinnamon
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

OK, I've got a new problem. I turned my computer off overnight and today it has booted up without detecting the wireless adapter at all. 'Wireless' is not a network option available to me.

Any idea what might be happening? I have tried the TP-Link adapter in a few different USB sockets of the computer, and have rebooted the compputer twice, but it is still not working.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by caf4926 »

Is there a physical wireless switch or Fn combo
Have you checked what this give now

Code: Select all

inxi -N
Linux Mint 21.1 Cinnamon
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

I'm not sure I understand your first question. There is only one button/switch on the adapter for QSS (TP-Link's "Quick Security Setup" for when connecting to their routers).

Here is the output of inxi -N:

Code: Select all

Network:   Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169 
           Card-2: Atheros TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287]
The difference between the last time I ran this command is that "driver: ath9k_htc" is no longer displaying next to card 2.

I'm not sure how the driver would have unloaded itself...

I just followed the driver-loading steps which I mentioned in this post. Here is the output of sudo modprobe ath9k_htc:

Code: Select all

WARNING: Error inserting ath9k_hw (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko): Invalid argument
WARNING: Error inserting ath9k_common (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko): Invalid argument
WARNING: Error inserting mac80211 (/lib/modules/3.2.0-23-generic/updates/net/mac80211/mac80211.ko): Invalid argument
FATAL: Error inserting ath9k_htc (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko): Invalid argument
Any idea why the driver can't be installed/loaded at the moment?
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by caf4926 »

Try

Code: Select all

sudo modprobe -rv ath9k_htc

Code: Select all

sudo modprobe -v ath9k_htc
Linux Mint 21.1 Cinnamon
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by AlbertP »

Ok, to fix slow connection on ath9k_htc, please run:

Code: Select all

gksudo gedit /etc/modprobe.d/ath9k_htc.conf
In that file please type:

Code: Select all

options ath9k_htc nohwcrypt=1
Sorry for the late response. I have been without internet for a moment being on holiday in Greece.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

AlbertP, I inserted that line of text into the .conf file. (The file was blank up until I entered that string).

However, my USB adapter still doesn't seem to have a driver associated with it. Here is the output following caf4926's commands:

sudo modprobe -rv ath9k_htc

Code: Select all

rmmod /lib/modules/3.2.0-23-generic/updates/net/mac80211/mac80211.ko
rmmod /lib/modules/3.2.0-23-generic/updates/net/wireless/cfg80211.ko
rmmod /lib/modules/3.2.0-23-generic/updates/compat/compat.ko
sudo modprobe -v ath9k_htc

Code: Select all

insmod /lib/modules/3.2.0-23-generic/updates/compat/compat.ko 
insmod /lib/modules/3.2.0-23-generic/updates/net/wireless/cfg80211.ko 
insmod /lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath.ko 
WARNING: Error inserting ath (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath.ko): Invalid argument
WARNING: Error inserting ath9k_hw (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko): Invalid argument
WARNING: Error inserting ath9k_common (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko): Invalid argument
WARNING: Error inserting mac80211 (/lib/modules/3.2.0-23-generic/updates/net/mac80211/mac80211.ko): Invalid argument
FATAL: Error inserting ath9k_htc (/lib/modules/3.2.0-23-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko): Invalid argument
stuart@stuart-desktop ~ $ gksudo gedit /etc/modprobe.d/ath9k_htc.conf
inxi -N is still displaying

Code: Select all

Network:   Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169 
           Card-2: Atheros TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287] 
Without a 'driver' for Card-2.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by AlbertP »

Ok, it says invalid argument when loading some modules. That may be because you installed compat-drivers with a Realtek driver; that somehow makes you unable to load other wifi drivers. You can go to the compat-drivers folder, right-click > Open in Terminal, and run:

Code: Select all

sudo make uninstall
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
aneurysm1985

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by aneurysm1985 »

OK, I ran the sudo make uninstall from within the directory which I extracted the compat-drivers to. What should I do now?
Last edited by aneurysm1985 on Wed Apr 17, 2013 8:07 am, edited 1 time in total.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Wireless problems in Mint 13 with ASUS N13 (0b05:17ab)

Post by caf4926 »

caf4926 wrote:Try

Code: Select all

sudo modprobe -rv ath9k_htc

Code: Select all

sudo modprobe -v ath9k_htc

Try these probes again
Linux Mint 21.1 Cinnamon
Locked

Return to “Networking”