Asus RT-AC68U router as file server

Hi!

I have a Asus RT-AC68U router, RPI2 and an external HDD. File transfers are faster on the router. Can I run Transmission on RPI2 and save files on the HDD connected to the router via NFS, FTP or Samba?

Cheers and thanks for putting together this software :smiley:

Yes you can.

The quickest method would be to setup the samba client mount through DietPi-Config:

  • Run dietpi-config
  • Select Networking options
  • Select Samba Client and follow the instructions to install.
  • Once installed, select Samba Client again and enter the details of the router share.
    If successful, you will see the size/usage stats listed above.

Once the drive is mounted, you will need to modify the transmission settings:
Stop services

dietpi-services stop

Create a download directory

mkdir -p /mnt/samba/downloads

Edit transmission config file

nano /etc/transmission-daemon/settings.json

Change the download-dir line to

"download-dir": "/mnt/samba/downloads",

Save the changes (CTRL+X then confirm with yes)

Restart Transmisson

dietpi-services start

Cool, thanks :slight_smile:

Why is a USB hard drive/memory stick recommended for certain applications? Are application or system files stored there or is it only for media files?

Hi Martin,

DietPi will configure and store personal data on the USB drive, for certain software you install with dietpi-software.
Some examples are:

  • BitTorrent downloads
  • Owncloud data/images/files etc
  • Subsonic/Ampache Media (eg: music)

This is recommended as USB HDD’s are generally faster than the SDcard. This can improve the performance of your system and programs which store/use personal data.