Difference between revisions of "User:Gagliol/interfaces"

From ThinkWiki
Jump to: navigation, search
 
m
Line 3: Line 3:
 
  # This file describes the network interfaces available on your system
 
  # This file describes the network interfaces available on your system
 
  # and how to activate them. For more information, see interfaces(5).
 
  # and how to activate them. For more information, see interfaces(5).
 
+
 
  # The loopback network interface
 
  # The loopback network interface
 
  auto lo
 
  auto lo
 
  iface lo inet loopback
 
  iface lo inet loopback
 
+
 
 
  # This is a list of hotpluggable network interfaces.
 
  # This is a list of hotpluggable network interfaces.
 
  # They will be activated automatically by the hotplug subsystem.
 
  # They will be activated automatically by the hotplug subsystem.
Line 14: Line 14:
 
         script grep
 
         script grep
 
         map eth1
 
         map eth1
 
+
 
  # The primary network interface
 
  # The primary network interface
 
  iface eth1 inet dhcp
 
  iface eth1 inet dhcp
 
+
 
  #Wireless
 
  #Wireless
 
  iface eth0 inet dhcp
 
  iface eth0 inet dhcp
 
  allow-hotplug eth1
 
  allow-hotplug eth1
 
  allow-hotplug eth0
 
  allow-hotplug eth0

Revision as of 20:31, 16 August 2006

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