Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:storage:usb-storage-samba-webinterface [2018/03/04 08:03] – ↷ Page moved from docs:guide-user:services:usb-storage-samba-webinterface to docs:guide-user:storage:usb-storage-samba-webinterface bobafetthotmail | docs: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: | + | You will find detailed walk throughs for [[docs: |
| + | * 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, | ||
| ===== 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: | \\ \\ {{media: | ||
| + | |||