Showing posts with label Mac. Show all posts
Showing posts with label Mac. 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!

Monday, December 23, 2013

Jabber Video for Telepresence 4.6 - unable to recognize camera on Maverick OS X 10.9

Got an issue on Jabber Video 4.6 on Mac, it can login but can't recognize the iSight camera after I upgraded my MBP to Maverick.  You need to upgrade to 4.7 in order to fix this issue.  I have upgraded to 4.7.4 and works well on my Mac.


Monday, December 2, 2013

Maverick - No Java runtime present, requesting install

After upgrading to Maverick (OS X 10.9), when I try to run java –version in terminal, it showed the error "No Java runtime present, requesting install", however nothing happens except showing this error message.  The solution is to download the official java package from apple website:

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

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


Monday, October 17, 2011

iPhoto 9.2 crashes with PhotoStream enabled

My environment: Mac OS X Lion 10.7.2, iPhoto 9.2

I have my Mac OS and iPhoto updated, with the new capability PhotoStream which allows you synchronize your photos on iPhone and iPad via iCloud. The problem is when I enabled PhotoStream on iPhoto, it crashes every time when iPhoto is launched. The resolution is removed the 3ivx in your Mac. What I have done is to search 3ivx in spotlight, then use the uninstaller to install it. Crap!

This is the post that I have found my solution:
https://discussions.apple.com/thread/3375532?start=0&tstart=0

Wednesday, July 27, 2011

"com.apple.transporter.util.StreamUtil.readBytes" error while submitting iPhone apps from Xcode

My environment:  Xcode 4.1, iOS SDK 4.3, Lion


I am working on my first iPhone apps and when I tried to submit the iPhone apps after validation success, the following error is shown:


“com.apple.transporter.util.StreamUtil.readBytes(Ljava/io/InputStream;)[B”


Good thing is I am not alone, the workaround is uninstall Xcode and reinstall again, that works for me.


sudo /Developer/Library/uninstall-devtools –mode=all


Now I am waiting for the app review and approval, can't wait to see my first app in app store!

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