Centrino wireless with additional ethernet adapter

John Ruschmeyer jruschme at gmail.com
Tue May 17 17:52:55 UTC 2005


On Tue, 2005-05-17 at 13:41 -0400, Jeff Elkins wrote:
> On Tuesday 17 May 2005 01:15 pm, Jeff Elkins wrote:
> > On Tuesday 17 May 2005 12:39 pm, Raghu Vemuri wrote:
> > > >Any suggestions on cleaning this up?
> > >
> > > you can setup eth1 in your /etc/network/interfaces file with these lines
> > >
> > > iface eth1 inet dhcp
> > >     wireless-essid any
> > >     wireless-key MYHEXPASS
> > >
> > > then you use the following command to bring up eth1
> > >
> > > ifup eth1
> > >
> > > If you want to automatically have eth1 enabled during boot then having
> > > this line in the /etc/network/interfaces file should do it.
> > >     auto eth1
> > >
> 
> On another note, would it be possible to automate this further with so the 
> system chooses the correct interface depending if eth0 is plugged in?

This sounds like a job for ifplugd. Basically, it's a daemon that brings
up an interface when it detects a media connection (i.e., it would do
and 'ifup eth1' when you plug in the lan cable).

It takes a little configuration, but seems to work well and can handle
hotplug devices such as USB and cardbus NICs.

<<<john>>>





More information about the ubuntu-users mailing list