This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| app-notes:samba-server [2026/02/11 15:56] – [1. Set up the LXC Contianer] gray | app-notes:samba-server [2026/02/11 20:45] (current) – [2. Adjust the LXC config so that the USB port can be used in the container.] gray | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| ** | ** | ||
| + | ---- | ||
| ===== - Set up the LXC Contianer ===== | ===== - Set up the LXC Contianer ===== | ||
| Line 33: | Line 34: | ||
| From a Jenkins server you get the current image for the container | From a Jenkins server you get the current image for the container | ||
| - | * Jenkins Server Page image-alpine '' | + | * Jenkins Server Page image-alpine '' |
| The "'' | The "'' | ||
| Line 39: | Line 40: | ||
| Here you can get a alpine image for '' | Here you can get a alpine image for '' | ||
| + | {{: | ||
| + | |||
| + | The image is the "'' | ||
| + | |||
| + | It would be structured like this: | ||
| + | |||
| + | '' | ||
| + | |||
| + | When the " | ||
| + | |||
| + | Set up the LXC container further. A network interface is enabled here. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | The container has now also been assigned an IP address. | ||
| + | |||
| + | < | ||
| + | ~ $ lxc-info guest0 | ||
| + | Name: | ||
| + | State: | ||
| + | PID: 2255 | ||
| + | IP: | ||
| + | CPU use: 1.57 seconds | ||
| + | BlkIO use: 4.00 KiB | ||
| + | Memory use: 6.29 MiB | ||
| + | KMem use: 1.18 MiB | ||
| + | Link: virt0 | ||
| + | TX bytes: | ||
| + | RX bytes: | ||
| + | Total bytes: | ||
| + | ~ $ | ||
| + | </ | ||
| + | |||
| + | Always assign a fixed IP address for the LXC container via the DHCP server. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Log in to the LXC container and test whether it can access the Internet. | ||
| + | |||
| + | < | ||
| + | ~ $ lxc-attach guest0 | ||
| + | root@LXCNAME: | ||
| + | PING heise.de (193.99.144.80) 56(84) bytes of data. | ||
| + | 64 bytes from redirector.heise.de (193.99.144.80): | ||
| + | 64 bytes from redirector.heise.de (193.99.144.80): | ||
| + | 64 bytes from redirector.heise.de (193.99.144.80): | ||
| + | --- heise.de ping statistics --- | ||
| + | 3 packets transmitted, | ||
| + | rtt min/ | ||
| + | root@LXCNAME: | ||
| + | </ | ||
| + | |||
| + | The container is installed and set up. Now you can set up further tools on the container. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== - Adjust the LXC config so that the USB port can be used in the container. ===== | ||
| + | |||
| + | |||
| + | Enable USB administration on the router | ||
| + | |||
| + | {{: | ||