Skip to content

Instantly share code, notes, and snippets.

@alphanetEX
Last active July 27, 2017 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alphanetEX/eea5241263be6caf42c97c197a242acb to your computer and use it in GitHub Desktop.
Save alphanetEX/eea5241263be6caf42c97c197a242acb to your computer and use it in GitHub Desktop.
Interfaces of static IP
#iface wlan0 inet static
allow-hotplug eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask x.x.x.x
gateway x.x.x.x
network x.x.x.x
broadcast x.x.x.x
autho wlan0
allow-hotplug wlan0
iface wlan0 inet static
address xxx.xxx.xxx.xxx
netmask x.x.x.x
gateway x.x.x.x
wpa-passphrase password
wpa-ssid name_of_ssid
*******************************************raspberry*****************************************
ubication /etc/dhcpcd.conf
interface eth0
static ip_address=x.x.x.x
static routers=x.x.x.x
static domain_name_servers=8.8.8.8
static domain_search=8.8.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment