1

I just downloaded Ubuntu and am trying to get my WiFi set up. I tried researching this but could not find anything for 17.04.

When I put it into the USB drive, it popped right up showing available networks. It tried to connect for a minute and then says disconnected. I just connected on another laptop so I know there's not an issue with the connection or my password...

Do I need to download/install any drivers even though it was immediately showing my wifi network?

I ran network diagnostics and here are the results: http://paste.ubuntu.com/25343050/

Simon Sudler
  • 3,931
  • 3
  • 21
  • 34
vince
  • 65

1 Answers1

5

Please check to see if two possibly conflicting drivers are loaded:

lsmod | grep rtl

If you find that both rtl8192cu and rtl8xxxu are loaded, then blacklist one:

sudo -i
echo "blacklist rtl8192cu"  >>  /etc/modprobe.d/blacklist.conf
exit

You will also need a change to Network Manager:

sudo nano /etc/NetworkManager/NetworkManager.conf

Add a new section as follows:

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

Proofread carefully, save and close the text editor.

After making these changes, reboot and let us hear the result.

chili555
  • 60,188
  • I ran the "lsmod | grep rtl" command, and it seems like something funny is going on. Here is the yield: "~$ lsmod | grep rtl rtl8xxxu 126976 0 rtl8192cu 65536 0 rtl_usb 20480 1 rtl8192cu rtl8192c_common 49152 1 rtl8192cu rtlwifi 73728 3 rtl_usb,rtl8192c_common,rtl8192cu mac80211 782336 4 rtl_usb,rtlwifi,rtl8192cu,rtl8xxxu cfg80211 602112 2 mac80211,rtlwifi" – vince Aug 19 '17 at 01:21
  • You have found that both are loaded and conflicting. Please proceed. – chili555 Aug 19 '17 at 01:29
  • Sorry I am still very new to linux, and am having trouble understanding how to add a new section in network manager. I have the manager opened up and I have entered the following: "[Realtek RTL8188CUS]wifi.scan-rand-mac-address=no ", but I don't understand the menu controls that are listed on the bottom of the command prompt(which one I need to select and how to select them. I'm not sure how I am supposed to enter "^X" for exit, as an example... – vince Aug 19 '17 at 01:56
  • NO! It is exactly as I wrote it. [device] and then on the next line down: wifi.scan-rand-mac-address=no You enter ^X with Ctrl+x. Before you do that, however, be sure to Write Out, meaning to save, the change you made with ^O, entered as Ctrl+o. – chili555 Aug 19 '17 at 02:01
  • IT WORKED! Thanks man you are awesome. I wish I had your computer knowledge...maybe someday lol – vince Aug 19 '17 at 02:11
  • If my answer was helpful, please accept it: https://askubuntu.com/tour – chili555 Aug 19 '17 at 02:13
  • Hi chilli, it seems your answer here is the same as another you posted earlier this month. Is there a reason these questions should not be marked as duplicates to better organize the information? I realize wireless/networking questions are not as simple as most other Qs we get, hence the question. – Seth Aug 19 '17 at 02:18
  • Is it correct to mark as a duplicate an answer that was not accepted? – chili555 Aug 19 '17 at 02:45
  • I know I'm new around here, but I am not to web forums. My .02 is that this is not a duplicate. I searched for my exact question before asking it here, and nothing came up. Anyone who is having a similar issue with this wifi adapter is going to have trouble finding that thread Seth linked, if they enter their issue into search. – vince Aug 19 '17 at 02:57