Choosing network at boot time
Hi,
I've got a Slackware 13 desktop system that has an ethernet card and a wirelss card in it. I usually roll the PC over to the wall when I want to connect via the hardwire (maybe for a fresh install or downloading large amounts of data). Other times, I am connected via the wireless PCI card using WPA. To avoid conflicts, I would like to tell the boot scripts whether it should choose the hardwire ethernet port or the wireless card. Is there a standard way that this could be accomplished? I was thinking about run-levels on the kernel line, but not sure how that would work out. Thx in advance for any advice you'd like to share. |
Hi,
You have several options that you can use. 'ifpugd' is a daemon that is used to detect the cable status in/out. 'wicd' is another choice that you may want to look into. These links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links! |
Here's an idea - I've just tried this somewhat but not fully. It should work however. Firstly - alter your /etc/rc.d/rc.inet1.conf network settings file surrounding eth0 and wlan0 settings something like this :
Code:
if [[ $IFACE="wired" ]] ;then Code:
append = "IFACE=wired" Code:
append = "IFACE=wless" |
That seems reasonable. Let me try that and I'll post what I learn. Thx for the thoughts!
|
All times are GMT -5. The time now is 09:54 PM. |