Difference between revisions of "User:Piccobello/interfaces"

From ThinkWiki
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This is my {{path|/etc/network/interfaces}} file, after Dapper upgrade, which seems to have removed
 +
the hotplug stanza, and added auto for eth0,eth1,eth2
 +
 
  # 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).
Line 5: Line 8:
 
  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.
  # I think I had to add 'script grep' to have ethernet ifup'd automatically
+
  auto eth0
  mapping hotplug
+
  auto eth1
        script grep
+
auto eth2
        map eth1
 
 
   
 
   
 
  # The primary network interface
 
  # The primary network interface
 
  iface eth1 inet dhcp
 
  iface eth1 inet dhcp
 
   
 
   
  #Wireless
+
  #Wireless, sometimes named eth2
 
  iface eth0 inet dhcp
 
  iface eth0 inet dhcp
  allow-hotplug eth1
+
  iface eth2 inet dhcp
allow-hotplug eth0
 

Latest revision as of 15:16, 28 November 2006

This is my /etc/network/interfaces file, after Dapper upgrade, which seems to have removed the hotplug stanza, and added auto for eth0,eth1,eth2

# 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.
auto eth0
auto eth1
auto eth2

# The primary network interface
iface eth1 inet dhcp

#Wireless, sometimes named eth2
iface eth0 inet dhcp
iface eth2 inet dhcp