Donanım:Sony Ericsson GC89
PardusWiki, özgür ansiklopedi
[değiştir] Pardus'a GC89 Tanıtmak
1) /etc/chatscripts/edge-connect dosyasını aşağıdaki içerikle oluşturun:
#You have to change the line "AT+CPIN=
Sim kartınızın pin numarası varsa aşağıdaki bölümde buraya yazın.
#Line: OK '\d\d\d\d\d\d\d\d\d\d\dAT+CGDCONT=1,"IP","internet,"",0,0' may be different for Your network
TIMEOUT 5 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' SAY "Press CTRL-C to close the connection at any stage!" TIMEOUT 45 '\rAT' OK 'AT+CFUN=1,1' OK 'AT+CPIN=' OK 'ATE1\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d' SAY "\nWaiting for logged to gsm network..." SAY "\ndefining PDP context...\n" OK 'AT+IFC=0,0' OK '\d\d\d\d\d\d\d\d\d\d\dAT+CGDCONT=1,"IP","internet","",0,0' OK 'AT+CBST=81,0,1;+CHSN=6,0,0,0' OK 'ATD*99***1#' TIMEOUT 20 SAY "\nwaiting for connect...\n" CONNECT "" SAY "\nConnected." SAY "\nIf the following ppp negotiations fail,\n" SAY "try again. Sometimes the waiting time to logged to gsm network is to short.\n"
2) /etc/chatscripts/edge-disconnect dosyasını aşağıdaki içerikle oluşturun:
ABORT "BUSY" ABORT "ERROR" ABORT "NO DIALTONE" SAY "\nSending break to the modem\n" "" "\K" "" "+++ATH" SAY "\nPDP context detached\n"
3) /etc/ppp/peers/edge dosyasını aşağıdaki içerikle oluşturun:
#Debug info from pppd: #You can comment this off, if you don't need more info debug
#Path to modem, you should change this line if your modem is connected to /dev/ttySX #and it isn't linked to /dev/modem. See dmesg after put your modem to socket. /dev/modem
#Max speed 230400
#Use hardware flow control nocrtscts
#do not use modem control line local
#turn off lcp-echo request because edge/gprs peers are not responding for this lcp-echo-interval 0 lcp-echo-failure 0
#Don't keep pppd attached to the terminal: updetach
#Connection options nodeflate noauth user internet
#Path to chat script connect/disconnect connect "/usr/sbin/chat -v -f /etc/chatscripts/edge-connect" disconnect "/usr/sbin/chat -v -f /etc/chatscripts/edge-disconnect"
#IP address configuration noipdefault usepeerdns nobsdcomp defaultroute
Yukarıdaki dosyaları oluşturduktan sonra gc89 kartı yuvasına yerleştirip:
dmesg
komutu ile GC89 kartının hangi device olduğu bulunur, örneğin /dev/ttyS0 olsun.
Ardından aşağıdaki komutlarda ttsS0 yazan yerlere yeni ismi yazarak root ile çalıştırılır:
ln -s /dev/ttyS0 /dev/modem setserial /dev/ttyS0 baud_base 460800 pppd call edge
komutu ile bağlantı kurulur. Başarılar.

