specifying an AP?

Robert Hutchison Robert.Hutchison
Mon Jul 4 15:59:31 PDT 2005


Hi There,

I've been trying to get wpa_supplicant to connect to my AP, but I keep on
getting a neighbour's unencryped AP.

Is there any way I can block the unwanted AP, or enforce wpa_supplicant to use
only the one I specify?

any pointers would be greatly appreciated.

--Rob



my wpa_supplicant.conf:

-----------------------------------------------

ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

SSID="elephanthouse"

ap_scan=2
eapol_version=1
fast_reauth=1


# Only WPA-PSK is used. Any valid cipher combination is accepted.
network={
        ssid="Elephanthouse"
        bssid=000D54FC7018
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        psk="heather04"
        priority=2
}

------------------------------------------
my /etc/conf.d/wpa_supplicant file:
------------------------------------------

# List of interfaces
INTERFACES="wlan0"



# Interface specific arguments
ARGS_wlan0="-Dndiswrapper"

ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

ap_scan=2

----------------------------------------
my /etc/conf.d/net
---------------------------------------

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper -c/etc/wpa_supplicant.conf -iwlan0 -d"
wpa_timeout_wlan0=60

iface_wlan0="dhcp




More information about the Hostap mailing list