Jullian’s Musings

December 2nd, 2008

GPRS/EDGE connection DiGi in Ubuntu with wvdial

Posted by Administrator in Site news

Well, as an update for my internet connection from Mentari, I’m going to post a brief guide on setting up your computer with wvdial with bluetooth-connected phone, in this case with DiGi provider in Malaysia. First of all, you gotta make sure your phone is paired with your laptop.

Next, write within /etc/bluetooth/pin:

1234

Next, edit /etc/bluetooth/rfcomm.conf:

#
# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:00:00:00:00:00; #Of course put in your phone's MAC
#
# RFCOMM channel for the connection
channel    1;
#
# Description of the connection
comment "Bluetooth PPP Connection";
}

Last, edit your /etc/wvdial.conf:

[6288]
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***1#
Stupid Mode = 1
Inherits = 6288

AND, you are set. You can connect by:

$> wvdial DIGI

Ctrl+C to disconnect.

PS: I’ll cleanup this article after I get a real internet connection (read: dump DiGi and maybe get Maxis Celcom).