+------------------------------------------------------ | Some useful links GC85 EDGE/GPRS PC Card (abclinuxu.cz) AT Command Manual GNU/Linux - Fedora Core +------------------------------------------------------ | Running EDGE Connection # to set the PCMCIA device up and to init GSM module /etc/edge-pcmcia init # to start EDGE communication /etc/edge-pcmcia up # to stop EDGE communication /etc/edge-pcmcia down # or press Ctrl+C # to turn the PCMCIA device down /etc/edge-pcmcia stop +------------------------------------------------------ | /etc/edge-pcmcia script #! /bin/bash # Sony Ericsson GC85 PCMCIA card EDGE connection case "$1" in init) # PCMCIA init is not needed # /etc/pcmcia/serial start ttyS3 cp /etc/ppp/options.edge /etc/ppp/options /usr/sbin/pppd call edgepcmciainit ;; up) cp /etc/ppp/options.edge /etc/ppp/options /usr/sbin/pppd call edgepcmcia ;; down) /sbin/ifconfig ppp0 down killall pppd ;; stop) # PCMCIA init is not needed # /etc/pcmcia/serial stop ttyS3 ;; *) echo "Usage: $0 {init|up|down|stop}" esac exit 0 +------------------------------------------------------ | /etc/ppp/options.edge usepeerdns defaultroute noipdefault noauth 115200 +------------------------------------------------------ | /etc/ppp/peers/edgepcmcia debug /dev/ttyS3 115200 crtscts modem lock receive-all nopcomp noaccomp noccp novj novjccomp nodetach noipdefault defaultroute noauth #usepeerdns connect '/usr/sbin/chat -v -e -f /etc/chatscripts/edgepcmcia' disconnect '/usr/sbin/chat -v -e -f /etc/chatscripts/edgepcmcia-hang' +------------------------------------------------------ | /etc/ppp/peers/edgepcmciainit debug /dev/ttyS3 115200 crtscts modem lock receive-all nopcomp noaccomp noccp novj novjccomp nodetach noipdefault defaultroute noauth #usepeerdns connect '/usr/sbin/chat -v -e -f /etc/chatscripts/edgepcmciainit' #disconnect '/usr/sbin/chat -v -e -f /etc/chatscripts/edgepcmcia-hang' +------------------------------------------------------ | /etc/chatscripts/edgepcmcia '' AT TIMEOUT 240 OK ATX3 # Turns the cellular radio on OK AT+CFUN=1,1 # The AT+CSQ command reports the signal strength on a scale of 0-31 OK AT+CSQ OK 'AT+CGDCONT=1,"IP","internet"' OK ATDT*99***1# TIMEOUT 22 CONNECT "" +------------------------------------------------------ | /etc/chatscripts/edgepcmciainit '' AT OK ATX3 # Turns the cellular radio on OK AT+CFUN=1,1 OK SAY "\nDisconnect...\n" "" "\K" "" "+++ATH" SAY "\nDisconnected.\n" +------------------------------------------------------ | /etc/chatscripts/edgepcmcia-hang SAY "\nDisconnect...\n" "" "\K" "" "+++ATH" SAY "\nDisconnected.\n"