Tuesday, January 6, 2009

GPRS/EDGE connection DiGi in Ubuntu with wvdial using Nokia 3310c

Setting up your computer with wvdial with bluetooth-connected phone Nokia 3310c, in this case with DiGi provider in Malaysia.

First of all, make sure your phone is paired with your laptop.



1. Quote : sudo vi /etc/bluetooth/pin:

1234

2. Plugin The bluetooth dongle and activate the bluetooth on your mobile
Issue this command

Quote: hcitool scan
It will give you an output like this
Quote:
Scanning ...
00:1B:33:D5:22:E4 Nokia 3310c
Note/Copy the address "00:1B:33:D5:22:E4".

3. Quote : sudo vi /etc/bluetooth/rfcomm.conf:


# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:1B:33:D5:22:E4; #paste here
#
# RFCOMM channel for the connection
channel 1;
#
# Description of the connection
comment "DIGI";
}

4. Quote : sudo vi /etc/wvdial.conf:

[3310c]
Modem = /dev/rfcomm0
Baud = 460800
SetVolume = 0
Dial Command = ATDT
Init1 = ATH
Init2 = ATM0
Init3 = AT+CGDCONT=1,"IP","diginet","",0,0
FlowControl = None

[Dialer DIGI]
Username = digi
Password = 1234
Phone = *99#
Stupid Mode = 1
Inherits = 3310c

5. You can connect by:

Quote : sudo wvdial DIGI

6. Ctrl+C to disconnect.

Enjoy ubuntu... ;)

No comments:

kunkun-laptop .... ;)