Console into a Cisco Router via screen command is not working. Can anyone help?

Hello Everyone,


I'm trying to console into a Cisco router to configure it from my Macbook pro. I'm going from USB to Serial via a Prolific 2303, and plugging directly into a Cisco router.


I issue the command ls -l /dev/tty.* and I see tty.usbserial so then I issue the command screen /dev/tty.usbserial and it seems to connect to the router; however the cursor just moves all around the screen, but no text is displayed. This is a known good adapter as it works fine on my Ubuntu laptop. I badly need this to work on my Mac.


Kind regards,


Jonathan

MacBook Pro, Mac OS X (10.7.5)

Posted on Apr 22, 2013 2:56 PM

Reply
2 replies

Apr 22, 2013 5:06 PM in response to JNFlyer54

I use the apple script I wrote to set up a terminal session using screen. You need to be sure the baud rate is the same as the cisco console:




set baudList to {1200, 2400, 4800, 4800, 9600, 19200, 38400, 57600, 115200, 230400}


set baudRate to (choose from listbaudListdefault items {38400})


tell application "Terminal"

set serialDevices to (do shell script "ls /dev/***")

set theDeviceList to (paragraphs of serialDevices) as list

set theDevice to (choose from listtheDeviceList)


do script "screen " & theDevice & " " & baudRate

display dialog "To quit you terminal session type <ctrl-a> then <ctrl-\\>"

end tell



the complete command is spomething like:

screen /dev/tty.usbserial 9600


change the device to match yours and the baud to match as well

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Console into a Cisco Router via screen command is not working. Can anyone help?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.