File:  [NetBSD Developer Wiki] / wikisrc / users / jun / wlan.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Wed Jan 1 13:33:55 2014 UTC (7 years, 9 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by jun

    1: NetBSDでの無線LAN設定
    2: ===================
    3: 
    4: 1. WEPの時
    5: 
    6: [[!template id=programlisting text="""
    7: # ifconfig iwn0 ssid "sdfsdfdsfsdf" nwkey "sdfsfsdfsfs"
    8: 
    9: # ifconfig iwn0 ssid "sdfsdfdsfsdf" nwkey "0x0123ABCDEF" 
   10: """]]
   11:  
   12: 
   13: 2. WPA-PSKの時
   14: 
   15: /etc/wpa_supplicant.confに設定内容を書く。
   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: 
   36: と書いて、
   37: [[!template id=programlisting text="""
   38: # ifconfig iwn0 up
   39: 
   40: # /usr/sbin/wpa_supplicant -dd  -i iwn0 -c /etc/wpa_supplicant.conf
   41: """]]
   42: でうまく動いたら-ddをとる。

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb