FreeBSD 8.2 as wifi client
Laszlo Danielisz
laszlo_danielisz at yahoo.com
Wed Jul 24 06:18:56 UTC 2013
Hi there,
Yesterday I've received a usb wifi card.
I've successfully connected to my home network with wpa-psk but I couldn't make it to connect via boot.
This is my wifi interface:
run0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:22:2d:47:12:10
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
And this is my wpa_supplicant file:
# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="*****"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
scan_ssid=1
psk="*****"
}
I've also added the following lines to my rc.conf:
wlans_run0="wlan0"
wpa_supplicant_enable="YES"
ifconfig_wlan0="192.168.1.201"
I've also added a script which eventually brings up the wifi link:
# cat /usr/local/etc/rc.d/wlan0_interface_up.sh
#!/usr/local/bin/bash
/usr/sbin/wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0
...but I don't think this is the proper way.
Do you have any experience with this?
Thx!
Laszlo
More information about the freebsd-questions
mailing list