Category: IT Tips

  • VirtualBox install/update Guest Additions

    1. Make guest additions iso available on host server VBoxManage storageattach “” –storagectl IDE –port 0 –device 0 –type dvddrive –medium /usr/share/virtualbox/VBoxGuestAdditions.iso 2. Mount cdrom and install/update guest additions in guest sudo mount /dev/cdrom /media/cdrom sudo bash /media/cdrom/VBoxLinuxAdditions.run sudo umount /media/cdom 3. Reboot guest to ensure everything is loaded. sudo reboot now 4. Remove CD […]

  • VirtualBox headless VM autostart

    1. Modify the file /etc/default/virtualbox and add a few variables. VBOXAUTOSTART_DB which contains an absolute path to the autostart database directory and VBOXAUTOSTART_CONFIG which contains the location of the autostart config settings. echo ‘VBOXAUTOSTART_DB=/etc/vbox’ | sudo tee -a /etc/default/virtualbox echo ‘VBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg’ | sudo tee -a /etc/default/virtualbox 2. Create the autostart.cfg file NB: You may need […]

  • VirtualBox admin using phpvirtualbox

    1 Add a vbox user sudo adduser vbox Now we must add the user to the vboxusers group: sudo adduser vbox vboxusers 2 Start VirtualBox Web Services Create the file /etc/default/virtualbox and put the line VBOXWEB_USER=vbox in it (so that the VirtualBox SOAP API which is called vboxwebsrv runs as the user vbox): echo ‘# […]

  • Raspberry PI DHCP and DNS Server (dnsmasq)

    SETTING UP A RASPBERRY PI AS A DHCP AND DNS SERVER dnsmasq: If dnsmasq is used as dhcp server, the local hostnames are automatically added “on the fly” to its dns cache. No need for an additional daemon. Dnsmasq is easier to install, and administrate than ISC dhcp-server+bind Its lease file is much easier to […]

  • Raspberry PI WiFi Router (hostapd)

    Check WLAN drivers Check that your Pi sees your USB WiFi dongle lsusb If it is a Realtek chipset RTL8192EU, you will see something like: Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp. the 818b indicates the RTL8192EU chipset. Unfortunately this chipset is currently not ‘officially’ supported by Rasbian, but MrEngman over at raspberrypi.org […]