Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:nas:usb-storage-samba-webinterface [2018/03/04 08:03] – ↷ Page moved from docs:guide-user:storage:usb-storage-samba-webinterface to docs:guide-user:nas:usb-storage-samba-webinterface bobafetthotmaildocs:guide-user:services:nas:usb-storage-samba-webinterface [2020/11/25 20:48] – [Install dependencies] billabong
Line 1: Line 1:
-====== Share USB Hard-drive with Samba using the Luci web-interface ======+====== Share USB hard-drive with Samba using LuCI ======
 USB-connections are becoming common on most routers today. A popular usage scenario is connecting a USB storage device like a USB-pen or hard-drive and share the content on your LAN. This recipe will guide you through how this can easily be set-up using the Luci web-interface. USB-connections are becoming common on most routers today. A popular usage scenario is connecting a USB storage device like a USB-pen or hard-drive and share the content on your LAN. This recipe will guide you through how this can easily be set-up using the Luci web-interface.
  
 ===== Install dependencies ===== ===== Install dependencies =====
-You will find detailed walk throughs for [[docs:guide-user:storage:usb-drives|USB-storage]] and [[docs:guide-user:services:nas:samba|Samba]] respectively. At a minimum, you will need to install the packages kmod-usb-storageblock-mountsamba36-server and luci-app-sambaIn addition you will need support for the file system you format the USB device with. For ext file-systems install kmod-fs-ext4, for btrfs install kmod-fs-btrfs. Avoid using ntfs from Microsoft, it lacks a couple of important features for file-systems. But if you still want to use it, install [[docs:guide-user:storage:writable_ntfs|ntfs-3g]] in order to have read & write access.+You will find detailed walk throughs for [[docs:guide-user:storage:usb-drives|USB-storage]] and [[docs:guide-user:services:nas:samba|Samba]] respectively. At a minimum, you will need to install the packages:  
 +  * kmod-usb-storage 
 +  * block-mount 
 +  * samba36-server 
 +  * luci-app-samba  
 +In addition you will need support for the file system you format the USB device with. For ext file-systems install kmod-fs-ext4, for btrfs install kmod-fs-btrfs. Avoid using ntfs from Microsoft, it lacks a couple of important features for file-systems. But if you still want to use it, install [[docs:guide-user:storage:writable_ntfs|ntfs-3g]] in order to have read & write access.
  
 ===== Mount your USB drive ===== ===== Mount your USB drive =====
Line 16: Line 21:
 Open the web-interface Luci, under **Services** choose the **Network Shares** tab. Here you will need to fill in the name of your shared folder as it will appear on you network. In our example we called it //Share//. You will also need to fill in the mount point from above, we used the default ///home//. You will also need to tick **Allow guests** (otherwise setting up user access control is necessary). Also tick Read-Only is you only want to grant read access for clients on you local network, we allowed write access here: Open the web-interface Luci, under **Services** choose the **Network Shares** tab. Here you will need to fill in the name of your shared folder as it will appear on you network. In our example we called it //Share//. You will also need to fill in the mount point from above, we used the default ///home//. You will also need to tick **Allow guests** (otherwise setting up user access control is necessary). Also tick Read-Only is you only want to grant read access for clients on you local network, we allowed write access here:
 \\ \\ {{media:doc:recipes:usb-storage-samba-webinterface-guest.png|Simple Samba set-up with read and write access for all clients on local network.}} \\ \\ {{media:doc:recipes:usb-storage-samba-webinterface-guest.png|Simple Samba set-up with read and write access for all clients on local network.}}
 +
  • Last modified: 2024/03/14 21:16
  • by palebloodsky