Centrino wireless with additional ethernet adapter

Jeff Elkins jeffelkins at earthlink.net
Tue May 17 17:41:42 UTC 2005


On Tuesday 17 May 2005 01:15 pm, Jeff Elkins wrote:
> On Tuesday 17 May 2005 12:39 pm, Raghu Vemuri wrote:
> > Jeff Elkins wrote:
> > >When booting with wireless active and no eth0 connection, the system
> > > hangs at boot with 'establishing network connection.'  It's
> > > interupptable with ctrl-c, but after boot I hace to do a
> > > /etc/init.d/networking restart to enable loopback.
> >
> > eth0 is brought up the hotplug system.  I have commented out the
> > "hotplug" mapping for eth0 on my /etc/network/interfaces file and now
> > eth0 is not enabled at boot time.
> >
> > >Additionally, I'm starting the wireless with:
> > >
> > >iwconfig eth1 key MYHEXPASS
> > >dhclient eth1
> > >
> > >in an init.script.
> > >
> > >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?

Jeff






More information about the ubuntu-users mailing list