Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Webcast- Automate Nexus9k

Community Member

How to use a MAC for connecting through the console port ?

I have a MAc book air with OS x 10.7.5,

I bought the adapter usb to serial port, but the drivers that come with it are for Windos , I am stuck .

No idea what to do for using the mack for connect to the console port of my cisco labs routers.

Please any idea of what to do would be graet .

Thanks

3 ACCEPTED SOLUTIONS

Accepted Solutions

Re: How to use a MAC for connecting through the console port ?

You'll need to get a usb-serial adapter and then connect with a console cable. Adapters aren't very expensive.

Connecting to the Console Port with Mac OS X
To connect a Mac OS X system USB port to the console using the built-in OS X Terminal utility, follow these steps:
Step 1 Use the Finder to go to Applications > Utilities > Terminal.

Step 2 Connect the OS X USB port to the router.

Step 3 Enter the following commands to find the OS X USB port number:

macbook:user$ cd /dev
macbook:user$ ls -ltr /dev/*usb*
crw-rw-rw- 1 root wheel 9, 66 Apr 1 16:46 tty.usbmodem1a21
DT-macbook:dev user$
Step 4 Connect to the USB port with the following command followed by the router USB port speed:

macbook:user$ screen /dev/tty.usbmodem1a21 9600
To Disconnect the OS X USB Console from the Terminal Window
Enter Ctrl+A followed by Ctrl+\

Hth,
John

Sent from Cisco Technical Support iPhone App

HTH, John *** Please rate all useful posts ***

Re: How to use a MAC for connecting through the console port ?

There are a couple other things that can be tried. Connect the usb cable to your laptop, and then drop to terminal and type this:

ls /dev/tty*

Find the device that's associated to your usb port. Then use screen to that:

screen /dev/tty-xxxx

If that doesn't work try this:

ioreg -c IOSerialBSDClient  | grep usb

If it comes back with something, find the IOSerialCallOutDevice and screen to that:

screen /dev/cu.usbserial

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
Community Member

There's a new Mac app called

There's a new Mac app called Serial available on the App Store. Full disclosure- I wrote it. We got tired of having to find and install drivers for different serial adapters and devices we have here in order to administer Cisco switches, so we wrote our own terminal that uses its own built-in drivers for the most common chipsets available. There's a free demo available.

Also, as of Mac OS X 10.9, Apple began shipping their own FTDI driver. So, if you're using a USB-serial adapter that uses the FTDI chipset (many of the higher-end adapters do), you don't need to worry about installing drivers and can use the built-in screen command in the Terminal to access serial ports.

15 REPLIES

Re: How to use a MAC for connecting through the console port ?

You'll need to get a usb-serial adapter and then connect with a console cable. Adapters aren't very expensive.

Connecting to the Console Port with Mac OS X
To connect a Mac OS X system USB port to the console using the built-in OS X Terminal utility, follow these steps:
Step 1 Use the Finder to go to Applications > Utilities > Terminal.

Step 2 Connect the OS X USB port to the router.

Step 3 Enter the following commands to find the OS X USB port number:

macbook:user$ cd /dev
macbook:user$ ls -ltr /dev/*usb*
crw-rw-rw- 1 root wheel 9, 66 Apr 1 16:46 tty.usbmodem1a21
DT-macbook:dev user$
Step 4 Connect to the USB port with the following command followed by the router USB port speed:

macbook:user$ screen /dev/tty.usbmodem1a21 9600
To Disconnect the OS X USB Console from the Terminal Window
Enter Ctrl+A followed by Ctrl+\

Hth,
John

Sent from Cisco Technical Support iPhone App

HTH, John *** Please rate all useful posts ***
Community Member

How to use a MAC for connecting through the console port ?

Thank you for your time answering my question , I appreciate it .

Let me try it.

Community Member

Re: How to use a MAC for connecting through the console port ?

What I am making wrong ?

Last login: Tue Jan 21 21:49:18 on ttys001

Ernestos-MacBook-Air:~ riveron08$ cd /dev

Ernestos-MacBook-Air:dev riveron08$ ls -ltr /dev/*usb*

ls: /dev/*usb*: No such file or directory

Ernestos-MacBook-Air:dev riveron08$ crw-rw-rw- 1 root wheel 9, 66 Apr 1 16:46 tty.usbmodem1a21

-bash: crw-rw-rw-: command not found

Ernestos-MacBook-Air:dev riveron08$ DT-macbook:dev user$

-bash: DT-macbook:dev: command not found

Ernestos-MacBook-Air:dev riveron08$

Community Member

Re: How to use a MAC for connecting through the console port ?

I found this in my MAC in about my MAC

USB-Serial Controller D:

Product ID:          0x2303

Vendor ID:          0x067b  (Prolific Technology, Inc.)

Version:           4.00

Speed:          Up to 12 Mb/sec

Manufacturer:          Prolific Technology Inc.

Location ID:          0xfd110000 / 3

Current Available (mA):          500

Current Required (mA):          100

Re: How to use a MAC for connecting through the console port ?

There are a couple other things that can be tried. Connect the usb cable to your laptop, and then drop to terminal and type this:

ls /dev/tty*

Find the device that's associated to your usb port. Then use screen to that:

screen /dev/tty-xxxx

If that doesn't work try this:

ioreg -c IOSerialBSDClient  | grep usb

If it comes back with something, find the IOSerialCallOutDevice and screen to that:

screen /dev/cu.usbserial

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
Community Member

Hi

Hi

Whilst I am using the Serial app successfully, I would still like to understand how one could connect with the min-USB cable without paying $30. It is not a lot of money, to be sure, but it is a barrier to adoption, which is a shame.

I am using El Capitan 10.11.3. None of the options for finding a device I can use the "screen" command with are working for me.

Many thanks

Nathan

Bronze

Re: How to use a MAC for connecting through the console port ?

Have you installed a driver for the Prolific 2303 chipset on the serial-USB adapter?

http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=229&pcid=41

Community Member

Thank you so much..Up and

Thank you so much..Up and running! So long third party software....

 

Community Member

hi,

hi,

hope someone still answer my question, i have installed the drivers and was able to see the the tty.usb from my mac terminal, i can also connect properly. My problem is that when i issue a command through console, it freeze up after a few lines of output. It will not let me continue and i have to exit "screen" and run it to gain access. Even if i use other terminal application, results are the same.

Am i missing something or do i have to configure something on my terminal app?

TIA for those who will answer.

Community Member

Hello! Your solution works

Hello! Your solution works great, except Mac went to some kind of BSOD, after unpluging usb-to-com adapter. 

Community Member

There's a new Mac app called

There's a new Mac app called Serial available on the App Store. Full disclosure- I wrote it. We got tired of having to find and install drivers for different serial adapters and devices we have here in order to administer Cisco switches, so we wrote our own terminal that uses its own built-in drivers for the most common chipsets available. There's a free demo available.

Also, as of Mac OS X 10.9, Apple began shipping their own FTDI driver. So, if you're using a USB-serial adapter that uses the FTDI chipset (many of the higher-end adapters do), you don't need to worry about installing drivers and can use the built-in screen command in the Terminal to access serial ports.

Community Member

Thanks for your time

Thanks for your time answering my questions

I will give it a try.

Thanks

 

Community Member

Nice tool... but for 30 euros

Nice tool... but for 30 euros I think I´ll stick to the instructions provided by John here below :)

Bronze

Ok.. This software rocks.

Ok.. This software rocks. Just tried it and it found the USB-Serial adapter and boom. took I think 60 secs..

307831
Views
178
Helpful
15
Replies
CreatePlease to create content