Advertisement
mdelatorre

/etc/network/interfaces

Nov 21st, 2017
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. Static wired network interface:
  2.  
  3. auto eth0
  4. iface eth0 inet static
  5. address 192.0.2.7
  6. netmask 255.255.255.0
  7. gateway 192.0.2.254
  8.  
  9. Static wireless network interface:
  10.  
  11. auto wlan0
  12. iface wlan0 inet static
  13. address 10.1.1.60
  14. netmask 255.0.0.0
  15. network 10.0.0.0
  16. broadcast 10.255.255.255
  17. gateway 10.1.1.1
  18. wireless-essid linuxconfig.org
  19. wireless-mode Managed
  20. wireless-key 4ff38e6e98d6a750f33cdb105e
  21.  
  22. Dynamic wireless dhcp network interface:
  23.  
  24. auto wlan0
  25. iface wlan0 inet dhcp
  26. wireless-essid linuxconfig.org
  27. wireless-mode Managed
  28. wireless-key 4ff38e6e98d6a750f33cdb105e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement