cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3184
Views
3
Helpful
5
Replies

Router console access through Linux

ainuddin
Level 1
Level 1

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 5

jhalldn
Level 1
Level 1

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.

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."

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;

chris.burton
Level 1
Level 1

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
Level 1
Level 1

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