Problems with user ppp

Vittorio v.demartino2 at virgilio.it
Wed May 4 05:28:05 PDT 2005


Alle 21:38, martedì 3 maggio 2005, bob at a1poweruser.com ha scritto:
> Log has this
> ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
> which means your ISP has handed you ip     10.155.201.22 is dsn
> server.
> you say first line in /etc/resolv.conf  is 10.255.201.22
> Are you sure you posted the correct stuff here. that number is to
> close not to be typo.
> Try deleting contents of /var/log/ppp.log and /etc/resolve.conf and
> restart user-ppp to get good documented test.
>
> Looks to me as your user ppp is functioning correctly.
> Your firewall is not allowing out port 53 to ip 10.155.201.22 is
> more likely cause of your problem.
>
I confirm that my office lan is made of 10.155.x.x addresses and when I 
connect to it via dhcp I find 2 addresses of that kind in /etc/resolv.conf.

Anyway, I've just repeated the "experiment" with user ppp keeping the same 
ppp.conf ... and:

1) Nothing written into /etc/resolv.conf
2) Neither ppp.linkup nor ppp.linkdown are present in my /etc/ppp
3) Issued "ppp -background alice"

ppp[602]: Phase: Using interface: tun0
ppp[602]: Phase: deflink: Created in closed state
ppp[602]: tun0: Command: default: ident user-ppp VERSION (built 
COMPILATIONDATE)
ppp[602]: tun0: Command: default: set device /dev/cuaa0
ppp[602]: tun0: Command: default: set speed 115200
ppp[602]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER 
TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
ppp[602]: tun0: Command: default: set timeout 180
ppp[602]: tun0: Command: default: enable dns
ppp[602]: tun0: Command: alice: set phone 0,7020803380
ppp[602]: tun0: Command: alice: set authname pippolino at tin.it
ppp[602]: tun0: Command: alice: set authkey ********
ppp[602]: tun0: Command: alice: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 
0.0.0.0
ppp[602]: tun0: Command: alice: add default HISADDR
ppp[603]: tun0: Phase: PPP Started (background mode).
ppp[603]: tun0: Phase: bundle: Establish
ppp[603]: tun0: Phase: deflink: closed -> opening
ppp[603]: tun0: Phase: deflink: Connected!
ppp[603]: tun0: Phase: deflink: opening -> dial
ppp[603]: tun0: Chat: Phone: 0,7020803380
ppp[603]: tun0: Chat: deflink: Dial attempt 1 of 1
ppp[603]: tun0: Chat: Send: AT^M
ppp[603]: tun0: Chat: Expect(5): OK
ppp[603]: tun0: Chat: Received: AT^M^M
ppp[603]: tun0: Chat: Received: OK^M
ppp[603]: tun0: Chat: Send: ATE1Q0^M
ppp[603]: tun0: Chat: Expect(5): OK
ppp[603]: tun0: Chat: Received: ATE1Q0^M^M
ppp[603]: tun0: Chat: Received: OK^M
ppp[603]: tun0: Chat: Send: ATDT0,7020803380^M
ppp[603]: tun0: Chat: Expect(40): CONNECT
 ppp[603]: tun0: Chat: Received: ATDT0,7020803380^M^M
 ppp[603]: tun0: Chat: Received: CONNECT 54666/ARQ/V90/LAPM/V42BIS^M
 ppp[603]: tun0: Phase: deflink: dial -> carrier
ppp[603]: tun0: Phase: deflink: /dev/cuaa0: CD detected
ppp[603]: tun0: Phase: deflink: carrier -> login
ppp[603]: tun0: Phase: deflink: login -> lcp
ppp[603]: tun0: LCP: FSM: Using "deflink" as a transport
ppp[603]: tun0: LCP: deflink: State change Initial --> Closed
ppp[603]: tun0: LCP: deflink: State change Closed --> Stopped
 ppp[603]: tun0: LCP: deflink: LayerStart
 ppp[603]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
 ppp[603]: tun0: LCP:  ACFCOMP[2]
 ppp[603]: tun0: LCP:  PROTOCOMP[2]
 ppp[603]: tun0: LCP:  ACCMAP[6] 0x00000000
 ppp[603]: tun0: LCP:  MRU[4] 1500
 ppp[603]: tun0: LCP:  MAGICNUM[6] 0xea54429a
 ppp[603]: tun0: LCP: deflink: State change Stopped --> Req-Sent
 ppp[603]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
 ppp[603]: tun0: LCP:  MRU[4] 1524
 ppp[603]: tun0: LCP:  ACCMAP[6] 0x000a0000
 ppp[603]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 ppp[603]: tun0: LCP:  PROTOCOMP[2]
 ppp[603]: tun0: LCP:  ACFCOMP[2]
 ppp[603]: tun0: LCP:  MRRU[4] 1524
 ppp[603]: tun0: LCP:  ENDDISC[9] Local Addr: stack1
 ppp[603]: tun0: LCP: deflink: SendConfigRej(1) state = Req-Sent
 ppp[603]: tun0: LCP:  MRRU[4] 1524
 ppp[603]: tun0: LCP: deflink: SendIdent(0) state = Req-Sent
 ppp[603]: tun0: LCP:  MAGICNUM ea54429a
 ppp[603]: tun0: LCP:  TEXT user-ppp 3.4.2 (built Apr 26 2005)
 ppp[603]: tun0: LCP: deflink: RecvConfigAck(1) state = Req-Sent
 ppp[603]: tun0: LCP:  ACFCOMP[2]
 ppp[603]: tun0: LCP:  PROTOCOMP[2]
 ppp[603]: tun0: LCP:  ACCMAP[6] 0x00000000
 ppp[603]: tun0: LCP:  MRU[4] 1500
 ppp[603]: tun0: LCP:  MAGICNUM[6] 0xea54429a
 ppp[603]: tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd
 ppp[603]: tun0: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd
 ppp[603]: tun0: LCP:  MRU[4] 1524
 ppp[603]: tun0: LCP:  ACCMAP[6] 0x000a0000
 ppp[603]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 ppp[603]: tun0: LCP:  PROTOCOMP[2]
 ppp[603]: tun0: LCP:  ACFCOMP[2]
 ppp[603]: tun0: LCP:  ENDDISC[9] Local Addr: stack1
 ppp[603]: tun0: LCP: deflink: SendConfigAck(2) state = Ack-Rcvd
 ppp[603]: tun0: LCP:  MRU[4] 1524
 ppp[603]: tun0: LCP:  ACCMAP[6] 0x000a0000
 ppp[603]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 ppp[603]: tun0: LCP:  PROTOCOMP[2]
 ppp[603]: tun0: LCP:  ACFCOMP[2]
 ppp[603]: tun0: LCP:  ENDDISC[9] Local Addr: stack1
 ppp[603]: tun0: LCP: deflink: State change Ack-Rcvd --> Opened
 ppp[603]: tun0: LCP: deflink: LayerUp
 ppp[603]: tun0: LCP: deflink: SendIdent(1) state = Opened
 ppp[603]: tun0: LCP:  MAGICNUM ea54429a
 ppp[603]: tun0: LCP:  TEXT user-ppp 3.4.2 (built Apr 26 2005)
 ppp[603]: tun0: Phase: bundle: Authenticate
 ppp[603]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
 ppp[603]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5)
 ppp[603]: tun0: Phase: Chap Output: RESPONSE (pippolino at tin.it)
ppp[603]: tun0: Phase: Chap Input: SUCCESS
ppp[603]: tun0: IPCP: Using trigger address 0.0.0.0
ppp[603]: tun0: CCP: FSM: Using "deflink" as a transport
ppp[603]: tun0: CCP: deflink: State change Initial --> Closed
ppp[603]: tun0: CCP: deflink: LayerStart.
ppp[603]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[603]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
ppp[603]: tun0: CCP:  DEFLATE[4] win 15
ppp[603]: tun0: CCP:  PRED1[2]
ppp[603]: tun0: CCP: deflink: State change Closed --> Req-Sent
ppp[603]: tun0: Phase: deflink: lcp -> open
ppp[603]: tun0: Phase: bundle: Network
ppp[603]: tun0: IPCP: FSM: Using "deflink" as a transport
ppp[603]: tun0: IPCP: deflink: State change Initial --> Closed
ppp[603]: tun0: IPCP: deflink: LayerStart.
ppp[603]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[603]: tun0: IPCP:  IPADDR[6] 0.0.0.0
ppp[603]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[603]: tun0: IPCP:  PRIDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP: deflink: State change Closed --> Req-Sent
ppp[603]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
ppp[603]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[603]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[603]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
ppp[603]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[603]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[603]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
ppp[603]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
ppp[603]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control 
Protocol) was rejected!
ppp[603]: tun0: CCP: deflink: State change Req-Sent --> Stopped
ppp[603]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
ppp[603]: tun0: IPCP:  IPADDR[6] 212.216.149.56
ppp[603]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 212.216.149.56
ppp[603]: tun0: IPCP:  PRIDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP: Primary nameserver set to 255.255.255.255
ppp[603]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
ppp[603]: tun0: IPCP:  IPADDR[6] 212.216.149.56
ppp[603]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[603]: tun0: IPCP:  PRIDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
ppp[603]: tun0: IPCP:  IPADDR[6] 212.216.149.56
ppp[603]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[603]: tun0: IPCP:  PRIDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[603]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
ppp[603]: tun0: IPCP: deflink: LayerUp.
ppp[603]: tun0: IPCP: myaddr 212.216.149.56 hisaddr = 80.21.255.5
ppp[602]: tun0: Phase: Parent: PPP enabled
ppp[603]: tun0: Chat: Parent notified of success

4) Now in /etc/resolv.conf that was empty there's "nameserver 
255.255.255.255" !!!

Therefore, I understand  that ppp is unable to get the dns name files from the 
ISP? Am I right?
What to do next?
Vittorio



More information about the freebsd-questions mailing list