Skip to content

Docker container script to use the UDM Pro drive bay as a SMB network drive

Notifications You must be signed in to change notification settings

thealpa/UDMPRO-samba

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

UDMPRO-samba

Samba server on UDM-Pro using the drive bay.

Installation

  1. Install on_boot.d as well as CNI plugins and CNI bridge scripts using:

    curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/on-boot-script/remote_install.sh" | /bin/sh
  2. Download 20-samba.sh to your UDM-Pro in /mnt/data/on_boot.d:

    curl "https://raw.githubusercontent.com/thealpa/UDMPRO-samba/udmsamba-master/20-samba.sh" -o /mnt/data/on_boot.d/20-samba.sh
  3. (Optional) Adjust any settings if you want:

    vi /mnt/data/on_boot.d/20-samba.sh

    I highly recommend changing the default credentials.

  4. Set permissions to executable:

    chmod +x /mnt/data/on_boot.d/20-samba.sh
  5. Run the script:

    sh /mnt/data/on_boot.d/20-samba.sh

Usage

Connect to your UDM-PRO samba server:

smb://<your_udm_ip>/Shared/

The defaults credentials are user and password. If you need more configuration options please refer to the dperson/samba docker image.

Issues

If the Internal Honeypot feature is enabled, the port of the SMB server needs to be changed to a different one than 445 in 20-samba.sh.


ERRO[0000] unable to get systemd connection to add healthchecks

Can be ignored. The --no-healthcheck option could be used to hide the error when using a newer podman version.


Error adding network: failed to create bridge "cni0": could not add "cni0": operation not supported

Make sure to execute the CNI plugins and CNI bridge scripts first.

✌️

About

Docker container script to use the UDM Pro drive bay as a SMB network drive

Topics

Resources

Stars

Watchers

Forks

Languages

  • Shell 100.0%