6

It worked, the it dropped, then it worked, now it won't connect to wireless. Brand new Asus laptop that came with ubuntu is connected. The problem seems to be with Ubuntu. It keeps asking for authorization codes for my neighbors signals as well as my signal which the asus is connected to.

user248033
  • 71
  • 1
  • 1
  • 2
  • Blockquote

    Use the address (MAC address) you found to place in BSSID in Network Manager

    Blockquote In the answer above, why is the hotspot showing a different MAC address than the one found with the "iwlist wlan0 scan" command? Thanks.

    – user296844 Jun 22 '14 at 13:24
  • 1
    The "Device MAC Address" listed in the picture is the MAC address for the wireless adapter on the device. The hotspot's MAC address was entered into the "BSSID" box, and matches what was output by iwlist. – Organic Marble Jul 07 '14 at 15:34

2 Answers2

14

If your wireless drops because it is attempting to roam to the neighbor's access point, I suggest you ask your wireless to bind to your access point. Right-click the Network Manager icon, select Edit Connections. Fill in the MAC address for your access point; find it with:

sudo iwlist wlan0 scan

For example:

Cell 05 - Address: 00:13:19:F2:2E:D0
                Channel:6
                Frequency:2.437 GHz (Channel 6)
                Quality=66/70  Signal level=-88 dBm  
                Encryption key:on
                ESSID:"UCInet Mobile Access"

Use the address (MAC address) you found to place in BSSID in Network Manager:enter image description here

Save and close.

chili555
  • 60,188
  • 1
    I've written a bash script that will do this automatically. It will check the strengths of any found access points for the given network SSID and ask if you want to update the setting to its MAC address. This would be useful if you move around a lot and want to ensure you have the strongest signal.

    Usage: ./set-access-points.sh [network SSID] [network interface id = wlan0]

    https://gist.github.com/archy-bold/9a4cdee49309e4a2d059c900362fa9dc

    – Simon Feb 01 '18 at 12:25
  • 2
    This solution did not work for me. I mention this because down-voting is not constructive. – psiphi75 Mar 14 '18 at 02:57
  • Note that this still works with the new network manager in Gnome-based versions of Ubuntu (17.10+). In fact the BSSID field is a drop-down so you don't necessarily have to copy-paste the BSSID, as long as you know part of it. – Dane Powell Mar 24 '18 at 15:23
0

After trying all sorts of suggested solutions, finally, it worked (30 minutes, no drop; earlier there was a drop every <2 minutes) after restarting the wifi modem.

Doi
  • 21