PPP Connection Problem

PPP Connection Problem

Post by Lau Ho Kwa » Tue, 23 Jun 1998 04:00:00



I have SCO UNIX 5.0.4 and MST PPP installed. When I using telnet to connect
my remote ISP (telnet is2.hk.super.net) the modem is dial the phone and
successful connection, but display the message (Trying 202.14.67.237 and
Telnet: Unable to connect remote host: No route to host).

The following is my configuration. I have no idea what.  Any help would be
greatly appreciated.

Lau Ho Kwan
Fax: (852) 2811-0743

Autostart
/usr/lib/mstppp/dialout 127.0.0.2~:127.0.1.2~ auto exec
/usr/lib/mstppp/exec.dialout netmask 255.255.255.0 debug 5

Devices
HAYES-9600 tty2A 38400 rtscts

Systems
127.0.1.2 Any;5 ACU 38400 30035600 "" "" in:--in: \dXXXXXX word: \qXXXXXX

pppd.log
6/19-09:46:01-2330 Compiling /usr/lib/mstppp/Filter...
6/19-09:46:01-2330 Filter for 127.0.1.2 from /usr/lib/mstppp/Filter
installed on du0
6/19-09:46:01-2330 Morning Star Technologies PPP
6/19-09:46:01-2330 Version 2.0 [30-May-1996 17:42:29 sco-i386]
6/19-01:46:01-2330 du0: pppd 127.0.0.2~:127.0.1.2~ auto exec
/usr/lib/mstppp/exec.dialout netmask 255.255.255.0 debug 5
6/19-01:46:15-2330 tcp 127.0.0.2/1087 -> 127.0.1.2/telnet 44 syn bringup
6/19-01:46:15-2330 Lock file /usr/spool/uucp/LCK..tty2a created
6/19-01:46:15-2330 Dialing 127.0.1.2 (tty2A 38400 30035600 HAYES-9600)
6/19-01:46:15-2330 abort on (NO CARRIER)
6/19-01:46:15-2330 abort on (ERROR)
6/19-01:46:15-2330 abort on (NO DIALTONE)
6/19-01:46:15-2330 abort on (RING^M^J^M^JRING^M^J^M^JRING)
6/19-01:46:15-2330 abort on (BUSY)
6/19-01:46:15-2330 abort on (NO ANSWER)
6/19-01:46:15-2330 timeout set to 5 seconds
6/19-01:46:15-2330 expect ()
6/19-01:46:15-2330 got it
6/19-01:46:15-2330 send (AT^M)
6/19-01:46:16-2330 expect (OK)
6/19-01:46:16-2330 ^M
6/19-01:46:16-2330 OKgot it
6/19-01:46:16-2330 send (ATDT30035600^M)
6/19-01:46:16-2330 timeout set to 60 seconds
6/19-01:46:16-2330 expect (CONNECT)
6/19-01:46:16-2330 ^M
6/19-01:46:37-2330 ^M
6/19-01:46:37-2330 CONNECTgot it
6/19-01:46:37-2330 expect ()
6/19-01:46:37-2330 got it
6/19-01:46:37-2330 send (^M)
6/19-01:46:37-2330 expect (in:)
6/19-01:46:37-2330  38400^M
6/19-01:46:38-2330 Welcome to Hong Kong Supernet^M
6/19-01:46:38-2330 ^M
6/19-01:46:38-2330 ^M
6/19-01:46:38-2330 login:got it
6/19-01:46:38-2330 send (\dXXXXXX^M)
6/19-01:46:38-2330 delay
6/19-01:46:40-2330 expect (word:)
6/19-01:46:40-2330  XXXXXX^M
6/19-01:46:40-2330 Password:got it
6/19-01:46:40-2330 send (??????)
6/19-01:46:41-2330 Chat script succeeded
6/19-01:46:41-2330 Set interface MTU to 1500
6/19-01:46:41-2330 Set interface Async-Map to 0xFFFFFFFF
6/19-01:46:41-2330 Set Protocol-Field-Compression off
6/19-01:46:41-2330 Set Address-and-Control-Field-Compression off
6/19-01:46:41-2330 LCP: Sending option Async-Map 0xA0000 (^S,^Q)
6/19-01:46:41-2330 LCP: Sending option Magic-Number 0x73E12CB
6/19-01:46:41-2330 LCP: Sending option Quality-Protocol LQM,
Reporting-Period 10.00s
6/19-01:46:41-2330 LCP: Sending option Prot-Compression
6/19-01:46:41-2330 LCP: Sending option Addr-Ctl-Compression
6/19-01:46:41-2330 Sending LCP Configure-Request, ID 101, state Starting (1)
6/19-01:46:41-2330  ^M
6/19-01:46:41-2330     Entering PPP Mode.^M
6/19-01:46:41-2330     IP address is 202.64.19.44^M
6/19-01:46:41-2330     MTU is 1500.^M
6/19-01:46:44-2330 LCP: Sending option Async-Map 0xA0000 (^S,^Q)
6/19-01:46:44-2330 LCP: Sending option Magic-Number 0x73E12CB
6/19-01:46:44-2330 LCP: Sending option Quality-Protocol LQM,
Reporting-Period 10.00s
6/19-01:46:44-2330 LCP: Sending option Prot-Compression
6/19-01:46:44-2330 LCP: Sending option Addr-Ctl-Compression
6/19-01:46:44-2330 Sending LCP Configure-Request, ID 101, state Req-Sent (6)
6/19-01:46:44-2330 Received LCP Configure-Request, ID 1, state Req-Sent (6)
6/19-01:46:44-2330 LCP: Received option Async-Map 0xA0000 (^S,^Q) (Ack)
6/19-01:46:44-2330 LCP: Received option Prot-Compression (Ack)
6/19-01:46:44-2330 LCP: Received option Addr-Ctl-Compression (Ack)
6/19-01:46:44-2330 LCP: Received unknown option 19 (Rej)
6/19-01:46:44-2330 LCP: Replying with Configure-Reject
6/19-01:46:44-2330 Sending LCP Configure-Reject, ID 1, state Req-Sent (6)
6/19-01:46:44-2330 Received LCP Configure-Reject, ID 101, state Req-Sent (6)
6/19-01:46:44-2330 LCP: Peer rejected LQM
6/19-01:46:44-2330 LCP: Sending option Async-Map 0xA0000 (^S,^Q)
6/19-01:46:44-2330 LCP: Sending option Magic-Number 0x73E12CB
6/19-01:46:44-2330 LCP: Sending option Prot-Compression
6/19-01:46:44-2330 LCP: Sending option Addr-Ctl-Compression
6/19-01:46:44-2330 Sending LCP Configure-Request, ID 102, state Req-Sent (6)
6/19-01:46:44-2330 Received LCP Configure-Request, ID 2, state Req-Sent (6)
6/19-01:46:44-2330 LCP: Received option Async-Map 0xA0000 (^S,^Q) (Ack)
6/19-01:46:44-2330 LCP: Received option Prot-Compression (Ack)
6/19-01:46:44-2330 LCP: Received option Addr-Ctl-Compression (Ack)
6/19-01:46:44-2330 LCP: Replying with Configure-Ack
6/19-01:46:44-2330 Sending LCP Configure-Ack, ID 2, state Req-Sent (6)
6/19-01:46:44-2330 Received LCP Configure-Ack, ID 102, state Ack-Sent (8)
6/19-01:46:44-2330 Set interface Async-Map to 0xA0000 (^S,^Q)
6/19-01:46:44-2330 Set Protocol-Field-Compression on
6/19-01:46:44-2330 Set Address-and-Control-Field-Compression on
6/19-01:46:44-2330 IPCP: Sending option IP-Address 127.0.0.2
6/19-01:46:44-2330 IPCP: Sending option IP-Compression-Protocol 0x002D,
Max-Slot-ID 15, Comp-Slot-ID 1
6/19-01:46:44-2330 Sending IPCP Configure-Request, ID 101, state Starting
(1)
6/19-01:46:44-2330 LQM: Echo-Replies: 1/1
6/19-01:46:44-2330 Received IPCP Configure-Request, ID 1, state Req-Sent (6)
6/19-01:46:44-2330 IPCP: Received option IP-Address 202.14.67.16: (Ack)
6/19-01:46:44-2330 IPCP: Replying with Configure-Ack
6/19-01:46:44-2330 Sending IPCP Configure-Ack, ID 1, state Req-Sent (6)
6/19-01:46:47-2330 IPCP: Sending option IP-Address 127.0.0.2
6/19-01:46:47-2330 IPCP: Sending option IP-Compression-Protocol 0x002D,
Max-Slot-ID 15, Comp-Slot-ID 1
6/19-01:46:47-2330 Sending IPCP Configure-Request, ID 101, state Ack-Sent
(8)
6/19-01:46:47-2330 Received IPCP Configure-Reject, ID 101, state Ack-Sent
(8)
6/19-01:46:47-2330 IPCP: Peer rejected Compression-Type
6/19-01:46:47-2330 IPCP: Sending option IP-Address 127.0.0.2
6/19-01:46:47-2330 Sending IPCP Configure-Request, ID 102, state Ack-Sent
(8)
6/19-01:46:47-2330 Received IPCP Configure-Nak, ID 102, state Ack-Sent (8)
6/19-01:46:47-2330 IPCP: Received Nak for option IP-Address 202.64.19.44
6/19-01:46:47-2330 IPCP: Sending option IP-Address 202.64.19.44
6/19-01:46:47-2330 Sending IPCP Configure-Request, ID 103, state Ack-Sent
(8)
6/19-01:46:47-2330 Received IPCP Configure-Ack, ID 103, state Ack-Sent (8)
6/19-01:46:47-2330 Set interface addresses to local 202.64.19.44 destination
202.14.67.16
6/19-01:46:47-2330 Set VJ TCP header compression off for receiving, off for
sending
6/19-01:46:47-2330 Set interface up
6/19-01:46:47-2330 PPP connected to 202.14.67.16 on du0
6/19-01:47:04-2330 LQM: Echo-Replies: 1/2
6/19-01:47:05-2330 LQM: Echo-Replies: 2/3
6/19-01:47:14-2330 LQM: Echo-Replies: 3/4
6/19-01:47:24-2330 LQM: Echo-Replies: 4/5
6/19-01:47:34-2330 LQM: Echo-Replies: 4/5
6/19-01:47:45-2330 LQM: Echo-Replies: 5/5
6/19-01:47:55-2330 LQM: Echo-Replies: 5/5
6/19-01:48:05-2330 LQM: Echo-Replies: 5/5
6/19-01:48:15-2330 LQM: Echo-Replies: 5/5
6/19-01:48:25-2330 LQM: Echo-Replies: 5/5
6/19-01:48:35-2330 LQM: Echo-Replies: 5/5
6/19-01:48:45-2330 LQM: Echo-Replies: 5/5
6/19-01:48:55-2330 LQM: Echo-Replies: 5/5
6/19-01:49:05-2330 LQM: Echo-Replies: 5/5
6/19-01:49:15-2330 LQM: Echo-Replies: 5/5
6/19-01:49:25-2330 LQM: Echo-Replies: 5/5
6/19-01:49:35-2330 LQM: Echo-Replies: 5/5
6/19-01:49:45-2330 LQM: Echo-Replies: 5/5

 
 
 

PPP Connection Problem

Post by Mike Dea » Tue, 23 Jun 1998 04:00:00


You didn't mention setting up any kind of route. You will need a route add
default somewhere, either manually, in /usr/internet/etc/sco_ip/routes or make
an S99route file in /etc/rc2.d.


> I have SCO UNIX 5.0.4 and MST PPP installed. When I using telnet to connect
> my remote ISP (telnet is2.hk.super.net) the modem is dial the phone and
> successful connection, but display the message (Trying 202.14.67.237 and
> Telnet: Unable to connect remote host: No route to host).

> The following is my configuration. I have no idea what.  Any help would be
> greatly appreciated.

> Lau Ho Kwan
> Fax: (852) 2811-0743

> Autostart
> /usr/lib/mstppp/dialout 127.0.0.2~:127.0.1.2~ auto exec
> /usr/lib/mstppp/exec.dialout netmask 255.255.255.0 debug 5

> Devices
> HAYES-9600 tty2A 38400 rtscts

> Systems
> 127.0.1.2 Any;5 ACU 38400 30035600 "" "" in:--in: \dXXXXXX word: \qXXXXXX

> pppd.log
> 6/19-09:46:01-2330 Compiling /usr/lib/mstppp/Filter...
> 6/19-09:46:01-2330 Filter for 127.0.1.2 from /usr/lib/mstppp/Filter
> installed on du0
> 6/19-09:46:01-2330 Morning Star Technologies PPP
> 6/19-09:46:01-2330 Version 2.0 [30-May-1996 17:42:29 sco-i386]
> 6/19-01:46:01-2330 du0: pppd 127.0.0.2~:127.0.1.2~ auto exec
> /usr/lib/mstppp/exec.dialout netmask 255.255.255.0 debug 5
> 6/19-01:46:15-2330 tcp 127.0.0.2/1087 -> 127.0.1.2/telnet 44 syn bringup
> 6/19-01:46:15-2330 Lock file /usr/spool/uucp/LCK..tty2a created
> 6/19-01:46:15-2330 Dialing 127.0.1.2 (tty2A 38400 30035600 HAYES-9600)
> 6/19-01:46:15-2330 abort on (NO CARRIER)
> 6/19-01:46:15-2330 abort on (ERROR)
> 6/19-01:46:15-2330 abort on (NO DIALTONE)
> 6/19-01:46:15-2330 abort on (RING^M^J^M^JRING^M^J^M^JRING)
> 6/19-01:46:15-2330 abort on (BUSY)
> 6/19-01:46:15-2330 abort on (NO ANSWER)
> 6/19-01:46:15-2330 timeout set to 5 seconds
> 6/19-01:46:15-2330 expect ()
> 6/19-01:46:15-2330 got it
> 6/19-01:46:15-2330 send (AT^M)
> 6/19-01:46:16-2330 expect (OK)
> 6/19-01:46:16-2330 ^M
> 6/19-01:46:16-2330 OKgot it
> 6/19-01:46:16-2330 send (ATDT30035600^M)
> 6/19-01:46:16-2330 timeout set to 60 seconds
> 6/19-01:46:16-2330 expect (CONNECT)
> 6/19-01:46:16-2330 ^M
> 6/19-01:46:37-2330 ^M
> 6/19-01:46:37-2330 CONNECTgot it
> 6/19-01:46:37-2330 expect ()
> 6/19-01:46:37-2330 got it
> 6/19-01:46:37-2330 send (^M)
> 6/19-01:46:37-2330 expect (in:)
> 6/19-01:46:37-2330  38400^M
> 6/19-01:46:38-2330 Welcome to Hong Kong Supernet^M
> 6/19-01:46:38-2330 ^M
> 6/19-01:46:38-2330 ^M
> 6/19-01:46:38-2330 login:got it
> 6/19-01:46:38-2330 send (\dXXXXXX^M)
> 6/19-01:46:38-2330 delay
> 6/19-01:46:40-2330 expect (word:)
> 6/19-01:46:40-2330  XXXXXX^M
> 6/19-01:46:40-2330 Password:got it
> 6/19-01:46:40-2330 send (??????)
> 6/19-01:46:41-2330 Chat script succeeded
> 6/19-01:46:41-2330 Set interface MTU to 1500
> 6/19-01:46:41-2330 Set interface Async-Map to 0xFFFFFFFF
> 6/19-01:46:41-2330 Set Protocol-Field-Compression off
> 6/19-01:46:41-2330 Set Address-and-Control-Field-Compression off
> 6/19-01:46:41-2330 LCP: Sending option Async-Map 0xA0000 (^S,^Q)
> 6/19-01:46:41-2330 LCP: Sending option Magic-Number 0x73E12CB
> 6/19-01:46:41-2330 LCP: Sending option Quality-Protocol LQM,
> Reporting-Period 10.00s
> 6/19-01:46:41-2330 LCP: Sending option Prot-Compression
> 6/19-01:46:41-2330 LCP: Sending option Addr-Ctl-Compression
> 6/19-01:46:41-2330 Sending LCP Configure-Request, ID 101, state Starting (1)
> 6/19-01:46:41-2330  ^M
> 6/19-01:46:41-2330     Entering PPP Mode.^M
> 6/19-01:46:41-2330     IP address is 202.64.19.44^M
> 6/19-01:46:41-2330     MTU is 1500.^M
> 6/19-01:46:44-2330 LCP: Sending option Async-Map 0xA0000 (^S,^Q)
> 6/19-01:46:44-2330 LCP: Sending option Magic-Number 0x73E12CB
> 6/19-01:46:44-2330 LCP: Sending option Quality-Protocol LQM,
> Reporting-Period 10.00s
> 6/19-01:46:44-2330 LCP: Sending option Prot-Compression
> 6/19-01:46:44-2330 LCP: Sending option Addr-Ctl-Compression
> 6/19-01:46:44-2330 Sending LCP Configure-Request, ID 101, state Req-Sent (6)
> 6/19-01:46:44-2330 Received LCP Configure-Request, ID 1, state Req-Sent (6)
> 6/19-01:46:44-2330 LCP: Received option Async-Map 0xA0000 (^S,^Q) (Ack)
> 6/19-01:46:44-2330 LCP: Received option Prot-Compression (Ack)
> 6/19-01:46:44-2330 LCP: Received option Addr-Ctl-Compression (Ack)
> 6/19-01:46:44-2330 LCP: Received unknown option 19 (Rej)
> 6/19-01:46:44-2330 LCP: Replying with Configure-Reject
> 6/19-01:46:44-2330 Sending LCP Configure-Reject, ID 1, state Req-Sent (6)
> 6/19-01:46:44-2330 Received LCP Configure-Reject, ID 101, state Req-Sent (6)
> 6/19-01:46:44-2330 LCP: Peer rejected LQM
> 6/19-01:46:44-2330 LCP: Sending option Async-Map 0xA0000 (^S,^Q)
> 6/19-01:46:44-2330 LCP: Sending option Magic-Number 0x73E12CB
> 6/19-01:46:44-2330 LCP: Sending option Prot-Compression
> 6/19-01:46:44-2330 LCP: Sending option Addr-Ctl-Compression
> 6/19-01:46:44-2330 Sending LCP Configure-Request, ID 102, state Req-Sent (6)
> 6/19-01:46:44-2330 Received LCP Configure-Request, ID 2, state Req-Sent (6)
> 6/19-01:46:44-2330 LCP: Received option Async-Map 0xA0000 (^S,^Q) (Ack)
> 6/19-01:46:44-2330 LCP: Received option Prot-Compression (Ack)
> 6/19-01:46:44-2330 LCP: Received option Addr-Ctl-Compression (Ack)
> 6/19-01:46:44-2330 LCP: Replying with Configure-Ack
> 6/19-01:46:44-2330 Sending LCP Configure-Ack, ID 2, state Req-Sent (6)
> 6/19-01:46:44-2330 Received LCP Configure-Ack, ID 102, state Ack-Sent (8)
> 6/19-01:46:44-2330 Set interface Async-Map to 0xA0000 (^S,^Q)
> 6/19-01:46:44-2330 Set Protocol-Field-Compression on
> 6/19-01:46:44-2330 Set Address-and-Control-Field-Compression on
> 6/19-01:46:44-2330 IPCP: Sending option IP-Address 127.0.0.2
> 6/19-01:46:44-2330 IPCP: Sending option IP-Compression-Protocol 0x002D,
> Max-Slot-ID 15, Comp-Slot-ID 1
> 6/19-01:46:44-2330 Sending IPCP Configure-Request, ID 101, state Starting
> (1)
> 6/19-01:46:44-2330 LQM: Echo-Replies: 1/1
> 6/19-01:46:44-2330 Received IPCP Configure-Request, ID 1, state Req-Sent (6)
> 6/19-01:46:44-2330 IPCP: Received option IP-Address 202.14.67.16: (Ack)
> 6/19-01:46:44-2330 IPCP: Replying with Configure-Ack
> 6/19-01:46:44-2330 Sending IPCP Configure-Ack, ID 1, state Req-Sent (6)
> 6/19-01:46:47-2330 IPCP: Sending option IP-Address 127.0.0.2
> 6/19-01:46:47-2330 IPCP: Sending option IP-Compression-Protocol 0x002D,
> Max-Slot-ID 15, Comp-Slot-ID 1
> 6/19-01:46:47-2330 Sending IPCP Configure-Request, ID 101, state Ack-Sent
> (8)
> 6/19-01:46:47-2330 Received IPCP Configure-Reject, ID 101, state Ack-Sent
> (8)
> 6/19-01:46:47-2330 IPCP: Peer rejected Compression-Type
> 6/19-01:46:47-2330 IPCP: Sending option IP-Address 127.0.0.2
> 6/19-01:46:47-2330 Sending IPCP Configure-Request, ID 102, state Ack-Sent
> (8)
> 6/19-01:46:47-2330 Received IPCP Configure-Nak, ID 102, state Ack-Sent (8)
> 6/19-01:46:47-2330 IPCP: Received Nak for option IP-Address 202.64.19.44
> 6/19-01:46:47-2330 IPCP: Sending option IP-Address 202.64.19.44
> 6/19-01:46:47-2330 Sending IPCP Configure-Request, ID 103, state Ack-Sent
> (8)
> 6/19-01:46:47-2330 Received IPCP Configure-Ack, ID 103, state Ack-Sent (8)
> 6/19-01:46:47-2330 Set interface addresses to local 202.64.19.44 destination
> 202.14.67.16
> 6/19-01:46:47-2330 Set VJ TCP header compression off for receiving, off for
> sending
> 6/19-01:46:47-2330 Set interface up
> 6/19-01:46:47-2330 PPP connected to 202.14.67.16 on du0
> 6/19-01:47:04-2330 LQM: Echo-Replies: 1/2
> 6/19-01:47:05-2330 LQM: Echo-Replies: 2/3
> 6/19-01:47:14-2330 LQM: Echo-Replies: 3/4
> 6/19-01:47:24-2330 LQM: Echo-Replies: 4/5
> 6/19-01:47:34-2330 LQM: Echo-Replies: 4/5
> 6/19-01:47:45-2330 LQM: Echo-Replies: 5/5
> 6/19-01:47:55-2330 LQM: Echo-Replies: 5/5
> 6/19-01:48:05-2330 LQM: Echo-Replies: 5/5
> 6/19-01:48:15-2330 LQM: Echo-Replies: 5/5
> 6/19-01:48:25-2330 LQM: Echo-Replies: 5/5
> 6/19-01:48:35-2330 LQM: Echo-Replies: 5/5
> 6/19-01:48:45-2330 LQM: Echo-Replies: 5/5
> 6/19-01:48:55-2330 LQM: Echo-Replies: 5/5
> 6/19-01:49:05-2330 LQM: Echo-Replies: 5/5
> 6/19-01:49:15-2330 LQM: Echo-Replies: 5/5
> 6/19-01:49:25-2330 LQM: Echo-Replies: 5/5
> 6/19-01:49:35-2330 LQM: Echo-Replies: 5/5
> 6/19-01:49:45-2330 LQM: Echo-Replies: 5/5


 
 
 

PPP Connection Problem

Post by Michael C. Vergall » Wed, 24 Jun 1998 04:00:00



>You didn't mention setting up any kind of route. You will need a route add
>default somewhere, either manually, in /usr/internet/etc/sco_ip/routes or make
>an S99route file in /etc/rc2.d.

You may require a small script like this :
---
#!/bin/sh
rm -rf /tmp/route
ifconfig -a > /tmp/one
grep -e  195.13.8 /tmp/one > /tmp/two
sed -e "s/inet / route add default /g" < /tmp/two > /tmp/three
sed -e "s/195.238.* --> //g" < /tmp/three > /tmp/four
sed -e "s/netmask ffffff00//g" < /tmp/four > route
sh /tmp/route
rm -rf /tmp/one /tmp/two /tmp/three /tmp/four
---


>> I have SCO UNIX 5.0.4 and MST PPP installed. When I using telnet to connect
>> my remote ISP (telnet is2.hk.super.net) the modem is dial the phone and

---

---
this script reads the configuration off a dynamic ppp config and sets up the

you may  need to modify the ip addresses but it works
.