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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Router console access through Linux

I'm using Linux. Previously I used windows Hyperterminal to access my router through serial cable.

I've tried many programs such as mgetty and minicom to access my router but I still could not. Maybe my configuration is not right. I used 8 bits, no parity, 1 stop bits and no flow control.

Can anyone help me on this matter ?

5 REPLIES
New Member

Re: Router console access through Linux

Hi,

I guess that you started Minicom with the -s parameter and done all config and saved. Try this:

Use a Cisco shipped cable.

9600bps, 8bits, no parity, 1 stop and no flowcontrol (u could try hardware).

minicom /dev/ttyS0, will connect to your com1.

U must restart Minicom after every change you do with configure the program.

New Member

Re: Router console access through Linux

Hi again. Thank you jhalldn. I manage to get into my router using /dev/ttyS1 :-). I don't know why I can't accessed last time because I still using the same options in minicom. I'm not using -s at all.

I tried minicom /dev/ttyS1 and using either no flow or hardware flow is okay.

How do I receive router config file using minicom ?

I tried command "copy start xmodem:" and it says "%Destination file system is read-only."

New Member

Re: Router console access through Linux

Strange...i never tried to upload files this way. I've read that it wasnt possible to do, but thats from rommon mode. Maybe if you using the AUX port...

Is the choice xmodem availible after "copy start .."?

I dont think youre allowed this command.

You could always do a "term le 0" and start mincom with capture to a file (think is the parameter "-C filename" and then do a "show running" or a plain "copy tftp".

If using the key "L" you may be able to recive a file in Minicom.

Regards;

New Member

Re: Router console access through Linux

I use dip for console connections to Cisco devices. You just need to download and install the rpm or compile via source. Once you have DIP installed you just need to specify the serial port to use, speed 9600, databits 8, stopbits 1, and no parity.

jce
New Member

Re: Router console access through Linux

I use Kermit, it is very painless to use and compile. There are also pre-compiled binaries for most popular distro's.

383
Views
3
Helpful
5
Replies