Annotation of wikisrc/users/jun/wlan.mdwn, revision 1.2
1.2 ! wiki 1: NetBSDでの無線LAN設定
1.1 jun 2: ===================
3:
1.2 ! wiki 4: 1. WEPの時
1.1 jun 5:
6: [[!template id=programlisting text="""
7: # ifconfig iwn0 ssid "sdfsdfdsfsdf" nwkey "sdfsfsdfsfs"
8:
9: # ifconfig iwn0 ssid "sdfsdfdsfsdf" nwkey "0x0123ABCDEF"
10: """]]
11:
12:
1.2 ! wiki 13: 2. WPA-PSKの時
1.1 jun 14:
1.2 ! wiki 15: /etc/wpa_supplicant.confに設定内容を書く。
1.1 jun 16:
17:
18: [[!template id=programlisting text="""
19: ctrl_interface=/var/run/wpa_supplicant
20:
21: ctrl_interface_group=wheel
22:
23: network={
24:
25: ssid="oschiroshima_booth_xx"
26:
27: scan_ssid=1
28:
29: key_mgmt=WPA-PSK
30:
31: psk="osc2011hiroshima1"
32:
33: }
34: """]]
35:
1.2 ! wiki 36: と書いて、
1.1 jun 37: [[!template id=programlisting text="""
38: # ifconfig iwn0 up
39:
40: # /usr/sbin/wpa_supplicant -dd -i iwn0 -c /etc/wpa_supplicant.conf
41: """]]
1.2 ! wiki 42: でうまく動いたら-ddをとる。
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb