Category: Linux

Oct 18 2017

Fixed multiple security vulnerabilities regarding WPA/WPA2 protocols for wireless connections for my home storage

Fixed multiple security vulnerabilities regarding WPA/WPA2 protocols for wireless connections for my home storage (CVE-2017-13077, CVE-2017-13078, CVE-2017-13079, CVE-2017-13080, CVE-2017-13081, CVE-2017-13082, CVE-2017-13084, CVE-2017-13086, CVE-2017-13087, CVE-2017-13088.

Mar 23 2017

Enable Google Authenticator 2FA for the SSH on your Raspberry PI

1.Install the lib and the program @raspberrypi:/# sudo apt-get install libpam-google-authenticator Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: libqrencode3 The following NEW packages will be installed: libpam-google-authenticator libqrencode3 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 59.7 …

Continue reading »

Oct 17 2016

How to fix Perl warning setting locale failed on Raspbian

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = “UTF-8”, LANG = “en_GB.UTF-8” are supported and installed on your system. perl: warning: Falling back to a fallback locale (“en_GB.UTF-8”). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot …

Continue reading »

Jun 15 2016

It time to upgrade my server from Ubuntu 14.04 LTS to 16.04 LTS

Now is June, which is two more months to end of life date is HWE August 2016. Time flies, I have been hosting my server on ubuntu OS for more than four years from the version Ubuntu 10.04.4 LTS till the current version Ubuntu 14.04.4 LTS. So it time to spend some time to upgrade to next OS …

Continue reading »

Mar 21 2015

Original firmware recovery in OpenWrt CLI

Using the program mtd: cd /tmp wget mtd -r write /tmp/original_firmware.bin firmware If you want to remove DD-WRT to install OpenWRT, you should write to the device “linux” instead of “firmware”. mtd -r write /tmp/original_firmware.bin linux

Oct 18 2014

Simple steps to format SD card mounted on router using busybox

Below is a simple command to format your SD card mounted, <label> is optional to set volume label. mkfs.ext3 -L <label> /dev/sdx1 see more info here

Oct 17 2014

Fix Ubuntu SSLv3 POODLE issue in Apache

1) Edit the file that holds the Apache SSL configuration: sudo nano /etc/apache2/mods-enabled/ssl.conf 2) Find the following line: SSLProtocol all -SSLv2 3) Add the option “-SSLv3″ so that the line will look like this: SSLProtocol all -SSLv2 -SSLv3 4) Now restart Apache to make the change effective: sudo service apache2 restart

Oct 03 2014

Ubuntu Failed to fetch

  Failed to fetch  Hash Sum mismatch The above error message can be easily resolve by just remove the content of /var/lib/apt/lists directory: sudo rm -fR /var/lib/apt/lists/* then run: sudo apt-get update

Apr 28 2014

Turn off mei_me unexpected reset

[65.456035] mei_me 0000:00:03.0: reset: connect/disconnect timeout.

Continue reading »

Apr 18 2014

OpenWRT TL-WR703N WAN configuration

OpenWRT TL-WR703N WAN configuration   Original config config interface ‘loopback’ option ifname ‘lo’ option proto ‘static’ option ipaddr ‘’ option netmask ‘’   config interface ‘lan’ option ifname ‘eth0’ option type ‘bridge’ option proto ‘static’ option ipaddr ‘’ option netmask ‘’

Continue reading »