Difference between revisions of "User:Gagliol/interfaces"
Line 1: | Line 1: | ||
+ | This is my {{path|/etc/network/interfaces}} file: | ||
+ | # This file describes the network interfaces available on your system | ||
+ | # and how to activate them. For more information, see interfaces(5). | ||
+ | |||
+ | # The loopback network interface | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | |||
+ | # This is a list of hotpluggable network interfaces. | ||
+ | # They will be activated automatically by the hotplug subsystem. | ||
+ | # I think I had to add 'script grep' to have ethernet ifup'd automatically | ||
+ | mapping hotplug | ||
+ | script grep | ||
+ | map eth1 | ||
+ | |||
+ | # The primary network interface | ||
+ | iface eth1 inet dhcp | ||
+ | |||
+ | #Wireless | ||
+ | iface eth0 inet dhcp | ||
+ | allow-hotplug eth1 | ||
+ | allow-hotplug eth0 |
Latest revision as of 17:17, 19 September 2007
This is my /etc/network/interfaces file:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. # I think I had to add 'script grep' to have ethernet ifup'd automatically mapping hotplug script grep map eth1 # The primary network interface iface eth1 inet dhcp #Wireless iface eth0 inet dhcp allow-hotplug eth1 allow-hotplug eth0