Category: Operating System

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

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

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

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

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.

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

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

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

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

How to hide macintosh update ?

If  you are facing update that keeps repeating, try execute the below command to ignore the update that not required.   > softwareupdate -l Software Update Tool Copyright 2002-2012 Apple Inc. Finding available software Software Update found the following new or updated software: * ThunderboltFirmwareUpdate1.2-1.2 Thunderbolt Firmware Update (1.2), 134K [recommended] [restart]   > sudo …

Continue reading