1.确保手机蓝牙功能开启
2.安装: sudo apt-get install gnome-bluetooth blue-utils
3.打开终端
代码: 全选
hcitool scan
会查找到手机蓝牙地址,比如我的是00:12:62:59:4F:A5
4.接上一步
[code]sdptool search DUN
注意显示的channel号,我的是2
5.手机跟电脑配对请参看[url]http://forum.ubuntu.org.cn/viewtopic.php?t=43475&highlight=%E8%93%9D%E7%89%99
这里有详细的说明。
6.
[code] rfcomm bind /dev/rfcomm0 X:X:X:X:X:X channel号
7.新建 gksudo gedit /etc/ppp/peers/BluetoothDialup
[code]debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0
8.新建gksudo gedit /etc/chatscripts/BluetoothDialup
[code]TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
OK 'AT+CGDCONT=1,"IP","cmwap"'(我的是移动任我行20包月,接入点是cmwap)
OK ATD*99***1#
CONNECT ""
到这里,配置已经完成,接着就是连接gprs了
[code]pon BluetoothDialup
呵呵大功告成,pidgin中msn可以用代理上,可qq没有搞定
firefox貌似不能通过cmwap打开网页,只好用opera,opera中设置好代理,就能打开网页啦。
哈哈,以上东拼西凑,文字功底太差,见笑了,