![]() ![]() |
Sep 24 2007, 03:30 AM
Post
#1
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
Bluetooth Dialup Networking How To after a fresh install of Debian Eabi
1) apt-get install bluez-utils 2) customize /etc/bluetooth/hcid.conf : some tips: security auto; pairing multi; passkey "1234"; (this is where you set the bt PIN code) lm accept; 3) customize /etc/bluetooth/rfcomm.conf : example : rfcomm0 { bind yes; device xx:xx:xx:xx:xx:xx; fill with gsm bt address channel 1; comment "nokia6630"; } rfcomm1 { bind no; device yy:yy:yy:yy:yy:yy; fill with GPS bt address channel 1; comment "GPSlim236"; } 4) customize /etc/ppp/peers/provider then reboot 5) plug usb bt dongle dongle you should have the dongle up, if not verify that ohci-hcd module is loaded 5) hciconfig should say hci0: type: usb up running pscan iscan 6) pon provider et voila |
|
|
|
Sep 24 2007, 06:02 AM
Post
#2
|
|
|
Group: Members Posts: 1,141 Joined: 22-April 04 From: Belgium Member No.: 2,962 |
QUOTE(jpmatrix @ Sep 24 2007, 12:30 PM) hi can someone report about having bluetooth work under debian titchy ? i mean having a CF Bluetooth recognized (for example a belkin ft0820!), having file transfers done, and having gsm (nokia?) dialup networking up&working ? it is my first&last question before jumping into debianzaurus ! Using the kernel that came with titchy, I couldn't get bluetooth working. There was a problem with loading the serial_cs module. Using the pdaX-kernel, I can get bluetooth working, but ATM I have no X. Chero. |
|
|
|
Sep 24 2007, 10:35 AM
Post
#3
|
|
|
Group: Members Posts: 449 Joined: 12-August 03 From: Leeds, UK Member No.: 346 |
QUOTE(Chero @ Sep 24 2007, 02:02 PM) Using the kernel that came with titchy, I couldn't get bluetooth working. There was a problem with loading the serial_cs module. Using the pdaX-kernel, I can get bluetooth working, but ATM I have no X. Chero. I inserted my Socket G bluetooth card. This is what I have so far. The Socket bluetooth card was recognised and various initialisation messages appeared in dmesg. Message 1: ..HCI device and connection manager installed Message 2: ..HCI socket layer initialised Message 3: ..similar to wifi messages, driver needs updating...IRQ.. Message 4: ..Nokia control data = 0f 00 My ignorance of bluetooth from the command line is deep! So I'll do some research and get back to this thread. I hope some clever type will beat me to the punch. Cheers |
|
|
|
Sep 24 2007, 11:30 AM
Post
#4
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
ok
if someone could try a bluetooth usb dongle too that could be great perhaps this one would work |
|
|
|
Sep 25 2007, 01:11 PM
Post
#5
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
QUOTE(jpmatrix @ Sep 24 2007, 09:30 PM) well 1) i've just tried my Belkin FT0820 Bluetooth CF and : it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx 2) tried my MSI BT USB dongle and it seems to be well recognized! i'm trying bt dialup apt-get install bluez-utils all seems to work but it seems i've a PIN problem which is described here: http://www.zedd.nl/?p=8 so we need to compile passkey_agent |
|
|
|
Sep 26 2007, 12:35 AM
Post
#6
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
|
|
|
|
Sep 26 2007, 02:01 AM
Post
#7
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
gotcha!
thanks to oesf i found that with that line, the zaurus become bluetooth discoverable: dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable then i find it on the phone, entered my pin and pon provider and it works !!!!!! |
|
|
|
Sep 26 2007, 07:28 AM
Post
#8
|
|
|
Group: Members Posts: 449 Joined: 12-August 03 From: Leeds, UK Member No.: 346 |
gotcha! thanks to oesf i found that with that line, the zaurus become bluetooth discoverable: dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable then i find it on the phone, entered my pin and pon provider and it works !!!!!! The phone can discover the Z, it calls it deb0. I'm using Socket F Bluetooth card. I installed bluez. But I suppose I do need to compike passkey-agent anyway! |
|
|
|
Sep 26 2007, 10:44 AM
Post
#9
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
no need for passkey-agent !
here are some tips: -/etc/bluetooth/hcid.conf: security auto; pairing multi; passkey "1234"; (this is where you set the PIN) lm accept; -/etc/bluetooth/rfcomm.conf: uncomment and fill with your bt gsm address -/etc/ppp/peers/provider i think you've customised it then rfcomm bind rfcomm0 pon provider (or pppd call provider) then your zaurus should reach the phone via bt and dial if something goes wrong, please post your latest messages in /var/log/messages |
|
|
|
Sep 26 2007, 11:05 AM
Post
#10
|
|
|
Group: Members Posts: 449 Joined: 12-August 03 From: Leeds, UK Member No.: 346 |
no need for passkey-agent ! here are some tips: -/etc/bluetooth/hcid.conf: security auto; pairing multi; passkey "1234"; (this is where you set the PIN) lm accept; -/etc/bluetooth/rfcomm.conf: uncomment and fill with your bt gsm address -/etc/ppp/peers/provider i think you've customised it then rfcomm bind rfcomm0 pon provider (or pppd call provider) then your zaurus should reach the phone via bt and dial if something goes wrong, please post your latest messages in /var/log/messages |
|
|
|
Sep 27 2007, 01:46 AM
Post
#11
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
good surprise for me:
i'm using my msi bt dongle to download from my umts provider and i now have better download bandwith compared to my Belkin CF BT (used in angstrom or pdaxii13) ! i'm near 40 Kb/s with USB BT whereas i was at 9 Kb/s with my CF BT!!! (data given by apt-get) do you think this come from the kernel or the usb bus ??? |
|
|
|
Sep 30 2007, 09:46 AM
Post
#12
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
you know what ? i'm happy: i succeed in having my bluetooth dialup AND my bluetooth GPS to work at the same time!!
for those interested, you just have to add an rfcomm1 device in rfcomm.conf, then rfcomm bind rfcomm1 and it works!!! |
|
|
|
Oct 1 2007, 09:12 AM
Post
#13
|
|
|
Group: Members Posts: 449 Joined: 12-August 03 From: Leeds, UK Member No.: 346 |
Thanks for you contribution to the TitchyLinux peripheral page. It helps in the fight against spam and gibber bots if you do register. It helps in editing and discussions about the Wiki, on the Wiki, if you also put something, at least your id, onto your User page. You can also click on the Discuss this page link and explain why you have altered something. Cheers |
|
|
|
Oct 2 2007, 11:41 AM
Post
#14
|
|
|
Group: Members Posts: 1,141 Joined: 22-April 04 From: Belgium Member No.: 2,962 |
1) i've just tried my Belkin FT0820 Bluetooth CF and : it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx I had the same with my billionton xars so I switched to kernel 2.6.22 . Now the messages are gone ! (symbol spectrum wifi also works like a charm) Now I'll have to figure out what's next, cause the usual "setserial" doesn't seem to work ... Any hints ? Chero. |
|
|
|
Oct 2 2007, 12:31 PM
Post
#15
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
1) i've just tried my Belkin FT0820 Bluetooth CF and : it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx I had the same with my billionton xars so I switched to kernel 2.6.22 . Now the messages are gone ! (symbol spectrum wifi also works like a charm) Now I'll have to figure out what's next, cause the usual "setserial" doesn't seem to work ... Any hints ? Chero. kernel 2.6.22 ??? where is it ? where is it ??? to have my belkin work under angstrom, i had to type: hciattach /dev/ttyS4 bcsp hope this helps! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 04:38 AM |