Accessing USB storage files from an Android device

You can access the files on a USB drive connected to Keenetic from your local network or remotely from the Internet.

Save your media files to a USB drive and plug it into your Keenetic. For more information, please refer to the instruction Connecting a USB drive.

Open Keenetic web interface and make sure the USB drive is detected in the system. A record of the connected drive should appear on the 'System dashboard' page in the 'USB drives and printers' panel.

Selection_004.png

Click on the 'USB drives and printers' link to go to the 'Applications' page. Here you will see the 'Windows network' panel. The Windows network file server is enabled by default. To configure the file server and share, click on the 'Windows network' link.

Selection_006.png

In the 'Shared access' section, click 'Add shared resource'.

Selection_007.png

A window with a built-in file browser will open, prompting you to specify a folder on the USB drive that will be shared and then click on the 'Select' button. In our example, we select the root directory to provide access to all folders on the drive.

Selection_008.png

Once you select a shared folder, you will be back on the 'Windows network' page. The 'Shared resource name' field will automatically set the name of the share, but you can change it if you want.
In the 'Users' section, the 'Anonymous access' option is enabled by default. Access to the file server from computers and mobile devices running Android, Microsoft Windows, Apple OS X and iOS by default is open to all home network users without authorization. You can change this policy and add the 'Folder permissions control' component to the KeeneticOS to differentiate users' access to folders. For more information, see the article Folder permission control on a USB drive.

Selection_020.png

Save the changes. This completes the router setup.

1. Access to files from the local network

You can connect to the USB drive using any file manager that supports the SMB protocol and can connect to a Windows network (for example, VLC, Cx File Explorer, Solid Explorer File Manager, Total Commander + LAN plugin, and so on).
In this example, we will use the Cx File Explorer application.

Connect your mobile device to your Wi-Fi network, install the application from Google Play and launch it.

In the application, click '+' on the 'Network' tab.

smb001_g.jpg

Then choose the 'Local Network' on the 'Remote' tab.

smb002_g.jpg

The application will search for devices on your local network and display them. Click on the Keenetic router's name to connect.

smb005_g.jpg

If you have enabled the option 'Anonymous access' (access without authentication) in the Keenetic's settings earlier, check the 'Anonymous' box. If you have account-based drive access configured in your Keenetic, specify a username and password (use an account that has rights to access the Windows home network). Click 'OK' to continue.

smb006_g.jpg

As a result of a successful connection to a USB drive, you will see the name of the shared folder.

smb007_g.jpg

Browse to the required folder and select a media file to play or view.

smb003_g.jpg

smb12.png

smb13.png

The application will save the 'Keenetic' shortcut on the 'Network' tab for quick access to USB drive files.

smb004_g.jpg

2. Access to files from the Internet

You can find detailed information in the guide Remote access to USB drive files from the Internet.

We will consider the option of remote access to the router via a PPTP connection. In the Keenetic settings, enable the PPTP VPN server.

NOTE: Important! To access the PPTP server from the Internet, you need a public IP address on the router's external interface.

Connect to the Keenetic web interface and go to the 'Applications' page. Here you will see the 'PPTP VPN server' panel. Click on the 'PPTP VPN server' link.

Selection_031.png

Configure the server and save the changes.

Selection_032.png

Now let's move to the mobile device setup. We will not go into detail on the Android settings in detail, as they differ on different devices, depending on the OS version and graphical shells.

Add a VPN network in the device settings.

smb008_g.jpg

Enter a name for the VPN tunnel and set the value to 'PPTP' in the 'Type' field. As the PPTP server address, you should specify the Keenetic public IP address or its domain name KeenDNS (in this case, you should set the 'Direct access' mode on the router). Click 'Save'.

smb009_g.jpg

You will see the name of the VPN tunnel that was created. Click on it to start the connection.

smb010_g.jpg

In the 'Username' and 'Password' fields, specify respectively the name and password of the account that has access to the VPN server (in our example, this is an administrator account — admin). Click 'Connect'.

smb011_g.jpg

The connection process will start. If the VPN connection is successfully established, you will see the status 'Connected'.

smb012_g.jpg

By connecting to the VPN server from the Internet, you can access the router's local network. To access the files on a USB drive connected to the router, you need to run a file manager and create an SMB connection using the router's local IP address.

pptp_smb.png

pptp_smb_local.png

You will see the name of the shared folder as a result of a successful connection to the USB drive.

To disconnect the VPN tunnel, click on the name of the currently active connection and then on 'Disconnect'.

pptp_connected.png

smb013_g.jpg

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.