Changes between Version 2 and Version 3 of wade/raspberryPi


Ignore:
Timestamp:
Sep 6, 2013, 4:52:21 PM (11 years ago)
Author:
wade
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wade/raspberryPi

    v2 v3  
    1414    gateway 10.1.2.1
    1515}}}
    16    * 設定檔:/etc/wpa_supplicant/wpa_supplicant.conf
     16   * 使用 DHCP 設定 IP:
     17{{{
     18# allow-hotplug wlan0
     19iface wlan0 inet manual
     20wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
     21iface default inet dhcp
     22}}}
     23   * 手動設定 IP 設定檔:/etc/wpa_supplicant/wpa_supplicant.conf
    1724{{{
    1825ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
     
    2835}
    2936}}}
     37   * 重新啟動無線網路。
     38{{{
     39# sudo ifdown wlan0
     40# sudo ifup wlan0
     41ioctl[SIOCSIWAP]: Operation not permitted
     42ioctl[SIOCSIWENCODEEXT]: Invalid argument
     43ioctl[SIOCSIWENCODEEXT]: Invalid argument
     44}}}
     45   * 觀看無線網路狀態:
     46{{{
     47# iwconfig
     48lo        no wireless extensions.
    3049
     50eth1      no wireless extensions.
     51
     52wlan0     IEEE 802.11bg  ESSID:"Your SSID Here"  Nickname:"<WIFI@REALTEK>"
     53          Mode:Managed  Frequency:2.442 GHz  Access Point: NN:NN:NN:NN:NN:NN   
     54          Bit Rate:54 Mb/s   Sensitivity:0/0 
     55          Retry:off   RTS thr:off   Fragment thr:off
     56          Power Management:off
     57          Link Quality=100/100  Signal level=95/100  Noise level=0/100
     58          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
     59          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
     60
     61eth0      no wireless extensions.
     62}}}
     63   *
    3164
    3265= Reference =