Skip to contentSkip to conversation

Wireless devices and route settings

DISCUSSION Joshua Kwan 2 participants 2 messages Jul 27, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

So, I have a wireless interface on a 'guest' Linux box (running 2.6.7-rc1, not bothered to compile a new kernel yet.) It is a fair distance away from the access point and sometimes goes out of range.

Usually it can go out of range and come back in range without the user noticing anything has happened. But once in a while, when the connection is especially poor, the interface will go down and lose its default route. When it comes back, it retains its IP, but does not keep the default route. This makes the internet unusable on this machine until i cycle ifdown/ifup which I cannot rely on guests to do.

There is no daemon watching the network interfaces at all that might be doing this (I'm pretty sure), so I was hoping linux-kernel might know.

Here's to a prompt solution..

Signature · 1 line
Joshua Kwan
#1 lore raw
Quoted 9 lines · Joshua Kwan

Hello,

So, I have a wireless interface on a 'guest' Linux box (running 2.6.7-rc1, not bothered to compile a new kernel yet.) It is a fair distance away from the access point and sometimes goes out of range.

Usually it can go out of range and come back in range without the user noticing anything has happened. But once in a while, when the connection is especially poor, the interface will go down and lose its default route.

What do you mean "interface will go down"? Down is an administrative state, settable only by admin (ifconfig up/down or equivalent).
If your wireless device driver does that all by itself, it is buggy.

Elaborate on "interface will go down". Provide
ifconfig, routing and iwconfig data before and
after the event.

Quoted 8 lines

When it comes back, it retains its IP, but does not keep the default route. This makes the internet unusable on this machine until i cycle ifdown/ifup which I cannot rely on guests to do.

There is no daemon watching the network interfaces at all that might be doing this (I'm pretty sure), so I was hoping linux-kernel might know.

Here's to a prompt solution..

Signature · 1 line
vda