[plug] Installing new hardware the 'Debian' way.

Craig Ringer craig at postnewspapers.com.au
Tue Nov 26 12:15:38 WST 2002


> Add:
> --
> tulip
> eepro100
> --
> to /etc/modules.
> 
> All modules listed in this file will be loaded automagically when the machine
> comes up.  From there ifup eth1 ; ifupeth2 will work as expected assumeing the
> appropriate entries in /etc/network/interfaces ?

Alternately, add a file in /etc/modutils called, say, 2myaliases, 
containing:

alias eth1 tulip
alias eth2 eepro100

then in /etc/network/interfaces create entries for them such as:

auto eth1
iface eth1 inet static
         address 10.0.0.10
         netmask 255.255.255.0

auto eth2
iface eth2 inet dhcp

and they'll be auto-configured at boot. You'll need to run 
"update-modules" first though.

-- 
Craig Ringer
GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
	-- if it ain't broke, add features 'till it is. (or:)
	while (! broken) { features ++ ; broken = isBroken(features) }




More information about the plug mailing list