View Single Post
Old 25-08-2008, 02:06 PM   #10 (permalink)
QwertyManiac
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Want to be a linux pro - Making the shift

You can mount it via OBEX tools - obexfs (Not all phones would work with this method):

*This method requires the use of Bluetooth*

First, scan your phone and look for the FTP channel:

Code:
$ sdptool search FTP
Inquiring ...
Searching for FTP on 03:12:62:FD:54:56 ... # This is your Phone's MAC ID
Service Name: OBEX File Transfer
Service RecHandle: 0x1002c
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10 # This is the FTP channel
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100
Having got the two values (In Bold above - MAC ID - 03:12:62:FD:54:56 and Channel - 10 in this case), lets proceed to mount it (FUSE):

Code:
$ mkdir Phone
$ obexfs -b03:12:62:FD:54:56 -B10 Phone/
That's it, your phone should be mounted now. Browse to the created Phone directory and you should be able to see your files

To unmount:
Code:
$ fusermount -u Phone/
(If you got kbluetooth or bluetooth-applet running, or have already paired your phone, it'd be easier)
__________________
Harsh J
www.harshj.com
QwertyManiac is offline