From owner-freebsd-net@FreeBSD.ORG Mon Oct 10 15:31:13 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D214C16A41F for ; Mon, 10 Oct 2005 15:31:13 +0000 (GMT) (envelope-from comte0@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CDC243D69 for ; Mon, 10 Oct 2005 15:31:01 +0000 (GMT) (envelope-from comte0@gmail.com) Received: by nproxy.gmail.com with SMTP id x4so457189nfb for ; Mon, 10 Oct 2005 08:31:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QTmpzrJvWW+984FZj/1jcP8CI1SqJEOLSN1ssEHbMFuRKpaKki4L1nlLxxquJUsDxECQkVauepgLVR3huzkdU0nHGXkcm5FOadnVv2XYm+x2cHEYVjJ2H7zu385aFWlFhefClAFLhgDVEVtdteAp6ZAXLA4OKkxrvzFYeUxpvF0= Received: by 10.48.108.1 with SMTP id g1mr307159nfc; Mon, 10 Oct 2005 08:31:01 -0700 (PDT) Received: by 10.48.237.5 with HTTP; Mon, 10 Oct 2005 08:31:00 -0700 (PDT) Message-ID: <1d881b2f0510100831k5b05f190p48c7f018e49d82ae@mail.gmail.com> Date: Mon, 10 Oct 2005 17:31:00 +0200 From: ComteZero _ To: Gleb Smirnoff , freebsd-net@freebsd.org In-Reply-To: <20051003064437.GD45345@cell.sick.ru> MIME-Version: 1.0 References: <1d881b2f050914072350d79a65@mail.gmail.com> <20051003064437.GD45345@cell.sick.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: PPPoE (STABLE 5) : two PADI packets emitted and then nothing... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 15:31:13 -0000 thx for your answer, now seems that PPPoE negociation works better. but i still have no connection, and when I try with #ppp, I stay in ppp mod= e (ie I can't see the Ppp, PPp, PPP...) : Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0 Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Found the following interfaces: Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Index 1, name "fxp0" Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Index 2, name "xl0" Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Index 3, name "plip0" Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Index 4, name "lo0" Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Index 5, name "tun0" Oct 4 22:01:19 fidelio ppp[30314]: tun0: Debug: Index 6, name "tun1" Oct 4 22:01:19 fidelio ppp[30314]: tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bf068] Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: deflink: Connected! Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: deflink: opening -> dial Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: deflink: dial -> carrier Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "3Com HomeConnect ADSL Modem Dua") Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: Received NGM_PPPOE_SESSIONI= D Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: Received NGM_PPPOE_SUCCESS Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: deflink: carrier -> login Oct 4 22:01:19 fidelio ppp[30314]: tun0: Phase: deflink: login -> lcp Oct 4 22:01:19 fidelio ppp[30314]: tun0: LCP: FSM: Using "deflink" as a transport Oct 4 22:01:19 fidelio ppp[30314]: tun0: LCP: deflink: State change Initial --> Closed Oct 4 22:01:19 fidelio ppp[30314]: tun0: LCP: deflink: State change Closed --> Stopped Oct 4 22:01:19 fidelio ppp[30314]: tun0: Timer: timer_Start: Inserting LCP openmode timer[0x80bf15c] before physical throughput timer[0x80bf068], delt= a =3D 10 Oct 4 22:01:19 fidelio ppp[30314]: tun0: Timer: deflink(ctrl): fdset(r) 0 Oct 4 22:01:19 fidelio ppp[30314]: tun0: Timer: deflink: fdset(r) 1 Oct 4 22:01:19 fidelio ppp[30314]: tun0: Timer: deflink: fdset(e) 1 Oct 4 22:01:20 fidelio ppp[30314]: tun0: Timer: Select returns -1 ifconfig shows interfaces up & active. my ppp.conf is as follow : default: set log all set ifaddr X.X.X.X/0 10.0.0.2/0 my_isp : set pppoe 3com set device PPPoE:xl0 set mtu max 1492 set mru max 1492 set authname MY_USER set authkey MY_PWD disable ipv6cp set dial #set login add default HISADDR Seems that Chap/Pap authentification does not start... any help welcome, Rgds, Eric, On 10/3/05, Gleb Smirnoff wrote: > > On Wed, Sep 14, 2005 at 04:23:30PM +0200, ComteZero _ wrote: > C> Hello, > C> > C> I already posted this thread in freebsd-stable but seems that this lis= t > is > C> more appropriate. > C> > C> it's been two weeks I try to find out what's wrong. Clean install from > cvsup > C> STABLE (5). > C> my ADSL account works fine with REL. 4.4+rp_pppoe but not with my new > STABLE > C> (5) (without using rp_pppoe). > C> could someone help me on this issue (logs provided here, ppp.log in > attached > C> file)... > C> two PADI are emitted but nothing happens after. > C> (i saw that someone had a similar problem, but with previous netgraph > C> revisions). > C> > C> thank you. > C> > C> Since my ADSL modem is 3Com HomeConnect, I've set the > C> net.graph.nonstandard_pppoe=3D1 > > This interface is deprecated in 5-STABLE. The correct way is to set > this via ppp.conf. > > C> ng_pppoe.c rev. is 1.67.2.1 > C> ng_socket.c rev. is 1.53.2.3 > C> > C> my ppp.conf is : > C> default: > C> set log all > C> set ifaddr X.X.X.X/0 10.0.0.2/0 > C> > C> my_isp : > C> set device PPPoE:xl0 > C> set authname MY_USER > C> set authkey MY_PWD > C> set dial > C> #set login > C> add default HISADDR > C> > C> > C> here is a tcpdump -vv -i xl0 : > C> > C> 18:48:40.808687 PPPoE PADI [Host-Uniq 0x00E654C1] > C> 18:48:42.807533 PPPoE PADI [Host-Uniq 0x00E654C1] > C> 18:51:44.010839 PPPoE PADI [Host-Uniq 0x40F195C1] > C> 18:51:46.009639 PPPoE PADI [Host-Uniq 0x40F195C1] > > It is strange, that your box sends standard PPPoE packets. May be you hav= e > set > net.graph.nonstandard_pppoe=3D1 _after_ starting ppp(8)? > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE >