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

    Online / Offline Status Notification System via push

    Scheduled Pinned Locked Moved Development
    103 Posts 7 Posters 52.9k 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.
    • H
      hoba
      last edited by

      Create a package and maybo some small documentation how to set it up.

      1 Reply Last reply Reply Quote 0
      • A
        alexus
        last edited by

        now what do you mean by package? the one thet supposed to be intalled in the packages menue? or something else? I have modified the system_advanced.php gui page and added folder for my files. Also if you want to integrate as package, how would that work for Embeded verions? (those are my primary consern)

        1 Reply Last reply Reply Quote 0
        • R
          rsw686
          last edited by

          @alexus:

          now what do you mean by package? the one thet supposed to be intalled in the packages menue? or something else? I have modified the system_advanced.php gui page and added folder for my files. Also if you want to integrate as package, how would that work for Embeded verions? (those are my primary consern)

          Look at the existing packages for a example on how to create one. Why do you have to modify system_advanced.php Can't you do all this from a seperate page specifically for your package?  Also the files should go in /usr/local/pkg folder.

          Then look at the scripts I use to add the miniupnpd package to the embedded image. Here the thread on miniupnpd. http://forum.pfsense.org/index.php/topic,551.285.html

          And the files I use to create the custom image are located http://wgnrs.dynalias.com:81/pfsense/ Start with the sh-custom-image.sh file and go from there. You can modify it along with sh-add-miniupnpd.sh and should be able to easily add your package once created to the embedded image.

          1 Reply Last reply Reply Quote 0
          • A
            alexus
            last edited by

            ok f**** my IE, i m retypinhg this messahe 4th time, and IE closes the window just renodmly
            I will try to use ur work around for embedded version, still never seen the packages for embeded. I thik i even had a threat ewrlyeer in pf life about that

            as to the system_advanced.php i used that page caz i dont think there is a need for separate page for my code and it perfecly feets advanced config page

            1 Reply Last reply Reply Quote 0
            • A
              alexus
              last edited by

              it seams that i have to do lots of admin things for the company at the moment so i cant even look how to do the package work around…

              sullrich, do you want me to just give you the files and and u'll see if you will be ok with the thing as it is now? (its only copy and paste, no config is required except to set the write permission to my own config file.)

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                @alexus:

                sullrich, do you want me to just give you the files and and u'll see if you will be ok with the thing as it is now? (its only copy and paste, no config is required except to set the write permission to my own config file.)

                I still have no idea what you are even up to.  So politely the answer is NO.

                1 Reply Last reply Reply Quote 0
                • A
                  alexus
                  last edited by

                  next time try unpolite unswer :-P
                  im gonna kill my eyes if i will try to figure how to do that package thingie

                  1 Reply Last reply Reply Quote 0
                  • A
                    alexus
                    last edited by

                    ok I was trying to figure how the packages work, and I only can see how they work when they are installed…. can some one give me the link on actual package so I can reverse it to build my own package? thanks!

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by

                      You can find everything here: http://pfsense.com/cgi-bin/cvsweb.cgi/tools/packages/

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        That and the master manifest @ http://pfsense.com/cgi-bin/cvsweb.cgi/tools/pkg_config.xml

                        1 Reply Last reply Reply Quote 0
                        • A
                          alexus
                          last edited by

                          So package is actually XML file decribin location of php file and menues position etc.
                          If I will create this XML how can I test if it works proprerly?

                          Can I set pfSense to tepporarly read some other URL where my test packege is located so I can see if everything installs and works the way I need it?

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by

                            Yes, this question has been asked atleast 10 times.  Search and ye shall find..

                            1 Reply Last reply Reply Quote 0
                            • A
                              alexus
                              last edited by

                              search function here doesnt like me "-(

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by

                                Replace your keyboard then?

                                1 Reply Last reply Reply Quote 0
                                • A
                                  alexus
                                  last edited by

                                  i tryed all posible keywoords, package testing, installation, debugging, ulternate installation location… i dono

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexus
                                    last edited by

                                    i spnt half of tthe day trying to find out how to altern the location the pfsense looks at, but i olny found the variable, and still cant find the inc file that has that variable :-(

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by

                                      "xmlrpcbaseurl" => "www.pfsense.com",
                                          "xmlrpcpath" => "/pfSense/xmlrpc.php",

                                      in /etc/inc/globals.inc

                                      Then take a look at the server side xmlrpc software.  Key word: xmlrpc

                                      http://forum.pfsense.org/index.php/topic,312.msg1799.html#msg1799

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexus
                                        last edited by

                                        seams not as easy as just replacing the url :-(

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by

                                          There you go wanting to push the easy button again!!

                                          :)

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            alexus
                                            last edited by

                                            yes!
                                            its like doing second project just to run the main project…

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