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
virtualisation:pihole_lxc_container [2022/05/23 13:36] – [Setup router] cakirvirtualisation:pihole_lxc_container [2022/05/24 09:28] (current) – [Setup a Pi-hole in LXC container] cakir
Line 1: Line 1:
-====== Setup a Pi-hole in LXC container ====== +====== Pi-hole in LXC container ====== 
  
                                                                                                                                                                
Line 26: Line 26:
  
  
-===== Setup virtualization =====                      +===== Setup LXC Pi-hole virtualization =====                      
                                                                                                                                                                                                          
 Before we can start please check if virtualization feature is licensed on your system (see SYSTEM -> Licensing on WebGUI). Before we can start please check if virtualization feature is licensed on your system (see SYSTEM -> Licensing on WebGUI).
Line 48: Line 48:
  
  
-===== Setup router =====+===== Setup router DHCP/DNS =====
                                                                                                                                            
 We are now back at the router Web-GUI to do the final setup of the DHCP server and DNS settings.                            We are now back at the router Web-GUI to do the final setup of the DHCP server and DNS settings.                           
Line 68: Line 68:
 {{:virtualisation:04-pihole-gui.png}} {{:virtualisation:04-pihole-gui.png}}
  
-**Step 5:** To change the password we need to access the router via terminal. Log in via ssh, telnet or serial connection and then run the command "''lxc-attach guest0''"" then run the command for changing the password "''pihole -a -p''"+**Step 5:** To change the password we need to access the router with command line interface. Log in via ssh, telnet or serial connection and then run the command "''lxc-attach guest0''"" to enter the shell in LXC, then run the command "''pihole -a -p''" for changing the password
  
 {{:virtualisation:05-pihole-gui.png}} {{:virtualisation:05-pihole-gui.png}}