cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1461
Views
0
Helpful
4
Replies

Connection keeps dropping on dial in session

I'm installing a Cisco 1760 Router with a 2 port analog WIC (WIC-2AM) I've configured it to use DHCP and have a local auth account. My problem is that the connection drops after about 2 minutes regardless of traffic. I've set keepalives, Idle timers, etc. I've test my dialup laptop with another RAS and it work fine. Any ideals. Below is some of the setup. Thanks

ip dhcp pool pool1

network 192.168.168.0 255.255.255.0

interface Async2

ip address 192.168.168.20 255.255.255.0

encapsulation ppp

dialer in-band

async mode interactive

peer default ip address dhcp-pool pool1

keepalive 10 3

ppp authentication pap

line 2

session-timeout 5 output

modem InOut

transport input all

autoselect ppp

stopbits 1

speed 115200

flowcontrol hardware

4 Replies 4

Hello,

can you do a ´debug modem´ when the line disconnects and post the output ?

Regards,

GP

Thanks for the reply. Here is the information you requested. I do see a timer for TTY 2 set to 2 minutes. Do you know what that is for?

chh-cisco#

001335: *Mar 5 13:25:52: Modem (1/0) DCD UnAsserted

001336: *Mar 5 13:25:52: Modem (1/0) CTS UnAsserted

001337: *Mar 5 13:25:52: TTY2: DSR came up

001338: *Mar 5 13:25:52: Modem 1/0 SCM : in modem state 'Connect'

dte = 115200 modulation= V34 protocol = LAPM compression_type = V42Btx_speed = 26400 rx_speed = 26400

001339: *Mar 5 13:25:52: tty2: Modem: IDLE->(unknown)

001340: *Mar 5 13:25:52: TTY2: Autoselect started

001341: *Mar 5 13:25:52: TTY2: create timer type 0, 120 seconds

001342: *Mar 5 13:25:54: TTY2: Autoselect sample 7E

001343: *Mar 5 13:25:54: TTY2: Autoselect sample 7EFF

001344: *Mar 5 13:25:54: TTY2: Autoselect sample 7EFF7D

001345: *Mar 5 13:25:54: TTY2: Autoselect sample 7EFF7D23

001346: *Mar 5 13:25:54: TTY2 Autoselect cmd: ppp negotiate

001347: *Mar 5 13:25:54: TTY2: destroy timer type 0

001348: *Mar 5 13:25:54: TTY2: EXEC creation

001349: *Mar 5 13:25:54: TTY2: create timer type 1, 600 seconds

001350: *Mar 5 13:25:54: TTY2: destroy timer type 1

001351: *Mar 5 13:25:54: TTY2: no timer type 0 to destroy

001352: *Mar 5 13:25:54: TTY2: no timer type 2 to destroy

001353: *Mar 5 13:25:54: TTY2: create timer type 2, 300 seconds

001354: *Mar 5 13:25:54: Modem 1/0 Modi: switching to PPP mode

001355: *Mar 5 13:25:54: Modem 1/0: PPP escape map: Tx map = FFFFFFFF, Rx map = 0

001356: *Mar 5 13:25:54: %LINK-3-UPDOWN: Interface Async2, changed state to up

001357: *Mar 5 13:25:54: Modem 1/0: PPP escape map: Tx map = 0, Rx map = 0

001358: *Mar 5 13:25:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface Async2, changed state to up

001359: *Mar 5 13:27:54: TTY2: Async Int reset: Dropping DTR

001360: *Mar 5 13:27:54: Modem (1/0) DCD Asserted

001361: *Mar 5 13:27:54: Modem (1/0) CTS UnAsserted

001362: *Mar 5 13:27:55: TTY2: DSR was dropped

001363: *Mar 5 13:27:55: tty2: Modem: READY->(unknown)

001364: *Mar 5 13:27:56: %LINK-5-CHANGED: Interface Async2, changed state to reset

001365: *Mar 5 13:27:56: TTY2: dropping DTR, hanging up

001366: *Mar 5 13:27:56: tty2: Modem: HANGUP->(unknown)

001367: *Mar 5 13:27:57: %LINEPROTO-5-UPDOWN: Line protocol on Interface Async2, changed state to down

001368: *Mar 5 13:27:57: TTY2: cleanup pending. Delaying DTR

001369: *Mar 5 13:27:58: TTY2: cleanup pending. Delaying DTR

Modem 1/0 SCM : in modem state 'Idle'

001370: *Mar 5 13:27:59: Modem 1/0 Modi: switching to character mode

001371: *Mar 5 13:27:59: TTY2: no timer type 0 to destroy

001372: *Mar 5 13:27:59: TTY2: no timer type 1 to destroy

001373: *Mar 5 13:27:59: TTY2: no timer type 3 to destroy

001374: *Mar 5 13:27:59: TTY2: no timer type 4 to destroy

001375: *Mar 5 13:27:59: TTY2: no timer type 10 to destroy

001376: *Mar 5 13:27:59: TTY2: destroy timer type 2

001377: *Mar 5 13:27:59: Async2: allowing modem_process to continue hangup

001378: *Mar 5 13:28:00: TTY2: restoring DTR

001379: *Mar 5 13:28:01: %LINK-3-UPDOWN: Interface Async2, changed state to down

001380: *Mar 5 13:28:01: TTY2: DSR was dropped

001381: *Mar 5 13:28:01: tty2: Modem: READY->HANGUP

001382: *Mar 5 13:28:01: TTY2: dropping DTR, hanging up

001383: *Mar 5 13:28:01: tty2: Modem: HANGUP->IDLE

001384: *Mar 5 13:28:03: TTY2: restoring DTR

zahmed
Cisco Employee
Cisco Employee

Hi Michael,

By default, the idle timeout is 2 mins which is coming into the picture because you have "dialer in-band" defined under Async2.

If you don't plan to make outbound calls from this interface (which it looks to me you don't), you should remove "dialer in-band" for sure which will fix the issue.

OR if you like to keep it with "dialer in-band", then make sure you also define "dialer-group 1" under Async2, followed by "dialer-list 1 protocol ip permit" in global and then you won't disconnect as long you are not sitting idle for a two minute time period. You can suppliment this with a "dialer idle-timeout " too based on your requirement.

If this does not fix it , then it could be something

going on, in which case I would need to see the following for a disconnect :

debug modem

debug ppp nego

debug ppp authen

debug dialer event

debug ip peer

Thanx and Regards,

~Zulfiqar

Zulfiqar - Thanks. I removed the dialer in-band and that fixed the problem. Currently the modem will be just dial in so this should work. I really appreciate the help guys. Thanks to both of you for the response.