Skip to main content
ch4071c
New Member
May 18, 2020
Solved

Debug PPPoE connection

  • May 18, 2020
  • 1 reply
  • 26539 views

Hi guys,

 

I need to find out why PPPoE on my FG40 is failing connection.

 

Using:

diag debug enable diag debug application pppoe -1 diag debug application ppp -1

is giving me nothing.

 

I'm connecting my fiber converter directly to the WAN interface.

 

The same info is being written to console all the time, but it's not giving me much useable info:

pppd 0 pppoed wan      nopersist noipdefault noauth defaultroute default-asyncmap hide-password nodetach mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user MY_USERNAME lcp-echo-interval 5 lcp-echo-failure 3 sync plugin /bin/pppoe.so     pppoe_retry_time 1 pppoe_padt_time 1 pppoe_srv_name  pppoe_ac_name  pppoe_hostuniq 1423b4c0 pppoe_sock2parent 12 wan ipunnumbered 0.0.0.0 idle 0 unnumbered-negotiate enable

 

The WAN connection just says 'Failed'. It would be nice to see a simple error saying 'password incorrect' or something like it.

 

Any help is much appreciated.

Best answer by sw2090

I remember having had similar messages in debug log when I tied to configure one of the internal lan porst of a FGT92D to be a WAN and do pppoe.

It didn't work with similar messages. We finally found out with Fortinet TAC that you must set a global option o this one to enable pppoe on an internal lan even though gui lets you configure the port for pppoe without that set and without any error...

That global option btw is model dependant. It does not exist on every FGT. 90/91/92D had it but 100E/D don't have and need it.

1 reply

sw2090
SuperUser
sw2090Answer
SuperUser
May 19, 2020

I remember having had similar messages in debug log when I tied to configure one of the internal lan porst of a FGT92D to be a WAN and do pppoe.

It didn't work with similar messages. We finally found out with Fortinet TAC that you must set a global option o this one to enable pppoe on an internal lan even though gui lets you configure the port for pppoe without that set and without any error...

That global option btw is model dependant. It does not exist on every FGT. 90/91/92D had it but 100E/D don't have and need it.

ch4071c
ch4071cAuthor
New Member
May 19, 2020

Hi sw2090,

 

Thanks.

 

Do you have any info on needed code to run to enable the right stuff? We also have FG100F and FG600E, but this issue is on a FG40. Do you mean to use a LAN port as WAN instead of the dedicated physical WAN port? Also, I'm running version 6.4, which is a very new release (too new?).

sw2090
SuperUser
SuperUser
May 19, 2020

Yes I mean to use a LAN port as WAN.

Unfortunately I don't remember the command anymore and the one FGT92D I used it on has recently died unfortunately. So I can't say anymore. Maybe I can browse trough old TAC tickets if I find the time to tomorrow.