01-21-2014 09:23 AM - edited 03-07-2019 05:42 PM
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
Solved! Go to Solution.
01-21-2014 03:19 PM
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
01-22-2014 03:49 AM
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 ***
06-08-2014 10:27 AM
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.
01-21-2014 03:19 PM
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
01-21-2014 06:17 PM
Thank you for your time answering my question , I appreciate it .
Let me try it.
01-21-2014 06:37 PM
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$
01-21-2014 07:17 PM
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
01-22-2014 03:49 AM
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 ***
02-22-2016 03:02 AM
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
08-15-2018 05:57 AM
03-09-2020 03:38 AM
John,
I tried a lot of suggestions before yours. Lets just say I don't need to try anymore. Thank you.
08-26-2024 11:17 AM - edited 08-26-2024 11:18 AM
The "screen" command worked for me as well after I stopped trying to copy and paste the name of the port!
01-28-2014 10:28 PM
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
04-23-2015 02:28 PM
Thank you so much..Up and running! So long third party software....
07-07-2016 07:11 PM
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.
07-27-2017 04:46 AM
Hello! Your solution works great, except Mac went to some kind of BSOD, after unpluging usb-to-com adapter.
10-03-2019 05:12 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide