Created
February 28, 2016 04:32
-
-
Save jhURJQVxkx/06eed574f5c2f65128bc to your computer and use it in GitHub Desktop.
Raspberry Pi 固定IP設定 ref: http://qiita.com/kaishero/items/19c00b934ef1e9c8b448
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo vi /etc/network/interfaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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