Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 20:05:09 -0500
From:      ethercat <ethercat@ethercat.com>
To:        freebsd-questions@freebsd.org
Subject:   PPP connecting, not resolving hostnames
Message-ID:  <3.0.5.32.19990216200509.00b06de0@pop.mindspring.com>

next in thread | raw e-mail | index | archive | help
Greetings,

If anyone here can be of assistance, I would greatly appreciate it.

User PPP will connect to my provider (mindspring) and will ping,
traceroute, etc., as long as I have an IP address, but fails when it tries
to resolve a hostname.  I am connecting manually using term, obtaining a
dynamic IP address, and attempting to use mindspring's nameservers.  

Following are the contents of my resolv.conf, host.conf, hosts, and ppp.log
files.  If any additional information is needed to help diagnose my
problem, please let me know, and I will happily provide it.

Thanks,
ethercat

resolv.conf
~~~~~~~~~~~
nameserver 207.68.188.185
nameserver 207.68.188.186
nameserver 207.68.188.187
domain mindspring.com
enable dns

host.conf
~~~~~~~~~
hosts
bind

hosts
~~~~~
127.0.0.1	localhost
10.0.0.1	hack.ethercat.com hack

ppp.log
~~~~~~~
Feb 16 18:32:55 hack ppp[198]: Phase: Using interface: tun0 
Feb 16
18:32:55 hack ppp[198]: Phase: deflink: Created in closed state 
Feb 16
18:32:55 hack ppp[198]: tun0: Command: default: set ctsrts off 
Feb 16
18:32:55 hack ppp[198]: tun0: Command: default: set device /dev/cuaa1 
Feb
16 18:32:55 hack ppp[198]: tun0: Command: default: set speed 19200 
Feb 16
18:32:55 hack ppp[198]: tun0: Command: default: set dial ABORT BUSY ABORT
NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATZ OK \dATDT\T TIMEOUT 40 CONNECT

Feb 16 18:32:55 hack ppp[198]: tun0: Phase: PPP Started (interactive
mode). 
Feb 16 18:32:59 hack ppp[198]: tun0: Command: /dev/tty: term 
Feb
16 18:32:59 hack ppp[198]: tun0: Phase: bundle: Establish 
Feb 16 18:32:59
hack ppp[198]: tun0: Phase: deflink: closed -> opening 
Feb 16 18:32:59
hack ppp[198]: tun0: Phase: deflink: Connected! 
Feb 16 18:32:59 hack
ppp[198]: tun0: Phase: deflink: opening -> ready 
Feb 16 18:33:31 hack
ppp[198]: tun0: Phase: deflink: PPP packet detected, coming up 
Feb 16
18:33:31 hack ppp[198]: tun0: Phase: deflink: ready -> lcp 
Feb 16 18:33:31
hack ppp[198]: tun0: LCP: FSM: Using "deflink" as a transport 
Feb 16
18:33:31 hack ppp[198]: tun0: LCP: deflink: State change Initial --> Closed

Feb 16 18:33:31 hack ppp[198]: tun0: LCP: deflink: LayerStart 
Feb 16
18:33:31 hack ppp[198]: tun0: LCP: deflink: SendConfigReq(1) state = Closed

Feb 16 18:33:31 hack ppp[198]: tun0: LCP:  ACFCOMP[2] 
Feb 16 18:33:31
hack ppp[198]: tun0: LCP:  PROTOCOMP[2] 
Feb 16 18:33:31 hack ppp[198]:
tun0: LCP:  ACCMAP[6] 0x00000000 
Feb 16 18:33:31 hack ppp[198]: tun0: LCP:
 MRU[4] 1500 
Feb 16 18:33:31 hack ppp[198]: tun0: LCP:  MAGICNUM[6]
0x2d70bf71 
Feb 16 18:33:31 hack ppp[198]: tun0: LCP: deflink: State change
Closed --> Req-Sent 
Feb 16 18:33:31 hack ppp[198]: tun0: LCP: deflink:
RecvConfigAck(1) state = Req-Sent 
Feb 16 18:33:31 hack ppp[198]: tun0:
LCP: deflink: State change Req-Sent --> Ack-Rcvd 
Feb 16 18:33:34 hack
ppp[198]: tun0: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd 
Feb 16
18:33:34 hack ppp[198]: tun0: LCP:  MRU[4] 1500 
Feb 16 18:33:34 hack
ppp[198]: tun0: LCP:  ACCMAP[6] 0x00000000 
Feb 16 18:33:34 hack ppp[198]:
tun0: LCP:  MAGICNUM[6] 0x25bc3ec7 
Feb 16 18:33:34 hack ppp[198]: tun0:
LCP:  PROTOCOMP[2] 
Feb 16 18:33:34 hack ppp[198]: tun0: LCP:  ACFCOMP[2]

Feb 16 18:33:34 hack ppp[198]: tun0: LCP: deflink: SendConfigAck(2) state
= Ack-Rcvd 
Feb 16 18:33:34 hack ppp[198]: tun0: LCP:  MRU[4] 1500 
Feb 16
18:33:34 hack ppp[198]: tun0: LCP:  ACCMAP[6] 0x00000000 
Feb 16 18:33:34
hack ppp[198]: tun0: LCP:  MAGICNUM[6] 0x25bc3ec7 
Feb 16 18:33:34 hack
ppp[198]: tun0: LCP:  PROTOCOMP[2] 
Feb 16 18:33:34 hack ppp[198]: tun0:
LCP:  ACFCOMP[2] 
Feb 16 18:33:34 hack ppp[198]: tun0: LCP: deflink: State
change Ack-Rcvd --> Opened 
Feb 16 18:33:34 hack ppp[198]: tun0: LCP:
deflink: LayerUp 
Feb 16 18:33:34 hack ppp[198]: tun0: CCP: FSM: Using
"deflink" as a transport 
Feb 16 18:33:34 hack ppp[198]: tun0: CCP:
deflink: State change Initial --> Closed 
Feb 16 18:33:34 hack ppp[198]:
tun0: CCP: deflink: LayerStart. 
Feb 16 18:33:34 hack ppp[198]: tun0: CCP:
deflink: SendConfigReq(1) state = Closed 
Feb 16 18:33:34 hack ppp[198]:
tun0: CCP:  DEFLATE[4] win 15 
Feb 16 18:33:34 hack ppp[198]: tun0: CCP:
PRED1[2]  
Feb 16 18:33:34 hack ppp[198]: tun0: CCP: deflink: State change
Closed --> Req-Sent 
Feb 16 18:33:34 hack ppp[198]: tun0: Phase: deflink:
lcp -> open 
Feb 16 18:33:34 hack ppp[198]: tun0: Phase: bundle: Network

Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: FSM: Using "deflink" as a
transport 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: deflink: State change
Initial --> Closed 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: deflink:
LayerStart. 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: deflink:
SendConfigReq(1) state = Closed 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP:
 IPADDR[6]  0.0.0.0 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP:
COMPPROTO[6]  14 VJ slots without slot compression 
Feb 16 18:33:34 hack
ppp[198]: tun0: IPCP: deflink: State change Closed --> Req-Sent 
Feb 16
18:33:34 hack ppp[198]: tun0: IPCP: deflink: RecvConfigReq(1) state =
Req-Sent 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP:  COMPPROTO[6]  14 VJ
slots without slot compression 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP:
IPADDR[6]  168.121.1.1 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: deflink:
SendConfigAck(1) state = Req-Sent 
Feb 16 18:33:34 hack ppp[198]: tun0:
IPCP:  COMPPROTO[6]  14 VJ slots without slot compression 
Feb 16 18:33:34
hack ppp[198]: tun0: IPCP:  IPADDR[6]  168.121.1.1 
Feb 16 18:33:34 hack
ppp[198]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent 
Feb 16
18:33:34 hack ppp[198]: tun0: LCP: deflink: RecvProtocolRej(1) state =
Opened 
Feb 16 18:33:34 hack ppp[198]: tun0: LCP: deflink: -- Protocol
0x80fd (Compression Control Protocol) was rejected! 
Feb 16 18:33:34 hack
ppp[198]: tun0: CCP: deflink: LayerFinish. 
Feb 16 18:33:34 hack ppp[198]:
tun0: CCP: deflink: State change Req-Sent --> Stopped 
Feb 16 18:33:34 hack
ppp[198]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent 
Feb 16
18:33:34 hack ppp[198]: tun0: IPCP:  IPADDR[6]  207.69.154.198 
Feb 16
18:33:34 hack ppp[198]: tun0: IPCP:  IPADDR[6]  changing address: 0.0.0.0
--> 207.69.154.198 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: deflink:
SendConfigReq(2) state = Ack-Sent 
Feb 16 18:33:34 hack ppp[198]: tun0:
IPCP:  IPADDR[6]  207.69.154.198 
Feb 16 18:33:34 hack ppp[198]: tun0:
IPCP:  COMPPROTO[6]  14 VJ slots without slot compression 
Feb 16 18:33:34
hack ppp[198]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent 
Feb
16 18:33:34 hack ppp[198]: tun0: IPCP: deflink: State change Ack-Sent -->
Opened 
Feb 16 18:33:34 hack ppp[198]: tun0: IPCP: deflink: LayerUp. 
Feb
16 18:33:34 hack ppp[198]: tun0: IPCP:  myaddr = 207.69.154.198  hisaddr =
168.121.1.1 
Feb 16 18:33:34 hack ppp[198]: tun0: Command: MYADDR: delete
ALL 
Feb 16 18:33:34 hack ppp[198]: tun0: Command: MYADDR: add 0 0 HISADDR

Feb 16 18:38:31 hack ppp[198]: tun0: Command: /dev/tty: show status 
Feb
16 18:38:36 hack ppp[198]: tun0: Command: /dev/tty: show ? 
Feb 16 18:38:45
hack ppp[198]: tun0: Command: /dev/tty: show link 
Feb 16 18:39:03 hack
ppp[198]: tun0: Command: /dev/tty: show route 
Feb 16 18:39:47 hack
ppp[198]: tun0: Command: /dev/tty: close 
Feb 16 18:39:47 hack ppp[198]:
tun0: IPCP: deflink: LayerDown: 168.121.1.1 
Feb 16 18:39:47 hack ppp[198]:
tun0: IPCP: deflink: SendTerminateReq(3) state = Opened 
Feb 16 18:39:47
hack ppp[198]: tun0: IPCP: deflink: State change Opened --> Closing 
Feb 16
18:39:47 hack ppp[198]: tun0: IPCP: deflink: RecvTerminateAck(2), dropped
(expected 3) 
Feb 16 18:39:50 hack ppp[198]: tun0: IPCP: deflink:
SendTerminateReq(3) state = Closing 
Feb 16 18:39:56 hack last message
repeated 2 times
Feb 16 18:39:56 hack ppp[198]: tun0: IPCP: deflink:
RecvTerminateReq(3) state = Closing 
Feb 16 18:39:56 hack ppp[198]: tun0:
IPCP: deflink: SendTerminateAck(3) state = Closing 
Feb 16 18:39:56 hack
ppp[198]: tun0: IPCP: deflink: RecvTerminateAck(3) state = Closing 
Feb 16
18:39:56 hack ppp[198]: tun0: IPCP: deflink: LayerFinish. 
Feb 16 18:39:56
hack ppp[198]: tun0: IPCP: Connect time: 382 secs: 2184 octets in, 2646
octets out 
Feb 16 18:39:56 hack ppp[198]: tun0: IPCP:  total 12 bytes/sec,
peak 411 bytes/sec on Tue Feb 16 18:39:56 1999 
Feb 16 18:39:56 hack
ppp[198]: tun0: IPCP: deflink: State change Closing --> Closed 
Feb 16
18:39:56 hack ppp[198]: tun0: Phase: bundle: Terminate 
Feb 16 18:39:56
hack ppp[198]: tun0: CCP: deflink: State change Stopped --> Closed 
Feb 16
18:39:56 hack ppp[198]: tun0: CCP: deflink: State change Closed --> Initial

Feb 16 18:39:56 hack ppp[198]: tun0: LCP: deflink: LayerDown 
Feb 16
18:39:56 hack ppp[198]: tun0: LCP: deflink: SendTerminateReq(2) state =
Opened 
Feb 16 18:39:56 hack ppp[198]: tun0: LCP: deflink: State change
Opened --> Closing 
Feb 16 18:39:56 hack ppp[198]: tun0: Phase: deflink:
open -> lcp 
Feb 16 18:39:56 hack ppp[198]: tun0: IPCP: deflink: State
change Closed --> Initial 
Feb 16 18:39:56 hack ppp[198]: tun0: LCP:
deflink: RecvTerminateReq(2) state = Closing 
Feb 16 18:39:56 hack
ppp[198]: tun0: LCP: deflink: SendTerminateAck(2) state = Closing 
Feb 16
18:39:56 hack ppp[198]: tun0: LCP: deflink: RecvTerminateAck(2) state =
Closing 
Feb 16 18:39:56 hack ppp[198]: tun0: LCP: deflink: LayerFinish

Feb 16 18:39:56 hack ppp[198]: tun0: LCP: deflink: State change Closing
--> Closed 
Feb 16 18:39:56 hack ppp[198]: tun0: LCP: deflink: State change
Closed --> Initial 
Feb 16 18:39:56 hack ppp[198]: tun0: Phase: deflink:
Disconnected! 
Feb 16 18:39:56 hack ppp[198]: tun0: Phase: deflink: Connect
time: 417 secs: 2746 octets in, 3182 octets out 
Feb 16 18:39:56 hack
ppp[198]: tun0: Phase:  total 14 bytes/sec, peak 455 bytes/sec on Tue Feb
16 18:39:56 1999 
Feb 16 18:39:56 hack ppp[198]: tun0: Phase: deflink: lcp
-> closed 
Feb 16 18:39:56 hack ppp[198]: tun0: Phase: bundle: Dead 
Feb 16
18:39:58 hack ppp[198]: tun0: Command: /dev/tty: exit 
Feb 16 18:40:01 hack
ppp[198]: tun0: Command: /dev/tty: quit 
Feb 16 18:40:01 hack ppp[198]:
tun0: Phase: PPP Terminated (normal). 





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990216200509.00b06de0>