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

    the network does not rise after turning off the power

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 2 Posters 1.1k Views 2 Watching
    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.
    • B Offline
      boxer2022
      last edited by boxer2022

      Hi all!
      does anyone know how to fix it so that you don’t have to configure the network every time you turn off the power to the device, how to set the network settings once and for all, so that you don’t have to connect a monitor and keyboard every time and enter the same thing every time vlan = no, igb0, igb1 etc.?
      so that WAN is always igb0 and LAN is always igb1
      why the settings are lost every time the device loses power, with a regular reboot everything is ok

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

        You should not have to do that.

        The only reason it will ask you to do that is because one of the assigned interfaces is not present when it tries to set them up. Usually that's because one of the NICs is something of like a virtual device or a USB NIC, is that the case? What NICs do you have assigned?

        Steve

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          boxer2022 @stephenw10
          last edited by

          @stephenw10

          with the fifth reinstallation of the system and dancing with the tambourine, the question seems to have been solved, oh and a sensitive pf to different third-party network card drivers, the interface was not raised in time and the configuration script was run) is there a way to drive the settings once and for all as in Linux when adding interface to the /etc/network/interfaces config and you are sure that it will not fly off when loaded with a shaved script that will not allow the system to load due to the fact that I pulled out which thread of the usb adapter or just offlinked the power and UPS died) where we have the settings of the interfaces physically lie and how to prevent the running of this stupid script, sorry for my French just already had enough of this update of pf)

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

            There are things you can do but it depends what NIC you added. And you are loading additional drivers? How? Those should all be done long before the valid interfaces check.

            There are some interface types are created later at boot such as VPNs or PPPs and those are excluded from the check. Here:
            https://github.com/pfsense/pfsense/blob/RELENG_2_6_0/src/etc/inc/util.inc#L2403

            You can just add your interface type there but if pfSense boots and an assigned interface doesn't exist interesting things can happen. Some users have done that for USB modems that require modeswitching for example.

            Steve

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              boxer2022 @stephenw10
              last edited by

              @stephenw10
              and tell me whether it is possible to connect to the Wi-Fi network by regular means without resorting to dancing with wpa_supplicant very little information on this score

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

                You mean using pfSense as wifi client?

                It's unusual but, yes, you can bring up a wifi interface in Infrastructure mode. There's no useful way to search for networks to connect to though, you need to know the details.

                Steve

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  boxer2022 @stephenw10
                  last edited by

                  @stephenw10
                  yes, as wifi client it is posible to connect pf with wifi access point?

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

                    Yes, if you have wifi hardware that is supported and runs in Infrastructure mode.

                    Add the interface in Interfaces > Assignments > Wireless. Then assign and configure it like any other interface.

                    What interface were you adding that required some additional driver?

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      boxer2022
                      last edited by boxer2022

                      the issue is still not resolved, the router refuses to start if one of the interfaces is not available, for example, if you pull out the wan cable and send the router to reboot, it will not start with the lan network settings, but will ask you to specify the configured interfaces....
                      it’s not at all convenient that you have to connect the monitor and keyboard to the router every time to specify the network settings, what the hell, developers guys, is it really so hard to start the router with all available network settings, even if some of the networks don’t ping, I’ve been using it for about 10 years pf and never had such problems, only with a recent update "happiness arrived"
                      the router turns into a brick if you pull out the internet wire of the wan or put in usb network adapter or pci network card and reboot, your network and system won’t rise at all, so try it for yourself with respect to the latest official release)

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

                        If you remove one of the configured interfaces and reboot it will ask you to re-assign the interfaces at the console. That's how pfSense has always worked.
                        Simply removing the Ethernet cable so it has no link obviously does not do that though.

                        If you add new interfaces that use the same driver as existing NICs the interface order may be renumbered but they would still exist so you wouldn't be asked to reassign.

                        Exactly what interfaces are you using here? You have mentioned both wifi and USB interfaces but no specifics.

                        Steve

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