Re: [gentoo-user] Wifi autodisable on lan

2012-04-07 Thread Neil Bothwick
On Sat, 07 Apr 2012 00:48:09 +0200, Samuraiii wrote: I'm trying to autodisable wifi when lan cable is plugged in. I found rfkill ebuild which look like something I need but I'm clueless where to get state of the ethernet card. You could do this with ifplugd, but the easiest way is with Wicd,

[gentoo-user] «-»: [gentoo-user] Wifi autodisable on lan

2012-04-07 Thread Samuraiii
I've come across this http://johanlouwers.blogspot.com/2011/03/linux-check-interface-status.html But this isn't helping me: right now I'm on wifi only but when I run ifconfig I get this for eth0 (my lan card) eth0  Link

[gentoo-user] Wifi autodisable on lan

2012-04-06 Thread Samuraiii
Hello, I'm trying to autodisable wifi when lan cable is plugged in. I "found" rfkill ebuild which look like something I need but I'm clueless where to get state  of the ethernet card. Is there someone who can help me slove this? Thank

Re: [gentoo-user] Wifi autodisable on lan

2012-04-06 Thread Michael Mol
Ifconfig or iproute2 On Apr 6, 2012 6:51 PM, Samuraiii samura...@volny.cz wrote: Hello, I'm trying to autodisable wifi when lan cable is plugged in. I found rfkill ebuild which look like something I need but I'm clueless where to get state of the ethernet card. Is there someone who can