This is an old revision of the document!


Samba on an LXC container with external USB storage

Goal

The wiki shows how to install a Samba server on an LXC container running under the Alpine OS. In addition, external storage is set up via the USB port for the container and made available for use by the Samba client.

Prerequisites

  • NetModule Wireless Router with wireless connection
  • NetModule Software 5.0.0.101 or newer
  • Not available for legacy products NB1600, NB2700, NB3700, NB3710

The wiki was tested with router software 5.0.0.101 and the LXC container with alpine armhf 3.23

1. Set up the LXC Contianer

Activate the LXC container on the router

In the second step the image of the LXC container in this case a alpine 3.23.

The easiest way to do this is to install the whole thing over the Internet. However, the router requires a mobile connection to the Internet.

From a Jenkins server you get the current image for the container

* Jenkins Server Page image-debian / Link

The “armhf” tab is important here

Here you can get a alpine image for 3.21, 3.22, 3.23 or newer.