Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cable/WLAN switching.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hochl
n00b
n00b


Joined: 05 Dec 2003
Posts: 39

PostPosted: Thu May 27, 2004 11:22 am    Post subject: cable/WLAN switching. Reply with quote

Hi,

I have an ethernet WLAN access point running and I've got my laptop's WLAN stuff working, but there's something I still dislike. Currently, I have a script which shuts down eth0 (= regular 100mbps ethernet), sets up eth1 (=11 mbps WLAN) and corrects routing table/firewalling entries if I want to disconnect the laptop from cable and use wlan. But I feel it's not the nicest way to do this. What I really liked is a method which automagically switches everything to cable ethernet if I have it plugged in, and if I unplug the cable the whole laptop should switch to WLAN immediately. Is there a mechanism for such automation, maybe using ping every second to see if the eth0 is still there? Or is there only the manual way? I don't want to invent the wheel a second time, possibly there's a package or something for such things out there already :-)

Your help is appreciated,
H.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu May 27, 2004 12:08 pm    Post subject: Reply with quote

ifplugd is the package you are looking for :)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum