[clug] Vodafone USB modem connect assistance

Gary Woodman antigramp at yahoo.com.au
Sun Feb 3 10:13:04 GMT 2008


--- James Cherryh <jcherryh at gmail.com> wrote:

> Gary said :
> > Otherwise, post your ppp config and we'll pick it to pieces :-)
> 
> OK, aa. As will become obvious, I really don't know what I'm doing
> here :-(

Hmmm... I was thinking of the file in /etc/peers and the chatscript
(I'm a bit old school).

No, you don't need a username (and/or password). The phone number is
close enough, I use *99#.

What happens here after CHAP authentication is like so:

Feb  3 12:39:08 weld chat[27361]: ATDT*99#^M^M
Feb  3 12:39:08 weld chat[27361]: CONNECT
Feb  3 12:39:08 weld chat[27361]:  -- got it
Feb  3 12:39:08 weld chat[27361]: send (^M)
Feb  3 12:39:08 weld pppd[27360]: Serial connection established.
Feb  3 12:39:08 weld pppd[27360]: Using interface ppp0
Feb  3 12:39:08 weld pppd[27360]: Connect: ppp0 <--> /dev/ttyUSB0
Feb  3 12:39:09 weld pppd[27360]: CHAP authentication succeeded
Feb  3 12:39:12 weld pppd[27360]: Could not determine remote IP
address: defaulting to 10.64.64.64
Feb  3 12:39:12 weld pppd[27360]: local  IP address 119.11.104.234
Feb  3 12:39:12 weld pppd[27360]: remote IP address 10.64.64.64
Feb  3 12:39:12 weld pppd[27360]: primary   DNS address 202.124.65.2
Feb  3 12:39:12 weld pppd[27360]: secondary DNS address 202.124.68.130
Feb  3 12:51:23 weld pppd[27360]: Terminating on signal 15
Feb  3 12:51:23 weld pppd[27360]: Connect time 12.2 minutes.
Feb  3 12:51:23 weld pppd[27360]: Sent 987672 bytes, received 3632850
bytes.
Feb  3 12:51:23 weld pppd[27360]: Connection terminated.
Feb  3 12:51:24 weld pppd[27360]: Exit.

But something that I think is key to the whole process is these:
Feb  3 12:39:07 weld chat[27361]: send (ATZ^M)
Feb  3 12:39:07 weld chat[27361]: expect (OK)
Feb  3 12:39:07 weld chat[27361]: ATZ^M^M
Feb  3 12:39:07 weld chat[27361]: OK
Feb  3 12:39:07 weld chat[27361]:  -- got it
Feb  3 12:39:07 weld chat[27361]: send (AT+COPS?^M)
Feb  3 12:39:07 weld chat[27361]: expect (OK)
Feb  3 12:39:07 weld chat[27361]: ^M
Feb  3 12:39:07 weld chat[27361]: AT+COPS?^M^M
Feb  3 12:39:07 weld chat[27361]: +COPS: 0,0,"3TELSTRA",2^M
Feb  3 12:39:07 weld chat[27361]: ^M
Feb  3 12:39:07 weld chat[27361]: OK
Feb  3 12:39:07 weld chat[27361]:  -- got it
Feb  3 12:39:07 weld chat[27361]: send (ATQ0V1E1S0=0&C1&D2^M)
Feb  3 12:39:08 weld chat[27361]: expect (OK)
Feb  3 12:39:08 weld chat[27361]: ^M
Feb  3 12:39:08 weld chat[27361]: ATQ0V1E1S0=0&C1&D2^M^M
Feb  3 12:39:08 weld chat[27361]: OK
Feb  3 12:39:08 weld chat[27361]:  -- got it
Feb  3 12:39:08 weld chat[27361]: send
(AT+CGDCONT=1,"IP","3netaccess"^M)
Feb  3 12:39:08 weld chat[27361]: expect (OK)
Feb  3 12:39:08 weld chat[27361]: ^M
Feb  3 12:39:08 weld chat[27361]: AT+CGDCONT=1,"IP","3netaccess"^M^M
Feb  3 12:39:08 weld chat[27361]: OK
Feb  3 12:39:08 weld chat[27361]:  -- got it

Maybe you want to supply the weird-looking AT command
(AT+CGDCONT=1,"IP","3netaccess"^M) as well. But in your case it would
probably be 3VODA or something.

> Any thoughts? Or suggestions for more reading or a different approach
> to the
> one I used with YAST and kinternet? I previously tried calling wvdial
> directly, but the approach above got me (apparently) closer.

I wouldn't have a clue how Suse goes about these things. I use pppd
from a command prompt, with a suitable config file in /etc/ppp/peers
and corresponding chatscript. This works the same on just about any
Linux distro from the last decade or so. Happy to post them here if
you're interested :-)

Gary


      Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/y7mail




More information about the linux mailing list