* Nokia 7600 Mobile phone
* GSM SIM Card : Indosat IM3
My Access Point Name (APN) : indosatgprs
My username : gprs
My Password : im3
* Notebook : Acer Aspire 4520, AMD Turion64 X2
* Usb Bluetooth Dongle : Apollyon
* Operating system : Linux Ubuntu 8.04 Hardy Heron
Here are the steps:
1. Make sure bluetooth has been activated on phone and set to discoverable.
2. Use Terminal to write a command line.
3. Install gnome-bluetooth and bluez-gnome ( optimal )
Type on terminal : sudo apt-get install gnome-bluetooth bluez-gnome
Here are the response :
--------------------------------------------------------------------------------------------------------
engineer@engineer-laptop:~$ sudo apt-get install gnome-bluetooth bluez-gnome
[sudo] password for engineer:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnome-bluetooth is already the newest version.
bluez-gnome is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 216 not upgraded.
engineer@engineer-laptop:~$
--------------------------------------------------------------------------------------------------------
4. Edit file /etc/bluetooth/hcid.conf
Type on terminal : sudo gedit /etc/bluetooth/hcid.conf
Change "security user;" to "security auto;"
This is the result after edited:
--------------------------------------------------------------------------------------------------------
#
# HCI daemon configuration file.
## HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x000100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
discovto 0;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
--------------------------------------------------------------------------------------------------------
save file, close gedit window and back to the terminal.
5. Restart bluetooth service
Type on terminal : sudo /etc/init.d/bluetooth restart
Here are the response :
engineer@engineer-laptop:~$ sudo /etc/init.d/bluetooth restart
* Restarting bluetooth [ OK ]
engineer@engineer-laptop:~$
--------------------------------------------------------------------------------------------------------
6. Find the Nokia Modem MAC address.
Type on terminal : hcitool scan
Here are the response :
--------------------------------------------------------------------------------------------------------
engineer@engineer-laptop:~$ hcitool scan
Scanning ...
00:0E:6D:1B:C3:89 ba_dank~7600
engineer@engineer-laptop:~$
--------------------------------------------------------------------------------------------------------
See that my modem MAC address is 00:0E:6D:1B:C3:89 with device name is ba_dank~7600
7. Find the dial-up channel of the modem.
Type on terminal : sdptool search DUN
Here are the response :
--------------------------------------------------------------------------------------------------------
engineer@engineer-laptop:~$ sdptool search DUN
Inquiring ...
Searching for DUN on 00:0E:6D:1B:C3:89 ...
Service Name: Dial-up networking
Service RecHandle: 0x10002
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100engineer@engineer-laptop:~$
--------------------------------------------------------------------------------------------------------
See that my modem is on channel 1
8. edit file /etc/bluetooth/rfcomm.conf
Type on terminal : sudo gedit /etc/bluetooth/rfcomm.conf
I type my device MAC address and my device channel.
See the result after edited.
--------------------------------------------------------------------------------------------------------
#
# RFCOMM configuration file.
#rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:0E:6D:1B:C3:89;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "ba_dank 7600 Modem";
}
--------------------------------------------------------------------------------------------------------
save file, close gedit window and back to the terminal.
9. Activate rfcomm
Type on terminal : sudo rfcomm bind 0 <MAC Adress device> <Channel>
In my case i type : sudo rfcomm bind 0 00:0E:6D:1B:C3:89 1
(Remember my modem MAC address and channel)
Here are the response :
--------------------------------------------------------------------------------------------------------
engineer@engineer-laptop:~$ sudo rfcomm bind 0 00:0E:6D:1B:C3:89 1
engineer@engineer-laptop:~$
--------------------------------------------------------------------------------------------------------
10. edit file /etc/wvdial.conf
Type on terminal : sudo gedit /etc/wvdial.conf
My dialer name : indosat
My APN : indosatgprs
My Username : gprs
My Password : im3
Customize with yours ........
This is the result after edited:
--------------------------------------------------------------------------------------------------------
[Dialer indosat]
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT = 1,"IP","indosatgprs","",0,0
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Username = "gprs"
Password = "im3"
--------------------------------------------------------------------------------------------------------
save file, close gedit window and back to the terminal.
11. Connect and run the modem.
Type on terminal : wvdial <dialer name>
In my case I type : wvdial indosat
Here are the response (the response indicated a successfull connection to modem) :
--------------------------------------------------------------------------------------------------------
engineer@engineer-laptop:~$ wvdial indosat
--> 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","indosatgprs","",0,0
AT+CGDCONT = 1,"IP","indosatgprs","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Tue Jul 8 21:32:01 2008
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 6851
--> Using interface ppp0
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> local IP address 10.33.210.176
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> remote IP address 10.6.6.6
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> primary DNS address 202.155.0.10
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> secondary DNS address 202.155.0.15
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
Caught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> Connect time 0.9 minutes.
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--> pppd: [18]�[06][08]��[06][08]H�[06][08]
--------------------------------------------------------------------------------------------------------
Now you can try to run your internet browser and open a website ......
12. Disconnecting
Type on terminal : <Ctrl> C
Here is the response :
--------------------------------------------------------------------------------------------------------
...........
...........
--> Disconnecting at Tue Jul 8 21:33:01 2008
--------------------------------------------------------------------------------------------------------
13. Connecting again with the same setting
Just Type on terminal : wvdial <dialer name>
In my case I type : wvdial indosat
14. And So on .....................
That's All ............
Get the success .... :)
No comments:
Post a Comment