Friday, December 30, 2011

USB mounting a blackberry playbook in linux

Blackberry has decided that the playbook will not be visible as a mass storage device.  Lovely.  And, they only provide drivers for windows and mac.  Nice.  So, for us linux users?  There is a solution.  This has been blogged about by several people, but I'll summarize it here for at least my own purposes.

Basically, what we'll be doing here is having the playbook appear as a USB network card on linux and using a SMB mount.

1.  Settings -> Storage & Sharing:
  • Change "USB Connections" to "Connect to Windows"

  • Change "Network Identification" to give your playbook a network name, workgroup and a username.

  • Set "File Sharing" to ON

  • You can optionally turn ON Wi-Fi sharing so that you can use SMB mounts over Wi-Fi, but that is much slower than the USB mount we're about to cover.
  • Set a password - again, this is optional.  I didn't bother because I intend to disable file sharing when I am done.
2.  Settings -> About -> Network
  • With your playbook connected to your computer via the USB cable, the playbook should have an IPv4 address assigned to the USB NIC.  Take note of the address.  


3.  On your linux PC (one that uses gnome/nautilus in this case)
  • Open Nautilus, and from the FILE menu, select "Connect to server..."  (sorry, no screenshot, but apparently one can't take screenshots when a menu is active)
  • In the "Connect to server..." dialog:
              - select "windows share" for service type
              - enter the IP address you noted above into the "Server" field
              - set the "Share" field to "/media"
              - enter the playbook file sharing username that you set



  •  Once you click "connect" the playbook should now be mounted and visible in nautilus.


IF you prefer to do things from the command line as I do, then replace step 4 with the following:

     smbmount //169.254.67.137/media /media -o leo 

Of course, replace the IP address, username and mount destination with your own.


One final point, if you would prefer to use Wi-Fi mounting, not much changes, just the IP address of the playbook, which is more likely on your local network rather than an 169.xxx.xxx.xxx (avahi?) network address that is used for the USB NIC.

No comments: