Re: wpa2 hostap setup



First, if you want to use WPA2, you'll want to change the hostapd.conf
options a bit:

wpa=2
wpa_pairwise=CCMP TKIP (or just wpa_pairwise=CCMP)

You also don't need the wep settings in the ifconfig statement for
wlan0 in your rc.conf, hostapd will take care of the encryption bits.
Here's all my rc.conf has for my wlan0 interface (and I'm using WPA2
with it as well, which is configured as in hostapd.conf) which has
been working very well for a variety of clients for some time now:

ifconfig_ath0="mode 11g"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode ap"
ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 channel 11"

thanks! will try it tomorrow, when my wife is gone for the day :)

randy
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Can Anyone Explain the over-all view of Wireless Networking?
    ... That appears to be wlan0 in ... Find out whether this network uses encryption. ... DNS server or whether you just need to enable DHCP. ... Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 ...
    (Debian-User)
  • Cannot receive DHCP IP address
    ... DHCP from a wireless router ... iwlist wlan0 scan shows the link at 48/100 strength ... Encryption key:on ... Internet Systems Consortium DHCP Client V3.0.6-Fedora ...
    (alt.internet.wireless)
  • Re: Problem with bridges and wireless NICs
    ... and using hostapd. ... How about first creating the br0, then starting hostapd, and finally ... br0 to be created with wlan0 before wlan0 has been configured is not ... configuration of br0 and just creating br0 with eth0 with the setup ...
    (Linux-Kernel)
  • Re: Problem with bridges and wireless NICs
    ... and using hostapd. ... How about first creating the br0, then starting hostapd, and finally ... br0 to be created with wlan0 before wlan0 has been configured is not ... configuration of br0 and just creating br0 with eth0 with the setup ...
    (Linux-Kernel)
  • Re: Ad-Hoc Wi-Fi Network Setup
    ... issuing plain old ifconfig, and IMHO it should be working. ... # iwconfig wlan0 mode ad-hoc chan 1 essid foo ... Encryption key:off ...
    (Debian-User)