0

Sorry if this isn’t specific but how do I get my WiFi to work on Ubuntu 18.04 it just says no WiFi to connect to

11

1 Answer 1

1

You have a working driver for your device. However, as your paste result shows, the signals to all available networks is quite weak. This makes it difficult to connect and, once connected, it makes it difficult to stay connected reliably.

Quite often, the weak signal is a symptom of the antenna wire being connected to connection #1 on the card when the default driver is expecting to see the signal at connection #2. Of course, you could open the laptop and switch the wire or you could implement antenna selection at the driver level.

From the terminal:

sudo -i
echo "options rtl8723be ant_sel=2"  >  /etc/modprobe.d/rtl8723be.conf
exit

Reboot. Is there any improvement? If not, run the sequence again with ant_sel=1 and reboot again.

We also see some things that you might tweak to make your connection more reliable.

First, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.

Next, I recommend that your regulatory domain be set explicitly. Check yours:

sudo iw reg get

If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Then set it temporarily:

sudo iw reg set IS

Of course, substitute your country code if not Iceland. Set it permanently:

sudo nano /etc/default/crda

Change the last line to read:

REGDOMAIN=IS

Proofread carefully, save and close the text editor.

Is there any improvement?

11
  • Is it now working as expected? If my answer has been helpful, please accept it: askubuntu.com/tour
    – chili555
    Sep 4, 2018 at 21:46
  • now when I try to start Ubuntu it stays at a pinkish screen
    – Merc Son
    Sep 5, 2018 at 0:13
  • Please ask a new question. I feel it is unrelated to the wireless.
    – chili555
    Sep 5, 2018 at 1:08
  • Nvm I just fixed it
    – Merc Son
    Sep 5, 2018 at 1:09
  • how would I uninstall this driver
    – Merc Son
    Sep 12, 2018 at 1:46

Not the answer you're looking for? Browse other questions tagged .