I'm new to Linux and have just finished working through a fairly lengthly process of getting my laptops wireless card working with ndiswrapper (two nics and two routers involved).
At this point everything is working great except that each time I want to use the wireless card I have to open a root shell and issue a "route add default gw 192.168.0.1" command before I can get to the internet.
Related to this I have a three part question.
1. Is there a configuration file I can enter this value into to make the fix permanent between sessions?
2. Failing that, is there a way to automate the process of issuing the command in kde? (It has to occur after the desktop has loaded or the network isn't found).
3. If the other two options are NG, is there a way to get an icon on the desktop that would issue the command when clicked? (I tried this myself but the command isn't executed. I'm guessing this is because route requires root privileges? [The process I used was creating a file "Get_Net.sh" on the desktop containing the command "bash route add default gw 192.168.0.1", Then I right clicked and made it executable.])
At this point everything is working great except that each time I want to use the wireless card I have to open a root shell and issue a "route add default gw 192.168.0.1" command before I can get to the internet.
Related to this I have a three part question.
1. Is there a configuration file I can enter this value into to make the fix permanent between sessions?
2. Failing that, is there a way to automate the process of issuing the command in kde? (It has to occur after the desktop has loaded or the network isn't found).
3. If the other two options are NG, is there a way to get an icon on the desktop that would issue the command when clicked? (I tried this myself but the command isn't executed. I'm guessing this is because route requires root privileges? [The process I used was creating a file "Get_Net.sh" on the desktop containing the command "bash route add default gw 192.168.0.1", Then I right clicked and made it executable.])