Tuesday, June 25, 2024

Install Windows 11 without Microsoft account

 When you need to install Windows 11 on a computer, but do not want to use a Microsoft accout, you can use these steps.

  1. unplug network cabel from your computer
  2. when the computer asks for a Microsoft account, press [Shift]+[F10]. This will open an command prompt.
  3. Type the command oobe\bypassnro. The computer will restart. 
  4. After restart specify that you do not have Internet. 
  5. Now the Windows setup will allow you to create a local account



Thursday, January 4, 2024

Ventoy

 When I needed to reinstall an operating system to a computer, I used to have one USB stick per operating system. So with a collection of some Windows, Linux and anti-virus related operating systems I used to occupy several USB sticks.

Now I heard about Ventoy. Ventoy offers a tool that allows you to create a bootable USB stick which can host several operating system installation files (ISO's) on one USB stick. 

I now use it, and it works like a charm. The only limit is the amount of space on your USB-stick. 



Monday, December 4, 2023

How to find your Raspberry Pi in your network



Last week - with some struggle - I updated my Raspberry from Buster to Bullseye.

After I succeeded to complete the update, I had to reboot the Raspberry and was unable to reconnect to it with the known IP-address.

The trick I then used was to ping the hostname, only to find out that my Raspberry was using an IP 6 IP-address.

I disabled IP6 by editing the /etc/sysctl.conf file. I added these three lines;
  • net.ipv6.conf.all.disable_ipv6 = 1
  • net.ipv6.conf.default.disable_ipv6 = 1
  • net.ipv6.conf.lo.disable_ipv6 = 1
And reboot.


Then when I wanted to access my Raspberry I still was not able to use the known IP-address. Ping-ing the Raspberry showed that it was using a IP4 address, but not the required static one.
With ifconfig I saw that the network interface was given a new name. In /etc/dhcpcd.conf I entered the same name to the network interface and finaly I got my static IP-address working again.

Saturday, December 2, 2023

Unable to upgrade after update to Bullseye

 I updated my Raspberry Pi from Buster to Bullseye. In my previous blog you could read that I had some issues starting Pi-hole ater the update.

I noticed that I also could not upgrade Raspberry OS completely. 

After a lot of Google-ing I found this post what was a working solution for me. LINK 

Wednesday, November 29, 2023

Pi-hole stopped working efter update to Bullseye



Yesterday I updated my Raspberry Pi to version 11 (Bullseye). The main usage for my Raspberry Pi is Pi-hole; a network-wide ad-blocker.

But that stopped working and could not be started because of the following error; "FTL failed to start due to failed to create listening socket for port 53: Address already in use".
With the command
sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471'
I figured out that a system component of Raspberry OS version 11 was bind to port 11; connmand.

Since that system component is optional, you can easily uninstall it with
sudo apt purge connman

After a reboot I was able to start my pi-hole again and could FTL (from Pi-hole) use port 53 again.