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

    how to Load many users on freeradius automatically?

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 3 Posters 735 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.
    • A
      aliadam
      last edited by

      hi friends,

      mike69M 1 Reply Last reply Reply Quote 0
      • mike69M
        mike69 Rebel Alliance @aliadam
        last edited by

        @aliadam

        👋 Hi Friend.

        DG FTTH 400/200
        Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

        A 1 Reply Last reply Reply Quote 0
        • A
          aliadam @mike69
          last edited by

          @mike69
          Can Someone help me to load many users on freeradius automatically on pfsense ?i create a file that content all users like this format "users" Cleartext-Password := "password"

          GertjanG 1 Reply Last reply Reply Quote 0
          • mike69M
            mike69 Rebel Alliance
            last edited by mike69

            Edit the file manually on pfsense, paste your content over diagnostic/edit file into the users file of freeradius, converted like this:

            johnboy  Cleartext-Password := "walton"
            

            and restart service

            DG FTTH 400/200
            Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

            A 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @aliadam
              last edited by

              @aliadam said in how to Load many users on freeradius automatically?:

              create a file that content all users like this format "users" Cleartext-Password := "password"

              Check out this file /cf/conf/config.xml
              Look under

              <pfsense>
                	<installedpackages>
              		<freeradius>
              

              and there you will find many <config> blocks.
              Every one is filled up with the info that is used to create a config file for FreeRadius, just before starts.

              For the last 30 years, we would write some small thing that would read "something" and write it to "some other format".

              These days, this might work "build xml from data" .... ;)

              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
              • A
                aliadam @mike69
                last edited by

                @mike69
                Thanks u very.it's works very well.
                I load all users content in file.thanks again.

                mike69M 1 Reply Last reply Reply Quote 0
                • mike69M
                  mike69 Rebel Alliance @aliadam
                  last edited by

                  @aliadam

                  Great.🖖

                  DG FTTH 400/200
                  Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

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