• Sumo

Sierra Compass 885U, Indosat IM2 dan Fedora 12 (Constantine)

Untuk bisa menggunakan Sierra Compass 885U pada Fedora 12 dengan sim card IM2, terlebih dahulu install driver dari Sierra Compass 885U. Lihat versi kernel yang sedang digunakan, pada terminal jalankan perintah

[anif@scorvia ~]$ uname -a
Linux scorvia.scorviafoundation.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux

Disini terlihat kernel yang digunakan adalah 2.6.31.5-127.fc12.i686.PAE.

Download driver untuk Sierra Compass 885U di website http://www.sierrawireless.com/, pastikan versi driver yang didownload sesuai dengan versi kernel yang digunakan. Untuk Fedora 12 dengan kernel 2.6.31.5-127, download drivernya dialamat

http://www.sierrawireless.com/resources/support/Software/Linux/v1.7.12_kernel-2.6.31.serial.tar


Ekstrak file yang telah didownload tersebut, disini aku menempatkan filenya di ~/Desktop/sierra.

[anif@scorvia ~]$ cd Desktop/sierra
[anif@scorvia sierra]$ ls
v1.7.12_kernel-2.6.31.serial.tar

[anif@scorvia sierra]$ tar -xvf v1.7.12_kernel-2.6.31.serial.tar
sierra.c
Makefile

[anif@scorvia sierra]$ ls
Makefile sierra.c v1.7.12_kernel-2.6.31.serial.tar

Pastikan kernel-headers package telah terinstall agar proses make bisa sukses, gunakan perintah berikut untuk melihat

[anif@scorvia sierra]$ rpm -qa | grep kernel
kernel-PAE-2.6.31.5-127.fc12.i686
abrt-addon-kerneloops-0.0.11-1.fc12.i686
kernel-firmware-2.6.31.5-127.fc12.noarch
kernel-PAE-devel-2.6.31.5-127.fc12.i686
kernel-headers-2.6.31.5-127.fc12.i686
abrt-plugin-kerneloopsreporter-0.0.11-1.fc12.i686

Dari output diatas terlihat bahwa kernel-headers telah terinstall, selanjutnya jalankan perintah berikut:

[anif@scorvia sierra]$ make
—————————————————–
Compiling sierra.c
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE’
CC [M] /home/anif/Desktop/sierra/sierra.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/anif/Desktop/sierra/sierra.mod.o
LD [M] /home/anif/Desktop/sierra/sierra.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE’
—————————————————–

[anif@scorvia sierra]$ ls
Makefile modules.order sierra.c sierra.mod.c sierra.o
Module.markers Module.symvers sierra.ko sierra.mod.o v1.7.12_kernel-2.6.31.serial.tar

Gunakan perintah make install untuk menginstall module driver

[anif@scorvia sierra]$ su -c “make install”
Password:

Perintah diatas jika sukses tidak akan menghasilkan output apapun. Untuk memastikannya jalankan perintah berikut:

[anif@scorvia sierra]$ modinfo sierra
filename: /lib/modules/2.6.31.5-127.fc12.i686.PAE/kernel/drivers/usb/serial/sierra.ko
license: GPL
version: v.1.7.12
description: USB Driver for Sierra Wireless USB modems
author: Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer
srcversion: 34939526BDA39C74B3E6CE1
alias: usb:v1199p68A3d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6893d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6892d*dc*dsc*dp*icFFiscFFipFF*
alias: usb:v1199p6891d*dc*dsc*dp*icFFiscFFipFF*
alias: usb:v1199p6890d*dc*dsc*dp*icFFiscFFipFF*
alias: usb:v1199p6880d*dc*dsc*dp*icFFiscFFipFF*
alias: usb:v1199p685Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6859d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6856d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6855d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6853d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6852d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6851d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6850d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p683Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p683Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p683Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p683Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p683Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6839d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6838d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6835d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6834d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6833d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6832d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6822d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6821d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6820d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6816d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6815d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6813d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6812d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6809d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6808d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6805d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6804d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6803d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6802d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0029d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0028d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0027d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0026d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0025d*dc*dsc*dp*icFFiscFFipFF*
alias: usb:v1199p0023d*dc*dsc*dp*icFFiscFFipFF*
alias: usb:v1199p0120d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0112d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0021d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0019d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0224d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0024d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0022d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0220d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0218d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0018d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0017d*dc*dsc*dp*ic*isc*ip*
alias: usb:v03F0p1E1Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v03F0p1B1Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0F3Dp0112d*dc*dsc*dp*ic*isc*ip*
depends: usbserial
vermagic: 2.6.31.5-127.fc12.i686.PAE SMP mod_unload 686
parm: nmea:NMEA streaming (bool)
parm: debug:Debug messages (bool)

Dari hasil diatas terlihat bahwa module driver untuk modem sierra ini telah terinstal.
Sekarang pasang modem Sierra Compass 885U pada slot USB yang tersedia, dan gunakan perintah berikut untuk melihat apakah modem tersebut sudah dikenali oleh Fedora 12.
Jalankan perintah berikut untuk mengetahui bahwa modem Sierra Compas 885U sudah dikenali oleh Fedora 12.

[anif@scorvia sierra]$ su -c “tail -n 50 /var/log/messages”
Nov 28 18:28:25 scorvia kernel: usb 2-5: new high speed USB device using ehci_hcd and address 7
Nov 28 18:28:25 scorvia kernel: usb 2-5: New USB device found, idVendor=1199, idProduct=0fff
Nov 28 18:28:25 scorvia kernel: usb 2-5: New USB device strings: Mfr=2, Product=1, SerialNumber=3
Nov 28 18:28:25 scorvia kernel: usb 2-5: Product: USB MMC Storage
Nov 28 18:28:25 scorvia kernel: usb 2-5: Manufacturer: Sierra Wireless, Incorporated
Nov 28 18:28:25 scorvia kernel: usb 2-5: SerialNumber: SWOC22905731
Nov 28 18:28:25 scorvia kernel: usb 2-5: configuration #1 chosen from 1 choice
Nov 28 18:28:25 scorvia kernel: usb-storage: probe of 2-5:1.0 failed with error -5
Nov 28 18:28:25 scorvia kernel: usb 2-5: USB disconnect, address 7
Nov 28 18:28:25 scorvia kernel: usb 2-5: new high speed USB device using ehci_hcd and address 8
Nov 28 18:28:25 scorvia kernel: usb 2-5: New USB device found, idVendor=1199, idProduct=6880
Nov 28 18:28:25 scorvia kernel: usb 2-5: New USB device strings: Mfr=2, Product=1, SerialNumber=3
Nov 28 18:28:25 scorvia kernel: usb 2-5: Product: HSPA Modem
Nov 28 18:28:25 scorvia kernel: usb 2-5: Manufacturer: Sierra Wireless, Incorporated
Nov 28 18:28:25 scorvia kernel: usb 2-5: SerialNumber: 1234567890ABCDEF
Nov 28 18:28:25 scorvia kernel: usb 2-5: configuration #1 chosen from 1 choice
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.0: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB0
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.1: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB1
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.2: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB2
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.3: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB3
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.4: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB4
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.5: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB5
Nov 28 18:28:25 scorvia kernel: sierra 2-5:1.6: Sierra USB modem converter detected
Nov 28 18:28:25 scorvia kernel: usb 2-5: Sierra USB modem converter now attached to ttyUSB6
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB0) opening serial device…
Nov 28 18:28:25 scorvia kernel: scsi10 : SCSI emulation for USB Mass Storage devices
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB2) opening serial device…
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB4) opening serial device…
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB3) opening serial device…
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB5) opening serial device…
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB6) opening serial device…
Nov 28 18:28:25 scorvia modem-manager: (ttyUSB1) opening serial device…
Nov 28 18:28:30 scorvia kernel: scsi 10:0:0:0: Direct-Access SWI SD Card 2.31 PQ: 0 ANSI: 2
Nov 28 18:28:30 scorvia kernel: sd 10:0:0:0: Attached scsi generic sg2 type 0
Nov 28 18:28:30 scorvia kernel: sd 10:0:0:0: [sdb] Attached SCSI removable disk
Nov 28 18:28:32 scorvia modem-manager: (ttyUSB3) closing serial device…
Nov 28 18:28:35 scorvia modem-manager: (Sierra): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 claimed port ttyUSB3
Nov 28 18:28:41 scorvia NetworkManager: (ttyUSB3): new GSM device (driver: ‘sierra’)
Nov 28 18:28:41 scorvia NetworkManager: (ttyUSB3): exported as /org/freedesktop/NetworkManager/Devices/4
Nov 28 18:28:41 scorvia NetworkManager: (ttyUSB3): now managed
Nov 28 18:28:41 scorvia NetworkManager: (ttyUSB3): device state change: 1 -> 2 (reason 2)
Nov 28 18:28:41 scorvia modem-manager: (ttyUSB4) closing serial device…
Nov 28 18:28:41 scorvia NetworkManager: (ttyUSB3): deactivating device (reason: 2).
Nov 28 18:28:41 scorvia NetworkManager: flush_routes: assertion `iface_idx >= 0′ failed
Nov 28 18:28:41 scorvia NetworkManager: flush_addresses: assertion `iface_idx >= 0′ failed
Nov 28 18:28:41 scorvia NetworkManager: (ttyUSB3): device state change: 2 -> 3 (reason 0)
Nov 28 18:28:41 scorvia modem-manager: (Sierra): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 claimed port ttyUSB4
Nov 28 18:28:41 scorvia modem-manager: (ttyUSB5) closing serial device…
Nov 28 18:28:41 scorvia modem-manager: (Sierra): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 claimed port ttyUSB5
Nov 28 18:28:41 scorvia modem-manager: (ttyUSB6) closing serial device…
Nov 28 18:28:41 scorvia modem-manager: (Sierra): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5 claimed port ttyUSB6
Nov 28 18:28:43 scorvia modem-manager: (ttyUSB0) closing serial device…
Nov 28 18:28:44 scorvia modem-manager: (ttyUSB2) closing serial device…
Nov 28 18:28:45 scorvia modem-manager: (ttyUSB1) closing serial device…

[anif@scorvia sierra]$ dmesg
usb 2-5: new high speed USB device using ehci_hcd and address 8
usb 2-5: New USB device found, idVendor=1199, idProduct=6880
usb 2-5: New USB device strings: Mfr=2, Product=1, SerialNumber=3
usb 2-5: Product: HSPA Modem
usb 2-5: Manufacturer: Sierra Wireless, Incorporated
usb 2-5: SerialNumber: 1234567890ABCDEF
usb 2-5: configuration #1 chosen from 1 choice
sierra 2-5:1.0: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB0
sierra 2-5:1.1: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB1
sierra 2-5:1.2: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB2
sierra 2-5:1.3: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB3
sierra 2-5:1.4: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB4
sierra 2-5:1.5: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB5
sierra 2-5:1.6: Sierra USB modem converter detected
usb 2-5: Sierra USB modem converter now attached to ttyUSB6
sierra: v.1.7.12:USB Driver for Sierra Wireless USB modems
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access SWI SD Card 2.31 PQ: 0 ANSI: 2
sd 10:0:0:0: Attached scsi generic sg2 type 0
sd 10:0:0:0: [sdb] Attached SCSI removable disk

Dari hasil diatas dapat kita lihat bahwa modem yang akan digunakan sudah dikenali oleh Fedora 12. Sekarang siapkan script yang digunakan untuk men-dial, disini menggunakan pppd, download scriptnya dari:

http://www.sierrawireless.com/resources/support/Software/Linux/ppp-scripts.tar.gz

Sama halnya dengan file driver, disini aku tempatkan di folder ~/Desktop/sierra

[anif@scorvia sierra]$ tar -zxvf ppp-scripts.tar.gz

[anif@scorvia sierra]$ su -c “cp -r ./ppp /etc/”

[anif@scorvia sierra]$ cd /etc/ppp
[anif@scorvia ppp]$ su -c “chmod a+x ip-up.local ip-down.local”

Edit file /etc/ppp/peers/gsm_chat

[anif@scorvia ppp]$ su -c “vi /etc/ppp/peers/gsm_chat”

Hasil editan dari file ini akan terlihat seperti dibawah ini, dimana yang diedit hanya dibagian APN name, disini diisikan INDOSATM2

# 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 stringn’
SAY ‘n’
# Abort String ——————————
ABORT ‘NO DIAL TONE’ ABORT ‘NO ANSWER’ ABORT ‘NO CARRIER’ ABORT DELAYED

#######################################
SAY ‘Initializing modemn’
# Modem Initialization
” AT
OK ATZ

#######################################
SAY ‘n’
SAY ‘Setting APNn’
# 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”,”INDOSATM2″‘
#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 ”

Selanjutnya edit file /etc/ppp/peers/gsm, disini yang perlu diperhatikan adalah dibagian
/dev/ttyUSB4 karena default dari file ini adalah /dev/ttyUSB0. Dari data yang terdapat pada sierrawireless.com, untuk Compass 885U menggunakan /dev/ttyUSB4 sebagai Data Port, hasil lengkap dari file ini terlihat seperti dibawah

[anif@scorvia ppp]$ su -c “vi/etc/ppp/peers/gsm”
-detach
lcp-echo-failure 0
/dev/ttyUSB4
115200
debug
defaultroute
usepeerdns
noccp

#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 USERNAME_IM2_ANDA
password PassWord_IM2_Anda

crtscts
lock
connect ‘/usr/sbin/chat -v -t6 -f /etc/ppp/peers/gsm_chat’

Sekarang, sebagai user root, jalankan perintah berikut:

[anif@scorvia ~]$ su -c “pppd call gsm”
Starting Sierra Wireless GSM connect script…

Setting the abort string

Initializing modem

Setting APN

Dialing…
Serial connection established.
using channel 5
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB4
sent [LCP ConfReq id=0x1
]
rcvd [LCP ConfReq id=0xe
]
sent [LCP ConfAck id=0xe
]
rcvd [LCP ConfAck id=0x1
]
rcvd [LCP DiscReq id=0xf magic=0xa4322abc]
rcvd [CHAP Challenge id=0x1 , name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 <5a8f00eac9abc25ca7b1b790bbdc9641>, name = “USERNAME_ANDA”]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 ]
rcvd [IPCP ConfNak id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfReq id=0x8]
sent [IPCP ConfNak id=0x8 ]
rcvd [IPCP ConfRej id=0x3 ]
sent [IPCP ConfReq id=0x4 ]
rcvd [IPCP ConfReq id=0x9]
sent [IPCP ConfAck id=0x9]
rcvd [IPCP ConfNak id=0x4 ]
sent [IPCP ConfReq id=0x5 ]
rcvd [IPCP ConfAck id=0x5 ]
Could not determine remote IP address: defaulting to 10.64.64.64
local IP address 114.59.224.214
remote IP address 10.64.64.64
primary DNS address 202.155.0.10
secondary DNS address 202.155.0.15
Script /etc/ppp/ip-up started (pid 2605)
Script /etc/ppp/ip-up finished (pid 2605), status = 0x0

Pada terminal yang lain, jalankan perintah berikut untuk mengetahui bahwa koneksi yang dibuat sudah sukses

[anif@scorvia ~]$ su -c “tail /var/log/messages”
Password:
Nov 28 18:34:04 scorvia pppd[2328]: Connect: ppp0 <–> /dev/ttyUSB4
Nov 28 18:34:05 scorvia pppd[2328]: CHAP authentication succeeded
Nov 28 18:34:05 scorvia pppd[2328]: CHAP authentication succeeded
Nov 28 18:34:05 scorvia kernel: PPP Deflate Compression module registered
Nov 28 18:34:07 scorvia pppd[2328]: Could not determine remote IP address: defaulting to 10.64.64.64
Nov 28 18:34:07 scorvia pppd[2328]: local IP address 114.56.92.90
Nov 28 18:34:07 scorvia vmnetBridge: RTM_NEWROUTE: index:6
Nov 28 18:34:07 scorvia pppd[2328]: remote IP address 10.64.64.64
Nov 28 18:34:07 scorvia pppd[2328]: primary DNS address 202.155.0.10
Nov 28 18:34:07 scorvia pppd[2328]: secondary DNS address 202.155.0.15

[anif@scorvia ~]$ ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:114.56.92.90 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:8407 (8.2 KiB) TX bytes:1762 (1.7 KiB)

[anif@scorvia ~]$ cat /etc/resolv.conf
#These entries are from the ppp0 connection
nameserver 202.155.0.10 #ppp0 entry
nameserver 202.155.0.15 #ppp0 entry

Lakukan ping untuk melihat apakah sudah terhubung ke internet

[anif@scorvia sierra]$ ping google.com
PING google.com (74.125.45.100) 56(84) bytes of data.
64 bytes from yx-in-f100.1e100.net (74.125.45.100): icmp_seq=1 ttl=50 time=1033 ms
64 bytes from yx-in-f100.1e100.net (74.125.45.100): icmp_seq=2 ttl=50 time=479 ms
64 bytes from yx-in-f100.1e100.net (74.125.45.100): icmp_seq=3 ttl=50 time=531 ms
^C

Selesai sudah proses konfigurasi modem Sierra Compass 885U dan Indosat IM2 pada Fedora 12.

Konfigurasi diatas menggunakan CHAP sebagai authentikasinya, jika anda ingin menggunakan PAP, maka harus mengedit file

[root@scorvia ppp]# vi /etc/ppp/pap-secrets

# Secrets for authentication using PAP
# client server secret IP addresses
USERNAME_ANDA INDOSATM2 PASSWORD_ANDA

Modifikasi file /etc/ppp/peers/gsm, berikan tanda # (comment) pada baris password, dan tambahkan baris remotename INDOSATM2 setelah username, berikut potongan modifikasi dari file /etc/ppp/peers/gsm

[root@scorvia ppp]# vi /etc/ppp/peers/gsm
#noauth
user USERNAME_ANDA
remotename INDOSATM2
#password PASSWORD_ANDA

Simpan perubahan tersebut, jalankan command

[root@scorvia ppp]# pppd call gsm
Starting Sierra Wireless GSM connect script…

Setting the abort string

Initializing modem

Setting APN

Dialing…
Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB4
sent [LCP ConfReq id=0x1
]
rcvd [LCP ConfReq id=0x10
]
sent [LCP ConfNak id=0x10 ]
rcvd [LCP ConfAck id=0x1
]
rcvd [LCP ConfReq id=0x11
]
sent [LCP ConfAck id=0x11
]
sent [PAP AuthReq id=0x1 user=”USERNAME_ANDA” password=]
rcvd [LCP DiscReq id=0x12 magic=0xa4348abc]
rcvd [PAP AuthAck id=0x1 “”]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 ]
rcvd [IPCP ConfNak id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfReq id=0xa]
sent [IPCP ConfNak id=0xa ]
rcvd [IPCP ConfRej id=0x3 ]
sent [IPCP ConfReq id=0x4 ]
rcvd [IPCP ConfReq id=0xb]
sent [IPCP ConfAck id=0xb]
rcvd [IPCP ConfNak id=0x4 ]
sent [IPCP ConfReq id=0x5 ]
rcvd [IPCP ConfAck id=0x5 ]
Could not determine remote IP address: defaulting to 10.64.64.64
local IP address 114.56.80.56
remote IP address 10.64.64.64
primary DNS address 202.155.0.10
secondary DNS address 202.155.0.15
Script /etc/ppp/ip-up started (pid 2628)
Script /etc/ppp/ip-up finished (pid 2628), status = 0x0

terlihat disini ada baris dengan tulisan

sent [PAP AuthReq id=0x1 user=”USERNAME_ANDA” password=]
rcvd [LCP DiscReq id=0x12 magic=0xa4348abc]
rcvd [PAP AuthAck id=0x1 “”]

Selesai sudah konfigurasi Sierra 885U pada Fedora 12 untuk Indosat IM2