Category: Linux

Installation of COMFAST CF-912AC (RTL812AU Chipset) USB WIFI dongle driver for raspberry pi

6 Easy steps as below: Downloads the installation file: sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi Makes it executable: sudo chmod +x /usr/bin/install-wifi Check for driver if rpi-update is run: sudo install-wifi -c rpi-update Check if a driver is available you can run rpi-update to update firmware. sudo rpi-update Now update the driver for the new kernel …

Continue reading

Setup headless raspberry pi with a from mac os

Enable SSHD on your Pi To enable sshd, insert sd card on your computer and navigate to the root directory using terminal. On macOS find the correct directory in /Volumes enter the via cd. cd /Volumes/boot   Creates an empty file named “ssh” in the root directory of your sd card. touch ssh   Once you …

Continue reading

Setup WiFi on Raspberry Pi using Wicd

Step 1 Insert wifi dongle before booting up your raspberry pi. Using Cli install the wicd-curses: sudo apt-get install wicd-curses Step 2 Wicd is a well-known package to manage wifi networks from any Linux computer. Once installed, you can execute it: sudo wicd-curses   You will be welcomed with a screen showing the available wifi …

Continue reading

Motorola Access Point AP6521 – Unable to connect to configuration-manager, executing limited diagnostic shell

I ‘ve got a Motorola Access Point AP6521 failure to boot up, checking at the console and it showing the error below: AP6521 login: Password: Unable to connect to configuration-manager: No such file or directory Welcome to CLI Unable to connect to configuration-manager, executing limited diagnostic shell ==== WARNING ==== The CLI process has not initialized. …

Continue reading

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.

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

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

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

Original firmware recovery in OpenWrt CLI

Using the program mtd: cd /tmp wget http://www.example.org/original_firmware.bin 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

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 http://linux.die.net/man/8/mkfs.ext3