You are not logged in.

#1 2007-02-16 16:05:34

miko
Member
From: Poland
Registered: 2006-04-16
Posts: 49

ethernet/wifi autoselection?

Hello,
I use network profiles ("NET_PROFILES=(menu)") to choose between ethernet and wifi connections on my laptop. But I would like to make the selection automatically, based on the state of ethernet connection (output of mii-tool), so instead of choosing a menu option, I could just plug in the network cable.
How to do that? Is it (easily) possible with current init scripts of archlinux?

Regards,
miko

Offline

#2 2007-02-16 16:17:52

miko
Member
From: Poland
Registered: 2006-04-16
Posts: 49

Re: ethernet/wifi autoselection?

Update: I just found "New network management scripts?" thread in " Arch Discussion"  forum, which partially answers my question.
The thread is there: http://bbs.archlinux.org/viewtopic.php?id=29631
miko

Offline

#3 2007-02-16 16:28:46

zeus
Member
From: Korolev / Russia
Registered: 2006-09-19
Posts: 117
Website

Re: ethernet/wifi autoselection?

try networkmanager

Offline

#4 2007-02-16 17:43:48

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: ethernet/wifi autoselection?

What I used to do with my laptop was to use ifplugd.  It is a daemon that can bring a network interface up or down based on inserting/removing a cable.  I had the wifi connection as the default on in /etc/rc.conf, but if a cable was plugged in at boot, ifplugd would use the wired connection instead.

Offline

Board footer

Powered by FluxBB