-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the update!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIksCfybKxObfS7WERAh9qAJ9EQHndacthewMZ3cmvJ41zFeM1IwCgzo+K
ScfWuGilEmr+zdSHaZSY/SM=
=c/rk
-----END PGP SIGNATURE-----
On Fri, Aug 1, 2008 at 9:49 AM, Iain <[EMAIL PROTECTED]> wrote:

> Okay, got it working. Don't ask me how, I just decided to take another
> stab at this and it kicked into life before my eyes.
>
> Okay, for those so interested:
>
> *** /etc/ppp/peers/vodafone ***
> /dev/nokiagsm
> connect '/usr/sbin/chat -v -f /etc/ppp/chatscripts/vodafone-connect'
> disconnect '/usr/sbin/chat -v -f /etc/ppp/chatscripts/vodafone-disconnect'
> defaultroute
> noipdefault
> 230400
> nopcomp
> *** END ***
>
> *** /etc/ppp/chatscripts/vodafone-connect ***
> TIMEOUT 10
> ECHO    ON
> ABORT   '\nBUSY\r'
> ABORT   '\nERROR\r'
> ABORT   '\nNO ANSWER\r'
> ABORT   '\nNO CARRIER\r'
> ABORT   '\nNO DIALTONE\r'
> ABORT   '\nRINGING\r\n\r\nRINGING\r'
> ''      AT
> OK      AT+CGDCONT=1,"IP","internet"
> OK      ATDT*99#
> CONNECT ""
> *** END ***
>
> *** /etc/ppp/chatscripts/vodafone-disconnect ***
> ABORT           "BUSY"
> ABORT           "ERROR"
> ABORT           "NO DIALTONE"
> SAY             "\nSending break to the modem\n"
> ""              "\K"
> ""              "\K"
> ""              "\K"
> ""              "+++ATH"
> ""              "+++ATH"
> ""              "+++ATH"
> SAY             "\nPDP context detached\n"
> *** END ***
>
> And this is what we should be seeing in syslog:
>
> *** START ***
> Aug  1 08:42:53 expat-d420 chat[7074]: timeout set to 10 seconds
> Aug  1 08:42:53 expat-d420 chat[7074]: abort on (\nBUSY\r)
> Aug  1 08:42:53 expat-d420 chat[7074]: abort on (\nERROR\r)
> Aug  1 08:42:53 expat-d420 chat[7074]: abort on (\nNO ANSWER\r)
> Aug  1 08:42:53 expat-d420 chat[7074]: abort on (\nNO CARRIER\r)
> Aug  1 08:42:53 expat-d420 chat[7074]: abort on (\nNO DIALTONE\r)
> Aug  1 08:42:53 expat-d420 chat[7074]: abort on
> (\nRINGING\r\n\r\nRINGING\r)
> Aug  1 08:42:53 expat-d420 chat[7074]: send (AT^M)
> Aug  1 08:42:53 expat-d420 chat[7074]: expect (OK)
> Aug  1 08:42:53 expat-d420 chat[7074]: AT^M^M
> Aug  1 08:42:53 expat-d420 chat[7074]: OK
> Aug  1 08:42:53 expat-d420 chat[7074]:  -- got it
> Aug  1 08:42:53 expat-d420 chat[7074]: send
> (AT+CGDCONT=1,"IP","internet"^M)
> Aug  1 08:42:53 expat-d420 chat[7074]: expect (OK)
> Aug  1 08:42:53 expat-d420 chat[7074]: ^M
> Aug  1 08:42:53 expat-d420 chat[7074]: AT+CGDCONT=1,"IP","internet"^M^M
> Aug  1 08:42:53 expat-d420 chat[7074]: OK
> Aug  1 08:42:53 expat-d420 chat[7074]:  -- got it
> Aug  1 08:42:53 expat-d420 chat[7074]: send (ATDT*99#^M)
> Aug  1 08:42:54 expat-d420 chat[7074]: expect (CONNECT)
> Aug  1 08:42:54 expat-d420 chat[7074]: ^M
> Aug  1 08:42:55 expat-d420 chat[7074]: ATDT*99#^M^M
> Aug  1 08:42:55 expat-d420 chat[7074]: CONNECT
> Aug  1 08:42:55 expat-d420 chat[7074]:  -- got it
> Aug  1 08:42:55 expat-d420 chat[7074]: send (^M)
> Aug  1 08:42:55 expat-d420 pppd[7071]: Serial connection established.
> Aug  1 08:42:55 expat-d420 pppd[7071]: Using interface ppp0
> Aug  1 08:42:55 expat-d420 pppd[7071]: Connect: ppp0 <--> /dev/nokiagsm
> Aug  1 08:42:55 expat-d420 pppd[7071]: PAP authentication succeeded
> Aug  1 08:42:57 expat-d420 pppd[7071]: local  IP address 10.xxx.xxx.xxx
> Aug  1 08:42:57 expat-d420 pppd[7071]: remote IP address 10.xxx.xxx.xxx
> *** END ***
>
> Regs.
>
> Iain.
>
> Keith Vassallo wrote:
> >
> > Please let me know if this works as I'm setting up something similar.
>
> _______________________________________________
> MLUG-list mailing list
> [email protected]
> http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list
>



-- 
James Attard
http://www.madvip.net
http://www.jamesattard.com
_______________________________________________
MLUG-list mailing list
[email protected]
http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list

Reply via email to