How to use Clonezilla on wireless network

Start Clonezilla normally but after “Collecting the info of network devices” and “Getting the link status of…” lines you have to choose your wireless netword card probably wlan0 and now on “Choose the mode to setup the network for this network card: wlan0” you choose

"enter_shell Enter_command_line_prompt,_Do_it_manually" 

and hit enter.

Then you will get info “Now enter another shell. When everything is done, run “exit” to go back to the original program. Press “Enter” to continue” here you just hit enter again.

Now you can check if your wlan nic is ok and run command:

iw dev

and you should see couple of lines and one line should be “Interface wlan0”.

Now we can bring our wlan nic up with a command:

ip link set wlan0 up

Continue reading How to use Clonezilla on wireless network

VMWare Esxi: Shutting down firmware services… error

I was installing vmware esxi one of my servers and got error to my screen:

VMWare esxi error

Shutting down firmware services…
Page allocation error: Out of resources
Failed to shutdown the boot services.
Unrecoverable error

First I thought that the problem was with my install media so I did new usb dongle with Rufus but got the same error.

When I started to check my BIOS settings and found out that if I have UEFI boot chosen I get that error but if I change it to “Legacy BIOS” vmware esxi works perfectly.

Boot List Options

Continue reading VMWare Esxi: Shutting down firmware services… error

How to reset Logitech bluetooth keyboard?

My Logitech K810i bluetooth keyboard sometimes start to do it’s own things and output wrong characters when I try to type something.
Example when I try to use “<" or ">” I get something like “§” and “½” and so on to my screen. Rebooting the computer or turning the keyboard on and of didn’t work but there
is pretty easy fix to this. You just have to:

1. Press “Escape”
2. then “o”
3. then “Escape”
4. then “o”
5. then “Escape”
6. then “b”

and now your keyboard should be reseted. If this didn’t help try to unpair your Logitech bluetooth keyboard from your machine before this
but I haven’t done that and this has still worked fine. You might need to reconnect your Logitech bluetooth keyboard to your computer after this but that
you do normal way depending about your computer OS and so on. This probably works with other Logitech bluetooth keyboards too but I have only tested this with my Logitech K180 bluetooth keyboard.

Automated Clonezilla image creation and restoring

Automated Clonezilla Restore or create image

I added and edited these lines on my /syslinux/syslinux.cfg file (Of course change *USERNAME*, *PASSWORD*. and *IP* if you are going to try this):

Restore disk image:

label Restore disk image
MENU LABEL Restore disk image
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config noswap edd=on nomodeset noprompt locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_batch="yes" ocs_prerun="dhclient -v eno1" ocs_prerun1="sleep 2" ocs_prerun2="sudo mount -o user=*USERNAME*,password=*PASSWORD* //*IP*/images /home/partimag" ocs_prerun3="sleep 2" vga=788 nosplash ocs_live_run="sudo ocs-sr -g auto -e1 auto -e2 -r -j2 -p reboot restoredisk ask_user sda"

This will start Clonezilla, ask stupid keyboard question and after that:
– Get IP-address from DHCP server for eno1 (First ethernet network interface)
– Mount images directory from my NAS
– Show list of all images on my NAS
– Restore selected images to the first disk on my computer.
– Reboot the computer

Automated Clonezilla list of images

Continue reading Automated Clonezilla image creation and restoring

Raspberry Pi and GPS problems

Raspberry Pi and gpsd problems

I have used same GPS dongle and same settings with my Raspberry Pi projects for years but now suddently I started to have problems with it.
It worked perfectly just after installing gpsd and things but after reboot I couldn’t get it work.

apt-get remove gpsd

and then

apt-get install gpsd

always seemed to get it to work until next reboot but that couldn’t be the real fix for this problem especially when this should work offline.

Then I found out that if I stop gpsd.socket and disable it then my gpsd worked just liked it should and I started to get NMEA data from my GPS dongle:

systemctl stop gpsd.socket
systemctl disable gpsd.socket

Not sure why or when this has changed so if anybody know feel free to comment and tell me.