OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: ZenCook 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.
-
What type of connection? IP? Laptop type?
-
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.
-
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)
-
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 (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Bluetooth)? Specifically the part about replacing the file under /etc/ppp/peers with BT-WINXP?
-
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
-
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.
-
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
-
===============================================
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.
-
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
-
The \'connect\' line is the main thing that needs swapping with the BT-WINXP file.
-
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.
-
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.
-
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.
-
Is this problem unsolveable ??? Or am I missing something obvious. Your help would be great.
Thanks Tim
-
hi every 1 i have a motorola v525 and a belkin bluetooth dongle and i am trying to make a constant connection between them if anybody knows plz get bk soon
wat it is i am trying to do this application thing and it says connect your phone to pc but i have bluetooth and i dont no how to make a normall connection between them plz get bk soon thanx!!