I am using the guide from the handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html (begins at chapter 32.3.5)
---------------------------
My setup:
1. PC (via em0 and gets an IP in the 192.168.1.x range) => modem/router => WWW
2. Atheros wireless card that has HOSTAP support (check using ifconfig wlan0 list caps)
---------------------------
I tried connecting from the iPad/HTC One X and it seems to work. I get prompted for the passphrase which I supplied correctly. I know it's correct because I get an error message if I supplied a wrong one. 1 thing I notice is that instead of getting an IP in 192.168.0.x range, my iPad gets something that starts with 169.
I've searched the net but the guides/articles I've seen seems for the older versions
Any suggestions?
Thanks
--------------------------------
These are the contents of /etc/hostap.conf
---------------------------
My setup:
1. PC (via em0 and gets an IP in the 192.168.1.x range) => modem/router => WWW
2. Atheros wireless card that has HOSTAP support (check using ifconfig wlan0 list caps)
---------------------------
I tried connecting from the iPad/HTC One X and it seems to work. I get prompted for the passphrase which I supplied correctly. I know it's correct because I get an error message if I supplied a wrong one. 1 thing I notice is that instead of getting an IP in 192.168.0.x range, my iPad gets something that starts with 169.
I've searched the net but the guides/articles I've seen seems for the older versions
Any suggestions?
Thanks
--------------------------------
Code:
# [color="Green"]ifconfig wlan0 create wlandev ath0 wlanmode hostap[/color]
# [color="green"]ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid myhotspot mode 11g channel 1[/color]
These are the contents of /etc/hostap.conf
Code:
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=myhotspot
wpa=1
wpa_passphrase=qwerty
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP