• 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.
  • J
    jeroen234
    last edited by Nov 10, 2006, 8:15 PM

    its part of the wifidog project maybe i can get it to work on pfsense
    the pfsense captive portalneeds a popup windows to be open
    wifidog don't need that so on pda's and mobile foons it works to

    http://dev.wifidog.org/wiki/About

    Features

    * Captive portal which lets hotspot owners communicate with their users (custom content management).
        * Wifidog gateway runs on GNU/Linux server and embedded device like the Linksys WRT54G with OpenWRT.
        * Multi-language support: English, French, German and Portuguese.
        * Maintain the connection by checking network activity instead of a javascript window. This allows PDAs and cellphones to connect.
        * Users are unique and have a valid email address in order to open an account. Their privacy must be respected. You can also use a splash only page and do not ask user to create an account.
        * Users are able to create a working account directly from any hotspot. New users sign on from any hotspot, create their account and are granted access for 15 minutes to confirm an email. If they don't, they are disconnected.
        * Hotspot monitoring by two way heartbeating, so the central server always knows which hotspots are up, regardles of dynamic DNS, firewalls, etc.
        * Firewall has one rule to jump in, one to jump out when a connection is rejected, and one to jump out when a connection is accepted. The gateway must do its own NAT. All this allows wifidog to be integrated easily into an existing firewall configuration.
        * Statistics : Cumulative bandwidth usage accounting (per connection, per user, per hotspot)
        * Self-identification of the gateways ???

    1 Reply Last reply Reply Quote 0
    • A
      alexus
      last edited by Nov 10, 2006, 8:33 PM

      I have barebone for what they ahave alredy! (
      Let me finish some parts and I will release clinet code)
      I have CP wotking on my cell :-P
      Content managmant is easy, ad managment is possible too (but sorry I pattented the ad managment :-P )
      I even can do way more what they have if some on will help me with dirty GUI work.

      The down side of they have (i thiink) is that they want to controll a hotspot in fill, they becomeing an ISP and if device is odd to be used by ISP lime ourselfs you are getting in to the conflict, who should have client info etc. The thing  wthat im integrating is simplified version of our internal and propriatary idea on hotspot managmant. It is designed that all the info and controll will be cept by the hotspot owner, we just have and interface to monitor whats going on at the moment (in fiture I might add ability to remotely controll)

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234
        last edited by Nov 10, 2006, 8:49 PM

        looking forward to test youre files on my soekris

        1 Reply Last reply Reply Quote 0
        • A
          alexus
          last edited by Nov 10, 2006, 8:52 PM

          Ok, i got too much work till the end of the next week but I will try to fonish the first release ASAP, but not sure when… I can do it faster , w/o any server goodies, so that the device just populates the status on the server and you can view list of all devicess... no user accounts or stuff like that... thats what I have so far... I need to add user account and account managmant on the sever.. + configure te doman etc

          1 Reply Last reply Reply Quote 0
          • A
            alexus
            last edited by Nov 11, 2006, 3:40 AM

            grep makes me crazy reading the file!!!! Why the thingy doesnt work?

            Im getting "World: not found"

            
            USERNAME=grep 'World' /usr/local/StatusNotifier/var/status_notifier_conf.php; 
            echo "Username: $USERNAME";
            
            

            And here is the content of the file:

            
            	$lrc_box_name = "";
            	$lrc_box_location = "Bk";
            	$lrc_box_comments = "Main Test Site on Wall";
            // Hello World this is a test of grep file serach 
            	?>
            
            

            Any Ideas why it doesnt work?

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by Nov 11, 2006, 4:07 AM

              @alexus:

              grep makes me crazy reading the file!!!! Why the thingy doesnt work?

              Im getting "World: not found"

              
              USERNAME=grep 'World' /usr/local/StatusNotifier/var/status_notifier_conf.php; 
              echo "Username: $USERNAME";
              
              

              And here is the content of the file:

              
              	$lrc_box_name = "";
              	$lrc_box_location = "Bk";
              	$lrc_box_comments = "Main Test Site on Wall";
              // Hello World this is a test of grep file serach 
              	?>
              
              

              Any Ideas why it doesnt work?

              Try

              
              USERNAME=`grep World /usr/local/StatusNotifier/var/status_notifier_conf.php`
              
              
              1 Reply Last reply Reply Quote 0
              • A
                alexus
                last edited by Nov 11, 2006, 4:20 AM

                yay, it did work! Tnx
                I guess BSD treats quotations diferently from Linux too

                1 Reply Last reply Reply Quote 0
                • A
                  alexus
                  last edited by Nov 11, 2006, 4:25 AM

                  One more question:
                  How can I strip begining and ending character of the string?
                  Like I have username variable shrown as "username" (quotes are shown) and I want to strip out quotes

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by Nov 11, 2006, 4:30 AM

                    echo "'username'" | cut -d"'" -f2

                    or

                    echo '"username"' | cut -d'"' -f2

                    1 Reply Last reply Reply Quote 0
                    • A
                      alexus
                      last edited by Nov 11, 2006, 4:32 AM

                      other qute sign but I got the idea! thanks!
                      now I have support of usernames in my script  :D

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by Nov 11, 2006, 4:33 AM

                        @alexus:

                        other qute sign but I got the idea! thanks!
                        now I have support of usernames in my script  :D

                        Refresh

                        1 Reply Last reply Reply Quote 0
                        • A
                          alexus
                          last edited by Nov 11, 2006, 4:34 AM

                          Refresh? what are u talking about?

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by Nov 11, 2006, 4:35 AM

                            I modified my original post after you had already saw it.

                            1 Reply Last reply Reply Quote 0
                            • A
                              alexus
                              last edited by Nov 11, 2006, 4:36 AM

                              lol yea, I look at it right away, almost all of the time :-P

                              1 Reply Last reply Reply Quote 0
                              • A
                                alexus
                                last edited by Nov 12, 2006, 2:02 AM

                                Ok client side 100% Done, DNS-100%, Server Side  30%..
                                Im fealing lazy doing server side now, espesially login thingy, etc…  thatt might slow me down for some time

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by Nov 12, 2006, 2:33 AM

                                  You are on a roll.  Don't slow down ;)

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexus
                                    last edited by Nov 12, 2006, 2:34 AM

                                    I hate doing things that everty one else can do, thats like dirty work lol

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by Nov 12, 2006, 4:43 PM

                                      Part of the job description.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexus
                                        last edited by Nov 12, 2006, 4:52 PM

                                        not mine job description, aperantly im admin (not sysadmin) and not a programmer at all :-P

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by Nov 12, 2006, 5:01 PM

                                          It became a part of your job description when you decided to become a programmer…

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