Tuesday, June 23, 2015

Enabling and utilizing cu for USB to console connections


cu - Call up another system

I know I am upgrading my MBA with a Mac Book Pro soon so I wanted to post these instructions before I forget how to get cu to work again :)

First, to get the usbserial ports to work, on the mac, we have to download PL2303_MacOSX_v1.5.1.pkg and install it. (update 26 Jan 2016: If you have upgraded to El Captain then refer to this link. http://plugable.com/2011/07/12/installing-a-usb-serial-adapter-on-mac-os-x  AND http://plugable.com/drivers/prolific/ )

NOTE: If your Mac complains about the security you'll have to go into System Preferences - Security & privacy and tell it to install anyway.

Once it does install you have to reboot the laptop.

Upon reboot:

        $ ls /dev/cu.*
        /dev/cu.usbserial

        $ sudo cu -l /dev/cu.usbserial -s 9600
        Connected

        Login: 

Now to end this session you want to use ~. (tilde dot) to close it out


No comments:

Post a Comment