e blue pointer

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

%Error opening tftp://255.255.255.255/network-confg (Timed out)

After IOS update if you experience the below issue/error :   %Error opening tftp://255.255.255.255/network-confg (Timed out) %Error opening tftp://255.255.255.255/cisconet.cfg (Timed out) %Error opening tftp://255.255.255.255/router-confg (Timed out) %Error opening tftp://255.255.255.255/network-confg (Timed out) %Error opening tftp://255.255.255.255/router.cfg (Timed out)     Then you need to use “no service configure” in configure mode to disable it.

How to delete router configuration

write erase command when in enable mode. This is an old command, but it is still supported, and works on all the switches and routers. On switches, also delete the vlan.dat file in flash otherwise it still ‘remembers’ the vlans configured. When you have done the command, reload the router, and it is back to …

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.

Cisco Catalyst 2900/3500/3550 XL Recovery

As per Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches: Unplug the switch. Press the Mode button (left side of front panel) and keep it depressed. Reconnect power. When the LED above Port 1x goes out, release the Mode button. Issue the flash_init command: switch: flash_init Initializing flash… (output deleted…) Issue the load_helper …

Continue reading