|
|
Another suggestion would be whereami, it allows you to specify rules to run
when you start up which defines what network devices are started and their
settings, sounds like just what you need
Dan
-----Original Message-----
From: ubuntu-users-bounces@xxxxxxxxxxxxxxxx
[mailto:ubuntu-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of John Ruschmeyer
Sent: 17 May 2005 6:53 PM
To: Ubuntu Help and User Discussions; jeffelkins@xxxxxxxxxxxxx
Subject: Re: Centrino wireless with additional ethernet adapter
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>>>
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 16/05/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 13/05/2005
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|
|