tncummings
Group: Members
Posts: 3
Joined: Jan. 2006 |
|
Posted: 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
Code Sample | [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+cgdcont =1, "IP", "isp.cingular" Modem Type = USB Modem Baud = 460800 New PPPD = yes Modem = /dev/ttyACM0 ISDN = 0 Phone = *99# Password = CINGULAR1 Username = ISP@CINGULARGPRS.COM Stupid mode = 1
|
Next, I created a small shell script called wvdstart.sh:
Code Sample | #!/bin/sh sudo su -c "wvdial --config /home/dsl/wvdial.conf"
|
Then, I used icontool to create a "Tether" icon to start wvdial in a terminal window:
Code Sample | aterm -e /home/dsl/wvdstart.sh
|
I've tested this with a Motorola RAZR, Nokia 6555, and Sony Ericsson W580i. They all work perfectly! Thanks again for your help.
|