User:Gagliol/interfaces

From ThinkWiki
< User:Gagliol
Revision as of 19:31, 16 August 2006 by Gagliol (Talk | contribs)
Jump to: navigation, search

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