• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

PPPOE wan will not connect -

General pfSense Questions
9
113
23.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    gerryatric @gerryatric
    last edited by Sep 14, 2021, 9:47 AM

    @gerryatric ok yes I followed those details.
    now the logs are fairly clean

    Sep 14 19:29:14 syslogd sendto: Host is down
    Sep 14 19:29:13 syslogd sendto: Host is down
    Sep 14 19:29:13 ppp 98339 [wan_link0] PPPoE: Connecting to 'IINET'
    Sep 14 19:29:13 syslogd sendto: Host is down
    Sep 14 19:29:13 syslogd sendto: Host is down
    Sep 14 19:29:13 ppp 98339 [wan_link0] Link: reconnection attempt 105
    Sep 14 19:29:13 syslogd sendto: Host is down
    Sep 14 19:29:11 syslogd sendto: Host is down
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 ppp 98339 [wan_link0] Link: reconnection attempt 105 in 3 seconds
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 ppp 98339 [wan_link0] LCP: Down event
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 ppp 98339 [wan_link0] Link: DOWN event
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 syslogd sendto: Host is down
    Sep 14 19:29:10 ppp 98339 [wan_link0] PPPoE connection timeout after 9 seconds

    B 1 Reply Last reply Sep 14, 2021, 10:14 AM Reply Quote 0
    • B
      biggsy @gerryatric
      last edited by Sep 14, 2021, 10:14 AM

      @gerryatric

      Try removing the Service name "IINET".

      G G 2 Replies Last reply Sep 14, 2021, 10:23 AM Reply Quote 0
      • G
        gerryatric @biggsy
        last edited by Sep 14, 2021, 10:23 AM

        @biggsy did that before. no luck

        1 Reply Last reply Reply Quote 0
        • G
          Gertjan @biggsy
          last edited by Gertjan Sep 14, 2021, 10:32 AM Sep 14, 2021, 10:32 AM

          @biggsy said in PPPOE wan will not connect -:

          Try removing the Service name "IINET".

          See the log file above.
          Search for that one moment where everything goes well : "bri-apt-wic-bras207".
          pfSense sends always the same data, but the connection doesn't come up often.
          And if it comes up, and 'identification' works out well (so : all local settings are ok !!) then connection is dropped right after tat moment.

          Way back, their was the hard core PPPOE connect method :
          Shut down everything.
          Start the modem - and wait for at least 5 minutes.
          Now start pfSense.
          If that doesn't work.
          Shut down everything.
          Wait for 24 houres (I know ... it's just a test)
          Now start modem and wait at least 5 minutes.
          Start pfSense.

          The thing that bothers that : why some other device can connect ?
          And did you test this : your PC can also do 'PPPoE' : select that type of connection, connect the PC to the modem, and check if it connects.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Sep 14, 2021, 12:17 PM

            Were you able to get a connection log from either of the other devices that can connect?

            1 Reply Last reply Reply Quote 0
            • G
              gerryatric @Gertjan
              last edited by Sep 15, 2021, 7:35 AM

              @gertjan Hi Steve. Sorry for delay.
              Was trying to get a fresh perspective on all of the issues.
              I have done what you suggested above. no change except the log files shrank to up and down mostly :) over and over again.
              I even tried spoofing the mac address on the Wan interface and no luck
              If I change it from PPPOE to DHCP, I get a green Wan interface immediately with 0.0.0.0 as an IP. obviously because there is no authentication happening there.
              I am not sure what else to try here.
              Fresh installs, changes, guides, forums, I am stumped.
              Why is it so difficult., When the USG PRO just works

              F G B 3 Replies Last reply Sep 15, 2021, 7:48 AM Reply Quote 0
              • F
                fireodo @gerryatric
                last edited by Sep 15, 2021, 7:48 AM

                @gerryatric said in PPPOE wan will not connect -:

                When the USG PRO just works

                Can you get by any chance from the USG a connect log that shows how the USG makes the connection? That might be helpful.

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.7.2 CE
                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                1 Reply Last reply Reply Quote 0
                • G
                  Gertjan @gerryatric
                  last edited by Gertjan Sep 15, 2021, 7:50 AM Sep 15, 2021, 7:50 AM

                  @gerryatric said in PPPOE wan will not connect -:

                  When the USG PRO just works

                  Then I repeat :

                  @stephenw10 said in PPPOE wan will not connect -:

                  Were you able to get a connection log from either of the other devices that can connect?

                  Or this one :

                  @stephenw10 said in PPPOE wan will not connect -:

                  Check the ppp logs in the ER or any other router that does connect.

                  For example :

                  USG WAN Logs

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • B
                    biggsy @gerryatric
                    last edited by Sep 15, 2021, 8:20 AM

                    @gerryatric

                    I just found something over on Whirlpool that suggests setting an MTU of 1500 and disabling VJ compression (Interfaces > PPPs > Edit, Advanced Options).

                    The poster then edited to say an MTU of 1500 was enough.

                    link text

                    G G 2 Replies Last reply Sep 15, 2021, 12:32 PM Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Sep 15, 2021, 12:20 PM

                      Mmm, easy test at least.

                      1 Reply Last reply Reply Quote 0
                      • G
                        gerryatric @biggsy
                        last edited by Sep 15, 2021, 12:32 PM

                        @biggsy Hi
                        Same issue. that didn't do anything either sadly

                        G 1 Reply Last reply Sep 15, 2021, 12:34 PM Reply Quote 0
                        • G
                          gerryatric @gerryatric
                          last edited by Sep 15, 2021, 12:34 PM

                          @gerryatric The MTU setting on my Wan port on the USG is 1440
                          Apparently it needed to be lower to get the speed up.
                          When I first connected I had 1492 in .
                          I couldn't get above 200mbps.
                          So I rang IINEt and to get Ultrafast speed on fibre, you need to lower the MTU. They gave me a couple numbers and 1440 worked the best.

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gertjan @biggsy
                            last edited by Gertjan Sep 15, 2021, 12:46 PM Sep 15, 2021, 12:43 PM

                            The MTU when using pppoe, in the inside, can never be 1500.
                            Classic pppoe is 1472 or something close to that.
                            Yours is encapsed in a VLAN, so even less ?
                            Dono what an MRU is.

                            Btw : you can determine what the best value is :
                            ping with a given packet size (the default is 60 bytes so it always passes) - and check the answers for 'fragmentation'.
                            Repeat the test, start at 1400, and add 4 on every next test.
                            As soon as 'fragmented comes back, you found your MTU value.
                            There are many how-to available on the net.

                            This test needs a working connection, of course.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            G 1 Reply Last reply Sep 15, 2021, 12:48 PM Reply Quote 0
                            • G
                              gerryatric @Gertjan
                              last edited by Sep 15, 2021, 12:48 PM

                              @gertjan yep I did that with IINEt when setting up the USG, we deduced that 1440 was the best settings with the ping.
                              That still doesn't explain why it won't connect though.

                              B 1 Reply Last reply Sep 16, 2021, 3:49 AM Reply Quote 0
                              • B
                                biggsy @gerryatric
                                last edited by biggsy Sep 16, 2021, 3:58 AM Sep 16, 2021, 3:49 AM

                                @gerryatric

                                In your earlier logs, just after the ntp lines @Gertjan referenced, there is this sequence:

                                192.168.200.3	Sep 14 12:01:18		daemon	info	ppp[52996]	[wan]   118.208.207.22 -> 10.20.26.62
                                192.168.200.3	Sep 14 12:01:18		daemon	info	ppp[52996]	[wan]   118.208.207.22 -> 10.20.26.62
                                192.168.200.3	Sep 14 12:01:19		user	notice	check_reload_status[374]	rc.newwanip starting pppoe0
                                192.168.200.3	Sep 14 12:01:19		daemon	info	ppp[52996]	[wan] IFACE: Up event
                                192.168.200.3	Sep 14 12:01:19		daemon	info	ppp[52996]	[wan] IFACE: Up event
                                192.168.200.3	Sep 14 12:01:19		daemon	info	ppp[52996]	[wan] IFACE: Rename interface ng0 to pppoe0
                                192.168.200.3	Sep 14 12:01:19		daemon	info	ppp[52996]	[wan] IFACE: Rename interface ng0 to pppoe0
                                192.168.200.3	Sep 14 12:01:20		ntp	info	ntpd[99177]	Listen normally on 36 pppoe0 118.208.207.22:123
                                192.168.200.3	Sep 14 12:01:20		ntp	info	ntpd[99177]	Listen normally on 37 pppoe0 [fe80::215:17ff:febf:f4cc%8]:123
                                192.168.200.3	Sep 14 12:01:20		daemon	err	php-fpm[24661]	/rc.newwanip: rc.newwanip: Info: starting on pppoe0.
                                192.168.200.3	Sep 14 12:01:20		daemon	err	php-fpm[24661]	/rc.newwanip: rc.newwanip: on (IP address: 118.208.207.22) (interface: WAN[wan]) (real interface: pppoe0).
                                192.168.200.3	Sep 14 12:01:20		user	warning	dpinger[93646]	send_interval 500ms  loss_interval 2000ms  time_period 60000ms  report_interval 0ms  data_len 1  alert_interval 1000ms  latency_alarm 500ms  loss_alarm 20%  dest_addr 10.20.26.62  bind_addr 118.208.207.22  identifier "WAN_PPPOE "
                                192.168.200.3	Sep 14 12:01:22		user	warning	dpinger[93646]	WAN_PPPOE 10.20.26.62: Alarm latency 0us stddev 0us loss 100%
                                192.168.200.3	Sep 14 12:01:22		daemon	info	rc.gateway_alarm[95871]	>>> Gateway alarm: WAN_PPPOE (Addr:10.20.26.62 Alarm:1 RTT:0.000ms RTTsd:0.000ms Loss:100%)
                                192.168.200.3	Sep 14 12:01:22		user	notice	check_reload_status[374]	updating dyndns WAN_PPPOE
                                

                                I'm just wondering where that 10.20.26.62 might have come from. Not something I'd expect iiNet to set.

                                Could that be one of your home subnets?

                                Edit: Or are you perhaps running a PPPoE server on your USG or ER?

                                G 1 Reply Last reply Sep 16, 2021, 7:13 AM Reply Quote 0
                                • G
                                  gerryatric @biggsy
                                  last edited by Sep 16, 2021, 7:13 AM

                                  @biggsy Hi Phil
                                  I have no idea where that is coming from. It isn't there immediately.
                                  I have no gear on the local lan producing a 10.20.26.0 range at all
                                  I am running ZeroTier SD Wan software on some of my nodes but that is machine dependent. must have a client installed. and it is not in that range anyway.
                                  I do not know where that is coming from

                                  B 1 Reply Last reply Sep 16, 2021, 8:03 AM Reply Quote 0
                                  • B
                                    biggsy @gerryatric
                                    last edited by biggsy Sep 16, 2021, 8:17 AM Sep 16, 2021, 8:03 AM

                                    @gerryatric

                                    I think we need to find what's handing out that RFC1918 address. That looks like it's totally confusing PPPoE on your WAN.

                                    Maybe a port mirror on the SR2024 and packet capture would tell us. I can't help with the Cisco stuff, unfortunately.

                                    Maybe not. Seems the SR2024 is unmanaged.

                                    G 1 Reply Last reply Sep 16, 2021, 10:15 AM Reply Quote 0
                                    • G
                                      gerryatric @biggsy
                                      last edited by Sep 16, 2021, 10:15 AM

                                      @biggsy yes it is just an unmanaged switch used to split the nbn signal is all. has the usg and the edgerouter connected to it

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Sep 16, 2021, 11:23 AM

                                        Having a private IP as the gateway for PPPoE is not that unusual and works fine. Both of mine are like that. Is that public IP in a range you expect?

                                        I still find it odd that you are able to connect more that one client at a time though. Especially in a setup where it appears the password is not checked.

                                        Steve

                                        P 1 Reply Last reply Sep 16, 2021, 11:27 AM Reply Quote 0
                                        • P
                                          Patch @stephenw10
                                          last edited by Sep 16, 2021, 11:27 AM

                                          @stephenw10 said in PPPOE wan will not connect -:

                                          I still find it odd that you are able to connect more that one client at a time

                                          Agree
                                          Would suggest connecting just one pfsense client as a test.

                                          G 1 Reply Last reply Sep 16, 2021, 12:05 PM Reply Quote 0
                                          95 out of 113
                                          • First post
                                            95/113
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.