RUT300 USB Tools

From Teltonika Networks Wiki
Main Page > RUT Routers > RUT300 > RUT300 Manual > RUT300 WebUI > RUT300 Services section > RUT300 USB Tools

The information in this page is updated in accordance with firmware version RUT30X_R_00.07.01.2.

Summary

The USB Tools page is used to manage services related to the device's USB connector.

This chapter of the user manual provides an overview of the USB Tools page in RUT300 devices.

If you're having trouble finding this page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Basic" button under "Mode", which is located at the top-right corner of the WebUI.

Networking rut30x manual webui basic advanced mode.gif

General

The General section is used to manage global USB settings. It consists of two subsections:

USB Mount Settings


The USB Mount Settings section is used to set the transfer type (synchronous or asynchronous) for the USB device.

Networking rutos manual usb tools general usb mount settings.png

Synchronous ensures that all changes to the according filesystem are immediately flushed to disk. Enabling this will drastically lower the life expectancy of your USB device.

Mounted File Systems


The Mounted File Systems list displays USB mass storage devices (MSD) currently attached to this device.

Networking rutos manual usb tools general mounted file systems.png

Field Value Description
Filesystem filepath; default: /dev/sd* The filesystem of the attached USB MSD.
Mount Point filepath; default: /mnt/sd* The root directory of the mounted filesystem.
Available string; default: none Displays available storage information for a mounted USB MSD.
Used string; default: none Displays used storage information for a mounted USB MSD.
In Use string; default: none Indicates whether a USB MSD is currently in use by some device service or not.

The 'Unmount' button next to each entry in the list is used to unmount an attached USB device. Please make sure to unmount a USB device before physically detaching it from the RUT300.

The 'Refresh' is used to refresh the information in the Mounted File Systems list. If you attach a new USB device and cannot see it in the list, try clicking the 'Refresh' button.



IP Filter


The IP Filter section is used for configuring which network is allowed to communicate with the device. You may add a new instance by selecting the Interface and pressing Add.

Networking rutos manual console ip filter.png

Then enter the IP address and save.

Networking rutos manual console ip filter instance.png

Storage Memory Expansion

The Storage Memory Expansion function provides the possibility to expand the device's flash memory with a USB Mass Storage Device (MSD) and use the extra memory to install additional software packages. This section provides instruction on how to do just that. However, there are a few prerequisites and warnings to take note of before using memory expansion.

To be eligible for memory expansion, the USB MSD must meet the following restrictions.

  • The MSD must be the last one (chronologically) inserted.
  • If you are using a USB hub, the target MSD must be the last one attached to the hub.
  • No important data on the MSD as it will be wiped during expansion setup!

When expansion is enabled, do not detach the USB device as this will delete the data stored on it. Changes made to the device configuration while expansion was enabled will disappear after it is disabled.

Enabling memory expansion


To successfully expand the flash memory of your device follow the steps described below.

  1. Attach a USB Mass Storage Device (MSD) to the USB connector on the device and go to the Services → Storage Memory Expansion page.
  2. Set the 'Enable storage expansion' slider to 'on' and click 'Save & Apply'.
    Networking rutos manual storage memory expansion enable 1.png
  3. You will see a pop-up asking for confirmation. Take note that if you continue from this point on:
    • your USB device's memory will be wiped and formatted to ext2 format;
    • your device's current configuration will be backed up and restored to this point if the USB drive is removed or memory expansion is disabled;
    • the entire procedure may take a very long time and includes a reboot at the end; exact time will vary depending on the size of the MSD (larger size will take longer; for example, using a 128 GB drive will take about 2 hours to fully set up, while a 16 GB will only take about 5 minutes).
    Click 'Continue' to proceed.
    Networking rutos manual storage memory expansion enable 2.png
  4. If all is in order you should see a 'Formatting MSD...' message on the screen. This indicates that the MSD is being formatted and integrated with the system. This procedure can take a long time and ends with a reboot of the device.
    Networking rutos manual storage memory expansion enable 3.png
  5. Your device's flash memory will be expanded once the reboot has finished. In order to check, log in to the WebUI and look to the 'System' widget in the 'Overview' page. Hover your mouse cursor over the 'FLASH' memory indicator; you should see an increase to the device's flash memory.
    Networking rutos manual storage memory expansion enable 4.png

Disabling memory expansion


To successfully disable memory expansion follow the steps described below.

  1. Go to the Services → Storage Memory Expansion page.
  2. Set the 'Enable storage expansion' slider to 'off' and click 'Save & Apply'.
    Networking rutos manual storage memory expansion disable 1.png
  3. You will see a pop-up asking for confirmation. Take note that if you continue from this point on:
    • your USB device's memory will be wiped and formatted to NTFS format;
    • your device's configuration will be restored to the point it was before memory expansion;
    • the entire procedure will take up to 2 minutes including a reboot.
    Click 'Continue' to proceed.
    Networking rutos manual storage memory expansion disable 2.png
  4. If all is in order you should see a 'Formatting MSD...' message on the screen. This indicates that the MSD is being formatted and detached from the system. This procedure can take up to a couple of minutes and ends with a reboot of the device.
    Networking rutos manual storage memory expansion disable 3.png
  5. Your device's flash memory will be restored to normal once the reboot has finished. In order to check, log in to the WebUI and look to the 'System' widget in the 'Overview' page. Hover your mouse cursor over the 'FLASH' memory indicator; you should see your device's flash memory return to its regular size.
    Networking rutos manual storage memory expansion disable 4.png

Network Shares

The Network Shares section is used to manage Network-attached storage (NAS) such as USB drives and hard drives. The RUT300 device supports the following file system architectures:

  • FAT
  • FAT32
  • NTFS

Note: Network Shares is additional software that can be installed from the Services → Package Manager page.

General Settings


The General section is used to set up Samba - a software solution for using the Server Message Block (SMB) networking protocol, which provides shared file access between nodes on a computer network. Refer to the figures and table below for more information about Samba configuration.

Networking rutos manual usb tools network shares general samba general settings.png

Field Value Description
Enable off | on; default: off Turns Samba on or off.
Hostname string; default: Router_share Name of the Samba server.
Description string; default: Router share Short description about the Same server.
Workgroup string; default: WORKGROUP Name of the server's workgroup.
Share home-directories off | on; default: on Allows system users to reach their home directories via network shares.

Edit Template


The Edit Template section is used to make modifications to the template that is used for generating the Samba configuration. This is the content of the /etc/samba/smb.conf.template file from which your Samba configuration will be generated. Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab.

Networking rutos manual usb tools network shares general samba edit template.png

Format USB


The Format USB section contains only one button that is used for formatting an attached USB drive.

Networking rutos manual usb tools network shares general samba format usb.png

Shared Directories


The Shared Directories section is used to configure access to the device's files and directories, including USB storage drives. The list of Shared Directories is empty by default; click the 'Add' button in order to create a new configuration:

Networking rutos manual usb tools network shares general shared directories add button.png

The newly added Shared Directory configuration should look similar to this:

Networking rutos manual usb tools network shares general shared directories.png

Field Value Description
Name string; default: none Name of a shared directory.
Path filepath; default: /mnt/ Path to a shared directory. To share an entire drive, choose an automatically generated path from this drop-down box (for example, /mnt/sda1). To share a specific directory on the drive, specify the full path to that directory (for example, /mnt/sda1/shared/video).
Allowed users samba user(s); default: none Samba user(s) that are permitted to access a Shared Directory. Users can be created from the Users menu tab.
Read-only off | on; default: off Makes a Shared Directory read-only, which means the directory can only be accessed to view and read files (not write).
Browseable off | on; default: on Makes a Shared Directory browsable; i.e., visible in shared directory network discovery.
Allow guests off | on; default: off Turns guest access on or off. Guest access allows anonymous connections to a Shared Directory.
Delete -(interactive button) Deletes a Shared Directory configuration.

To connect to the router's SAMBA server from Windows, specify the address in this format:

\\smb_server_address\share_name

Replace smb_server_address with the IP address of this device or SAMBA share hostname; replace share_name with the name of the "share" (as specified in the 'Name' field). For example:

\\192.168.1.1\my_share
\\Router_share\johns_files

Users


The Users section is used to create Samba users that can be granted access to Shared Directories. To add a new user, enter a custom username, password and click the 'Add' button.

Networking rutos manual usb tools network shares users add button.png

The newly added User should appear in the Users list. To change the password of a Samba User, click the 'Edit' button located next to it:

Networking rutos manual usb tools network shares users edit button.png

This will redirect you to the Settings page for that User which should look similar to this:

Networking rutos manual usb tools network shares users user settings.png

DLNA

The Digital Living Network Alliance (DLNA) standard provides the possibility to stream media files from local storage to DLNA-capable devices such as computers, Smart TVs, tablets, etc.

This page is used to configure the DLNA service on the device. When the DLNA service is enabled, the device listens for incoming connections on the specified network interface and port number. Clients connecting to that port number on that interface will be granted access to the media files residing in the specified directories.

DLNA devices use Universal Plug and Play (UPnP) to discover and communicate with each other on a network. To access the DLNA server hosted on this device you will need a DLNA-capable application. If you're using your phone or other mobile device, simply search for DLNA in the device's application store. On Linux and Windows computers you can use applications capable of playing network media streams (such as VLC). Smart TVs and similar devices may have DLNA support built-in by default.

File format types supported by the DLNA service on this device:

  • Audio - WMA, WAV, MP3, FLAC
  • Image - JPEG
  • Video - WMV, MTS, MP4, MKV, MOV

Note: DLNA is additional software that can be installed from the Services → Package Manager page.

General Settings


Networking rutos manual dlna general settings.png

Field Value Description
Enable off | on; default: off Turns the DLNA service on or off.
Port integer [0..65535]; default: 8200 DLNA service listening port.
Friendly name string; default: Teltonika DLNA Server The name of this server as it will be displayed to clients.
Root container Standard container | Browse directory | Music | Video | Pictures; default: Standard container Specifies which type of files will be made available in DLNA file sharing.
  • Standard container - allows browsing the shared media directory but also organizes files by type (music, video, pictures).
  • Browse directory - allows browsing the shared media directory .
  • Music, Video, Pictures - only shares the files of the specified type.
Media directories filepath(s); default: /mnt A list of directories that will be scanned by the DLNA service and made available to clients. You can also specify what types of files should be displayed from the directy. Use 'A' for audio, 'V' for video, 'P' for images followed by a comma and the path to the directory. For example:
  • A,/mnt - share only audio files from the /mnt/sda1 directory.
  • V,/mnt - share only video files from the /mnt/sda1 directory.
  • P,/mnt - share only image files from the /mnt/sda1 directory.
Click the plus symbol to add more directories.
Album art names filename(s); default: Album.jpg Name of the file(s) to check when searching for album art images. Click the plus symbol to specify more file names.

Advanced Settings


Networking rutos manual dlna advanced settings.png

Field Value Description
Interfaces network interface; default: br-lan Network interface(s) on which this DLNA server will be hosted.
Database directory filepath; default: /var/run/minidlna The directory where DLNA will store its database and album art cache.
Enable inotify off | on; default: on Turns inotify on or off. Inotify is a Linux kernel subsystem that notices changes to the filesystem and reports on these changes to applications, in this case, the DLNA service.
Enable TIVO off | on; default: off Turn support for streaming .jpg and .mp3 files to a TiVo supporting HMO on or off.
Strict to DLNA standard off | on; default: off Set this to strictly adhere to DLNA standards. Turning this on will allow server-side downscaling of very large JPEG images, which may hurt JPEG serving performance on (at least) Sony DLNA products.
Notify interval integer; default: 900 Notify interval in seconds.