PDA

View Full Version : ndis and WPA2-PSK


ccc
August 6th, 2009, 18:56
hi

Howto configure WPA2-PSK on the notebook Ausus Eee PC 1000H with ndis module?

adamk
August 6th, 2009, 19:32
http://www.freebsd.org/doc/en/books/handbook/network-wireless.html

It specifically talks about WPA2.

Adam

ccc
August 10th, 2009, 22:20
THX, this is a good Manual,
but if I'm using ndis module then do I need in /boot/loader.conf these all lines?
# cat /boot/loader.conf

sound_load="YES"
snd_hda_load="YES"
linux_load="YES"

ndis_load="YES"
if_ndis_load="YES"
rt2860_sys_load="YES"

wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
wlan_xauth_load="YES"
wlan_acl_load="YES"

adamk
August 11th, 2009, 02:22
I'm relatively certain you don't need the wlan_* lines.

Adam

ccc
August 12th, 2009, 16:00
thx, I've removed all wlan_* lines and it seems to work.

I have other question.
My /etc/wpa_supplicant.conf:# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=2
fast_reauth=1

network={
scan_ssid=1
ssid="myessid"
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=mysecretkey
priority=2
}

is this OK?
Do I need ctrl_interface=/var/run/wpa_supplicant?

adamk
August 12th, 2009, 16:16
If it works, just leave it alone :-)

Adam

ccc
August 12th, 2009, 17:50
THX,it works well.

Here is a good wpa_supplicant configuration reference:

http://hostap.epitest.fi/wpa_supplicant/devel/structwpa__config.html

ccc
August 13th, 2009, 04:31
BTW howto restart the network or wireless interface including wpa_supplicant without reboot?

adamk
August 13th, 2009, 10:46
I already told you how on another thread.

Adam

ccc
August 16th, 2009, 20:08
I've tried:
# /etc/rc.d/netif restartbut the defaultrouter gets lost.

Nicholas
September 2nd, 2009, 16:28
Is defaultrouter="" defined in /etc/rc.conf?

DutchDaemon
September 2nd, 2009, 16:43
Also run /etc/rc.d/routing restart ...