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

    Pfsense dropping my connection to 30mg

    Scheduled Pinned Locked Moved General pfSense Questions
    22 Posts 3 Posters 1.6k Views
    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.
    • J
      jonidesousa
      last edited by

      I need to try and connect one device directly to pfsense.

      but I tried to reassign the interfaces and got this:

      WAN -> bce1
      LAN -> bce0
      OPT1 -> re0
      OPT2 -> tun_wg0

      Do you want to proceed [y|n]? y

      Writing configuration...
      Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /etc/inc/config.lib.inc:1056
      Stack trace:
      #0 /etc/inc/config.lib.inc(1056): fwrite(false, 'a:31:{i:1705182...')
      #1 /etc/inc/config.lib.inc(660): backup_config()
      #2 /etc/inc/config.console.inc(380): write_config('Console assignm...')
      #3 /etc/rc.initial.setports(40): set_networking_interfaces_ports()
      #4 {main}
      thrown in /etc/inc/config.lib.inc on line 1056
      PHP ERROR: Type: 1, File: /etc/inc/config.lib.inc, Line: 1056, Message: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /etc/inc/config.lib.inc:1056
      Stack trace:
      #0 /etc/inc/config.lib.inc(1056): fwrite(false, 'a:31:{i:1705182...')
      #1 /etc/inc/config.lib.inc(660): backup_config()
      #2 /etc/inc/config.console.inc(380): write_config('Console assignm...')
      #3 /etc/rc.initial.setports(40): set_networking_interfaces_ports()
      #4 {main}
      thrownpfSense - Serial: YLUE134425 - Netgate Device ID: 19b77b9ed692c9c7bffc

      1 Reply Last reply Reply Quote 0
      • J
        jonidesousa
        last edited by

        Also in case you ask if I have space
        f03926ad-526b-4532-9a72-a29a351df286-image.png

        1 Reply Last reply Reply Quote 0
        • J
          jonidesousa
          last edited by

          ok so I guess that error was to do with user...

          right now I've switched the nics around. for a moment I didn't had internet connection.

          But now back to where we were, 30mg speed.

          the only thing I forget to do was to test speed connected directly to pfsense which I will do.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Do you, or have you ever, had any traffic shaping in that config?

            Definitely worth checking since it seems to be part of the config following the interface change. Though it could be something downstream still.

            1 Reply Last reply Reply Quote 0
            • J
              jonidesousa
              last edited by

              Have never had and I don't think I have, unless I'm looking at the wrong thing.

              5db73175-8e46-4837-82d1-1d40be3cd056-image.png

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                No Limiters and no Queues?

                1 Reply Last reply Reply Quote 0
                • J
                  jonidesousa
                  last edited by

                  no nothing :(

                  1 Reply Last reply Reply Quote 0
                  • J
                    jonidesousa
                    last edited by

                    Tomorrow I will try connecting directly. but I've replaced the switch, it would be very unlucky if both were to be faulty :/

                    1 Reply Last reply Reply Quote 0
                    • J
                      jonidesousa
                      last edited by

                      Just wanted to add, that I'm using AdguardHome in PFsense. it's not the best config but worked so far and it meant 1 less hardware to buy and all dns/firewall was in one device.

                      I've followed this article: https://broadband.forum/threads/installing-adguard-home-on-pfsense.205884/

                      But like I said it worked until now. so not sure how this could also be throttling the speed

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jonidesousa @jonidesousa
                        last edited by

                        it doesn't look like it's causing anything. I've just turned that service off, rebooted and the same speed :(

                        1 Reply Last reply Reply Quote 0
                        • J
                          jonidesousa
                          last edited by jonidesousa

                          SO...

                          End up buying new hardware. Restore backup and speeds are now good.

                          Thanks so much for the help @stephenw10 !!! Really appreciate it.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.