Make wvdial easier to useForum: Networking Topic: Make wvdial easier to use started by: tncummings Posted by tncummings on Nov. 24 2007,14:54
I've installed 3.4.6 on an old Dell Latitude CPi and set up a wvdial script to tether a cell phone as a modem. As it is working now, the root user must activate the script at the command line using the command
I stop the script using CTR+C. I'd like to set this up so a non-Linux user can easily point and click to activate and deactivate the script. I've futzed around with PPPD some, and have about abandoned that idea. I've been thinking about a shell script with a desktop icon, but I'm not sure I want to compromise the root password. I'd appreciate any thoughts or ideas! Posted by roberts on Nov. 24 2007,15:15
wvdial is not in DSL, must be using an extension?Why not use sudo in front of your wvdial command? With 3.4.6 you can use the icontool to attach a desktop icon. Posted by ^thehatsrule^ on Nov. 24 2007,22:11
You could also setuid on wvdial instead (assuming wvdial is a setuid safe binary)
Posted by tncummings on Nov. 26 2007,02:15
thanks for the ideas and options. I'll start plugging through these.Yes, I did add wvdial through the extensions. To further explain the issue, the laptop will be used in a retail store to demo the modem capabilities of cell phones. I was able to get a Motorola V3 RAZR, Nokia 6555, and a Sony Erricson W580 using ATT cellular service to work with this single wvdial script. I'm now trying to make the execution of the script as easy as possible for the sales staff without compromising the security of the laptop. Posted by tncummings on Dec. 19 2007,03:22
Thought I should post the resolution to this...As suggested, I used the icontool to automate the script. First, though, I created my wvdial.conf file
Next, I created a small shell script called wvdstart.sh:
Then, I used icontool to create a "Tether" icon to start wvdial in a terminal window:
I've tested this with a Motorola RAZR, Nokia 6555, and Sony Ericsson W580i. They all work perfectly! Thanks again for your help. |