Tablets

Connect your Android tablet to SMB shares with the ASTRO File Manager

Jack Wallen demonstrates how to connect to SMB shares on your desktop from your Android tablet with ASTRO File Manager.

If you're like me, you need to be able to get to your desktop files from your Android tablet. There are various ways of doing this (cloud storage, for example), but one sure-fire way is to use a file manager to connect to shared directories. This method will enable you to connect to shares on both Windows and Linux machines. It will also -- depending upon how you have your shared folders set up (and what apps you have on your tablet) -- allow you to save and edit the files on your tablet. Believe it or not, it's incredibly simple to connect to your shares using the ASTRO File Manager and a simple SMB add on.

I'll demonstrate how this works using a Verizon-branded Samsung Galaxy Tab and a Ubuntu 12.04.01 desktop. On the desktop side, I've shared out the Documents in my home directory and allowed guest access. Now, let's begin the process of installing and connecting.

Installation

If you don't already have the ASTRO File Manager installed, here are the steps:

  1. Open up the Google Play Store
  2. Search for "astro" (no quotes)
  3. Tap the ASTRO File Manager entry
  4. Tap Download
  5. Tap Accept & download
  6. Allow the installation to complete

Now, you have two choices at this point; you can go back to the Google Play Store and search again for "astro" (no quotes) and install the ASTRO SMB Module, or you can install the module from within the ASTRO File Manager. Either way, that module will have to be installed.

Go to the app drawer and tap the launcher for ASTRO File Manager.

Connecting to a share

The first time you open the ASTRO File Manager, you'll have to accept the License Agreement. From the main window, click Manage My Files. In the new window that appears (Figure A), tap the network icon in the top right corner. Next, tap the New button in the top right corner, and then tap SMB. If you haven't already installed the SMB Module, you'll be prompted to do so. Figure A

At first, the interface can be a bit confusing with all those folders.
In the setup window (Figure B), enter all the necessary information. Most of it is straightforward, but there are a couple of gotchas:
  • Do not enter a Share
  • Do not enter a directory unless that directory is a sub-directory of a shared folder
Figure B

For some reason, even when you have the Share setup properly, it will throw an error.

Another note on the connection. If you have guest access set up on your shares, you'll need to use "guest" (no quotes) as the User Name and no Password. If you do not have guest set up, use an existing (and valid) username/password combination.

After you enter the correct information, click the Test button to make sure it's set up properly. If you get the OK, click the Save button, and you'll be returned to the Networks window (Figure C). Figure C

Here is ASTRO SMB connections as set up on the Verizon-branded Samsung tablet.
From the Networks window, tap on the newly created SMB icon to connect to your share and reveal the shared folders (Figure D). Figure D

Although print shares will show up, your tablet most likely will not print to those printers.

If you want to make life easier on yourself, you can create a bookmark for the shared directory. Simply follow these steps:

  1. Go to the Networks window
  2. Tap on the SMB connection that you want to connect to
  3. Long-tap on the directory you want to create the bookmark for
  4. Tap Bookmark from the pop-up menu (Figure E)
Figure E

Use caution when deleting or renaming shares.
Once you've created the bookmark, you can more easily get to that share by tapping the listing under the Bookmarks section of the ASTRO File Manager interface (Figure F). Figure F

Here you see Documents set up as a bookmark.

Now that you've managed to connect to your shared directories, how you open files will depend on what applications are installed on your tablet. But at this point, you're officially able to share files between your Android tablet and your SMB-shared folders and files on your PC.

About

Jack Wallen is an award-winning writer for TechRepublic and Linux.com. He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website getjackd.net.

5 comments
critofur
critofur

I used the old Linda File Manager (which seems to have been removed from the Play store as of about a month ago?) and it opened read/write SMB shares just fine on my Android phone (running "Jelly Bean"). Various SAMBA Android programs used to work fine before "Jelly Bean" but once I upgraded the Android OS on my phone to JB I had to find a new way to access my shares and Linda worked. I don't know why they changed it (now it's called Linda Discover or such?, and I'm not sure if that version works anymore).

Robynsveil
Robynsveil

Nothing works. Not Astro, not ES File Explorer. Anyone want to address a LAN with a router, where the router issues DHCP?

branty1970
branty1970

I've been using ES File Explorer for quite some time and have found it does 'almost' everything I want. I gave this a go to see if it could fill in the gaps and it fell at the first hurdle. I can browse the files on my network share but a long press, followed by 'Open as...' and choosing a suitable file type simply gives the message 'Astro doesn't currently support opening remote files'. WTF! A file manager that won't let you open a file. Stick with ES File Explorer.

llucier
llucier

Or you could just use es file explorer and see every folder on every device on your network. :)

TomG_UK
TomG_UK

I've just started looking into Android apps that will allow me more usability on the LAN and this was the first app I've tried. It's simple to set up and easy to use.