LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2006, 06:49 PM   #1
coolingtower
Member
 
Registered: Jul 2004
Location: AnPing, Tainan, Taiwan
Distribution: Ubuntu 11.04
Posts: 42

Rep: Reputation: 15
Question Bluetooth newbie: PC to PC file transfers?


Hello,

Is it possible to use two Bluetooth-equipped computers to send files back and forth using Bluetooth? Sort of like FTP or even Kermit? (All posts I could find on this subject are regarding transferring files to/from phones and PDAs.)

I've satisfied my Bluetooth curiosity by buying a dongle ("Billionton Class 1", with small external antenna) and studying the hcitool CL switches. I understand the concept of base addresses, master/slave, etc. and I have successfully seen my dongle with "hcitool dev".

It seems I would need to somehow either make a filesystem connection from hci0 to /media/bluetooth or something, or maybe have a higher-level (than hcitool) program that could act as a mediator between hci0 and the file system.

(My neighbor across the lane and I would like to be able to hang our dongles from USB extensions out our windows (the good kind) and transfer files across the lane.)

Notes:
Using FC5 (upgraded from 4); hcitool, I think, was already part of FC5; billionton dongle.

Thank you very much if you can point me in the right direction.
 
Old 05-20-2006, 10:46 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,532

Rep: Reputation: 100Reputation: 100
Never tried bluetooth myself, but this can be a good start.

http://www.bluez.org/
http://www.holtmann.org/linux/bluetooth/
http://www.gentoo.org/doc/en/bluetooth-guide.xml

Don't forget to post how you suceeded .
 
Old 05-21-2006, 12:01 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
There are a few options varying from full blown ObexFTP servers to a simple device-to-device transfer. Btw a Class 2 dongle would have been better if you want a decent range but if you can find the other computer then you'll be fine. If you haven't got this far yet, 'hcitool scan' will look for other devices so you can use that to try and find your neighbours machine.

Firstly, what is the other computer running? Windows or linux? If the other machine runs Windows I'd suggest setting up a PAN (think LAN but smaller scale) and then you can just use Samba or whatever else runs over a standard network connection. If the other computer is a linux user then one could run sobexsrv which is similar to a FTP server and you could easliy transfer files that way. Yet another option would be to simply create an RFCOMM connection between the computers and then you have the makings of an old-style serial connection. Then you could just use Kermit or whatever to push files over that link.

You know your situation better then I do, which sounds easier for you? PAN is almost as easy if both machines are running linux I may have been unclear before, however most Windows Bluetooth stacks require no configuration to use it.

Last edited by cs-cam; 05-21-2006 at 12:02 AM.
 
Old 05-21-2006, 12:15 AM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
If you're interested in learning Bluetooth, I can't help you there. If you're interested in transferring files, I'd say if the computers are close enough for Bluetooth to work between then, they're close enough to run a crossover CAT5 cable between them. Cheaper, faster, more secure, easier. But if the objective is to learn Bluetooth (no a bad objective), then cabling between them won't help.
 
Old 05-21-2006, 01:06 AM   #5
coolingtower
Member
 
Registered: Jul 2004
Location: AnPing, Tainan, Taiwan
Distribution: Ubuntu 11.04
Posts: 42

Original Poster
Rep: Reputation: 15
Linux.tar.gz and cs-cam, you've given me some good options here. With these specifics, I now have options to explore and hopefully realize.

http://www.bluez.org has been unavailable every time I have checked until now. I have now got that page up. That's a good starting point, I'm sure.

cs-cam, I'm now aware that there is "class 2" USB. The instructions say that my dongle is good for 20m. From my first floor window to my friend's second floor window is roughly 8 or 9 meters via pythagorian theorem.

My friend has an Apple Powerbook G4 (or something like that). I just got off the phone with a Canadian friend who will sell me her computer, monitor and printer before she leaves the country. All I need to do is buy another dongle and experiment "in house" before I work with my friend across the street (who is not due back to Taiwan for another month).

I am determined to make this work and will post again as things develop.

Thanks again Linux-tar-gz and cs-cam.
 
Old 05-21-2006, 02:22 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Actually I apologise, I got my numbers mixed up and Class 1 will be fine
 
  


Reply


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
DISCUSSION: USB Bluetooth and mobile file transfers Hammett LinuxAnswers Discussion 7 05-09-2006 08:32 AM
File transfers slows down... IndigoBlu Linux - General 2 01-20-2006 05:56 PM
File Transfers in Kopete WarlockofVirgo Linux - Software 0 07-24-2004 03:50 AM
irc file transfers Serena Linux - Software 1 10-03-2002 06:28 PM
file transfers in Gaim anyone? shassouneh Linux - Networking 2 03-29-2002 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 PM.

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
Open Source Consulting | Domain Registration