Skip to content

Instantly share code, notes, and snippets.

@jhURJQVxkx
Created February 28, 2016 04:32
Show Gist options
  • Save jhURJQVxkx/06eed574f5c2f65128bc to your computer and use it in GitHub Desktop.
Save jhURJQVxkx/06eed574f5c2f65128bc to your computer and use it in GitHub Desktop.
Raspberry Pi 固定IP設定 ref: http://qiita.com/kaishero/items/19c00b934ef1e9c8b448
sudo vi /etc/network/interfaces
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment