Re: Network Interface Conundrum

Rich Shepard <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
On Sun, 23 Sep 2012, John Crowhurst wrote:

> I'm sure we went over this one before because its a driver issue. I sent
> you a work around script that would down eth0 if wlan0 was up.

John,

   I have the script installed ... if that's the same one you provided. In
~/shell-scripts is iface,sh:

#!/bin/bash

test=`ip link show wlan0 | grep UP`
if [ -z "$test" ]; then
   ifconfig eth0 down
else
   ifconfig eth0 up
fi

   Is this the script to which you refer?

> Simple test... Plug in the Ethernet cable, then run:
>
> tail -f /var/log/messages
>
> Then unplug the cable.

   See my response to Octavio I just sent to the list.

> If you see no change in messages, the kernel cannot see the interface
> change and you know the driver is not telling the kernel to go link down.

   What driver would this be? The Sony is running the 3.2.7 kernel; my Dell
running 13.37/x86_64 with the stock 2.6.37.6 kernel does not have this
issue. Nor did any prior portable.

   If a kernel module update would fix the problem I will happily do this.

Thanks,

Rich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.