Sierra 3G ModemSudah 2 bulan ini saya menggunakan modem 3G PCMCIA Sierra di Windows XP. Instalasi di Windows XP terbilang cukup mudah dan sudah 2 bulan ini saya asyik menggunakannya.
Entah kenapa pagi saya kepikiran untuk menginstall modem 3G di Ubuntu. Dan seingat saya memang si penjual juga menyertakan driver untuk linux di CD instalasi namun sayangnya tidak terdapat petunjuk cara instalasinya :(. Terpaksa deh mesti install sendiri.
Saya pakai Ubuntu Gutsy dan menggunakan driver untuk linux yang terdapat di CD instalasi.
Installasi
katz@katz:~$ cd /media/cdrom/Linux/
katz@katz:/media/cdrom/Linux$ cp sierra.v.1.0.6.tar.gz
katz@katz:/media/cdrom/Linux$ cp ppp-scripts.tar.gz
katz@katz:~$ sudo tar xvzf sierra.v.1.0.6.tar.gz
[sudo] password for katz:
katz@katz:~$ cd sierra.v.1.0.6/
katz@katz:~/sierra.v.1.0.6$ ls
Makefile sierra.c
Module.symvers
katz@katz:~/sierra.v.1.0.6$ sudo make
katz@katz:~/sierra.v.1.0.6$ ls
Makefile sierra.c sierra.mod.c sierra.o
Module.symvers sierra.ko sierra.mod.o
katz@katz:~/sierra.v.1.0.6$ dmesg
[ 22.272000]
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c:
USB Serial support registered for Sierra USB modem (3 port)
[ 22.272000] sierra 4-1:1.0: Sierra USB modem (3 port) converter detected
[ 22.276000] usb 4-1: Sierra USB modem (3 port) converter now attached to ttyUSB0
[ 22.276000] usb 4-1: Sierra USB modem (3 port) converter now attached to ttyUSB1
[ 22.276000] usb 4-1: Sierra USB modem (3 port) converter now attached to ttyUSB2
[ 22.276000] usbcore: registered new interface driver sierra
[ 22.276000]
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/sierra.c:
USB Driver for Sierra Wireless USB modems: v.1.0.6
Sekarang ubuntu sudah mengenali modemnya.
katz@katz:~/sierra.v.1.0.6$ cd..
katz@katz:~$ sudo tar xvzf ppp-scripts.tar.gz
katz@katz:~$ cd ppp/
katz@katz:~/ppp$ ls
ip-down.local ip-up.local peers
katz@katz:~/ppp$ cd peers/
katz@katz:~/ppp/peers$ ls
cdma cdma_chat gsm gsm_chat
Penjelasan :
Kita tidak memerlukan cdma dan cdma_chat
katz@katz:~$ sudo cp ppp/ip-down.local /etc/ppp/
katz@katz:~$ sudo cp ppp/ip-up.local /etc/ppp/
katz@katz:~$ sudo cp ppp/peers/gsm /etc/ppp/peers/
katz@katz:~$ sudo cp ppp/peers/gsm_chat /etc/ppp/peers/
katz@katz:~$ sudo vi /etc/ppp/peers/gsm
-detach
lcp-echo-failure 0
/dev/ttyUSB0
460800
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 xxxxxxx
password xxxxxxx
crtscts
lock
connect '/usr/sbin/chat -v -t6 -f /etc/ppp/peers/gsm_chat'
Penjelasan :
User xxxxx <<<>
Password xxxxx <<<>
katz@katz:~$ sudo vi /etc/ppp/peers/gsm_chat
OK 'AT+CGDCONT=1,"IP","ISP.CINGULAR"'
#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***1#
CONNECT ''
Penjelasan :
OK 'AT+CGDCONT=1,"IP","ISP.CINGULAR"' <<< href="http://www.xlgprs.net/" title="www.xlgprs.net">www.xlgprs.net
OK ATD*99***1# <<<>
katz@katz:~$ sudo pppd call gsm
Starting Sierra Wireless GSM connect script...
Setting the abort string
Initializing modem
Setting APN
Dialing...
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
katz@katz:~$ ping google.com
PING google.com (72.14.207.99) 56(84) bytes of data.
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=1 ttl=242 time=948 ms
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=2 ttl=242 time=948 ms
Gunakan Ctrl + C untuk mengakhiri koneksi kita
sumber : www.dhuha.net
Custom Search
|
Rabu, 13 Agustus 2008
Instalasi Modem 3G di Linux Ubuntu
Posted by huey at 8/13/2008 04:15:00 PM
Labels: uBUntU
Langganan:
Comment Feed (RSS)
|