Author Topic: Problems installing Bluetooth  (Read 7355 times)

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« on: May 07, 2004, 07:55:28 am »
Hi there!

I have just bought a used Zaurus SL-C700 from a friend including a network adaptor and a bluetooth CF Card... the network works fine, no problems there but I had to install the bluetooth first, so I consulted a manual on this page http://www.zaurususergroup.com/modules.php...ename=Bluetooth.

The problem\'s this: I can browse for Bluetooth devices and I see my mobile (T610). I could even add my Zaurus to the mobile phone... but what I cannot do is connect from the Zaurus using the Dial-Up IrDA connection I\'ve set up. Since there is no error message beside \"Network Offline\" I have no idea where to look for the mistake...

Can someone help me out here?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems installing Bluetooth
« Reply #1 on: May 07, 2004, 08:06:25 am »
Quote
Dial-Up IrDA connection


Note the word IrDA.

I don\'t know, but I expect that you can use exactly the same script but change the line that goes /dev/ircomm to /dev/ttyS3 (I think that\'s the CF card)

The script will (I guess) be in /etc/ppp/peers/


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #2 on: May 07, 2004, 08:41:00 am »
No, that\'s not it... with the actual settings the bluetooth card at least reacts... the lamp flashes. If I change that entry it won\'t budge anymore.


As I understand it I\'m like redirecting the IrDA scripts to the bluetooth device. So I guess it\'s all right to use that script... and since I receive info of my mobile fone on the Z I guess the CF Card is working all right as well... But perhaps there is a problem with authentication? I mean I have to enter a pin code but I haven\'t found a way to tell my phone to which pin it has to reply... could ot be that I have to use the pin as password in the Zs network connection?

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Problems installing Bluetooth
« Reply #3 on: May 07, 2004, 09:11:13 am »
Any connection errors should appear in the log /tmp/qpe-pppd-log

Have you actually paired your Zaurus and phone? The Bluetooth howto explains where the pins for initiating and accepting connections on the Zaurus are. The network connection password is not used as the Bluetooth pin for pairing.

If your Zaurus and phone are not automatically pairing when you try to establish a network connection, you could also try running the following on your Zaurus as also explaining in the howto:

dund -c 11:22:33:44:55 (replacing the MAC address with your phone\'s)
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #4 on: May 07, 2004, 10:03:01 am »
No they are not pairing... They only pair when I establish a connection with the phone. I have set the pin codes on the Zaurus correctly... at least I hope so...

I have used dund, received no error message and thought it worked... but it didn\'t help. Should there be an active LAP connection, when I type dund -l? because there is none.

The error log says that the scripts waited for one minute for a \"CONNECT\" and received none. I still think I have to set up something about the phone but I don\'t know what...

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Problems installing Bluetooth
« Reply #5 on: May 07, 2004, 11:33:45 am »
They only need to pair once and then you no longer need the PIN numbers. It sounds like you have got them paired and it\'s probably just a modem initialisation string or dialing string problem.

Could you post the contents of your /tmp/qpe-pppd-log ? There shouldn\'t be any sensitive details in it.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #6 on: May 07, 2004, 01:12:29 pm »
There aren\'t any problematic details... I\'ll just connect via LAN and post a cat. Just a sec (or two )

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #7 on: May 07, 2004, 01:23:51 pm »
May  7 16:49:43 localhost pppd[3701]: pppd 2.4.0 started by root, uid 0
May  7 16:12:00 localhost chat[3703]: abort on (NO CARRIER)
May  7 16:12:00 localhost chat[3703]: abort on (NO DIALTONE)
May  7 16:12:00 localhost chat[3703]: abort on (BUSY)
May  7 16:12:00 localhost chat[3703]: send (ATDT107410844844222^M)
May  7 16:12:00 localhost chat[3703]: expect (CONNECT)
May  7 16:13:00 localhost chat[3703]: alarm
May  7 16:13:00 localhost chat[3703]: Failed
May  7 16:13:00 localhost pppd[3701]: Connect script failed
May  7 16:13:01 localhost pppd[3701]: Exit.

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #8 on: May 10, 2004, 03:38:59 am »
It still doesn\'t work. Isn\'t there anybody who had the same problem?

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Problems installing Bluetooth
« Reply #9 on: May 10, 2004, 04:27:19 am »
Hmm, you need to run pppd with debug to let us see a bit more of the problem. Put a line with \'debug\' (without the qutoes) in the /etc/ppp/peers file for the network connection and then show us that log file again after trying to connect.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #10 on: May 10, 2004, 10:29:19 am »
May 10 16:49:43 localhost pppd[577]: pppd 2.4.0 started by root, uid 0
May 10 16:12:00 localhost chat[583]: abort on (NO CARRIER)
May 10 16:12:00 localhost chat[583]: abort on (NO DIALTONE)
May 10 16:12:00 localhost chat[583]: abort on (BUSY)
May 10 16:12:00 localhost chat[583]: send (ATDT107410844844222^M)
May 10 16:12:00 localhost chat[583]: expect (CONNECT)
May 10 16:12:00 localhost chat[583]: ATDT107410844844222^M^M
May 10 16:12:00 localhost chat[583]: NO CARRIER
May 10 16:12:00 localhost chat[583]:  -- failed
May 10 16:12:00 localhost chat[583]: Failed (NO CARRIER)
May 10 16:13:00 localhost pppd[577]: Connect script failed
May 10 16:13:01 localhost pppd[577]: Exit.

Thats the new output.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Problems installing Bluetooth
« Reply #11 on: May 10, 2004, 10:52:26 am »
Is your phone indicating that the Bluetooth connection has been established? I wouldn\'t expect it to get to the chatscript if the connection to your phone was not established, so it looks like it could be a phone initialisation/network account setup issue.

What is the modem init string that you are using?

The other output you can look at is from the command (run as root)

pppd call <your peers filename goes here> -detach

e.g. pppd call DialupIrDA547634967397 -detach

The entire pppd log will then be printed to the Zaurus screen.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #12 on: May 10, 2004, 11:38:31 am »
I have a T608, which is similar to the 610, and to make it work I had to edit the chat string and get rid of the \"ATZ OK\" sequence before dialing, otherwise it didn\'t work.  Don\'t know if that\'s your problem though...

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #13 on: May 10, 2004, 11:52:38 am »
Where would I find this modem init string?

Shadow

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Problems installing Bluetooth
« Reply #14 on: May 10, 2004, 11:53:35 am »
Quote
Is your phone indicating that the Bluetooth connection has been established? I wouldn\'t expect it to get to the chatscript if the connection to your phone was not established, so it looks like it could be a phone initialisation/network account setup issue.

What is the modem init string that you are using?

The other output you can look at is from the command (run as root)

pppd call <your peers filename goes here> -detach

e.g. pppd call DialupIrDA547634967397 -detach

The entire pppd log will then be printed to the Zaurus screen.


BTW the only thing that is returned is ATZ.