interfaces 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. auto lo
  2. iface lo inet loopback
  3. auto eth0
  4. iface eth0 inet dhcp
  5. ## static network configuration
  6. #auto eth0
  7. #iface eth0 inet static
  8. # address 192.168.1.1
  9. # netmask 255.255.255.0
  10. # broadcast +
  11. # gateway 192.168.1.254
  12. ##
  13. ## bridge configuration
  14. #auto br0
  15. #iface br0 inet static
  16. # address 192.168.99.1
  17. # netmask 255.255.255.0
  18. # broadcast +
  19. # bridge-ports eth0 eth1
  20. ##
  21. ## pppoe configuration
  22. #auto ppp0
  23. #iface ppp0 inet ppp
  24. # use-template pppoe
  25. # provider isp
  26. # ppp-mtu 1412
  27. # ppp-username foo
  28. # ppp-password bar
  29. # ppp-device eth1
  30. ##
  31. ## wireless client configuration
  32. #auto wlan0
  33. #iface wlan0 inet dhcp
  34. # wireless-ssid myap
  35. # wireless-channel 11
  36. # wireless-mode sta
  37. # wireless-security wpa2
  38. # wireless-passphrase xxxxxx
  39. ##
  40. ## wireless accesspoint configuration
  41. #auto wlan0
  42. #iface wlan0 inet static
  43. # address 192.168.40.10
  44. # netmask 255.255.255.0
  45. # broadcast +
  46. # wireless-ssid myap
  47. # wireless-channel 8
  48. # wireless-mode ap
  49. # wireless-security wpa2
  50. # wireless-passphrase xxxxxx
  51. ##
  52. # for more special cases see: http://www.openadk.org/doku.php?id=network