LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2013, 12:33 PM   #1
elucches
Member
 
Registered: Jan 2011
Posts: 108

Rep: Reputation: 11
How to browse files on a Linux computer from an Android phone using Bluetooth


Hello,

I'm new to Bluetooth. I'd like to know if it's possible to browse my home directory (on my notebook) from my mobile phone, just like I can browse an FTP server, but using Bluetooth. (Not only sending and receiving files, but browsing directories.)

I'm using Debian sid on my notebook and Android with ES File Explorer on my phone.

If possible, I'd like to automate the connection so that I don't need to do anything on my notebook to establish it, once paired.

Thanks in advance,
Esteban
 
Old 11-05-2013, 03:57 PM   #2
FreewheelinFrank
LQ Newbie
 
Registered: Mar 2012
Distribution: Debian Jessie
Posts: 11

Rep: Reputation: Disabled
You need a obexftp service running on the phone and computer.

ES File Explorer has obexftp I think, so you need to make sure you have obexftp installed in Debian.

Not sure if you'll be able to view /home by default- you might only have permission to see /Public.
 
Old 11-05-2013, 04:06 PM   #3
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by FreewheelinFrank View Post
Not sure if you'll be able to view /home by default- you might only have permission to see /Public.
You shouldn't be able to view any user's home, unless the configuration is very lax.
 
Old 11-05-2013, 04:25 PM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
If you want to browse and control your PC from your phone, install Teamviewer on both. You can't use bluetooth, AFAIK, but you can use wifi. You can set Teamviewer up to either generate a password for each connection, or to use a permanent password. Once installed and configured, you can access the PC from anywhere, as long as it's connected to the internet and you have the correct password.
 
Old 11-05-2013, 05:00 PM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
teamviewer is a little overkill, and I don't like the fact that it is not 'direct' ( you connect via a third party )
great for offering 'support' to clients, but I would never use it for my own 'use'.

better to setup a vpn, and run your own vnc server, which is basically what teamviewer is, a VPN/vnc clien/server.
but I would rather use ssh and screen , I don't need a gui


to be honest, I've never tried connecting via bluetooth
ES File Explorer, with samba, or sftp works fine for me
I also use AndFTP ( again with sftp )
but I mostly use ConnectBot

I'm 'rooted' with CyanogenMod 'ROM', so I also use scp and sftp to get the 'odd' file to my phone


I can do all this from 'outside' my network via a VPN


If I were you I would explore what FreewheelinFrank mentions in post #2
 
Old 11-05-2013, 06:24 PM   #6
elucches
Member
 
Registered: Jan 2011
Posts: 108

Original Poster
Rep: Reputation: 11
Thank you all.
While I waited for answers I tried different things and ended up using, on my notebook:
Code:
hciconfig hci0 piscan
bluetooth-agent <password>
bluez-test-device trusted <address> yes
obexftpd -c /tmp -b
Then I could see my notebook's /tmp directory from ES File Explorer on my phone, besides transferring files between both (from the notebook I tried first with ussp-push which is very simple).
Thank you very much again.
Best regards,
Esteban
 
  


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
Play music from phone to computer speakers via bluetooth xmrkite Linux - Hardware 7 11-27-2012 04:00 PM
how to browse files on a bluetooth device? vees Linux - Laptop and Netbook 4 05-21-2007 08:50 AM
Browse S60 phone files from Linux. adam.tropics Linux - Networking 0 11-21-2006 07:13 AM
Can't send via bluetooth phone -> computer imagineaxion Ubuntu 3 11-20-2006 08:00 AM
Use my computer as a headset for a bluetooth phone edman007 Linux - Software 2 12-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:05 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