Hi, all! I know that many friends here can use C1k to browse the net via a BT phone, but I don`t know how to and never find a particular tutorial!
There are quite a few out there, I think I googled for something like "linux gprs internet bluetooth".
Is there anyone who kindly enough to write me one?
Here's what I did to get BT/GPRS working.
IngredientsC3100
pdaXrom 1.1.0beta3
cheap USB BT dongle
Nokia E70
Obviously you also need the bluetooth drivers and utils relevant for your rom.
Method1) Plug the bluetooth adaptor into your Z and start the bluetooth stuff
/etc/rc.d/init.d/bluetooth start
2) Note the bluetooth pin, it is stored in /etc/bluetooth/pin
3) On your phone add a new paired device. Refer to your phone manual for the required steps. It will ask for the pin which you have noted in step 2. For convenience, set it to "authorised" so that your Z can connect to it at any time without furthur intervention.
4) Edit /etc/bluetooth/hcid.conf:
# 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[CODE]
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
pin_helper /bin/bluepin;
}
5) Now you need to find out your phone's BT MAC address. For my Nokia E70 I can use "*#2820#" on the standby screen. Otherwise enable the BT connection on your phone and set it so that it's "visible" so that other BT devices can see it. Then run
hcitool scan
You'll see something like
Scanning ...
00:11:D1:57:A1:8C blueshoes
00:14:A1:47:28:11 Noddy
00:16:D1:74:B5:8E Nokia N70
If you're in a really busy place with loads of phones that have their BT switched on and you can't tell which is yours, then either try again somewhere more remote, or change the name/BT identifier of your phone (see phone manual) and run the command again.
6) Now you need to find out which channel your phone uses for "dial up networking" (DUN):
sdptool search DUN
You will see something like:
Inquiring ...
Failed to connect to SDP server on 00:11:D8:D0:D3:F3: Function not implemented
Failed to connect to SDP server on 00:17:D5:58:B2:8E: Connection timed out
Searching for DUN on 00:14:A1:47:28:11 ...
Service Name: Dial-Up Networking
Service RecHandle: 0x1000a
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
In this example a DUN was found on
00:14:A1:47:28:11, make sure this matches the MAC address you had ascertained in step 5. Note the channel, in this case it's
2.
7) Edit /etc/bluetooth/rfcomm.conf and use the MAC address and channel found in the previous steps:
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:14:A1:47:28:11;
# RFCOMM channel for the connection
channel 2;
# Description of the connection
comment "Noddy";
}

Restart bluetooth so that it will use the new configuration (/etc/rc.d/init.d/bluetooth restart)
9) Now create this file /etc/ppp/peers/btgprs
/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault
10) And also this file /etc/ppp/chat-gprs:
'' ATZ OK
AT+CGDCONT=1,"IP","peoples.net"
OK "ATD*99#"
CONNECT ''
NB,
peoples.net is the network provider's gprs access point, you would have to ask China Mobile for the correct setting. The "
*99#" is also network dependent, again ask China Mobile correct setting.
IF your network provider requires authentication (username/password) then I'm not quite sure where these are configured, refer to the pppd manpage.
11) Finally, make sure your phone's BT connection is on then use
pppd call btgprs
to initiate the gprs connection. When you're finished use CTRL-C to end the call.
but I'd like to know what "ipk" I should install and the steps of config. Both the Xrom and Original are OK!)
With pdaXrom beta3, I believe all the BT stuff are already installed by default.
So I want to make sure the feasibility before I buy a BT Phone. It is said that SonyErission T68i is a perfect BT modem at its price , so the tutorial would be much nicer to be written by a T68 user. Any brothers succeeded my purpose with a USB BT adapter? I am waiting for your guide!
Note you can also use IRDA instead of BT. If you only use IRDA ignore steps 1-9 then create the file /etc/ppp/peers/irgprs
/dev/ircomm 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
nocrtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault
Do step 10. Then to connect, make sure your phone is in irda modem mode and that irda is started on your Z (/etc/rc.d/init.d/irda start), then do
pppd call irgprs
again use CTRL-C to disconnect. Have fun