Higher Logic notes on screwing with tech…

16Jun/110

Ubuntu serial connection to Cisco devices

Nice and short one, I bet its what all the girls say!

# install the bastard
sudo apt-get install minicom
# check out which serial ports you have
$ dmesg | grep ttyl
spidey@app03:~$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 3.278021] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 3.278114] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 3.278334] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 3.278451] 00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
# from the above you can see I have ttyS0 which is /dev/ttyS0
# configure away!
sudo minicom -s
# go to "Serial Port Setup"
Set "line speed" to "9600"
Set "hardware flow control" to "No"
Set "serial device" to "/dev/ttyS0"
# Save the settings
# sit back and have some cake
sudo minicom

   
css.php