dialin from linux pppd to cisco1601

Denis F. Villorente (denis@asti.dost.gov.ph)
Thu, 10 Sep 1998 15:56:43 +0800 (HKT)


I'm trying to configure a linux box (kitana) running pppd to dialin to a
cisco1601 (asti1601). LCP negotiation seems to proceed ok but it gets
stuck w/ the IPCP negotiation. What could be the problem here? TIA.

I'm using the following options for pppd on the linux box:
/usr/sbin/pppd -d -detach lock modem crtscts /dev/ttyS0 115200 &

Below is the config of the 1601:

version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname asti1601
!
enable secret
enable password
!
username phivolcs password 0 xxxx
ip subnet-zero
chat-script reset "" ATZ TIMEOUT 5 "OK" "ATE0V1" TIMEOUT 5 "OK"
!
interface Ethernet0
ip address 207.2.14.190 255.255.255.192
!
interface Serial0
physical-layer async
ip unnumbered Ethernet0
ip tcp header-compression passive
encapsulation ppp
async mode interactive
peer default ip address 165.220.45.250
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 207.2.14.129
!
line con 0
line 1
script startup reset
login local
modem InOut
transport input all
speed 38400
flowcontrol hardware
line vty 0 4
password xxxx
login
!
end

---

Output of /var/log/daemon.log

Sep 9 23:16:43 kitana pppd[2223]: Using interface ppp0 Sep 9 23:16:43 kitana pppd[2223]: Connect: ppp0 <--> /dev/ttyS0 Sep 9 23:16:43 kitana pppd[2223]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x3e329d72> <pcomp> <accomp>] Sep 9 23:16:43 kitana pppd[2223]: rcvd [LCP ConfAck id=0x1 <mru 1500> <magic 0x3e329d72> <pcomp> <accomp>] Sep 9 23:16:44 kitana pppd[2223]: rcvd [LCP ConfReq id=0x5 <asyncmap 0xa0000> <magic 0x107f933f> <pcomp> <accomp>] Sep 9 23:16:44 kitana pppd[2223]: sent [LCP ConfAck id=0x5 <asyncmap 0xa0000> <magic 0x107f933f> <pcomp> <accomp>] Sep 9 23:16:44 kitana pppd[2223]: sent [IPCP ConfReq id=0x1 <addr 165.220.44.106> <compress VJ 0f 01>] Sep 9 23:16:59 kitana last message repeated 5 times Sep 9 23:17:00 kitana pppd[2223]: Modem hangup Sep 9 23:17:00 kitana pppd[2223]: Connection terminated.

---

Debug output on the 1601

asti1601# asti1601# Serial0: Setup PPP framing on TTY1 %LINK-3-UPDOWN: Interface Serial0, changed state to up Se0 PPP: Treating connection as a dedicated line Se0 PPP: Phase is ESTABLISHING, Active Open Se0 LCP: O CONFREQ [Closed] id 1 len 20 Se0 LCP: ACCM 0x000A0000 (0x0206000A0000) Se0 LCP: MagicNumber 0x107F933F (0x0506107F933F) Se0 LCP: PFC (0x0702) Se0 LCP: ACFC (0x0802) APPP1: Output packet, len = 24, header = FF 3 C0 21 Se0 LCP: TIMEout: Time = 0x46E30 State = REQsent Se0 LCP: O CONFREQ [REQsent] id 2 len 20 Se0 LCP: ACCM 0x000A0000 (0x0206000A0000) Se0 LCP: MagicNumber 0x107F933F (0x0506107F933F) Se0 LCP: PFC (0x0702) Se0 LCP: ACFC (0x0802) APPP1: Output packet, len = 24, header = FF 3 C0 21 APPP1: Input packet, len = 22, header = FF 3 C0 21 Se0 PPP: I pkt type 0xC021, datagramsize 22 Se0 PPP: I pkt type 0xC021, datagramsize 22 Se0 LCP: I CONFREQ [REQsent] id 1 len 18 Se0 LCP: MRU 1500 (0x010405DC) Se0 LCP: MagicNumber 0x3E329D72 (0x05063E329D72) Se0 LCP: PFC (0x0702) Se0 LCP: ACFC (0x0802) Se0 LCP: O CONFACK [REQsent] id 1 len 18 Se0 LCP: MRU 1500 (0x010405DC) Se0 LCP: MagicNumber 0x3E329D72 (0x05063E329D72) Se0 LCP: PFC (0x0702) Se0 LCP: ACFC (0x0802) APPP1: Output packet, len = 22, header = FF 3 C0 21 Se0 LCP: TIMEout: Time = 0x485FC State = ACKsent Se0 LCP: O CONFREQ [ACKsent] id 5 len 20 Se0 LCP: ACCM 0x000A0000 (0x0206000A0000) Se0 LCP: MagicNumber 0x107F933F (0x0506107F933F) Se0 LCP: PFC (0x0702) Se0 LCP: ACFC (0x0802) APPP1: Output packet, len = 24, header = FF 3 C0 21 APPP1: Input packet, len = 24, header = FF 3 C0 21 Se0 PPP: I pkt type 0xC021, datagramsize 24 Se0 PPP: I pkt type 0xC021, datagramsize 24 APPP1: Input packet, len = 18, header = 80 21 1 1 Se0 PPP: I pkt type 0x8021, datagramsize 18 Se0 PPP: I pkt type 0x8021, datagramsize 18 Se0 LCP: I CONFACK [ACKsent] id 5 len 20 Se0 LCP: ACCM 0x000A0000 (0x0206000A0000) Se0 LCP: MagicNumber 0x107F933F (0x0506107F933F) Se0 LCP: PFC (0x0702) Se0 LCP: ACFC (0x0802) Se0 LCP: State is Open Serial0: Enabling PPP framing in UART's Microcode on line TTY1 %QUICC-3-UCODE_REV_UNKN: Unknown microcode revision number: 4 succeeded Se0 PPP: Phase is UP Se0 IPCP: O CONFREQ [Closed] id 1 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: I CONFREQ [REQsent] id 1 len 16 Se0 IPCP: Address 165.220.44.106 (0x0306A5DC2C6A) Se0 IPCP: CompressType VJ 15 slots CompressSlotID (0x0206002D0F01) Se0 IPCP: O CONFNAK [REQsent] id 1 len 10 Se0 IPCP: Address 165.220.45.250 (0x0306A5DC2DFA) %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up Se0 IPCP: TIMEout: Time = 0x48E8C State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 2 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x499F8 State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 3 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x4A1F4 State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 4 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x4A9D0 State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 5 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x4B1AC State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 6 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x4B988 State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 7 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x4C164 State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 8 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) Se0 IPCP: TIMEout: Time = 0x4C96C State = REQsent Se0 IPCP: O CONFREQ [REQsent] id 9 len 16 Se0 IPCP: CompressType VJ 15 slots (0x0206002D0F00) Se0 IPCP: Address 207.2.14.190 (0x0306CF020EBE) %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down %LINK-5-CHANGED: Interface Serial0, changed state to reset Se0 IPCP: State is Closed Se0 PPP: Phase is TERMINATING Se0 LCP: State is Closed Se0 PPP: Phase is DOWN Se0 IPCP: Remove route to 165.220.45.250 Serial0: Reset PPP framing on TTY1 %LINK-3-UPDOWN: Interface Serial0, changed state to down Se0 LCP: State is Closed Se0 PPP: Phase is DOWN asti1601# asti1601#

--------------------------------------------------------------------------- DENIS F. VILLORENTE Advanced Science and Technology Institute Email: denis@asti.dost.gov.ph Technopark, C.P. Garcia Ave., U.P. Campus Voice: +63 2 435-1071 ext. 1044 Diliman, Quezon City 1101 Fax : +63 2 435-1052 PHILIPPINES Key fingerprint = EE 1D 55 3B 36 8A 5B 1E 81 AF E4 CA 13 97 B0 8B

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu