Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
app-notes:avahi-on-lxc [2024/07/05 17:26] – [2. Test LXC installation and set up further] grayapp-notes:avahi-on-lxc [2024/07/15 06:32] (current) – [4. Set up the mreceive tool] gray
Line 19: Line 19:
 Activate the LXC container on the router  Activate the LXC container on the router 
  
-{{:pictures:lxc_aktiv.png?400|}}+{{:pictures:lxc_aktiv.png?800|}}
  
 In the second step the image of the LXC container in this case Debian. In the second step the image of the LXC container in this case Debian.
  
-{{:pictures:lxc_install.png?400|}}+{{:pictures:lxc_install.png?800|}}
  
 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. 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.
Line 35: Line 35:
 Here you can get a Debina image for ''buster, bullseye or bookworm''. Here you can get a Debina image for ''buster, bullseye or bookworm''.
  
-{{:pictures:lxc_jenkins.png?400|}}+{{:pictures:lxc_jenkins.png?800|}}
  
 If you click on the circle with the green rakes, you will be taken to the software. What else is important is that the circle and rakes must be green. If you click on the circle with the green rakes, you will be taken to the software. What else is important is that the circle and rakes must be green.
  
-{{:pictures:lxc_link.png?400|}}+{{:pictures:lxc_link.png?800|}}
  
 The image is the "''rootfs.tar.xz''" which is required. With a right click you can copy the link. The image is the "''rootfs.tar.xz''" which is required. With a right click you can copy the link.
Line 81: Line 81:
 Set up the LXC container further. A network interface is enabled here.  Set up the LXC container further. A network interface is enabled here. 
  
-{{:pictures:lxc_netzwerk.png?400|}}+{{:pictures:lxc_netzwerk.png?800|}} 
 + 
 +The container has now also been assigned an IP address. 
 + 
 +<konsole> 
 +~ $ lxc-info guest0 
 +Name:           guest0 
 +State:          RUNNING 
 +PID:            2255 
 +IP:             192.168.1.149 
 +CPU use:        1.57 seconds 
 +BlkIO use:      4.00 KiB 
 +Memory use:     6.29 MiB 
 +KMem use:       1.18 MiB 
 +Link:           virt0 
 + TX bytes:      2.28 KiB 
 + RX bytes:      853 bytes 
 + Total bytes:   3.11 KiB 
 +~ $  
 +</konsole> 
 + 
 +Always assign a fixed IP address for the LXC container via the DHCP server. 
 + 
 +{{:pictures:lxc_ip_adresse.png?800|}} 
 + 
 +Log in to the LXC container and test whether it can access the Internet. 
 + 
 +<konsole> 
 +~ $ lxc-attach guest0 
 +root@LXCNAME:~# ping heise.de 
 +PING heise.de (193.99.144.80) 56(84) bytes of data. 
 +64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=1 ttl=244 time=42.4 ms 
 +64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=2 ttl=244 time=31.0 ms 
 +64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=3 ttl=244 time=27.1 ms 
 +--- heise.de ping statistics --- 
 +3 packets transmitted, 3 received, 0% packet loss, time 2005ms 
 +rtt min/avg/max/mdev = 27.116/33.504/42.432/6.505 ms 
 +root@LXCNAME:~#  
 +</konsole> 
 + 
 +The container is installed and set up. Now you can set up further tools on the container. 
 + 
  
  
Line 198: Line 240:
 GNSSLocationDelivery> GNSSLocationDelivery>
 </code> </code>
 +
 +* [[app-notes:fmstoip-itxpt|How to set up the FMStoIP]]