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

Share and Enjoy !

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.

Share and Enjoy !

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 DEFAULT
# MENU HIDE
MENU LABEL Restore disk image
# MENU PASSWD
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"
TEXT HELP
ENDTEXT

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

Share and Enjoy !

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.

Share and Enjoy !

Raspberry Pi and D-Link DWM-222

I’m not sure why every tutorial talk about usb-modeswitch because I haven’t use it and I can connect to internets with my D-Link DWM-222 without any problems.

I might have understood something wrong (if I have please comment and let me know) but this is how I do it.

Hardware:

  • D-Link DWM-222
  • Raspberry Pi 3 Model B+

Software: Continue reading Raspberry Pi and D-Link DWM-222

Share and Enjoy !