Category: Linux

RPi Serial Console Server

Installation of ser2net using the below command. sudo apt updatesudo apt upgrade -ysudo apt install ser2net -y dmesg | grep tty You should able to see filtered dmesg to check if your USB-Serial dongle had been recognised or not. If the dongle is multiple serial output them you should have multiple /dev/ttyUSB0…1,2,3,etc. See below image …

Continue reading

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 -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 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