LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   What "wireless=unassociated" means? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/what-wireless%3Dunassociated-means-4175641678/)

BrayaON 11-02-2018 07:46 PM

What "wireless=unassociated" means?
 
Hi, friends.
Few days ago, I decided change to Ubuntu 18.10 (I come from W10). The problem is that I have to use a TP-Link adaptor and my connection is broken. I thougth that could be because I didn't installed the correct driver but when I saw well, I realized that the driver was installed. Then, I typed lshw -c network and the last part of the command's output says this: driver=rtl8192cu multicast=yes wireless=unassociated. I compared this output with other output(this is a laptop that work well) and they are differents because the output of the other computer is this: driver=rtl8192cu multicast=yes wireless=IEEE 802.11. I need to know what wireless=unassociated means and if this can be the problem of my connection. If that is the problem, how do I can fix it?

I appreciate if you can help me.

frankbell 11-02-2018 09:16 PM

A web search for "wireless=unassociated linux" will turn up many results, so many that I hesitate to select just one or two to recommend to you.

syg00 11-02-2018 11:50 PM

Quote:

Originally Posted by BrayaON (Post 5922293)
The problem is that I have to use a TP-Link adaptor

Correct - that is your problem.

They claim to be "Linux compatible", but aren't. At least not on recent kernels - the vendor released a driver ages ago, and hasn't kept up with kernel changes.
Depending on chipset, you can probably find someone on github maintaining the driver for you, but it will be a source package that needs compiling and installing, and may need this regularly. See if you can find one that is well documented and uses dkms to help with new kernel installs.

Basically the hardware is recognised, but can't talk to your router as it has no working driver module.

BrayaON 11-03-2018 10:28 AM

Quote:

Originally Posted by syg00 (Post 5922322)
Correct - that is your problem.

They claim to be "Linux compatible", but aren't. At least not on recent kernels - the vendor released a driver ages ago, and hasn't kept up with kernel changes.
Depending on chipset, you can probably find someone on github maintaining the driver for you, but it will be a source package that needs compiling and installing, and may need this regularly. See if you can find one that is well documented and uses dkms to help with new kernel installs.

Basically the hardware is recognised, but can't talk to your router as it has no working driver module.

Thank you for your answer. And if I don't find nothing, Can I change this TP-LINK for other brand that is compatible? The problem is that I don't have Ethernet, then I don't have Internet for my tasks and it I need this immediately.


________
The BACKUP doesn't matter because this computer is new. It haven't nothing of information.

fatmac 11-04-2018 04:20 AM

Check to see that your laptop doesn't have a wifi on/off switch, physical or a function key control.
Also check to see if it is switched off in software, ie wicd, network manager.

BrayaON 11-04-2018 10:02 AM

Quote:

Originally Posted by fatmac (Post 5922660)
Check to see that your laptop doesn't have a wifi on/off switch

First of all, thanks for your answer. Second, I don't have a Laptop. I have a Work Station. For that is that can't do that.

Thank you!

syg00 11-04-2018 07:26 PM

Seems I didn't read your initial post very well - what distro/kernel gets a good connection ?. Try these commands in a terminal should tell us (note the underscore character in the first command).
Code:

lsb_release -a
uname -r

As for an adaptor to use, I have a couple of old D-Link DWA ??? that work fine, but for newer features (multi antenna, speed, range) you'll need something better. Might be a bit of a lucky dip - look for recommendations. Last time I bought something I got a TP-Link, so no point me offering an opinion ... :doh:.

ferrari 11-04-2018 08:33 PM

Back to your opening post comments...
Quote:

The problem is that I have to use a TP-Link adaptor and my connection is broken. I thougth that could be because I didn't installed the correct driver but when I saw well, I realized that the driver was installed. Then, I typed lshw -c network and the last part of the command's output says this: driver=rtl8192cu multicast=yes wireless=unassociated.
Let's assume that the wifi device is actually working (but not yet associated with your wifi network) - what steps have you taken to try and get the wifi device associated with your wireless router/AP?

Since you're an Ubuntu user....
https://help.ubuntu.com/stable/ubunt...s-connect.html

BrayaON 11-06-2018 09:46 PM

Quote:

Originally Posted by syg00 (Post 5922862)
Seems I didn't read your initial post very well - what distro/kernel gets a good connection ?. Try these commands in a terminal should tell us (note the underscore character in the first command).
Code:

lsb_release -a
uname -r


Thanks, I felt well when I read
Quote:

I didn' read your initial post very well
.
When I typed
Quote:

lsb_release -a
, the out was this:
Quote:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
And the other command,
Quote:

uname -r
, the output was following:
Quote:

4.18.0-10-generic
I'm very thankful for your help.

BrayaON 11-06-2018 10:48 PM

Quote:

Originally Posted by ferrari (Post 5922880)
Back to your opening post comments...

Let's assume that the wifi device is actually working (but not yet associated with your wifi network) - what steps have you taken to try and get the wifi device associated with your wireless router/AP?

Thanks for your help.

I was reading the article that you send me and I saw that my TP-Link model not appear in those lists, I have WN8200ND model. will be that if I buy a model that appears in those lists, my connection work? Really I don't know what to do , almost 2 weeks without internet. What do you recommend me?

ferrari 11-07-2018 01:08 AM

Quote:

I was reading the article that you send me and I saw that my TP-Link model not appear in those lists, I have WN8200ND model.
From what you posted so far, your existing device is likely supported already. Again, you've not explained what you did to try and get your wifi device associated with your wireless network AP. It won't connect automatically without deliberate steps on your part. Remember we're not over your shoulder to see for our selves. Please run the following commands...

1. This command will display details of connected USB devices and any drivers associated with the device.
Code:

usb-devices
You will probably find the rtl8192cu driver is loaded, and that your device just needs to be configured.

2. What network device nodes are present? (when the wireless device is plugged in)
Code:

ip a
We're only interested to see if a wireless network device node is present.

BrayaON 11-07-2018 11:13 PM

2 Attachment(s)
Quote:

Again, you've not explained what you did to try and get your wifi device associated with your wireless network AP.
Yes, you're rigth. Sorry about that. I didn't understand how worked a OS GNU/Linux. But I was searching in google also in the link that you send me and now I understand a little more.
Okay, I updated my driver to a new versión ( rtl8192cu ) because it didn't has it. Also, I checked my Interfaces with this command vim /etc/network/interfaces and only appeared this:
Code:

auto lo
iface lo inet loopback

For the moment only I've see if the computer has your drivers or the device is recognized by the computer, and if so. I've not done any configuration, again, because I don't have the sufficient knowledge for do it.
Of course, also try the commands that you recommend me.

Bellow, I've uploaded two images that shows the output of
Code:

usb-devices
and
Code:

ip a
, respectively.

I appreciate so much your help. :thumbsup:

ferrari 11-08-2018 03:01 AM

Ok, that output confirms that the rtl8192cu driver is loaded, and the 'ip a' command shows that a wireless network device node (wlec086b105627) is present. I'm not an Ubuntu user, but there should be a network management tool available to configure this device to connect to your wireless network. Did the instructions in the link I gave not work with getting connected?

Quote:


1. Open the system menu from the right side of the top bar.

2. Select Wi-Fi Not Connected. The Wi-Fi section of the menu will expand.

3. Click Select Network.

4. Click the name of the network you want, then click Connect.

If the name of the network is not in the list, try clicking More to see if the network is further down the list. If you still do not see the network, you may be out of range, or the network might be hidden.

5. If the network is protected by a password (encryption key), enter the password when prompted and click Connect.

If you do not know the key, it may be written on the underside of the wireless router or base station, or in its instruction manual, or you may have to ask the person who administers the wireless network.

6. The network icon will change appearance as the computer attempts to connect to the network.

7. If the connection is successful, the icon will change to a dot with several curved bars above it (). More bars indicate a stronger connection to the network. Fewer bars mean the connection is weaker and might not be very reliable.

BrayaON 11-08-2018 07:39 AM

Quote:

Did the instructions in the link I gave not work with getting connected?
Yes, I did it and not worked. I followed all that steps and the 6 step don't happened.

Before I updated my driver, the networks appeared and I typed the password but always it said: Failed Connection
Later that I updated my driver, the networks appeared, also, and I tried to enter the password but says that Password Incorrec and that's not true because I tryed thousands times with correct password and appears same.

It shows like if it will try connect, but never it connect. That's it

ferrari 11-08-2018 12:22 PM

Ok. This may be an issue unique to Ubuntu. I'm not an Ubuntu user so it would be good for someone who is to chime in here. Anyway, from what I've read so far, it is apparently using a utility called Netplan to manage networking. It can use the systemd-networkd or NetworkManager backend to do the actual connection management. Wifi connections use NetworkManager.

We might be able to get a better idea on what is not working if you examine NetworkManager when trying to connect. To do that oprn a terminal window and run
Code:

sudo journalctl -f
then observe the output as you attempt to connect to your wifi network. You can capture it to a text file using something like this if preferred...
Code:

sudo journalctl -f > output.txt
Then to share the output here, upload the output to https://pastebin.com/ and share the link to it here.

FWIW, I've read at least one post that suggested that 'wpasupplicant' package was missing (needed for encrypted wifi connections), so that may be worth looking at, but your log output will quickly tell us if that is an issue here.


All times are GMT -5. The time now is 12:03 AM.