|
From: | Pawel Kot <address@hidden> |
Subject: | CVS: gnokii/Docs/sample/ppp cimd-connect,NONE,1.1 options,NONE,1.1 pap-secrets,NONE,1.1 ppp-6210-modem,NONE,1.1 ppp-FILES,NONE,1.1 ppp-gnokii,NONE,1.1 ppp-hscsd,NONE,1.1 ppp-on,NONE,1.1 |
Date: | Wed, 01 Jan 2003 18:30:20 -0500 |
Update of /cvsroot/gnokii/gnokii/Docs/sample/ppp In directory subversions:/tmp/cvs-serv11377/ppp Added Files: cimd-connect options pap-secrets ppp-6210-modem ppp-FILES ppp-gnokii ppp-hscsd ppp-on Log Message: Move ppp examples to sample/ppp/ directory --- NEW FILE --- #! /usr/sbin/chat -vEf # ^^^ all options MUST be given as ONE word only (all are passed as ARGV[1]) # add/remove letter 'v' to echo all the commends to your syslog TIMEOUT 3 "" "ATZ" "OK-ATZ-OK" "" ABORT "BUSY" ABORT "NO CARRIER" ABORT "NO DIAL TONE" ABORT "ERROR" ABORT "VOICE" "" ATL2 OK ATD$TELEPHONE TIMEOUT 90 CONNECT \c ^M \c --- NEW FILE --- modem crtscts defaultroute asyncmap 0 mtu 1500 mru 1500 user ppp --- NEW FILE --- ppp * ppp --- NEW FILE --- #!/bin/sh /usr/sbin/chat -v \ TIMEOUT 30 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ ABORT '\nNO CARRIER\r' \ '' '\r\dATZ' \ TIMEOUT 60 \ OK ATDT$TELEPHONE \ CONNECT '' --- NEW FILE --- ppp-6210-modem Basic chat script to use with AT modem (eg. Nokia 6210) ppp-gnokii Basic chat script to make a connection with gnokiid and at-emulator (eg. Nokia 6110) ppp-hscsd Sample chat script to make a hscsd connection ppp-on Sample ppp script to estabilish a dialup connection options Sample ppp options file pap-secrets Sample pap-secrets file --- NEW FILE --- #!/bin/sh /usr/sbin/chat -v \ TIMEOUT 30 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ ABORT '\nNO CARRIER\r' \ '' ATDT$TELEPHONE \ CONNECT '' --- NEW FILE --- #!/bin/sh chat -v \ TIMEOUT 60 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ ABORT '\nNO CARRIER\r' \ '' "\r\dATZ" \ OK "AT+CBST=51,0,1" \ OK "AT+CHSN=6,0,0,0" \ TIMEOUT 60 \ OK ATD$TELEPHONE \ CONNECT '' --- NEW FILE --- #!/bin/sh TELEPHONE=501808080 LOCAL_IP=0.0.0.0 REMOTE_IP=0.0.0.0 NETMASK=255.255.255.0 DIALER_SCRIPT=/etc/ppp/ppp-gnokii export $TELEPHONE exec /usr/sbin/pppd debug /dev/gnokii 115200 $LOCAL_IP:$REMOTE_IP connect $DIALER_SCRIPT
[Prev in Thread] | Current Thread | [Next in Thread] |