Skip to content

Instantly share code, notes, and snippets.

@filiperfernandes
Last active March 13, 2018 17:37
Show Gist options
  • Select an option

  • Save filiperfernandes/00111c250b41a235c8874fd358538ac3 to your computer and use it in GitHub Desktop.

Select an option

Save filiperfernandes/00111c250b41a235c8874fd358538ac3 to your computer and use it in GitHub Desktop.
Raspberry networking conf
#/etc/dhcpcd.conf
# Example static IP configuration:
interface eth0
static ip_address=192.168.1.2/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.1.1
static domain_name_servers=8.8.8.8 8.8.4.4 fd51:42f8:caae:d92e::1
#/etc/wpa_supplicant/wpa_supplicant.conf
#Eduroam config
network={
identity="user@tecnico.ulisboa.pt"
password="password"
ca_cert="/etc/ssl/certs/cacert.crt"
eap=PEAP
anonymous_identity="user@tecnico.ulisboa.pt"
phase2="auth=MSCHAPV2"
priority=999
disabled=0
ssid="eduroam"
scan_ssid=0
mode=0
auth_alg=OPEN
proto=WPA RSN
pairwise=CCMP TKIP
key_mgmt=WPA-EAP
proactive_key_caching=1
}
#Sample Network
network={
ssid="Pony"
proto=WPA
key_mgmt=WPA-PSK
psk="thisismywirelesspassword"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment