Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Unable to connect to wireless network

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
pekwalker
Posts: 4
Joined: 2018-02-07 13:27
Location: Roanoke, TX USA

[SOLVED] Unable to connect to wireless network

#1 Post by pekwalker »

I have searched the forum here for a possible solution to my problem but have not come across anything that helps my situation. I am still very new to Linux and Debian in general. I have had only limited exposure to Linux over the last 20 years or so and only recently decided to finally give it a real try.

Last night I installed the latest Debian 9 via the CD image on a USB Flashdrive. Everything appears to have gone smoothly. I have a TP Link TL-WN722N wireless adapter that I want to use to connect to a wireless network in my home because where the computer is in the house, running an ethernet cable to it is not an option. When I initially plugged in the adapter, it was recognized as being plugged in, but I got the message in the Network Widget that the firmware was missing or something like that. From doing some other reading, I found that I needed to install the atheros-firmware package in order for the adapter to work with Debian. I downloaded the atheros-firmware package in a .deb file and via terminal installed it using the dpkg -i firmware package name.deb command. Once that was done, the Network widget then recognized the adapter and I was able to see the available wireless networks. When I try to connect to my wireless network, I get the trying to connect graphic with the spinning ying and yang thing but eventually I just get the Wireless network was disconnected message and the adapter never connects. It has been quite frustrating to this point. Is there anyone that may have possibly been through the same problem and has found a solution or someone that could possibly help me get the adapter working? At this point I am about to once again surrender to the fact that perhaps Linux is just one of those things that is above my head. Any help and information would be greatly appreciated.

Peter
Last edited by pekwalker on 2018-02-09 11:31, edited 1 time in total.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Unable to connect to wireless network

#2 Post by bw123 »

Welcome to the forum. Thanks for searching and for mentioning that firmware is installed. That is the first thing that gets people usually.

The problem you're having sounds a lot like the nasty issue with network-manager, called wifi.scan-rand-mac-address this gets a lot of people. The issue also affects Realtek, Ralink, and Broadcom devices that I use.

https://github.com/qca/open-ath9k-htc-f ... issues/132

It's easy to fix, read the link, and maybe search the forum one more time for rand mac address and then after applying the edit, restart nm and you'll probably have it working.

When you post more questions, be sure and let people know what desktop (gnome?) and what other tools you are using for whatever issue you have.

Linux isn't that bad, it's just different. Most of the easy problems have been solved, it's just tricky searching for them sometimes, good luck!
resigned by AI ChatGPT

pekwalker
Posts: 4
Joined: 2018-02-07 13:27
Location: Roanoke, TX USA

Re: Unable to connect to wireless network

#3 Post by pekwalker »

Thank you very much for the reply and information. I will give that a look over and let you know if it corrects my problem. Once I get that up and running, I should be able to update my installation and hit the ground running from there.

Peter

User avatar
sunrat
Administrator
Administrator
Posts: 6475
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Unable to connect to wireless network

#4 Post by sunrat »

Are you sure it is an Atheros device? V1 was Atheros, V2 is Realtek. Probably.

https://wikidevi.com/wiki/TP-LINK_TL-WN722N
https://wikidevi.com/wiki/TP-LINK_TL-WN722N_v2
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

pekwalker
Posts: 4
Joined: 2018-02-07 13:27
Location: Roanoke, TX USA

Re: Unable to connect to wireless network

#5 Post by pekwalker »

Mine has the Atheros chipset. After installing the firmware and adding the command:

[device]
wifi.scan-rand-mac-address=no

into the NetworkManager.conf, everything is working great. I updated the installation and I am amazed at how fast this distro works with my hardware setup, I have a rocketship. I am very happy with it overall.

Peter

Post Reply