From owner-freebsd-questions@FreeBSD.ORG Tue May 3 20:36:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BAE016A4CF for ; Tue, 3 May 2005 20:36:05 +0000 (GMT) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7D2943D83 for ; Tue, 3 May 2005 20:36:04 +0000 (GMT) (envelope-from v.demartino2@virgilio.it) Received: from wireless (62.211.199.166) by vsmtp3.tin.it (7.0.027) id 427155AD001DE413 for freebsd-questions@freebsd.org; Tue, 3 May 2005 22:35:58 +0200 From: Vittorio To: freebsd-questions@freebsd.org Date: Tue, 3 May 2005 22:35:49 +0000 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200505032235.49979.v.demartino2@virgilio.it> Subject: Problems with user ppp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 20:36:05 -0000 On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP "alice= "=20 by means of user ppp. Here is my /etc/ppp/ppp.conf:=20 # default: =A0set log Phase Chat LCP IPCP CCP tun command =A0ident user-ppp VERSION (built COMPILATIONDATE) =A0set device /dev/cuaa0 =A0set speed 115200 =A0set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ =A0 =A0 =A0 =A0 =A0 =A0\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CON= NECT" =A0set timeout 180 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# 3 minut= e idle timer (the default) alice: =A0# =A0# edit the next three lines and replace the items in caps with =A0# the values which have been assigned by your ISP. =A0# =A0set phone "7020803380" =A0set authname "pippolino@tin.it" =A0set authkey "nonteladico" =A0set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 =A0add default HISADDR =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Add a (stic= ky) default route =A0enable dns =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # req= uest DNS info (for resolv.conf) AND in /etc/ppp/options lock noauth Launching "ppp -background alice" I can connect with my ISP but ..... names= =20 are not resolved because PPP doesn't get the DNSs provided by the peer and= =20 uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of a=20 previous dhcp connection at office. Here it is an extract of the connection log: =2E........................................................................= =2E....... ppp[505]: tun0: Phase: deflink: his =3D CHAP 0x05, mine =3D none ppp[505]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5) ppp[505]: tun0: Phase: Chap Output: RESPONSE (pippolino@tin.it) ppp[505]: tun0: Phase: Chap Input: SUCCESS ppp[505]: tun0: IPCP: Using trigger address 0.0.0.0 ppp[505]: tun0: CCP: FSM: Using "deflink" as a transport ppp[505]: tun0: CCP: deflink: State change Initial --> Closed ppp[505]: tun0: CCP: deflink: LayerStart. ppp[505]: tun0: CCP: MPPE: Not usable without CHAP81 ppp[505]: tun0: CCP: deflink: SendConfigReq(1) state =3D Closed ppp[505]: tun0: CCP: =A0DEFLATE[4] win 15 ppp[505]: tun0: CCP: =A0PRED1[2] ppp[505]: tun0: CCP: deflink: State change Closed --> Req-Sent ppp[505]: tun0: Phase: deflink: lcp -> open ppp[505]: tun0: Phase: bundle: Network ppp[505]: tun0: IPCP: FSM: Using "deflink" as a transport ppp[505]: tun0: IPCP: deflink: State change Initial --> Closed ppp[505]: tun0: IPCP: deflink: LayerStart. ppp[505]: tun0: IPCP: deflink: SendConfigReq(1) state =3D Closed ppp[505]: tun0: IPCP: =A0IPADDR[6] 0.0.0.0 ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP: =A0PRIDNS[6] 10.155.201.22 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0^^^^^^^^^^^^^ ppp[505]: tun0: IPCP: =A0SECDNS[6] 255.255.255.255 ppp[505]: tun0: IPCP: deflink: State change Closed --> Req-Sent ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state =3D Req-Sent ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP: =A0IPADDR[6] 80.21.255.5 ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state =3D Req-Sent ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP: =A0IPADDR[6] 80.21.255.5 ppp[505]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state =3D Opened ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control=20 Protocol) ppp[505]: tun0: CCP: deflink: State change Req-Sent --> Stopped ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state =3D Ack-Sent ppp[505]: tun0: IPCP: =A0IPADDR[6] 212.216.149.154 ppp[505]: tun0: IPCP: =A0IPADDR[6] changing address: 0.0.0.0 =A0-->=20 212.216.149.154 ppp[505]: tun0: IPCP: =A0PRIDNS[6] 10.155.201.22 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0^^^^^^^^^^^^^^ ppp[505]: tun0: IPCP: =A0SECDNS[6] 255.255.255.255 ppp[505]: tun0: IPCP: Primary nameserver set to 10.155.201.22 ppp[505]: tun0: IPCP: deflink: SendConfigReq(2) state =3D Ack-Sent ppp[505]: tun0: IPCP: =A0IPADDR[6] 212.216.149.154 ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP: =A0PRIDNS[6] 10.155.201.22 ppp[505]: tun0: IPCP: =A0SECDNS[6] 255.255.255.255 ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state =3D Ack-Sent =2E........................................................................= =2E......... What should I do? Vittorio