Changes between Version 2 and Version 3 of wade/raspberryPi
- Timestamp:
- Sep 6, 2013, 4:52:21 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/raspberryPi
v2 v3 14 14 gateway 10.1.2.1 15 15 }}} 16 * 設定檔:/etc/wpa_supplicant/wpa_supplicant.conf 16 * 使用 DHCP 設定 IP: 17 {{{ 18 # allow-hotplug wlan0 19 iface wlan0 inet manual 20 wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf 21 iface default inet dhcp 22 }}} 23 * 手動設定 IP 設定檔:/etc/wpa_supplicant/wpa_supplicant.conf 17 24 {{{ 18 25 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev … … 28 35 } 29 36 }}} 37 * 重新啟動無線網路。 38 {{{ 39 # sudo ifdown wlan0 40 # sudo ifup wlan0 41 ioctl[SIOCSIWAP]: Operation not permitted 42 ioctl[SIOCSIWENCODEEXT]: Invalid argument 43 ioctl[SIOCSIWENCODEEXT]: Invalid argument 44 }}} 45 * 觀看無線網路狀態: 46 {{{ 47 # iwconfig 48 lo no wireless extensions. 30 49 50 eth1 no wireless extensions. 51 52 wlan0 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 61 eth0 no wireless extensions. 62 }}} 63 * 31 64 32 65 = Reference =