LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Select Active Network at boot? (http://www.linuxquestions.org/questions/linux-networking-3/select-active-network-at-boot-425134/)

staniel 03-15-2006 03:44 PM

Select Active Network at boot?
 
Hello

I was just wondering if there is any way (either through GRUB or LILO, or even in the boot process) to select which network I wish to connect to? Example: there are about 3 main connections that I use regularly, not all at the same time. 1 is my home, which is wired, the 2 others are wireless connections (work and school).

Any suggestions would be helpful

thanks,
dan

fr_laz 03-15-2006 05:56 PM

Hi
Lilo => no way (at least i really don't think you can do it)
Grub => doable, as Grub is able to access the filesystem, so in theory you can change a file (your network config), but that's definitely tricky and i never heard about an option in grub's config file to do that
Boot process => you can create a small script in init.d and create the correct links in rc?.d to have it launch at boot time. That's what i did when i had a laptop.

also, i know there are some soft that do that (it must be some kde rpm if i remember correctly, but i don't remember the name of it).


All times are GMT -5. The time now is 01:29 PM.