[TriLUG] Re: hotplug and cardbus card

davis davis at skink.net
Tue Feb 10 17:26:19 EST 2004


Hello

You are correct sir.

auto lo eth0 

is the ticket.

JD

On Tue, Feb 10, 2004 at 02:51:15PM -0700, Justin Guerin wrote:
> On Tuesday 10 February 2004 13:52, davis wrote:
> > hello
> >
> > I have a weird problem with my cardbus nic.  When I insert the card the
> > first time, it will not ifconfig the interface to have an ip.  ifconfig
> > -a will show the interface though.  When I eject the nic card and
> > reinsert it, it will now ifconfig up.  Here are my settings:
> >
> > -/etc/network/interfaces--
> >
> > auto lo eth0 eth1
> >
> > iface lo inet loopback
> >
> > iface eth0 inet static
> >     address 192.168.1.1
> >     netmask 255.255.255.0
> >
> > mapping hotplug
> >     script echo
> >
> > iface eth1 inet static
> >     address 192.168.0.1
> >     netmask 255.255.255.0
> >
> >
> >
> > eth0 is the builtin nic and it works ok.  eth1 is the cardbus nic.
> 
> If no one more enlightened gives you a suggestion, you might try this.  I 
> see that you bring up eth1 on boot, but your problem description makes it 
> sound like the card isn't actually in the slot.  Have you tried booting 
> without eth1 in the line 'auto lo eth0 eth1'?  It's just a guess, but your 
> scripts might be saying, when you insert the card, "that interface is 
> already up.  I'm not going to do anything." so they exit immediately.
> 
> If this is the reason, I'd expect to see some sort of error message on boot 
> up about eth1 not coming up properly (though I'm not sure, since it's 
> static).
> 
> In any case, it's something easy to try.
> 
> HTH.
> 
> Justin Guerin
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request at lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org

-- 
Happy Trails	

John F. Davis
ABC #6334 1992 R100GSPD                    Durham, North Carolina
http://www.skink.net



More information about the TriLUG mailing list