wifi-setup.txt 467 B

12345678910111213141516171819
  1. source /etc/network/interfaces.d/*
  2. # Local loopback
  3. auto lo
  4. iface lo inet loopback
  5. # Interface wlan0
  6. allow-hotplug wlan0
  7. no-auto-down wlan0
  8. iface wlan0 inet static
  9. address 192.168.1.102
  10. netmask 24
  11. gateway 192.168.1.254
  12. # dns-nameservers 8.8.8.8
  13. dns-nameservers 208.67.222.222 #opendns.com 208.67.222.222 and 208.67.220.220
  14. wpa-ssid your-ssid
  15. #wpa-psk your-wifi-password
  16. wpa-psk your-preshared-key ##generated using wpa_passphrase YOUR_SSID YOUR_SECRET_KEY