wiki:wade/raspberryPi

Version 2 (modified by wade, 11 years ago) (diff)

--

無線網路設定

  • WPA 密碼設定:
    • 設定檔:/etc/network/interfaces
      # allow-hotplug wlan0
      iface wlan0 inet manual
      wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
      iface default inet static
          address 10.1.2.20
          netmask 255.255.255.0
          network 10.1.2.0
          gateway 10.1.2.1
      
    • 設定檔:/etc/wpa_supplicant/wpa_supplicant.conf
      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
      update_config=1
      
      network={
          ssid="Your SSID Here"
          proto=RSN
          key_mgmt=WPA-PSK
          pairwise=CCMP TKIP
          group=CCMP TKIP
          psk="YourPresharedKeyHere"
      }
      

Reference