LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 08-24-2006, 11:18 PM   #1
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Wheezy, Slackware
Posts: 604

Rep: Reputation: 70
Palm TX > Bluetooth > Slackware > NAT ?


I have a Palm TX and would like to have it connect to my Slackware box so I can pull files from it and also browse the Web from the Palm device.

- I have a USB class 1 bluetooth dongle in the PC.

- The PC is running Slackware 10.2.

- I installed BlueZ, bluez-utils, bluez-libs, bluez-sdp, bluez-pan and kbluetooth in the PC.

- I have these lines in my /etc/rc.d/rc.local file:

--------------------------------
# enable hci device
hciconfig hci0 up
# start hci daemon
hcid
# enable forwarding
echo 1 >/proc/sys/net/ipv4/ip_forward
# nat all traffic leaving via eth0
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# start sdp daemon
sdpd
# announce LAN service
sdptool add LAN
# bind rfcomm
rfcomm bind 0 01:02:03:60:C2:4B 1
--------------------------------

That is enough for me to accomplish the following:

- Find the PC as a "nearby device" and pair the Palm device with BlueZ (although kbluetooth shows no paired devices whatsoever in Control Center).

- Issue commands from the PC that make the Palm device bleep like R2D2, e.g. 'sdptool browse 01:02:03:66:C0:2B' or 'hcitool scan'.

- "Browse" some place in the Palm device and sloooooooowly send files to it through OBEX. That is possible thanks to kbluetooth and its GUI tools.

Summing up, the PC has no trouble finding the Palm device. My problem is exactly the other way around, that is, have the Palm device find the PC. Not the bluetooth dongle. The PC, its network and environment. I want to do this:

- Have the Palm request and get a connection to the PC.

- Browse any folder in the PC from the Palm device and pull files instead of telling the PC to send them to the Palm device.

- Use the PC's connection to the Internet (e.g. download mail) with the Palm device.

I have been able to accomplish these things in Windows 98 with the help of this program running on Windows:

http : //
w w w
.mochasoft.dk
/freeware/ppp.htm

(The forum won't let me post URLs because I am new here.)

It has to be kept running so Palm can use it. I think it creates some sort of "dial-up" service that lets Palm connect to the PC. Or something like that. I admit I do not understand the process, I am pulling hair out about this already. I really have no idea WHY THIS HAS TO BE SO INCREDIBLY DIFFICULT on Linux.

On Linux, there is no way I can make it work. Whenever I try, I get this infamous error message:

Error: Serial: timeout. Could be bad cable or faulty modem. (0x0305)

Of course I looked for that message and found plenty of people with a similar problem. But I can't seem to find the magical solution. I've read at least two dozen explanations, recipes, tricks, how-tos, opinions, assumptions, whispers and surefire approaches that simply do not work. I guess that maybe I might have understood well enough that I need to create this USB-thru-serial-to-network bridge somewhere somehow, but it seems that ALL documents I have found in Google and linuxquestions.org itself will not tell me exactly how to do that. Actually, I even suspect that they BALK at the problem. They all hide details from that very last step in such a consistent pattern that I can't help the suspicion that this is indeed an arcane procedure that very few people in the world really understand. I feel that they explain the part they really know and just hope that the reader will figure out the rest themselves out of some amazing lucky strike. I have not been so lucky over the last six days, I am REALLY tired of trying and would really appreciate it if someone who really understands the problem could give me a clear explanation of what needs to be done to get this last step covered on a Slackware machine.

Please.

Thank you for your attention, at the very least.

Last edited by lucmove; 08-24-2006 at 11:21 PM.
 
  


Reply

Tags
bluetooth, palm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Palm to PC using bluetooth radical_edward Linux - Networking 2 03-06-2006 01:26 PM
palm internet access via bluetooth rdabra Linux - Wireless Networking 3 02-20-2006 04:37 AM
synchronize palm tungsten with evolution through bluetooth xiral Linux - Laptop and Netbook 0 12-21-2005 05:31 PM
Palm T2 - no bluetooth - need software update f0ul_Oli Linux - Laptop and Netbook 0 09-21-2004 02:03 PM
Can't get Palm onto home network via Bluetooth rolfbeethoven Linux - Networking 0 07-18-2004 08:25 AM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration