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

    [SOLVED] Does /boot/loader.conf.local work for you ?

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 2.5k 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.
    • D Offline
      dhatz
      last edited by

      Apparently it doesn't work on my 2.1-BETA0 โ€ฆ (any settings there seem to be ignored)

      Setup seems OK:

      grep ^loader_conf_files /boot/defaults/loader.conf
      loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Yes, I've set things there and they're respected.

        What are you trying to set that is "ignored" there?

        Sure there isn't a syntax causing the file to be invalid?

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D Offline
          dhatz
          last edited by

          Hi jimp,

          I've tried various settings, e.g. ecn:

          cat /boot/loader.conf.local
          net.inet.tcp.ecn.enable="1"

          sysctl -a|fgrep ecn
          vfs.bufreusecnt: 1326
          net.inet.tcp.ecn.maxretries: 1
          net.inet.tcp.ecn.enable: 0
          net.inet.sctp.use_dcccecn: 1
          net.inet.sctp.ecn_enable: 1
          net.inet.ipsec.ecn: 0
          net.inet6.ipsec6.ecn: 0

          Whereas when I set them from CLI instead, it always works. Btw user miles267 seemed to have a similar problem, check http://forum.pfsense.org/index.php/topic,50484.0.html

          I've checked dmesg for any errors in parsing loader.conf.local, but I couldn't find any.

          I'll probably do a new 2.1-BETA install from scratch and try again.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            If it's not a loader tunable you may not be able to set it there. If you can set it run-time, just add it to System > Admin on the Tunables tab.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • D Offline
              dhatz
              last edited by

              This worked, thanks for the tip!

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