Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Connecting to cisco swtich using minicom

  1. #1
    Join Date
    Mar 2007
    Location
    Australia
    Beans
    55
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Connecting to cisco swtich using minicom

    Hi guys,
    I am trying to connect to my Cisco Catalyst 2900XL switch via the console port. I have the an authentic console cable, which works as i have been configuring the switch on a windows box up until now.

    I installed minicom and set it up as described here but no luck. Minicom starts up but it wont connect.
    If i press CTRL A at the bottom it says i am online, but i dont see a login prompt or anything.

    I installed Putty as well, and i get the same result, a blank screen. I wanted to make sure it wasnt the cable or the switch, so i plugged it into a windows machine running putty and it works perfectly.

    Any ideas?

  2. #2
    Join Date
    Aug 2008
    Beans
    488

    Re: Connecting to cisco swtich using minicom

    When you connect the serial cable to an already running system the terminal output is not refreshed, so it is logical that you don't see anything when you connect it to a running system. Try restarting the router and it should show you the full boot sequence. or you could hit "enter" a few times to see if you get a response

    A common problem is that the port settings are wrong. I thought /dev/ttyS0 is the COM1. I'm guessing the speed should be 115200 (9600 or 38400 are pretty common as well) with 8-N-1 ... You have to know the speed setting on the router or try all the possibilities

    use "minicom -s" and select "serial port setup"
    Last edited by puppywhacker; August 27th, 2008 at 02:43 PM.

  3. #3
    Join Date
    Feb 2005
    Location
    Valhöll, Ásgarðr
    Beans
    7,255

    Re: Connecting to cisco swtich using minicom

    Using the right tty device?

    Double check your config just to be certain.

  4. #4
    Join Date
    Mar 2007
    Location
    Australia
    Beans
    55
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Connecting to cisco swtich using minicom

    The documentation i have read from Cisco and other sources says that the baud rate should be 9600 and be 8N1 and that my com 1 is /dev/ttyS0 so these settings are in minicom and also putty.
    i have pressed enter to the point where ive damaged the key, ive connected it to COM 2 and changed the settings to /dev/ttyS1 still no luck, so im running out of ideas. I might try to reboot the switch with the console cable plugged in, but apart from that, i have no clue

  5. #5
    Join Date
    Dec 2004
    Location
    Oregon, USA
    Beans
    279
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Connecting to cisco swtich using minicom

    I'm not a Cisco guy but you might check what the device requires as a line terminator - cr, lf, or cr/lf - & make sure that's what's being sent. I just went through a similar situation here & that was the problem.

    I also found that cutecom was much better suited to my needs, you might want to check that out, also.

  6. #6
    Join Date
    Aug 2008
    Beans
    488

    Re: Connecting to cisco swtich using minicom

    maybe the speed settings have been changed from the default, or maybe console access has been disabled or one the pins is broken. those rs232 ports have always been a pain.

  7. #7
    Join Date
    Nov 2006
    Location
    Buckeye country
    Beans
    1,079
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Connecting to cisco swtich using minicom

    you want 9600, 8N1 for all cisco console ports. you want /dev/ttyS0 for your serial port on your pc (equivalent to COM1 in windows). i use kermit, and here's what i put in when connecting to ciscos:

    Code:
    set line /dev/ttyS0
    set carrier-watch off
    connect
    the 9600, 8N1 is default in kermit. the package in the repos is ckermit.

  8. #8
    Join Date
    Jul 2006
    Beans
    67

    Re: Connecting to cisco swtich using minicom

    We have the same problem on several computers since upgrade to 8.04 from 7.10 and 6.06- it is impossible to connect to any cisco hardware over /devv/ttyS0 using minicom or something else.
    If we start minicom before powering on cisco switch- we see it's boot messages, but then our input doesn't reach switch.
    Looks like ubuntu kernel bug.
    I created bug report, but it is ignored.
    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/246844

  9. #9
    Join Date
    Aug 2007
    Location
    South Australia
    Beans
    135

    Re: Connecting to cisco swtich using minicom

    Have you tried gtkterm, it's fairly basic but works for me? It's listed as "serial port terminal" under add/remove. It's working for me using /dev/ttyS01, 9600, no parity, 8bits, 1 stop, no flow control.

  10. #10
    Join Date
    Jul 2006
    Beans
    67

    Re: Connecting to cisco swtich using minicom

    Quote Originally Posted by shazbut View Post
    Have you tried gtkterm
    yes, the same problem.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •