Budiman Angir wrote:
> guysss ...
> 
> saya mau connect centrin-xl pakai modem usb sierra 875u.
> distro yg dipakai slackware12.
> 
> waktu plug modem tsb, kelihatan sudah disupport oleh slack12.
> cuman setting ppp nya belum ada.
> setelah browsing ... dapet setting ppp untuk sierra.
> 
> setelah edit sini edit sana (isi file nya saya tulis dibawah email ini).
> dan ketik 'pppd call gsm' dan .... connect, otenfikasi nya kelihatan
> sudah ok. tapi tidak lama disconnect.
> saya paste yg terjadi setelah saya ketik perintah tsb, dibawah email ini.
> 
> Ada ide apa yg salah ?
> kalau ada yg pakai modem sierra 875u, bisa tolong share .... pliss
> 
> 
> 
> ====== yg terjadi setelah command 'pppd call gsm'
> ====== mulai
> Starting Sierra Wireless GSM connect script...
> 
> 
> Setting the abort string
> 
> 
> Initializing modem
> 
> 
> Setting APN
> 
> 
> Dialing...
> 
> Serial connection established.
> using channel 3
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyUSB0
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3a3e8909> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <auth chap MD5> <magic 0xce02c1>
> <pcomp> <accomp>]
> sent [LCP ConfAck id=0x6 <asyncmap 0x0> <auth chap MD5> <magic 0xce02c1>
> <pcomp> <accomp>]
> rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3a3e8909> <pcomp>
> <accomp>]
> sent [LCP EchoReq id=0x0 magic=0x3a3e8909]
> rcvd [LCP DiscReq id=0x7 magic=0xce02c1]
> rcvd [CHAP Challenge id=0x1 <7c9bb6bcae4a9a785c239dd9a0dc7cdb>, name =
> "UMTS_CHAP_SRVR"]
> sent [CHAP Response id=0x1 <6f1634e947964858f30a554d576e7b9e>, name =
> "[EMAIL PROTECTED]"]
> rcvd [LCP EchoRep id=0x0 magic=0xce02c1 3a 3e 89 09]
> rcvd [CHAP Success id=0x1 ""]
> CHAP authentication succeeded
> CHAP authentication succeeded
> sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
> sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
> 0.0.0.0> <ms-dns3 0.0.0.0>]
> rcvd [LCP ProtRej id=0x8 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03
> 2f]
> Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
> rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
> sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
> 10.11.12.13> <ms-dns3 10.11.12.14>]
> Modem hangup
> Connection terminated.
> 
> ====== selesai
> 
> 
> ==================================================================
> ==================================================================
> 
> 
> ====== isi file gsm
> ====== mulai
> -detach
> lcp-echo-failure 0
> /dev/ttyUSB0
> 115200
> debug
> defaultroute
> usepeerdns
> 
> #ipcp-no-address
> #ipcp-no-addresses
> ipcp-max-failure 4
> ipcp-accept-local
> ipcp-accept-remote
> 
> # AUTHENTICATION
> # If noauth works, use that, otherwise you have to pass
> # the user name and password. This is an example of a
> # standard Cingular user/pw combo
> 
> #noauth
> user [EMAIL PROTECTED]
> password mypassword
> 
> crtscts
> lock
> connect '/usr/sbin/chat -v -t6 -f /etc/ppp/peers/gsm_chat'
> 
> ====== selesai
> 
> 
> ===================================================================
> ===================================================================
> 
> 
> ====== isi file gsm_chat
> ====== mulai
> # Connection script for Sierra Wireless GSM/UMTS modems
> # Note: This demo script is setup to work on the Cingular EDGE network
> #
> SAY 'Starting Sierra Wireless GSM connect script...\n'
> SAY '\n'
> 
> #######################################
> SAY 'Setting the abort string\n'
> SAY '\n'
> # Abort String ------------------------------
> ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT 'NO CARRIER' ABORT DELAYED
> 
> #######################################
> SAY 'Initializing modem\n'
> # Modem Initialization
> '' AT
> OK ATZ
> 
> #######################################
> SAY '\n'
> SAY     'Setting APN\n'
> # Access Point Name (APN)
> # Incorrect APN or CGDCONT can often cause errors in connection.
> # Below are a bunch of different popular APNs
> 
> #REG:\s1 AT+cgdcont=1,"IP","proxy"
> #OK     'AT+CGDCONT=0,"IP","proxy"'
> #OK     'AT+CGDCONT=1,"IP","proxy"'
> #OK     'AT+CGDCONT=2,"IP","proxy"'
> #OK     'AT+CGDCONT=0,"IP","ISP.CINGULAR"'
> OK     'AT+CGDCONT=1,"IP","centrin.net.id"'
> #OK     'AT+CGDCONT=2,"IP","ISP.CINGULAR"'
> 
> #######################################
> SAY '\n'
> SAY     'Dialing...\n'
> # Dial the ISP, this is the common Cingular dial string
> 
> OK ATD*99#
> CONNECT ''
> 
> ====== selesai
> 
> 
> 
> 
> === end of my email
> === thnx for reading :)
> === any idea ?
> 

Saya juga pake centrin-XL, pake Sierra juga, tapi yang 875. Saya pake
distro ubuntu. Untuk koneksi saya pake perintah pon. Untuk konfigurasi,
saya bikin 2 file, yaitu:
===========================================================
/etc/chatscripts/centrin
-----------------------------------------------------------
ABORT           BUSY
ABORT           VOICE
ABORT           "NO CARRIER"
ABORT           "NO DIALTONE"
ABORT           "NO DIAL TONE"
ABORT           "NO ANSWER"
ABORT           DELAYED
""              ATZ
'OK'            'AT+CGDCONT=1,"IP","centrin.net.id"'
OK-AT-OK        "ATDT*99***1#"
CONNECT         "\d\c"
===========================================================
dan file
===========================================================
/etc/ppp/peers/centrin
-----------------------------------------------------------
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/centrin"
debug
/dev/ttyUSB2    <-- ganti ini jadi device-nya modem yang kedetek
460800
defaultroute
noipdefault
user "[EMAIL PROTECTED]"  <-- login centrin
usepeerdns
===========================================================

Lalu edit file /etc/ppp/pap-secrets, tambahkan di akhir file:
===========================================================
[EMAIL PROTECTED]       *       [password-centrin]
===========================================================
sesuaikan dengan login centrinnya.

Saya juga menambahkan baris ini di file /etc/ppp/options
===========================================================
+pap
===========================================================

Untuk melakukan koneksi, ketikkan perintah:
$ sudo pon centrin

sesuai dengan nama file di /etc/ppp/peers yang dibuat tadi, yaitu
centrin. Jangan lupa buka log system (/var/log/messages) supaya tau
kalau ada masalah. Selamat mencoba, semoga sukses :)

--
Donny Kurnia
http://hantulab.blogspot.com
http://hantulab.multiply.com

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke