Ubuntu is my OS now since my windows has attacked by Virus on the beginning of April. Now I will share my experience when connect my Ubuntu to World Wide. I use sierra Air Card 881U and my operator is Telkomsel (Indonesia). For the first I stick my modem into USB port.
Open terminal and type the following (to check the driver)
andik@andik-ok:~$ modinfo sierra
filename: /lib/modules/2.6.24-23-generic/kernel/drivers/usb/serial/sierra.ko
license: GPL
version: v.1.2.5b
description: USB Driver for Sierra Wireless USB modems
author: Kevin Lloyd
srcversion: 27FE3178BE2CA8514073315
alias: usb:v1199p0FFFd*dc*dsc*dp*ic*isc*ip*
alias: usb:v05C6p6613d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0F3Dp0112d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0112d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6469d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6468d*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:v1199p6833d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6832d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6820d*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:v1199p6803d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6804d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6802d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0023d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0120d*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:v1199p0220d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0F30p1B1Dd*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*
depends: usbserial,usbcore
vermagic: 2.6.24-23-generic SMP mod_unload 586
andik@andik-ok:~$
That inform us, that modem has driver installed it.
And then check what port that usb in,
andik@andik-ok:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
ttyUSB0
Modem Port Scan<*1>: USB0
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: Sierra Wireless, Inc.
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB2.
Modem configuration written to /etc/wvdial.conf.
ttyUSB2
andik@andik-ok:~$
That inform us that modem on port 2 (ttyUSB2). After that edit configuration of wvdial
andik@andik-ok:~$ sudo gedit /etc/wvdial.conf (wvdial.conf will be open)
and delete all entry and replace with this
[Dialer tsel]
Auto DNS = on
Init1 = AT+CGDCONT=1,"IP","internet"
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = yes
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Phone = *99***1#
Modem = /dev/ttyUSB2
Username = ''
Password = ''
Baud = 9600
Save and close. Now we ready to use it. Open terminal and type
andik@andik-ok:~$ sudo wvdial tsel
Open Internet browser and let's surf the net
What if our modem driver is not installed, the solution is go to sierra web site and type SIERRA WIRELESS LINUX. After that download the driver link given. And install it. For information how to install please Readme file.
Thanks and enjoy












0 comments:
Post a Comment