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

Online / Offline Status Notification System via push

Development
7
103
52.1k
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.
  • R
    rsw686
    last edited by Nov 20, 2006, 2:26 AM Nov 20, 2006, 2:23 AM

    @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 Nov 20, 2006, 3:54 AM

      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 Nov 20, 2006, 10:15 PM

        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 Nov 20, 2006, 10:23 PM

          @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 Nov 20, 2006, 10:28 PM

            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 Nov 22, 2006, 12:10 AM

              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 Nov 22, 2006, 2:22 AM

                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 Nov 22, 2006, 2:38 AM

                  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 Nov 22, 2006, 6:13 PM

                    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 Nov 22, 2006, 6:37 PM

                      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 Nov 22, 2006, 7:07 PM

                        search function here doesnt like me "-(

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Nov 22, 2006, 7:20 PM

                          Replace your keyboard then?

                          1 Reply Last reply Reply Quote 0
                          • A
                            alexus
                            last edited by Nov 22, 2006, 7:24 PM

                            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 Nov 22, 2006, 10:04 PM

                              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 Nov 22, 2006, 10:56 PM

                                "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 Nov 23, 2006, 4:14 AM

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

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by Nov 24, 2006, 1:09 AM

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

                                    :)

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      alexus
                                      last edited by Nov 24, 2006, 1:26 AM

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

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexus
                                        last edited by Jan 22, 2007, 6:57 PM

                                        Heyy all im back in business and i better finish my thing in 3 days now before gotta get 3 other projects..

                                        So, as i remember onlything i left out with is to spoof the package locations to my server for testing purpuses and debug the package….

                                        Ehh seamd gonna take some time on learning the thing :-(

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          alexus
                                          last edited by Jan 23, 2007, 8:46 PM

                                          Well scrue this i dont wanna build the package… if some one want the only ofline ewuipment watch dog and email notification, then help me do the package otherwise i keep it for my own use with moded pfSense box!

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