From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 02:48:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3376516A41F for ; Mon, 7 Nov 2005 02:48:55 +0000 (GMT) (envelope-from marius_mps@yahoo.com) Received: from web36101.mail.mud.yahoo.com (web36101.mail.mud.yahoo.com [66.163.179.215]) by mx1.FreeBSD.org (Postfix) with SMTP id D4C5743D45 for ; Mon, 7 Nov 2005 02:48:54 +0000 (GMT) (envelope-from marius_mps@yahoo.com) Received: (qmail 42153 invoked by uid 60001); 7 Nov 2005 02:48:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=v9VzQUaqCbBJqvC/cG22xqdZ6rpovU9Mdf/AeVyT9CmO6Pb/Sv3jFt7t7qKwdKkOi4ECmQwQhrP8rlNbDIr8/hMk19MQR3jrDLsojd2XRkIK754d4G2N5jyWGCZ5frjoJm5nClNj6eQ//bHSHlE19l5+6SBo9rJ0mss2hXbKIuM= ; Message-ID: <20051107024854.42151.qmail@web36101.mail.mud.yahoo.com> Received: from [86.125.54.127] by web36101.mail.mud.yahoo.com via HTTP; Sun, 06 Nov 2005 18:48:54 PST Date: Sun, 6 Nov 2005 18:48:54 -0800 (PST) From: Marius Cirsta To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: ppp problem ( pppoe ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 02:48:55 -0000 I've got to use PPPoE to access the internet through a regular LAN ( my ISP requires it ) . It works on Windows ( using PAP as auth ) and on Linux using rp-pppoe . It seems simple enough to do in FreeBSD but it doesn't work . Here's my ppp.conf file : default: set log Phase tun command # you can add more detailed logging if you wish set ifaddr 10.0.0.1/0 10.0.0.2/0 rds: set device PPPoE:xl0:rds # replace xl1 with your Ethernet device set authname tm212418 set authkey PASS set dial set login add default HISADDR And here's how the log looks and what fails : Nov 7 02:27:55 ppp[541]: tun0: Phase: Caught signal 2, abort connection(s) Nov 7 02:28:02 ppp[541]: tun0: Command: /dev/ttyv0: equit Nov 7 02:28:10 ppp[541]: tun0: Command: /dev/ttyv0: call Nov 7 02:28:10 ppp[541]: tun0: Phase: bundle: Establish Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: closed -> opening Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: Connected! Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: opening -> dial Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: dial -> carrier Nov 7 02:28:11 ppp[541]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "RMSPPPOE") Nov 7 02:28:11 ppp[541]: tun0: Phase: Received NGM_PPPOE_SESSIONID Nov 7 02:28:11 ppp[541]: tun0: Phase: Received NGM_PPPOE_SUCCESS Nov 7 02:28:11 ppp[541]: tun0: Phase: deflink: carrier -> login Nov 7 02:28:11 ppp[541]: tun0: Phase: deflink: login -> lcp Nov 7 02:28:12 ppp[541]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Nov 7 02:28:14 ppp[541]: tun0: Phase: bundle: Authenticate Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: his = CHAP 0x81, mine = none Nov 7 02:28:14 ppp[541]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from -) Nov 7 02:28:14 ppp[541]: tun0: Phase: Chap Output: RESPONSE (tm212418) Nov 7 02:28:14 ppp[541]: tun0: Phase: Chap Input: FAILURE (E=691 R=1 C=DBD8E1FC29E5AA114460DFB8BAA09887 V=3) Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: Disconnected! Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: lcp -> logout Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: logout -> hangup Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: Disconnected! Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: Connect time: 4 secs: 267 octets in, 196 octets out Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: 8 packets in, 7 packets out Nov 7 02:28:14 ppp[541]: tun0: Phase: total 115 bytes/sec, peak 38 bytes/sec on Mon Nov 7 02:28:13 2005 Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: hangup -> closed Nov 7 02:28:14 ppp[541]: tun0: Phase: bundle: Dead It looks to my that it fails on authentification . I would like to use pap as it works in Windows ( I have no idea what rp-pppoe uses ) but I don't know how to do it as deny chap and disable chap don't seem to have any efect ( it still tries chap auth and then fails ) . Any ideas on what to do would be greatly apreciated . I can't use FreeBSD without a working net connection and it's a pity . __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs