So I can't seem to figure this one out...
Basically I'm attempting to connect to a specific Access Point (AP) in a place with many AP's of the same name. I have the BSSID of the AP, but no matter what I do in rc.wireless.conf or rc.inet1.conf, I can't seem to connect to that AP again.
Here is my rc.wireless.conf:
Code:
...
B4:15:*)
INFO="The only good router here..."
ESSID="The-ESSID"
MODE="Master" (iwlist scan picked up Mode as "Master" not "Managed" so this is correct)
CHANNEL="1" (believe it or not, it is Channel 1.)
IWCONFIG="ap B4:15:SP:EC:IF:IC"
esac
In this situation, SP:EC:IF:IC is the actual BSSID that I mentioned earlier and "iwlist scan" shows it each time I scan.
I commented two sections like the wiki has:
Code:
... (part at the very beginning)
#*)
# INFO="Any ESSID"
# ESSID="any"
# ;;
... (part at the very end)
# Generic example (describe all possible settings)
#*)
# INFO="Fill with your own settings..."
...
So I know I'm good on that.
Now in rc.inet1.conf I have:
Code:
IFNAME[1]="wlan0"
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
...
WLAN_ESSID[1]="The-ESSID"
WLAN_MODE[1]="Master"
WLAN_WPA[1]="wpa_supplicant"
WLAN_CHANNEL[1]="1"
My rc.inet1.conf, rc.wireless.conf, the latter of which I never touched and wpa_supplicant.conf have not needed modifying because I was able to connect to this AP (and the others set up exactly the same way) perfectly fine.
However, today I wish to access this specific AP because it provides a better connection. Even with those settings that I placed, it still keeps accessing a different AP (same ESSID as the one I wish to connect to, but different BSSID is what I mean).
I've read the man page for rc.inet1.conf and there doesn't seem to be an option to set the specific BSSID to connect to. Only one to set the MAC address on the local machine. There is no man page for rc.wireless.conf so no luck there.
Also, when I add in:
Code:
WLAN_MODE[1]="Master"
To rc.inet1.conf, I get:
Code:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
Alongside:
Code:
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
But the latter is something I've always gotten.