Pages

Search This Blog

22 March 2013

Kermic Koala + TselFlash + B2100 = ONLINE


After installation Kermic Koala (Ubuntu 9.10) completed an afterthought to me how to get online using mobile phones (HP) as a modem.....?
wink wink wink .....
find there looking for here ... asked Simbah Google. in so many responsibilities one refers to blog Mas Anton Raharja in http://www.antonraharja.web.id/2009/12/07/ubuntu-9-10-usb-modem-3g-speedup-su-8000u/
After tooling - tweaking here and there to follow the instructions of Mas Anton finally online with HP B2100 as modem.
Something like this for my settings:

root@agung-laptop:/etc# lsusb <---------- b="" check="" nbsp="" the="" to="">HandPhone connection with Ubuntu
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:8140 Dell Computer Corp. Wireless 360 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 009: ID 04e8:675a Samsung Electronics Co., Ltd <---- b="">Modem HandPhone in familiar
Bus 005 Device 002: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@agung-laptop:/etc# wvdialconf <-------- b="" definitive="" handphone="" locate="" modem="" to="">
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
ttyACM0: Device or resource busy
Modem Port Scan<*1>: ACM0
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 Z -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM1<*1>: Modem Identifier: ATI -- SAMSUNG B2100 <------- b="" handphone="" modem="">
ttyACM1<*1>: Speed 4800: AT -- OK
ttyACM1<*1>: Speed 9600: AT -- OK
ttyACM1<*1>: Speed 19200: AT -- OK
ttyACM1<*1>: Speed 38400: AT -- OK
ttyACM1<*1>: Speed 57600: AT -- OK
ttyACM1<*1>: Speed 115200: AT -- OK
ttyACM1<*1>: Speed 230400: AT -- OK
ttyACM1<*1>: Speed 460800: AT -- OK
ttyACM1<*1>: Max speed is 460800; that should be safe.
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found an USB modem on /dev/ttyACM1. <---- acm1="" br="" dev="" di="" hp="" kenali="" modem="" pada="" sbg="" ttyacm1="">Modem configuration written to /etc/wvdial.conf.
ttyACM1: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Then we edit the wvdial.conf bit her
root@agung-laptop:/etc# gedit wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"ip","internet"
Modem Type = USB Modem
ISDN = 0
No carrier = 1
Phone = *99#
Modem = /dev/ttyACM1
Username = '
Password = '
Baud = 460800
root@agung-laptop:/etc# wvdial <--------- b="" dialup="" do="">
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"ip","internet"
AT+CGDCONT=1,"ip","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Mar 18 14:13:45 2010
--> Pid of pppd: 3894
--> Using interface ppp0
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> local IP address 114.121.22.4
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> remote IP address 192.200.1.21
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> primary DNS address 114.127.253.84
--> pppd: `Xm[08][08]am[08]�Xm[08]
--> secondary DNS address 202.3.210.11
--> pppd: `Xm[08][08]am[08]�Xm[08]
ONLINE.....