Category: Operating System

Terminal command for querying the battery percentage in Mac

Terminal command for querying the battery percentage in Mac Recently after upgraded my Snow Leopard to Lion OSX, my bluetooth no longer showing the correct battery percentage any more. It just stays at 100% even though your batteries are dead flat.   Hence the below is the terminal command for querying the battery percentage in …

Continue reading

IOS5 Upgrade error “Unknown Error -23″

Hi All A lot of people on IOS seems having problem to upgrade to iOS5 having issue, one common “Unknown Error -23″. it is possible of corrupted IOS downloaded, solution which is to update it manually. 1. Download the iOS5 manually. See iOS 5 Now Available: iPhone 4 GSM http://appldnld.apple.com/iPhone4/041-8358.20111012.FFc34/iPhone3,1_5.0_9A334_Restore.ipsw 2  For Mac users, copy the iOS5 file to “~/Library/iTunes/iPhone Software Updates“. …

Continue reading

Setup a PXE environment at home to install Ubuntu 10.10 on client without CD-rom/Floppy

Setup a PXE environment at home to install Ubuntu 10.10 on client without CD-rom/Floppy Things you need: 1/ DHCP Server (Existing home router) 2/ TFTP Server (from Ubuntu 10.10) Steps 1/ Existing ubuntu run the following: sudo apt-get install tftpd-hpa tftp-hpa xinetd   3/ Copy unbuntu boot file to tftp path:   If you have …

Continue reading

Root Viewsonic Viewpad 7

Disclaimer: Proceed at your own risk. I’m not responsible if your device gets bricked or damaged during the process. Prerequisite 1. You need to have working USB connection between your computer and Viewpad 7. If you have installed “PC Tools” software that shipped with your ViewPad 7, that should have installed the necessary drivers. Alternatively, …

Continue reading

Multiple LAN subnets/VLAN (WRT54GL – Tomato firmware)

Router Setup Access the router through ssh or telnet. On Windows you can use Putty. On unix you can use the Terminal. In the router console, type the following command: nvram show | grep vlan.ports   If you get the following output you are ready to proceed:   vlan0ports=3 2 1 0 5* vlan1ports=4 5 …

Continue reading

Wiping hard drive clean in linux

Two good methods of “clearing” your hard drive are: With a Ubuntu or Live CD and in a terminal do this: sudo dd if=/dev/zero of=/dev/XdY or sudo dd if=/dev/random of=/dev/XdY where XdY is the drive, i.e. sda, sdb, or hda, hdb, etc.