startup internet connection on log-in
Hi all,
I was wondering. I am using rh9 with an alcatel speedtouch usb modem. Everything works fine, but I was hoping to make the internet connection a little easier for other users to log on. To start the connection manually now, I run through a series of commands to get things going, specifically on my system I use: root> modem_run -m -f /path_to_modem_firmcode root> pppd call adsl root> firestarter -s Now, I was wondering if perhaps there was a way for me to automate these tasks for other accounts? I need to run the commands as root to work. I guess I was hoping to make a simple script and have an icon on the desktop for other users to just connect to the internet (my gf is not quite linux savvy yet, and is very wary of anything unfamiliar to her, so ease of use is important). any ideas? |
btw, i am using kde at the moment
|
I think you can put the commands in a file, save it as myscript.sh and then you only have to run this file, i think.
But how the **** did you get your modem working? After lots of work, i had to intialize the modem with those: modem_run -m -f /path_to_modem_firmcode pppd call adsl but it didn't want to initialize... How did you do it? I'm using Mandrake 9.1 (the downloaded version) Thanx, Dennis |
you know, it was so long ago now, that i dont even remember each of the steps exactly? i was using ben papillaut's (sp?) driver, the loadable module. i pretty much followed the how-to on his website. let me know what you have done so far, and i can see if i remembe what the steps were...
|
Thanx for your response!
I follwed this site benoit.papillault.free.fr/speedtouch/user.en.php3 with it's driver. I think I have all requirements, and installed and configured everything succesfully. Then I used this line: /usr/local/bin/modem_run -f /path/to/mgmt.o -m to upload the firmware, succesfully. Then I had to connect with: pppd call adsl this command didn't do anything, and I didn't have any internet connection. I hope you remember... ;) Dennis |
there's a file in /etc/rc.d called rc.local
Put your commands in there dood. That way your adsl launches at startup !! |
Right!
I found out that my modem was broken... So I got a new one from my provider and it worked all fine in slack 9.1 with beniots driver. I put the startup lines in /etc/rc.d/rc.local, just like Evilone said. Thanx Dennis |
glad you got it workin!
|
All times are GMT -5. The time now is 01:01 PM. |