I am using T-Mobile, so there is one change needed - APN is "internet" instead of "o2internet". Be also careful about pasting special double-quotes (upper and lower) - it won't work, e. g. when pasting to vim. Use only regular UPPER double quotes!
Whole, but simplified, process, is:
- Get Bluetooth MAC adress of the phone.
00:1D:6E:67:44:F2
in my case:hcitool scan
- Get channel number. 4 in my case (replace my MAC address
00:1D:6E:67:44:F2
with yours, as you've got in step one):sdptool browse
00:1D:6E:67:44:F2
- Write MAC address and channel number into
/etc/bluetooth/rfcomm.conf
:rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:1D:6E:67:44:F2;
# RFCOMM channel for the connection
channel 4;
# Description of the connection
comment "Ostry's Nokia 6120 classic";
}
Again, replace my MAC address (00:1D:6E:67:44:F2
) and my channel number (4) with yours. - Restart bluetooth:
sudo /etc/init.d/bluetooth restart
- Make sure, that
/etc/wvdial.conf
contains following lines:[Dialer Defaults]
Phone = *99#
Username = ''
Password = ''
New PPPD = yes
Init3 = AT+CGDCONT=1,"IP","internet"
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Modem
ISDN = 0
Init1 = ATZ
Modem = /dev/rfcomm0
Baud = 115200 - Connect to the service:
sudo wvdial
Open question: is it possible to increase baud rate in this type of connection?
Žiadne komentáre:
Zverejnenie komentára