PDA

View Full Version : RAS question : Modem isn't answer the incomming call



chairuou
01-08-2003, 10:54 AM
hi all, can any one tell me what am I wrong with this configuration :


Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname PlantRouter
!
aaa new-model
aaa authentication login default local
aaa authentication login no_login none
aaa authentication ppp default local
enable secret 5 <deleted>
!
username remote password 0 abc123
!
!
!
!
ip subnet-zero
ip host modem1 2001 192.168.1.250
!
!
!
process-max-time 200
!
interface Ethernet0
description Connect to Plant LAN
ip address 192.168.1.250 255.255.255.0
no ip directed-broadcast
!
interface Serial0
description Connect to Ha Noi Site
ip address 192.168.250.6 255.255.255.252
no ip directed-broadcast
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
interface Group-Async1
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
ip tcp header-compression
async default routing
async mode interactive
peer default ip address pool DialUpPool
ppp authentication pap
group-range 1 16
!
ip local pool DialUpPool 192.168.1.230 192.168.1.245
ip default-gateway 192.168.1.250
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0
no ip http server
!
!
line con 0
login authentication no_login
transport input none
line 1 16
autoselect during-login
autoselect ppp
modem InOut
modem autoconfigure discovery
transport input all
stopbits 1
speed 115200
line aux 0
line vty 0 4
!
end

PlantRouter#

The trouble here is modem isn't answer the incomming call, modem Auto Answer turned on already. Reverse telnet to modem worked well, i can use AT command, did reseting to factory default, turn on AA and other settings, modem are Hayes Accura V.92 (http://www.hayes.co.uk), router is Cisco-2511, following are information issued by show version command :
------------

sh ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-I-L), Version 12.0(5)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 23-Jul-99 03:14 by kpma
Image text-base: 0x03039754, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c)XB1, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1)
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c)XB1, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1)

PlantRouter uptime is 1 hour, 45 minutes
System returned to ROM by power-on
System image file is "flash:c2500-i-mz_120-5_t.bin"

cisco 2511 (68030) processor (revision K) with 2048K/2048K bytes of memory.
Processor board ID 01499917, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
16 terminal line(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2102

PlantRouter#
--------------------------
I am in a boring world now, this is not first time I meet this trouble... :(
TIA

dangquangminh
01-08-2003, 11:16 AM
hi,

bạn thử turn-on debug lên, capture output và post it here.

#debug dialer
#debug ppp authentication
#debug ppp negotiation

Ngoài ra, bạn có thể đặt interface Group-Async về dedicated mode:

# async mode dedicated

let me know asap,

chairuou
01-08-2003, 11:31 AM
OK, I am do it immediatly, hope you still here ...
btw...I am aliosha on routerie.com, are you remember ?

chairuou
01-08-2003, 11:34 AM
I did it but it isn't show up anything on console screen , what i need to do now ?

dangquangminh
01-08-2003, 11:52 AM
hi there,

glad to hear from you!

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname PlantRouter
!
aaa new-model
aaa authentication login default local
aaa authentication login no_login none
aaa authentication ppp default local
enable secret 5 <deleted>
!
username remote password 0 abc123
ip subnet-zero
ip host modem1 2001 192.168.1.250
process-max-time 200
!
interface Ethernet0
description Connect to Plant LAN
ip address 192.168.1.250 255.255.255.0
no ip directed-broadcast
!
interface Serial0
description Connect to Ha Noi Site
ip address 192.168.250.6 255.255.255.252
no ip directed-broadcast
!
interface Group-Async1
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
ip tcp header-compression
async mode dedicated
peer default ip address pool DialUpPool
ppp authentication pap
group-range 1 16
!
ip local pool DialUpPool 192.168.1.230 192.168.1.245
ip default-gateway 192.168.1.250
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0
no ip http server
!
!
line con 0
login authentication no_login
logging synchronous
transport input none
line 1 16
login
modem InOut
modem autoconfigure discovery
transport input all
stopbits 1
flow-control hardware
speed 115200

line aux 0
line vty 0 4
!
end
--------------------
Try this and lemme know.....

Just call my name, I'll be there ;-)

chairuou
01-08-2003, 12:03 PM
man, it still doesn't answer and don't show up any debug info. :(

dangquangminh
01-08-2003, 01:51 PM
okay,

first, these debug commands pop up messages to the console if you try to dial to the router. So make sure you turn on these command and try to dial to the access-server.

Here's a check-list for you:

1. Did you turn-on the modem?
2. Can you reverse-telnet to the modem?
3. From the modem, can you dial outside by using the modem atdt command.
For example:
atz
atdt xxxxx
4. Try debug modem and show the output.
5. Use local database for authencation first. I mean:

#no aaa new-model
6. Did you access to the router via console or telnet? Output of the debug commands should be on the console.
7. What did you use to dial to the access-server? From a workstation or from another router?

I will come back soon,

chairuou
01-08-2003, 02:16 PM
okay,

first, these debug commands pop up messages to the console if you try to dial to the router. So make sure you turn on these command and try to dial to the access-server.

Here's a check-list for you:

1. Did you turn-on the modem?

Surely !



2. Can you reverse-telnet to the modem?


I can and also authenticated with local users database ( with AAA enabled )



3. From the modem, can you dial outside by using the modem atdt command.
For example:
atz
atdt xxxxx


Work well



4. Try debug modem and show the output.


I issued 'debug modem' command and it only show router trying to discovery modem configuration from TTY5 to TTY16. noted here, I just have 4 modem but only 1 phone line pluged to TTY1 already ( 4 modems pluged in to router from TTY1 to TTY4)



5. Use local database for authencation first. I mean:
#no aaa new-model


Before enbale AAA i successded with local authen via telnet


6. Did you access to the router via console or telnet? Output of the debug commands should be on the console.


I used both console and telnet



7. What did you use to dial to the access-server? From a workstation or from another router?


I used win2k client to dial, use phone to make a call, bot of us won't work :(

This router will serve dialup users ( client OSes are Window98/Me/XP/2k)

Thanks,

sinhvienngheo
03-08-2003, 12:47 AM
okay okay,

Để em đóng case này lại giúp anh Minh.

1. Theo chairuou mô tả thì kết nối từ router đến modem là ok. Do chairuou có thể thực hiện reversetelnet.
2. Quá trình authentication trước khi dùng aaa là ok. Do đó problem nằm ở chổ cấu hình aaa sai.
3. Anh chairuou cho biết là anh có thể telnet vào router dùng aaa. Do đó anh kết luận cấu hình aaa của anh là đúng. Kết luận này là không chính xác. PPP authentication ppp được xem là một service khác của AAA (có khoảng 5 loại service).
Đây là một cấu hình cho anh chairuou:

router# aaa authentication ppp dialup radius local
router# aaaa authentication login admins local
router#line 1 16
router(config-line)# auto select ppp
router(config-line)#autoselect during-login
router(config-line)#login authentication admins
router(config-line)#interface group-async 1
router(config-if)# encapsulation ppp

router(config-if)# ppp authen ppp dialup

Vậy, anh chairuou thử lại cấu hình AAA như trên nhé. Các cấu hình cho phần line đừng thay đổi.

Chúc anh thành công,

chairuou
05-08-2003, 08:21 PM
okay okay,

Để em đóng case này lại giúp anh Minh.

1. Theo chairuou mô tả thì kết nối từ router đến modem là ok. Do chairuou có thể thực hiện reversetelnet.
2. Quá trình authentication trước khi dùng aaa là ok. Do đó problem nằm ở chổ cấu hình aaa sai.
3. Anh chairuou cho biết là anh có thể telnet vào router dùng aaa. Do đó anh kết luận cấu hình aaa của anh là đúng. Kết luận này là không chính xác. PPP authentication ppp được xem là một service khác của AAA (có khoảng 5 loại service).
Đây là một cấu hình cho anh chairuou:

router# aaa authentication ppp dialup radius local
router# aaaa authentication login admins local
router#line 1 16
router(config-line)# auto select ppp
router(config-line)#autoselect during-login
router(config-line)#login authentication admins
router(config-line)#interface group-async 1
router(config-if)# encapsulation ppp

router(config-if)# ppp authen ppp dialup

Vậy, anh chairuou thử lại cấu hình AAA như trên nhé. Các cấu hình cho phần line đừng thay đổi.

Chúc anh thành công,

anyway thank, I resolve my prob.
sinhvienngheo : trouble not is aaa, and config you show me here just for ppp authen, relook my 1st config above, that config use local authen for login service & ppp and my question is MODEM INS'T ANSWER THE INCOMMING CALL not AUTHENTICATION.

Last time, after did some check with callin and out via phone, I addressed the problem is phone line has trouble, after call post office to fix that, I've finished my work
Thanks you !

TGA_Certificationteam
27-12-2003, 03:35 AM
Grouding problem isn't it ?

chipchipzzz
27-12-2003, 03:16 PM
hi there,

try upgrade IOS image from "c2500-i-mz_120-5_t.bin" (have some problem) to "c2500-is56i-l.120-27.bin" or the other.

good luck,

xmen
13-03-2006, 03:08 PM
Nếu modem quay số của bạn không trả lời incomming call, bạn có thể thử như sau :
- Reverse telnet vào modem
- Thực hiện quay số xem output có "RING" hay không, nếu không có thực hiện bước dưới đâyl
- Gõ lệnh at&s0=1 hoặc ats0=1
- Quay số lại

Hy vọng modem của bạn sẽ có tín hiệu trả lời.