From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 13:05:34 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 D5B9216A41F for ; Thu, 8 Sep 2005 13:05:34 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46C7F43D46 for ; Thu, 8 Sep 2005 13:05:33 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from epia2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 1688B4B306; Thu, 8 Sep 2005 15:05:39 +0200 (CEST) Date: Thu, 8 Sep 2005 15:07:35 +0200 From: cpghost To: "Schleich, Arno" Message-ID: <20050908130735.GA614@epia2.farid-hajji.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: PPPoE to connect to T-DSL 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: Thu, 08 Sep 2005 13:05:34 -0000 On Thu, Sep 08, 2005 at 02:32:19PM +0200, Schleich, Arno wrote: > I just need to connect my notebook to the internet using pppoe to hook > up to t-dsl, a German adsl provider. > > I installed 5.4 Release with very few problems. > > Anyway, trying to use the most generic ppp.conf it hangs in 'Phase' (as > far as I can understand the log). It redials and redials, which results > in multiple > > deflink: Connected > deflink: Hangup > > sequences in the /var/lod/ppp.log. Btw, I upped the rl0 interface prior > to starting ppp, so I hope this is not an issue. There is no activity on > the LEDs of the dsl modem. Hello Arno, I know definitely that the following configuration works with kamp-dsl, a provider that uses t-dsl (yes, on FreeBSD 5.4-STABLE). /etc/ppp/ppp.conf: ------------------ default: set log local Phase Chat Connect LCP IPCP tun command myadsl: set device PPPoE:rl0 set MTU 1460 set MRU 1460 set dial set crtscts off set speed sync disable lqr set echoperiod 30 enable echo disable deflate disable pred1 disable vjcomp disable acfcomp disable protocomp set log Phase LCP IPCP CCP Warning Error Alert set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 set login set authname set authkey set timeout 0 add default HISADDR set server /var/run/internet "" 0177 You can enable ppp at bootup by adding this to /etc/rc.conf: ppp_enable="YES" ppp_profile="myadsl" ppp_user="root" ppp_mode="ddial" ppp_nat="YES" Or run ppp manually like this: # /usr/sbin/ppp -quiet -ddial -nat myadsl Should you still not be able to connect, please have a closer look at /var/log/ppp.log. You may also want to # tcpdump -i rl0 to see if the PADI/PADO/PADR/PADS handshake completes successfully. Good luck! -cpghost. -- Cordula's Web. http://www.cordula.ws/