interfaces-dhcp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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-mode sta
  36. # wireless-security wpa2
  37. # wireless-passphrase xxxxxx
  38. ##
  39. ## wireless accesspoint configuration
  40. #auto wlan0
  41. #iface wlan0 inet static
  42. # address 192.168.40.10
  43. # netmask 255.255.255.0
  44. # broadcast +
  45. # wireless-ssid myap
  46. # wireless-mode ap
  47. # wireless-channel 8
  48. # wireless-security wpa2
  49. # wireless-passphrase xxxxxxxx
  50. ##
  51. # for more special cases see: http://www.openadk.org/doku.php?id=network