Category Archive: Operating System

Apr 25 2017

Add proxy to Raspberry Pi 3

cd /etc/apt/apt.conf.d Create a file named 10proxy: sudo nano 10proxy Without authentication add the following line: Acquire::http::Proxy “http://yourproxyaddress:proxyport”;   With authentication: Acquire::http::Proxy “http://username:password@yourproxyaddress:proxyport”;

Apr 10 2017

How to create large dummy file in windows

Start your command prompt and try using the below command   fsutil file createnew filename length For example if you wanted tp create a file name 100MB.txt with 100MB Size, you can execute the below command. fsutil file createnew 100MB.txt 102400000

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 »

Nov 13 2016

Mac OSX terminal command line for wifi

Show and List all your network adaptor networksetup -listallhardwareports   Turn off wifi on your macbook networksetup -setairportpower en1 off   Turn off wifi on your macbook networksetup -setairportpower en1 on   Scan and list the available wifi network /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport scan

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 »

Sep 12 2016

Apple iOS 10 releasing on 14th September 2016 (0100 HRS – SGT)

The most anticipated Apple iOS 10 will be releasing on 14th September 2016 at 0100HRS Singapore time and this is the moment that lot of Apple fan been waiting for. Not all Apple device will be receiving this major iOS updates, especially those devices that are still on 30pin sync/charger connection.

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 »

Apr 10 2016

Apple removed Mac login using iCloud password since OS X 10.11.4.

Recently, trying to troubleshoot a bug on my MBP, I’ve signed out from iCloud and realise iCloud login option no longer available. After some research Apple actually removed Mac login using iCloud password since the release of OS X 10.11.4, it doesn’t forcibly remove it from existing accounts, but if you turn it off, you …

Continue reading »

Jun 01 2015

MS Windows Server 2003 R2 SP2 Standard

This is rather an old article referring MS Windows Server 2003 R2 SP2 Standard or equivalent. Very often on manual window server update, the download might fail. The below are some command you can try stop the services and clean up the download caches. C:\Documents and Settings\Administrator>net stop WUAUSERV The Automatic Updates service is stopping. …

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

Older posts «