Showing posts with label Apple. Show all posts
Showing posts with label Apple. Show all posts

Monday, November 6, 2017

Telnet is missing in High Sierra

I haven't update this blog for quite some time, with a lot of good excuses, such as spending time with the kids, moving to a new team, working on the final year of my LLB degree, etc.  Still I want to find some time to share what I have learnt in my every day life.  I've just got an issue with my MBP after upgrading to High Sierra.

I love to press the upgrade/update button every time I have a chance to, and as I am so busy lately I haven't done it in the earliest possible time.  I decided to do it yesterday and I just wanted to telnet to a switch in my home to change some configuration, and I've got this unbelievable error:

-bash: telnet: command not found

The telnet client is gone!  Although there are many workarounds to get it back, such as using another client like SecureCRT, or change everything to ssh which is more secure, etc.  I still like to do it with my terminal as it is handy.  So this is what I have done to bring it back.

Download inetutils here:
http://ftp.gnu.org/gnu/inetutils/

I have downloaded inetutils-1.9.4.tar.gz to my MBP. 

Untar and unzip it:
tar zxf inetutils-1.9.4.tar.gz 

Build from source:
./configure
make
sudo make install

Verify it:
which telnet

And you should see telnet is built and installed in /usr/local/bin
/usr/local/bin/telnet

And now you get your telnet back!

Tuesday, July 3, 2012

Factory reset your Mac Lion

This is something I have just done today.  Reset my Mac to factory default then restore the data from TimeMachine on my NAS.

1. Restart the Mac then press command-R, until you see the Apple logo
2. The Recovery HD will start up, you will see "Mac OS X Utilities"
3. Choose "Disk Utility", the erase your partition with data that you don't want
4. Choose Reinstall Mac OS X Lion, make sure you have either wired or wireless network connected
5. Restore from Mac OS X after Lion is installed, either from the initialization wizard or migration assistant after install

Reset Mac OS X root password

The prerequisite is your current login with admin right.

sudo passwd root

Thursday, June 21, 2012

Force Spotlight Reindex

My spotlight on MBP seems not working well, the following command force the spotlight to reindex:

sudo mdutil -E /

Friday, February 3, 2012

Using your MacBook as wireless access point

I am using a MBP and I don't want to setup a permanent wireless access point at home for some reason, so the easiest way for me to create a home wireless network occasionally is to using my MBP to share my wired connection with wifi.

To do it, first go to System Preferences, choose Sharing:


Then turn on the Internet Sharing.  Share your connection from:  "Ethernet", and To computers using "Wifi"



Your wireless icon on the top menu bar should change to:


You can optionally config security for your wireless network, however only WEP is supported  :(


My current OS Version when I write this post:  OS X Lion 10.7.3

OSX 10.7.3 - Finder and other apps keep crashing after update

After updating to 10.7.3 through the Software Updater, the Finder and other apps keep crashing and the keyboard is not responsive after the Finder is forced close.  Problem solved after download the 10.7.3 Update Client Combo, install and reboot it.  It is quite stable for 30 minutes already, hopefully it will not crash after I publish this post.  :(

Download the client combo here:
http://support.apple.com/kb/DL1484


Sunday, September 11, 2011

Remote Call Forward - Call Forward your desk phone extension to your mobile

Remote Call Forward is an iPhone application that allows you to call forward your desk phone calls to your preferred numbers, mostly your mobile phone, when you are away from your desk.

It works with Cisco UC Manager, if you are on premises you can access UCM with wifi; if you are on the road, you can access the corporate network via Cisco AnyConnect VPN, provided that your company has a ASA / ISR headend in place.

Key features:
- Call Forward your desk phone extension when you are away from phone
- Works with wifi when you are on premises
- Works with Cisco Anyconnect when you are off premises
- Save your profile

Note:  The end user need to have Standard AXL API access right in order to use this app!

Check it out:
http://itunes.apple.com/us/app/remote-call-forward/id462292296?ls=1&mt=8

Video Demo:
http://www.youtube.com/watch?v=at0_93DooAk

Facebook Group:
http://www.facebook.com/pages/Remote-Call-Forward/205996216130455






Friday, August 26, 2011

1-Click Extension Mobility Error Codes

If you encountered errors with the Extension Mobility apps, check out the below table to see what the error is:


iPhone apps - 1-click Extension Mobility for Cisco UCM

This is my second iPhone apps in app store and this is an application that allows you to login and logout your Cisco IP phone with Apple iPhone.  Good thing is you don't need to access the IP phone and press a lot of keys to login / logout, and repeat it everyday.  With the 1-click Extension Mobility apps, all you need is to do it once, then save the profile, you can login and logout with 1-click afterwards.

View in iTunes store:
http://itunes.apple.com/us/app/1-click-extension-mobility/id456944750?ls=1&mt=8

View the video demonstration:
http://www.youtube.com/watch?v=MDlCV9ZRCCU








Friday, May 6, 2011

Restart VMWare processes on VMWare Fusion 3

My environment:  VMWare Fusion 3 on Mac OS X 10.6

I've encountered a weird problem that the bridged VM can't access the outside world as well as the host as well.  When the VM boots up I received several ping reply and all ping are lost after it fully boots up.  After troubleshooting for hours, a process restart solved the problem.  To restart the process on Mac:

sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --restart