PPPoE (STABLE 5) : two PADI packets emitted and then nothing...

ComteZero _ comte0 at gmail.com
Mon Oct 10 08:31:13 PDT 2005


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 mode
(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_SESSIONID
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], delta
= 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 <http://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 <glebius at freebsd.org> 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 list
> 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=1
>
> 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 <http://1.67.2.1> <http://1.67.2.1/>
> C> ng_socket.c rev. is 1.53.2.3 <http://1.53.2.3> <http://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 <http://10.0.0.2/0> <http://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 have
> set
> net.graph.nonstandard_pppoe=1 _after_ starting ppp(8)?
>
> --
> Totus tuus, Glebius.
> GLEBIUS-RIPN GLEB-RIPE
>


More information about the freebsd-net mailing list