User-Agent: *
Allow: /

Custom Search

Sabtu, 13 Desember 2008

Using the Internet Connection Settings For GSM Modem Computers (Case Study axis)

Currently, tariffs internet services through mobile phone or compete more hp, therefore we as consumers must be clever-clever exploit opportunities' gold 'this. For example axis as the only newcomer who 100Mb/mounth provide free access to the data, delightful, but do not really happy when the connections are trying to really 'lemmy'. Here I will write two cases, namely using bluetooth and data cable or USB pcmcia good. We normally use ubuntu here.

Case 1:
Does not have the data cable (or do not have no money in the market)
Using the HP SE K608i connecting via bluetooth (Tested on Nokia also)
SIM Card axis

Step:
1.open terminal (Apllication> Accesorries> Terminal)
2.entry type the command sudo gedit / etc / wvdial.conf
3.Edit to the contents as below:

[Dialer defaults]
Modem = / dev/rfcomm0
Init1 = AT + CGDCONT = 1, "IP", "axis"
Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Phone = * 99 *** 1 #
Username = Axis
Password = 123456

Given the color pink means can be changed in accordance with the tools and providernya,
rfcomm0 = using bluetooth
Axis = APN (Access Point Name)
and the username and password on the line and end earlier.
4.Aktifkan Bluetooth (computer and hp) and type the command
sdptool search DUN
It will be visible:
Awangga @ ubuntu: ~ $ sdptool search DUN
Inquiring ...
Searching for DUN on 00:12: EE: C0: 91:49 ...
Service Name: Dial-up Networking
Service RecHandle: 0 × 10001
Service Class ID List:
"Dialup Networking" (0 × 1103)
"Generic Networking" (0 × 1201)
Protocol Descriptor List:
"L2CAP" (0 × 0100)
"RFCOMM" (0 × 0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0 × 656e
Encoding: 0 × 6a
base_offset: 0 × 100
Profile Descriptor List:
"Dialup Networking" (0 × 1103)
Version: 0 × 0100
Note the word that the color red is given we will use the information in the next step.
5.Buat Virtualization card network via bluetooth with the command
sudo rfcomm bind 0 00:12: EE: C0: 91:49 1
This means we will make the devices from rfcomm0 channel 1 with the purpose of the device that has the address of 00:12: EE: C0: 91:49 (handphonenya)
6.panggil command rfcomm to ensure that there is no use interface
rfcomm1: 00:60:57:40: E1: 11 channels 1 clean
7.ok we began our connection with the use sudo command wvdial
WvDial <* 1>: WvDial: Internet dialers version 1:56
WvModem <* 1: Can not get information for serial port.
WvDial <* 1: Initializing modem.
WvDial <* 1: Sending: AT + CGDCONT = 1, "IP", "axis"
WvDial Modem <* 1: AT + CGDCONT = 1, "IP", "axis"
WvDial Modem <* 1>: OK
WvDial <* 1: Sending: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
WvDial Modem <* 1>: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
WvDial Modem <* 1>: OK
WvDial <* 1>: Modem initialized.
WvDial <* 1: Sending: ATDT * 99 *** 1 #
WvDial <* 1>: Waiting for the carrier.
WvDial Modem <* 1>: ATDT * 99 *** 1 #
WvDial Modem <* 1: CONNECT
WvDial Modem <* 1: ~ [7f ]}#@!}!}!}) 8 }#}$@#}(}"}'}"}"}&}))) }%}&}$ AUSgn ~
WvDial <* 1>: Carrier Detected. Waiting for prompt.
WvDial Modem <* 1: ~ [7f ]}#@!}!}"}) 8 }#}$@#}(}"}'}"}"}&}))) }%}&}$ AUS-| ~
WvDial <* 1>: PPP Negotiations Detected.
WvDial : Starting at pppd Thu Apr 1 12:12:58 2008
WvDial : pid of pppd: 16,412
WvDial <* 1: Using the interface ppp0
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1: the local IP address 10.80.153.23
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: remote IP address 10.64.64.64
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1: primary DNS address 203.78.115.215
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: secondary DNS address 203.78.115.222
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
from here we have connected the Internet, do not leave the terminals stopped close to here. To Disconnect press CTRL + C. wvdial will make the interface ppp0 (please refer to the command ifconfig)
Ascertain whether 8.Untuk flow to the interface ppp0 then use the route-n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use iface
10.64.64.64 0.0.0.0 255,255,255,255 UH 0 0 0 ppp0
10.14.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Note that colored red, it means we are ready to live Internetan open the browser only. This means that all the goals with the IP range will be out to / use interface ppp0.

Case 2:
using the data cable (USB or PCMCIA)
using Axis as the provider

steps:
Step:
1.Buka terminal (Apllication> Accesorries> Terminal) type the command
sudo wvdialconf
2.Sudah entry type the command sudo gedit / etc / wvdial.conf
3.Edit to the contents as below:
[Dialer defaults]
Modem = / dev/ttyUSB0
Init1 = AT + CGDCONT = 1, "IP", "axis"
Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Phone = * 99 *** 1 #
Username = Axis
Password = 123456
Given the color pink means can be changed in accordance with the tools and providernya,
ttyUSB0 = using the USB port (do not change this, the value is not always ttyUSB0)
Axis = APN (Access Point Name)
and the username and password on the line and end earlier.
4.ok we began our connection with the use sudo command wvdial
WvDial <* 1>: WvDial: Internet dialers version 1:56
WvModem <* 1: Can not get information for serial port.
WvDial <* 1: Initializing modem.
WvDial <* 1: Sending: AT + CGDCONT = 1, "IP", "axis"
WvDial Modem <* 1: AT + CGDCONT = 1, "IP", "axis"
WvDial Modem <* 1>: OK
WvDial <* 1: Sending: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
WvDial Modem <* 1>: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
WvDial Modem <* 1>: OK
WvDial <* 1>: Modem initialized.
WvDial <* 1: Sending: ATDT * 99 *** 1 #
WvDial <* 1>: Waiting for the carrier.
WvDial Modem <* 1>: ATDT * 99 *** 1 #
WvDial Modem <* 1: CONNECT
WvDial Modem <* 1: ~ [7f ]}#@!}!}!}) 8 }#}$@#}(}"}'}"}"}&}))) }%}&}$ AUSgn ~
WvDial <* 1>: Carrier Detected. Waiting for prompt.
WvDial Modem <* 1: ~ [7f ]}#@!}!}"}) 8 }#}$@#}(}"}'}"}"}&}))) }%}&}$ AUS-| ~
WvDial <* 1>: PPP Negotiations Detected.
WvDial : Starting at pppd Thu Apr 1 12:12:58 2008
WvDial : pid of pppd: 16,412
WvDial <* 1: Using the interface ppp0
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1: the local IP address 10.80.153.23
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: remote IP address 10.64.64.64
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1: primary DNS address 203.78.115.215
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
WvDial <* 1>: secondary DNS address 203.78.115.222
WvDial <* 1>: pppd: @ 06] [08] @ 06] [08] [06] [08]
from here we have connected the Internet, do not leave the terminals stopped close to here. To Disconnect press CTRL + C. wvdial will make the interface ppp0 (please refer to the command ifconfig)
Ascertain whether 5.Untuk flow to the interface ppp0 then use the route-n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use iface
10.64.64.64 0.0.0.0 255,255,255,255 UH 0 0 0 ppp0
10.14.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Note that colored red, it means we are ready to live Internetan open the browser only. This means that all the goals with the IP range will be out to / use interface ppp0.

Legend of color paper:

Blue: the command that runs from the terminal / display of the results of the command in the terminal

Red: The information that needs to be

Pink: can dikostumasi accordance with the cases / provider

source : http://awangga.wordpress.com/2008/04/01/internetan-menggunakan-handphone/

0 komentar:

free counters