Archive for June, 2010


Creating a new Admin on Mac Os X

June 29, 2010

Here’s how to reset your OS X password without an OS X CD.
the Working solution for me was to create a new admin
you can create new admin like this by deleting a specific file.

You need to enter terminal and create a new admin account:

1. Reboot
2. Hold apple key + s key down after you hear the chime. (command + s on newer Macs)
3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):

mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now

4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and your good to go again!

Apple stores wont reset it for you. Computer shops may charge you $50 to $200 trying to reinstall the Mac and failing at end.


3Com 4500 switch firmware update

June 28, 2010

This is mostly for my own notes, but someone else may find it useful.

I used TFTP method to transfer file to the switch. I used Linux Fedora TFTP daemon to accomplish that.

File name Prefix / Suffix

s3n / .app = 4500 application software.
s30 / .btm = 4500 boot ROM software
s3p / .web = 4500 web file (HTTP management interface)
3comOScfg.def / .def = 4500 config file

<4500>delete /u s3004_01.btm
<4500>delete /u s3p04_03.web
<4500>detete /u

<4500>clock timezone PDT minus 7
<4500>clock summer-time PDT repeating 02 2010 March second Sunday 02 2010 November first Sunday 01
<4500>ntp-service unicast-server

<4500>tftp get 3com/
<4500>tftp get 3com/s3o04_02.btm
<4500>tftp get 3com/s3p04_03.web

<4500>boot boot-loader flash:/
<4500>boot bootrom flash:/s3o04_02.btm

and after rebooting the switch:

<4500>boot web-package s3v02_04.web main


ASA 5510 MTA transfer from 8.0.4 to 8.2.2

June 16, 2010

SD-ASA-5510# conf t
SD-ASA-5510(config)# no service-policy voice_policy interface outside
SD-ASA-5510(config)# phone-proxy ASA-phone-proxy
SD-ASA-5510(config-phone-proxy)# no media-termination address
SD-ASA-5510(config-phone-proxy)# exit
SD-ASA-5510(config)# media-termination MTA
SD-ASA-5510(config-media-termination)# address interface outside
SD-ASA-5510(config-media-termination)# address interface inside
SD-ASA-5510(config-media-termination)# phone-proxy ASA-phone-proxy
SD-ASA-5510(config-phone-proxy)# media-termination MTA
SD-ASA-5510(config-phone-proxy)# service-policy voice_policy interface outside