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
boards:n100 [2024/01/18 15:18] – [Miscellaneous] darronboards:n100 [2024/08/10 14:53] (current) – [Hardware] darron
Line 7: Line 7:
 N100 Mini PCs are very cheap and very capable devices. N100 Mini PCs are very cheap and very capable devices.
  
-Here is the procedure used to dual boot debian 12 on a Mini and prepare +Here is the procedure used to dual boot debian 12 on a Mini PC and prepare 
-it to run VMs under KVM.+it to run VMs under [[:tools:kvm|KVM]].
  
 ===Hardware=== ===Hardware===
Line 16: Line 16:
 [[https://www.amazon.co.uk/Windows-3750H-TRIGKEY-S3-Graphics/dp/B09MFKZFYG/|TRIGKEY N100 CPU 16GB RAM 512GB SSD WIFI 6 BT 5.2 WIN 11 PRO]] [[https://www.amazon.co.uk/Windows-3750H-TRIGKEY-S3-Graphics/dp/B09MFKZFYG/|TRIGKEY N100 CPU 16GB RAM 512GB SSD WIFI 6 BT 5.2 WIN 11 PRO]]
  
-After discount this device should cost £169.+After discount this device should cost £169 (Jan 2024) or £154 (Aug 2024).
  
 External SSD is an ADATA 240 GB for VMs. Any external USB3 drive will do. External SSD is an ADATA 240 GB for VMs. Any external USB3 drive will do.
Line 191: Line 191:
 update-rc.d sddm disable update-rc.d sddm disable
 update-rc.d saned disable update-rc.d saned disable
 +</code>
 +
 +<code>
 +apt remove --purge gvfs-backends gvfs
 </code> </code>
  
Line 198: Line 202:
 systemctl --user stop pulseaudio.socket systemctl --user stop pulseaudio.socket
 systemctl --user stop pulseaudio.service systemctl --user stop pulseaudio.service
-systemctl --user stop 'gvfs*' 
 </code> </code>
  
Line 204: Line 207:
 systemctl --user disable pulseaudio.socket systemctl --user disable pulseaudio.socket
 systemctl --user disable pulseaudio.service systemctl --user disable pulseaudio.service
-systemctl --user disable 'gvfs*' 
 </code> </code>
  
Line 210: Line 212:
 systemctl --user mask pulseaudio.socket systemctl --user mask pulseaudio.socket
 systemctl --user mask pulseaudio.service systemctl --user mask pulseaudio.service
-systemctl --user mask 'gvfs*' 
 </code> </code>
  
Line 249: Line 250:
  netmask 255.255.255.0  netmask 255.255.255.0
  gateway 192.168.0.1  gateway 192.168.0.1
 +</code>
 +
 +Reboot to take effect.
 +
 +<code>
 +ifconfig -a
 +br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
 +        inet 192.168.0.130  netmask 255.255.255.0  broadcast 192.168.0.255
 +        inet6 fe80::4c3a:bff:feab:4fb0  prefixlen 64  scopeid 0x20<link>
 +        ether 4e:3a:0b:ab:4f:b0  txqueuelen 1000  (Ethernet)
 +        RX packets 114  bytes 11804 (11.5 KiB)
 +        RX errors 0  dropped 0  overruns 0  frame 0
 +        TX packets 93  bytes 14326 (13.9 KiB)
 +        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 +
 +enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
 +        ether 7c:83:34:be:e3:5e  txqueuelen 1000  (Ethernet)
 +        RX packets 114  bytes 13400 (13.0 KiB)
 +        RX errors 0  dropped 0  overruns 0  frame 0
 +        TX packets 93  bytes 14326 (13.9 KiB)
 +        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 +
 +lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
 +        inet 127.0.0.1  netmask 255.0.0.0
 +        inet6 ::1  prefixlen 128  scopeid 0x10<host>
 +        loop  txqueuelen 1000  (Local Loopback)
 +        RX packets 0  bytes 0 (0.0 B)
 +        RX errors 0  dropped 0  overruns 0  frame 0
 +        TX packets 0  bytes 0 (0.0 B)
 +        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  
 </code> </code>
  
 +Permissions
 +
 +<code>
 +mkdir -p /etc/qemu
 +echo "allow all" > /etc/qemu/bridge.conf
 +chmod u+s /usr/lib/qemu/qemu-bridge-helper
 +</code>
 +
 +Example lease on bridge
 +
 +<code>
 +lease 192.168.0.248 {
 +  starts 4 2024/01/18 18:11:39;
 +  ends 5 2024/01/19 18:11:39;
 +  cltt 4 2024/01/18 18:11:39;
 +  binding state active;
 +  next binding state free;
 +  rewind binding state free;
 +  hardware ethernet 52:54:00:e6:ab:09;
 +  uid "\001RT\000\346\253\011";
 +  set vendor-class-identifier = "d-i";
 +}
 +</code>