Saturday, November 21, 2009

Downgrading from donut to cupcake

After few weeks with donut, i decided to downgrade to cupcake with the following difficulties:

1) the browser often hangs
2) Cannot run pdf viewer
3) Nothing new on donut

I took the pain of resetting the phone to factory default by the following command

boot into recovery mode by pressing "home" key during boot up
Press Alt-L for verbose mode
Press Alt-W for resetting to factory default

I need to input the access point information as follows:

For StarHub 3G APN setting:

Name : StarHub Internet
APN : shwapint
APN Type : default

For StarHub MMS APN setting:

Name : StarHub MMS
APN : shmms
MMSC : http://mms.starhubgee.com.sg:8002/
MMS proxy : 10.12.1.80
MMS port : 80
APN Type : mms

Have to re-login to gmail

Tuesday, November 03, 2009

To install pdf viewer on android 1.5

adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

dd if=/sdcard/download/libpdfreader.so of=/system/lib/libpdfreader.so
dd if=/sdcard/download/FilePicker.apk of=/system/app/FilePicker.apk

Sunday, November 01, 2009

boot android in safe mode
1) power down by pressing power off button
2) power up by pressing menu button
3) boot in safe mode

Friday, September 11, 2009

configuring snmp on router
snmp-server community public ro
snmp-server community ro
snmp-server community rw 60


access-list 60 permit

Thursday, September 10, 2009

command to erase cisco switch
Login
Enable
#write erase
#del flash:vlan.dat

Friday, September 04, 2009

command to mount usb thumb drive on solaris 10

For more than 1 type of filesystem
#/sbin/mount -f pcfs /dev/dsk/c5t0d0s0:c /mnt/usb

Wednesday, June 17, 2009











Android 1.5 aka Cupcake









Back cover Design













Android Virtual Keyboard


































How to upgrade to cupcake for ADP1

Update the Device Radio Firmware
1) Ensure that a SD card is inserted in the device
2) Boot the device normally
3) Connect the device to your development machine over USB.
4) Use the adb push command to copy the contents of the radio image package to the update.zip archive on the device's SD card:
adb.exe push .zip /sdcard/update.zip
5) Reboot the device into recovery mode by holding down the HOME key during reboot. When the device enters recovery mode, it displays a "!" icon.
6) Press ALT+L key combination to enable log output in the recovery console.
7) Press ALT+s key combination to install the update. An "installing update" icon and progress
8) Press the HOME-BACK key combination to write the radio image, update the firmware, and automatically reboot. Note that if you do not use HOME-BACK at this point, the device will not load the updated radio image.

There are 2 methods to upgrade the system image. I have choosen the Recovery Image method as follows:

1) Ensure that the SD card containing the updated radio image is inserted in the device (refer to "How to boot into fastboot mode")
2) Boot the device normally
3) Connect the device to your development machine over USB.
4) Use the adb sync command to copy the contents of the radio image package to the update.zip archive on the device's SD card:
adb.exe push .zip /sdcard/update.zip
6) Reboot the device into recovery mode by holding down the HOME key during reboot. When the device enters recovery mode, it displays a "!" icon.
7) Press ALT+L key combination to enable log output in the recovery console.
8) Press ALT+s key combination to install the update. An "installing update" icon and progress
9) Press the HOME-BACK key combination to write the radio image, update the firmware, and automatically reboot. Note that if you do not use HOME-BACK at this point, the device will not load the updated radio image.

How to boot into fastboot mode

1) To enter fastboot mode, power up the device (or reboot it) while holding down the BACK key. Hold the BACK key down until the bootloader screen is visible and shows "FASTBOOT".
2) To exit fastboot mode at this point, you can hold down the keys MENU+SEND+END

Thursday, February 26, 2009

i was trying to bypass the Foundry Server Iron XL password. The following is how i manage to do so:

1) Unplug the Switch
2) Plug the switch back in, and be immediately ready to:
3) Hit b, to enter into the boot monitor
4) Type: no password
boot system flash primary
5) It will boot up, and you can ‘enable’ without being prompted for a password

BINGO!!

Thursday, January 15, 2009

Performance Monitoring using perfmon


Configuring the counters to monitor











Convert the blg file into csv for plotting graph































Monday, December 29, 2008

Finally got my open solaris CD ...

Its has been really a long time since i got some hands on on foss stuff again. Lately i am exploring cfengine. Heres the link for cfengine that suppose to helps in automation of system administration task.


Downloaded the following:

cfengine-3.0.0b9.tar.gz
db-4.7.25.zip

Berkeley db is required for installation of cfengine. I only realised that oracle has bought over sleepycat....gosh...see how long i have not done this!!

I took the reference from the following site...


Unzip the db tarball
unzip db-4.7.25.zip
cd db-4.7.25
cd build_unix
../dist/configure

oops..run into some error while configuring on the sun solaris 10 on sparc...

..

checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
.
.
.
Did some google and found the workaround as follows:

export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export CC=gcc

continued with my installation

../dist/configure
make (gosh...its taking such long time...)

Hit this error!