From owner-freebsd-questions@FreeBSD.ORG Tue May 3 21:38:51 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 44D0916A4CE for ; Tue, 3 May 2005 21:38:51 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B4743D41 for ; Tue, 3 May 2005 21:38:50 +0000 (GMT) (envelope-from bob@a1poweruser.com) Received: from barbish ([69.172.31.81]) by mta10.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with SMTP id <20050503213845.FFXV17140.mta10.adelphia.net@barbish>; Tue, 3 May 2005 17:38:45 -0400 From: To: "Vittorio" , Date: Tue, 3 May 2005 17:38:44 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <200505032235.49979.v.demartino2@virgilio.it> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: RE: Problems with user ppp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bob@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 21:38:51 -0000 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. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Vittorio Sent: Tuesday, May 03, 2005 6:36 PM To: freebsd-questions@freebsd.org Subject: Problems with user ppp On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP "alice" by means of user ppp. Here is my /etc/ppp/ppp.conf: # default:  set log Phase Chat LCP IPCP CCP tun command  ident user-ppp VERSION (built COMPILATIONDATE)  set device /dev/cuaa0  set speed 115200  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \            \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"  set timeout 180                        # 3 minute idle timer (the default) alice:  #  # edit the next three lines and replace the items in caps with  # the values which have been assigned by your ISP.  #  set phone "7020803380"  set authname "pippolino@tin.it"  set authkey "nonteladico"  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0  add default HISADDR                    # Add a (sticky) default route  enable dns                             # request DNS info (for resolv.conf) AND in /etc/ppp/options lock noauth Launching "ppp -background alice" I can connect with my ISP but ..... names are not resolved because PPP doesn't get the DNSs provided by the peer and uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of a previous dhcp connection at office. Here it is an extract of the connection log: .................................................................... ............. ppp[505]: tun0: Phase: deflink: his = CHAP 0x05, mine = 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 = Closed ppp[505]: tun0: CCP:  DEFLATE[4] win 15 ppp[505]: tun0: CCP:  PRED1[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 = Closed ppp[505]: tun0: IPCP:  IPADDR[6] 0.0.0.0 ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22                                                    ^^^^^^^^^^^^^ ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255 ppp[505]: tun0: IPCP: deflink: State change Closed --> Req-Sent ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5 ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5 ppp[505]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) ppp[505]: tun0: CCP: deflink: State change Req-Sent --> Stopped ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154 ppp[505]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 212.216.149.154 ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22                                                    ^^^^^^^^^^^^^^ ppp[505]: tun0: IPCP:  SECDNS[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 = Ack-Sent ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154 ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22 ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255 ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent .................................................................... ............... What should I do? Vittorio _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"