[Pardus-kullanicilari] sony ericsson GC89 kurulumu

selim singin selsin33 at gmail.com
14 Oca 2008 Pzt 20:01:03 EET


pardus resmi olmayan wiki'sinde anlatılanların  aynısını yaptım komutlar
şöyleydi;

[değiştir] Kurulum:

1) /etc/chatscripts/edge-connect dosyasını aşağıdaki içerikle oluşturun:

   1. You have to change the line "AT+CPIN= kartınızın pin numarası varsa
aşağıdaki bölümde buraya yazın.
   2. 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'

   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:

   1. Debug info from pppd:
   2. You can comment this off, if you don't need more info

debug

   1. Path to modem, you should change this line if your modem is connected
to /dev/ttySX
   2. and it isn't linked to /dev/modem. See dmesg after put your modem to
socket.

/dev/modem

   1. Max speed

230400

   1. Use hardware flow control

nocrtscts

   1. do not use modem control line

local

   1. turn off lcp-echo request because edge/gprs peers are not responding
for this

lcp-echo-interval 0 lcp-echo-failure 0

   1. Don't keep pppd attached to the terminal:

updetach

   1. Connection options

nodeflate noauth user internet

   1. 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"

   1. IP address configuration

noipdefault usepeerdns nobsdcomp defaultroute

4) Yukarıdaki dosyaları oluşturduktan sonra gc89 kartı yuvasına yerleştirip
dmesg komutu ile hangi device olduğu bulunur, örneğin /dev/ttyS0 olsun. Daha
sonra: ln -s /dev/ttyS0 /dev/modem --komutunu verip soft link oluşturulur.
Ardından: setserial /dev/ttyS0 baud_base 460800 --komutu ile modemin hızı
ayarlanır. pppd call edge --komutu ile bağlantı kurulur.

konsolda 4)' de anlatılanların sonunda "pppd call edge" dediğimde konsolun
son durumu ;


edo1998 selim # ln -s /dev/ttyS0 /dev/modem
edo1998 selim #  setserial /dev/ttyS0 baud_base 460800
edo1998 selim # pppd call edge
pppd: In file /etc/ppp/peers/edge: unrecognized option '1.'
edo1998 selim #
şeklinde oluyor.burada bir sorun var bu durum hakkında yorumu olan
arkadaşlardan yardım gelirse çok sevinecem.
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.pardus.org.tr/pardus-kullanicilari/attachments/20080114/8140b643/attachment.htm 


Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi