You are not logged in.

#1 2005-05-27 10:33:56

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

eth1 - get down, and stay down!

Hi,

I have an annoying situation at the moment. At home, I have a wireless router and my laptop networks flawlessly with it. At work, there is a wireless service, but I have to faff around setting up some vpn stuff and so I'm happy just plugging my laptop in with wires.

Now, by default, I have this in my rc.conf:

INTERFACES=(lo eth1)

Wheree eth0 is my wired nic, and eth1 is my wireless nic. If I come into work, after booting, I will do the following:

/etc/rc.d/network ifdown eth1
/etc/rc.d/network ifup eth0

And that'll work ok.. for a while. Suddenly, my network connectively stalls, and a peek at ifconfig shows that eth1 has suddenly come back alive by itself! What is doing this, I don't know? It's not that HAL daemon I have running is it, detecting the wireless module and bringing it up? Apparantly I need HAL for KDE.

So, either I'm looking for a way for eth1 to stay down, or I'm after a way, given that the two are loaded, for my traffic to go via eth0 only.

Many thanks

Offline

#2 2005-05-27 17:36:07

Vinny
Member
From: the fifth floor
Registered: 2005-04-25
Posts: 29

Re: eth1 - get down, and stay down!

If you use modules for your NICs a sure way would be

rmmod <module-name>

It might be dhcpcd bringing eth1 back up but I don't use
dchp so not sure of the 'right way' to stop it.

Offline

#3 2005-05-27 18:49:00

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: eth1 - get down, and stay down!

Ah, dhcpd is an avenue I hadn't considered - I think you're on to something there, Cheers smile

Offline

Board footer

Powered by FluxBB