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
virtualisation:start [2019/09/30 14:48]
juraschek [Devices]
virtualisation:start [2024/02/22 14:43] (current)
juraschek [Example Containers]
Line 33: Line 33:
 Depending on the extension modules you do have in your router, there is the possibility of passing the device into the container. This way you can make the hardware available for the system running in your container. Common use cases are CAN or Bluetooth modules. The devices that are available to map into the container are automatically shown on the webgui. Here is an exmample with bluetooth available. Depending on the extension modules you do have in your router, there is the possibility of passing the device into the container. This way you can make the hardware available for the system running in your container. Common use cases are CAN or Bluetooth modules. The devices that are available to map into the container are automatically shown on the webgui. Here is an exmample with bluetooth available.
  
-{{:​virtualisation:​virt_config_bluetooth.png?500|}}+{{:​virtualisation:​virt.png?500|}}
  
  
Line 45: Line 45:
  
 Generally you can either create a routed interface, where you set your own IP settings that will connect the router (through a virtual interface, virt0) to the guest interface of your cotnainer. The other option is that you bridge the containers interface to an existing one on the router. ​ Generally you can either create a routed interface, where you set your own IP settings that will connect the router (through a virtual interface, virt0) to the guest interface of your cotnainer. The other option is that you bridge the containers interface to an existing one on the router. ​
 +
 +If you are using a routed interface please be sure you networking file is setting the ethernet interface into manual mode and not dhcp: 
 +
 +Example on an alpine guest: ​
 +
 +Default in alpine template from linuxcontainers:​
 +<​konsole>​
 +/ $ cat /​etc/​network/​interfaces ​
 +auto eth0
 +iface eth0 inet dhcp
 +hostname $(hostname)
 +/ $
 +</​konsole>​
 + 
 +Need to be switched to 
 +
 +<​konsole>​
 +/ $ cat /​etc/​network/​interfaces ​
 +auto eth0
 +iface eth0 inet manual
 +hostname $(hostname)
 +/ $
 +</​konsole>​
 +
 +
 +
  
 ===== Container Templates ===== ===== Container Templates =====
Line 54: Line 80:
 The following list contains some generic OS based Containers, that are available through our ftp server: The following list contains some generic OS based Containers, that are available through our ftp server:
  
-  * Ubuntu Bionic Beaver 18.04 LTS (armhf) / md5sum: f91b9f6ff431fdc01194bc100fde296f / [[ftp://public:​public@share.netmodule.com/​virt/​ubuntu_bionic.tar.xz|Download]] +  * Ubuntu Bionic Beaver 18.04 LTS (armhf) / md5sum: f91b9f6ff431fdc01194bc100fde296f / [[https://​share.netmodule.com/​router/​public/​virt/​ubuntu_bionic.tar.xz|Download]] 
-  * Debian Stretch (armhf) / md5sum: 6b716a50df69404dfe54f61021374008 / [[ftp://public:​public@share.netmodule.com/​virt/​debian_stretch.tar.xz|Download]] +  * Debian Stretch (armhf) / md5sum: 6b716a50df69404dfe54f61021374008 / [[https://​share.netmodule.com/​router/​public/​virt/​debian_stretch.tar.xz|Download]] 
-  * Debian Jessie (armhf) / md5sum: b3907135c41721a70cfbd72cc2873cda / [[ftp://public:​public@share.netmodule.com/​virt/​debian_jessie.tar.xz|Download]] ​  +  * Debian Jessie (armhf) / md5sum: b3907135c41721a70cfbd72cc2873cda / [[https://​share.netmodule.com/​router/​public/​virt/​debian_jessie.tar.xz|Download]] ​  
-  * Alpine Linux 3.8 (armhf) / md5sum: 80bfd7775c48757d37124c844b88d5e9 / [[ftp://public:​public@share.netmodule.com/​virt/​alpine_3.8.tar.xz|Download]] ​+  * Alpine Linux 3.8 (armhf) / md5sum: 80bfd7775c48757d37124c844b88d5e9 / [[https://​share.netmodule.com/​router/​public/​virt/​alpine_3.8.tar.xz|Download]] ​
  
  
Line 66: Line 92:
   * [[virtualisation:​bluetooth|Bluetooth within a container]]   * [[virtualisation:​bluetooth|Bluetooth within a container]]
  {{ :​virtualisation:​virt_logo_bluetooth.jpg?​200 }}  {{ :​virtualisation:​virt_logo_bluetooth.jpg?​200 }}
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​debian_jessie_bluetooth.tar.xz|Download]] - md5sum: b3907135c41721a70cfbd72cc2873cda+ * [[https://​share.netmodule.com/​router/​public/​virt/​debian_jessie_bluetooth.tar.xz|Download]] - md5sum: b3907135c41721a70cfbd72cc2873cda
  
   * [[virtualisation:​file-server|File Server (samba, vsftpd, net2ftp & file transfer possibilites via usb)]]   * [[virtualisation:​file-server|File Server (samba, vsftpd, net2ftp & file transfer possibilites via usb)]]
 {{ :​virtualisation:​samba_einbinden_windows_6.png?​200 |}} {{ :​virtualisation:​samba_einbinden_windows_6.png?​200 |}}
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp.tar.xz|Download]] - md5sum: efbf0e0f0bc6b3d4e1c2a55127b762e0+ * [[https://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp.tar.xz|Download]] - md5sum: efbf0e0f0bc6b3d4e1c2a55127b762e0
  
   * [[[[virtualisation:​dlna|ReadyMedia DLNA server]]   * [[[[virtualisation:​dlna|ReadyMedia DLNA server]]
  {{ :​virtualisation:​readymedia_statusseite.png?​200 ​ }}  {{ :​virtualisation:​readymedia_statusseite.png?​200 ​ }}
  
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp_readymedia.tar.xz|Download]] - md5sum: 7d520cbf4ac55a7484e80deebfc67a26+ * [[https://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp_readymedia.tar.xz|Download]] - md5sum: 7d520cbf4ac55a7484e80deebfc67a26
  
   * [[virtualisation:​plex|Plex Media server]]   * [[virtualisation:​plex|Plex Media server]]
 {{ :​virtualisation:​pms_setup_1.png?​200 }} {{ :​virtualisation:​pms_setup_1.png?​200 }}
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp_plex.tar.xz|Download]] - md5sum: df26b99fb333f5baf53d6239bb0d2530+ * [[https://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp_plex.tar.xz|Download]] - md5sum: df26b99fb333f5baf53d6239bb0d2530
  
   * [[virtualisation:​media-portal|Emby Media server]]   * [[virtualisation:​media-portal|Emby Media server]]
 {{ :​virtualisation:​emby-setup_1.png?​200 ​ }} {{ :​virtualisation:​emby-setup_1.png?​200 ​ }}
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp_emby.tar.xz|Download]] - md5sum: 35658e3cb6de96efe9e42379a5eaa976+ * [[https://​share.netmodule.com/​router/​public/​virt/​debian_stretch_ftp_samba_net2ftp_emby.tar.xz|Download]] - md5sum: 35658e3cb6de96efe9e42379a5eaa976
  
   * [[virtualisation:​nextcloud|Nextcloud]]   * [[virtualisation:​nextcloud|Nextcloud]]
  {{ :​virtualisation:​nc-setup.jpg?​200 }}  {{ :​virtualisation:​nc-setup.jpg?​200 }}
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​debian_stretch_nextcloud13.tar.xz|Download]] - md5sum: 5bb1a90637ae5f1c46a0d994c8785a38+ * [[https://​share.netmodule.com/​router/​public/​virt/​debian_stretch_nextcloud13.tar.xz|Download]] - md5sum: 5bb1a90637ae5f1c46a0d994c8785a38
  
   * [[app-notes:​webvpn-secure-https-portforwardings-for-unsecure-http-devices|Traefik reverse proxy]]   * [[app-notes:​webvpn-secure-https-portforwardings-for-unsecure-http-devices|Traefik reverse proxy]]
    {{ :​virtualisation:​virt_logo_traefik.jpg?​200 ​ }}    {{ :​virtualisation:​virt_logo_traefik.jpg?​200 ​ }}
- * [[ftp://​share.netmodule.com/​router/​public/​virt/​alpine_3.7_traefik.tar.xz|Download]] - md5sum: 63ba17029d2db8f62f981874eb4fe3b8+ * [[https://​share.netmodule.com/​router/​public/​virt/​alpine_3.7_traefik.tar.xz|Download]] - md5sum: 63ba17029d2db8f62f981874eb4fe3b8
  
 +
 + *  [[virtualisation:​pihole_lxc_container|pi-hole]]
 ===== Integrating Software into a Container ===== ===== Integrating Software into a Container =====