Solved

Connect to Cisco Router via Dial up Modem

Posted on 2008-06-17
22
5,139 Views
Last Modified: 2012-05-05
I want to enable access to the console via a dial in modem. can someone walk me through the steps to set this up on the router and any settings needed for hyperterminal?
0
Comment
Question by:akalbfell
  • 12
  • 9
22 Comments
 
LVL 5

Expert Comment

by:rslqld
Comment Utility
http://www.experts-exchange.com/Hardware/Networking_Hardware/Routers/Q_23248017.html

Try that :) The whole discussion is quite comprehensive. Sorry I could not provide you with specifics myself, as you did not supply the router model, cisco image version, etc.
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
My apologies, here is the info...
Cisco 3725
12.3(11)
Thanks
0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
Aka:  

Will you consider connecting the modem to the AUX port as opposed to the console?  There are many advantages -- for example console can only do 9600 bps, AUX can go faster.  Console port does not support RS232 control signals.  This can be a security problem -- exec doesn't drop when modem disconnected.  Console port does not have reverse telnet capability -- so if you have to reconfigure the modem, give it a different init string, or something, you will not be able to do so remotely unless the modem is connected to aux port.

Anyway, here is how you configure the port:

conf t
line tty 1 ! tty 1 corresponds to the aux port on the routers
speed 115200
stopbits 1
flowcontrol hardware
modem inout
transport input all

That should do it.  You should also configure the modem for auto answer and to ignore the escape sequence, +++

Hope this helps!

0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
i was planning on using the AUX port. Let me give this a try and get back to you. I think the issue is with the modem right now as im not even getting an answer dialing in.
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
i get no answer. stupid question how can i config the modem?
0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
What kind of modem?
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
its a Zoom 0269 and connected to the router via a console cable and a Cisco adapter (part 29-4043-01)

here is the config from the router

line aux 0

 exec-timeout 60 0

 password 7 11111111111

 modem InOut

 transport preferred all

 transport input all

 transport output all

 stopbits 1

 speed 115200

 flowcontrol hardware

Open in new window

0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
Ok.  Have you tried to do the 'reverse telnet'?  From the exec prompt you telnet to IP address of any of the router's local interfaces, port 2001.  So for example you could do this:

conf t

int lo0
ip addr 10.1.1.1 255.255.255.0
end

telnet 10.1.1.1 2001

Then, hit enter a few times.  You will probably get a blank screen at this point, or something similar.  

Type: AT
hit enter

In response you should get: OK

Let's try to get to this point before we go on.  Give it a shot and please post the results.  

0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
Actually i was just working on this. i setup a loopback interface with address 10.0.0.1 255.0.0.0
i logged into the router and did a show line which produced the output below.
while in the router, i did a telnet 10.0.0.1 2097 and it just prompts me to log back into the router again with my message of the day showing and everything...
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int

     0 CTY              -    -      -    -    -      0       0     0/0       -

    97 AUX 115200/115200- inout     -    -    -      2       0     0/0       -

*   98 VTY              -    -      -    -    -      8       0     0/0       -

    99 VTY              -    -      -    -    -      2       0     0/0       -

   100 VTY              -    -      -    -    -      0       0     0/0       -

   101 VTY              -    -      -    -    -      0       0     0/0       -

   102 VTY              -    -      -    -    -      0       0     0/0       -

Open in new window

0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
Interesting... The cable that you use, is that the standard Cisco blue cable -- db9 on one end and rj45 on the other?
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
yep
0
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
Ok.  So far everything looks good.  My next step would be to reset the modem to factory defaults and to try it on a laptop or pc to make sure that the modem works.  Do you have a laptop or a pc with a db9 serial?  

You will also need a modem cable -- a regular one NOT crossover.  This would be a db9 to db25 cable.

So you would connect the modem to the PC, crank up hypeterm (or PuTTY, free download) set it to (most likely) com1 open the connection and type the following:

AT &F

<enter>

ATZ

<enter>

Both of these should give you 'OK' as a response.
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
dont have a modem cable on hand, just ordered one though, soon as i get it illl post back.
Thanks.

0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
for what its worth i am getting this message now when i try to telnet to 10.0.0.1 2097
% Connectiong refused by remote host

0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
nevermind that. back to logging me back into the router again. I had the modem autodiscovery on so it was cycling through the modes. ill post back when the modem cable arrives. thanks so much for your help so far
0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
No sweat.  :)
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
ok got the cable, AT &F generates and OK response...ATZ doesnt do anything
0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
Ok.  AT &F resets the modem to factory defaults.  That should be enough for our purposes.  Also we know that the modem is at least somewhat alive.  So let's continue testing.  Connect that analog line to the modem.  With the hyperterm session open, call the number of the analog line.  You should see the word "Ring' appear on hyperterm, also you should see a light on the front of the modem flashing, as the phone is 'ringing'.  We could also turn the modem's speaker on, using the ATM command -- ATM1, and then ATL1, through ATL3, however loud you want it.  (Some modems only support ATM0 -- speaker off --  and ATM1 -- speaker on).  
The next command to issue is ATA.  This puts the modem in auto-answer mode.  Know, if you try to call the analog line, assuming you've turned on the speaker, you should hear the modem trying to sync up.  It will not, of course, unless it is another modem calling it, but it will try.

If all of that is happening at least loosely along the lines that I am describing, then the modem is probably OK.  At this point, I would  reset once more -- AT &F -- just in case, then ATM1, then ATA, and finally AT &W0

Now.  You just saved the modem configuration as a user profile '0'.  Now issuing ATZ0 on the modem will reset the modem to that profile.

The next step is to hook it back up to the router and try dialing in!

Good luck! :)
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
making progress...i was able to get in, mess around with the modem and set it up to answer on 3 rings which it now does. I can connect through hyperterminal but soon as i connected it just prints out a bunch of garbage on the screen and disconnects after a minute or so. see screenshot
modem.JPG
0
 
LVL 2

Accepted Solution

by:
litmuslogic earned 500 total points
Comment Utility
Ok, let's change the speed from 115200 in the cisco config to 9600, power cycle the modem and try again.
0
 
LVL 8

Author Comment

by:akalbfell
Comment Utility
Worked like a charm. I really appreciate all your help with this. Thanks very much!!!
0
 
LVL 2

Expert Comment

by:litmuslogic
Comment Utility
Awesome!  Great to help.  :)
0

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Join & Write a Comment

Suggested Solutions

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now