Difference between revisions of "User:Piccobello/interfaces"

From ThinkWiki
Jump to: navigation, search
(after Dapper upgrade (removed hotplug))
Line 7: Line 7:
 
  auto lo
 
  auto lo
 
  iface lo inet loopback
 
  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
 
  # 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
 

Revision as of 16:12, 28 November 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

# The primary network interface
iface eth1 inet dhcp

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