Author Topic: HELP !!! Bluetooth file transfer connection to Windows XP  (Read 6715 times)

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« on: June 16, 2004, 09:05:35 am »
I am trying to connect my SL5500 to my Windows XP laptop, using a Socket card in the Z and a Belkin dongle in the laptop.  The laptop sees the Z okay but I cannot connect either way.  I have tried the instructions listed in the How-to-do section on bluetooth... still no joy.  Help please.

PS... the Socket card works fine with my Nokia 6310.

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #1 on: June 16, 2004, 11:31:19 am »
What type of connection?  IP?  Laptop type?

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #2 on: June 16, 2004, 12:20:29 pm »
We need some more details.

Are you using the BlueZ drivers?
Are you trying to establish a PPP connection or LAN connection?
What drivers do you have on your laptop?
What have you done on your laptop so far?
What have you done on your Zaurus so far? e.g. PPP scripts or Network connection, etc.
# 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

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #3 on: June 16, 2004, 01:25:34 pm »
I am using the tkcROM bluetooth tools.  I have set up a Bluetooth Dial-up connection (maybe this is my mistake).  I have set up an \"incoming connection\" on WinXP allowing guest access, using \"cable connection between two computers\" set to the bluetooth assigned COMM port.  I would prefer a LAN connection.  Being a newbie I do not know what a PPP connection is (excuse by ignorance).

Thanks for your help

Tim Blanc (aka ZenCook)

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #4 on: June 16, 2004, 02:37:21 pm »
A dial-up connection is generally a PPP connection. Have you read the section \'Setting up a connection to a PC, using PPP\' in the Bluetooth Howto? Specifically the part about replacing the file under /etc/ppp/peers with BT-WINXP?
# 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

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #5 on: June 17, 2004, 04:52:00 am »
Tumnus..... using the Bluetooth Dial-up Network setting... do I change the BT Device setting from \"/dev/rfcomm0\" to \"/etc/ppp/peers/BT-WINXP\" ?  Also the BT-WINXP script contains \"/dev/rfcomm1\" in the first line... is this the correct setting ?

If I have to vi edit the BlueZ files, can I add the settings for my laptop without effecting the existing settings for my Nokia 6310i mobile phone which works fine ?

Thanks for your help.

Tim

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #6 on: June 17, 2004, 05:07:45 am »
You need to replace the DialupBluetooth file created by the Bluetooth network connection in /etc/ppp/peers/ with BT-WINXP and then edit the /dev/rfcommX line in that so it matches the entry in /etc/bluetooth/rfcomm.conf that refers to your PC. The only thing to watch out for is that every time you change a setting in the Bluetooth network connection, it will reset the file in /etc/ppp/peers.

You add another entry in /etc/bluetooth/rfcomm.conf for rfcomm1 for your PC, so that it does not affect your mobile phone connection.
# 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

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #7 on: June 17, 2004, 12:14:49 pm »
Here are the my bluetooth settings...

#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

rfcomm0 {
   # Automatically bind the device at startup
   bind yes;

   # Bluetooth address of the device
   device 00:60:57:14:D2:03;

   # RFCOMM channel for the connection
   channel   1;

   # Description of the connection
   comment \"Nokia 6310i\";
}

rfcomm1 {
   # Automatically bind the device at startup
   bind yes;

   # Bluetooth address of the device
   device 00:02:EE:18:E6:84;

   # RFCOMM channel for the connection
   channel   1;

   # Description of the connection
   comment \"Phone\";
}

rfcomm2 {
   # Automatically bind the device at startup
   bind yes;

   # Bluetooth address of the device
   device  00:0A:3A:53:3A:0C;

   # RFCOMM channel for the connection
   channel   1;

   # Description of the connection
   comment \"Desktop\";
}

===============================================
THE PPP Peer File ]]] \"BT-WINXP\"

# This is an example PPP script for connecting to a Windows XP/2000
# PC via Bluetooth.
# It uses an rfcomm device which must be configured to point at
# the serial profile service on the PC in /etc/bluetooth/rfcomm/conf.
# The Windows PC will need to be setup with an incomming
# connection between two PCs, which is attached to the Bluetooth
# serial virtual COM port on the PC.

/dev/rfcomm2
460800
user \"Guest\"
connect \"/usr/sbin/chat -v -f /etc/ppp/chatscripts/WINXP-CLIENT\"
defaultroute
usepeerdns
192.168.129.201:192.168.129.1

===============================================
Network Settings...

ACCOUNT
Name = Laptop Bluetooth
User = Guest

MODEM
BT Device = /etc/ppp/peers/BT-WINXP

===============================================

But still no joy... what have I missed.

Thanks for your help

Tim

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #8 on: June 17, 2004, 12:38:18 pm »
Quote
===============================================
Network Settings...

ACCOUNT  
Name = Laptop Bluetooth
User = Guest

MODEM
BT Device = /etc/ppp/peers/BT-WINXP

===============================================

BT Device should be /dev/rfcomm2

It is better to just copy the BT-WINXP file over the DialupBluetooth file created by the Bluetooth Network Connection, which is identified by the ID field in the conf file under /home/zaurus/Applications/Network/modules. Then if it gets reset you can just copy it over again.

Other than that things look fine.

Make sure you restart bluetooth after editing rfcomm.conf.
# 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

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #9 on: June 18, 2004, 06:34:33 am »
Changing the BT Device to /dev/rfcomm2 has resulted in the my WinXP laptop seeing the incoming Zaurus, but the Z network applet displays the \"Intializing Modem\" message.

I tried copying the BT-WINXP file over the DialupBluetooth file, but this meant that the WinXP laptop could not see the incoming Zaurus.  So I have deleted my old BlueTooth network settings and created a new one.  The DialupBluetooth file looks like this....

=============================================================

/dev/rfcomm2
115200
connect \'/usr/sbin/chat -s -v -t 60 ABORT \"NO CARRIER\" ABORT \"NO DIALTONE\" ABORT \"BUSY\" \"\" \"ATZ\" OK \"ATDT\" CONNECT\'
crtscts
noipdefault
modem
usepeerdns
defaultroute
connect-delay 5000
remotename DialupBluetooth1087559959

================================================================

Any suggestions as to which lines I need to change and/or replace with the relevant lines from the BT-WINXP file.

Thanks

Tim Blanc

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #10 on: June 18, 2004, 07:06:34 am »
The \'connect\' line is the main thing that needs swapping with the BT-WINXP file.
# 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

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #11 on: June 18, 2004, 08:45:08 am »
I have changed this line, but I still get the hanging \"Initializing Modem\" message when I try to connect.  I have tried defining me as a user with my laptop password.  The laptop sees the Zaurus connecting, but drops the connection.  Do I need IP addresses in the BlueTooth File ? If so where do I define these.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #12 on: June 18, 2004, 12:40:21 pm »
Look at the BT-WINXP file for defining IP addresses.

Also instead of using the Network applet to connect, as root run the following from the terminal:

pppd call BT-WINXP debug -detach

This should give a more error messages.
# 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

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #13 on: June 25, 2004, 09:23:23 am »
I have had a break from fiddling with the Bluetooth... but back on the quest again..

I have done the debug test as follows...

==================================================
ON THE BT-WINXP... which looks like this...

/dev/rfcomm2
460800
user "Guest"
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/WINXP-CLIENT"
defaultroute
usepeerdns
192.168.129.201:192.168.110.145


THE IP ADDRESSES ABOVE ARE Zaurus:Laptop
--------------------------------------------------------------------------------------------

pppd call BT-WINXP debug -detach
pppd: Couldn't stat /dev/192.168.129.201:192.168.110.145: File name too long    

==================================================
ON MY GUI CREATED SCRIPT ... which looks like this...

/dev/rfcomm2
460800
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/WINXP-CLIENT"
crtscts
noipdefault
modem
user "Tim Blanc"
usepeerdns
defaultroute
connect-delay 1000
remotename DialupBluetooth1087559959

--------------------------------------------------------------------------------------------

 pppd call DialupBluetooth1087559959 debug -detach Connect script failed  
   
====================================================
THE WINXP-CLIENT CHATSCRIPT looks like this.....

TIMEOUT 15
""       "CLIENTCLIENT\c"
"SERVER" "SERVER\c"

====================================================


Any help appreciated.

ZenCook

  • Newbie
  • *
  • Posts: 13
    • View Profile
HELP !!! Bluetooth file transfer connection to Windows XP
« Reply #14 on: July 06, 2004, 10:16:55 am »
Is this problem unsolveable ???  Or am I missing something obvious.  Your help would be great.

Thanks Tim