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

    OLSR mesh GUI $400 {awarded}

    Scheduled Pinned Locked Moved Completed Bounties
    95 Posts 7 Posters 77.7k 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.
    • P
      pcatiprodotnet
      last edited by

      I tried that upgrade command but it gave the following errors:
      (I am running beta3 embedded)

      cvs_sync.sh RELENG_1

      Setting CVS_IP to cvs.pfsense.com
      Cannot find cvsup, pkg_add in progress
      /usr/local/sbin/cvs_sync.sh: /usr/sbin/pkg_add: not found
      Cannot find cvs, fetching static cvs…
      fetch: http://www.pfsense.com/~sullrich/extra/cvs: Temporary Redirect
      chmod: /usr/bin/cvs: No such file or directory
      Syncing with pfSense.com
      Checking out RELENG_1
      mkdir: /root/pfSense: Read-only file system
      cd: can't cd to /root/pfSense//..
      mkdir: /root/pfSenseCO: Read-only file system
      cd: can't cd to /root/pfSenseCO/
      cd: can't cd to /root/pfSenseCO//
      cd: can't cd to /root/pfSenseCO//
      Installing new files...cd: can't cd to /root/pfSenseCO//pfSense
      x .
      x .cshrc: Can't open '.cshrc': File exists
      x .login: Can't open '.login': Read-only file system
      x .profile: Can't open '.profile': File exists
      x .shrc: Can't open '.shrc': Read-only file system
      x .tcshrc: Can't open '.tcshrc': Read-only file system
      x .hushlogin: Can't open '.hushlogin': Read-only file system
      CVS Sync Complete

      Restarting webConfigurator... done.

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

        You cannot cvs_sync.sh on embedded.  Wait for the next snapshot or beta4.

        1 Reply Last reply Reply Quote 0
        • P
          pcatiprodotnet
          last edited by

          No problem.  I think we can go ahead with tests today; it seems functional.
          I did get the olsr stats (issue#3) to function; I far as I can recall I don't think I did anything different.
          A couple more issues…
          6. I have noticed that sometimes when I click [Save] on the OLSR configuration page it fails to start OLSR.
              I would check the logs and there would be No listing for "olsrd[4494]: olsr.org - 0.4.10 successfully started".
          7. It also seems OLSR won't start on boot so far; I must open the olsr config page and [Save] to get it running.
          Thanks,-Pete

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

            Alright, I've made some monitor adjustments to the start code.  Let's see what happens on next testing image.

            1 Reply Last reply Reply Quote 0
            • P
              pcatiprodotnet
              last edited by

              Another note, I have the feeling that issue#3 may be related to issues#6 & #7.

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

                Yep, sure is.

                I just fixed this one as well.

                1 Reply Last reply Reply Quote 0
                • P
                  pcatiprodotnet
                  last edited by

                  " You cannot cvs_sync.sh on embedded.  Wait for the next snapshot or beta4. "
                  Will do.  We'll run our final tests after the next snapshot is released.

                  I was curious, on the olsr GUI, is the "Enable Secure Mode" referring to the "Secure OLSR Plugin"?
                  I haven't tried that feature yet, but it should prove quite useful.

                  Are the following plugins in pfSense yet?
                  "Nameservice" – we hope to use this to automatically assign DNS to the HNA (gateway), so no need to hard-code dns.
                  "Dot topology information plugin" -- for visually rendering the mesh; just icing for now, but would be handy after the mesh grows.

                  Thank you, -Pete

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

                    @pcatiprodotnet:

                    " You cannot cvs_sync.sh on embedded.  Wait for the next snapshot or beta4. "
                    Will do.  We'll run our final tests after the next snapshot is released.

                    I was curious, on the olsr GUI, is the "Enable Secure Mode" referring to the "Secure OLSR Plugin"?
                    I haven't tried that feature yet, but it should prove quite useful.

                    Are the following plugins in pfSense yet?
                    "Nameservice" – we hope to use this to automatically assign DNS to the HNA (gateway), so no need to hard-code dns.
                    "Dot topology information plugin" -- for visually rendering the mesh; just icing for now, but would be handy after the mesh grows.

                    Thank you, -Pete

                    LOL – yes, secure mode is what you wanted?    The other items wheren't mentioned in the original bounty?

                    1 Reply Last reply Reply Quote 0
                    • P
                      pcatiprodotnet
                      last edited by

                      Back when I posted the bounty I knew too little about olsr "under the hood" so I was
                      a bit inspecific "… add great olsr extensions ..." which I realize is really too open ended.
                      I figured the dynamic gateway plugin would also set the dns, seemed logical but alas.
                      Please, is it going to be too much trouble to add the "Nameserver plugin"?
                      Thank you, -Pete

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

                        Not at all, I'm just giving you grief.    I'll get it rolling this weekend.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pcatiprodotnet
                          last edited by

                          Issues encountered today while testing (still using beta3 embedded)…
                          8. When I "Enable Dynamic Gateway", the node doesn't show up as HNA on the other node's stats.
                              I tried to verify that " HNA4 { ... "0.0.0.0 0.0.0.0" } " existed in olsrd.conf but I couldn't find the file.
                          9. If I attempt to enable olsr on both Lan and Wan, it starts for a few seconds, both interface's IPs briefly
                              appear in the node list of other olsr systems, then the olsr stops or crashes, and they both disappear.
                          Thanks,-Pete

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

                            #8 is fixed.

                            #9 should be fixed from yesterdays /etc/inc/interfaces.inc changes.  todays changes where in /etc/inc/services.inc

                            http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/pfSense/etc/inc/services.inc?rev=1.72.2.34;content-type=text%2Fplain;only_with_tag=RELENG_1
                            http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/pfSense/etc/inc/system.inc?rev=1.79.2.33;content-type=text%2Fplain;only_with_tag=RELENG_1

                            You can use the Diagnostics -> Edit File option to change the files.

                            Please test, we want to release beta 4 this weekend.

                            1 Reply Last reply Reply Quote 0
                            • P
                              pcatiprodotnet
                              last edited by

                              I copy/paste/saved those 3 files (interfaces, services, system) into an otherwise unmodified beta3 embedded CF.
                              I obtained interfaces.inc from:
                              http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/interfaces.inc?rev=1.176.2.105;content-type=text%2Fplain;only_with_tag=RELENG_1
                              Rebooted.
                              Now olsr won't start, here is the last part of the logs.
                              I tried to start twice on both ports, then tried to start once on wan.
                              It appears to have made two log enteries of "olsrd exit: main" for each interface I attempted to start on.

                              Apr 28 17:10:08 php: : RRD restore failed exited with 0, the error is:
                              Apr 28 17:10:08 php: : Creating rrd update script
                              Apr 28 17:10:08 php: : Creating rrd graph index
                              Apr 28 17:10:10 php: : Resyncing configuration for all packages.
                              Apr 28 17:10:14 login: login on console as root
                              Apr 28 17:18:07 olsrd[1457]: olsrd exit: main
                              Apr 28 17:18:07 olsrd[1457]: olsrd exit: main
                              Apr 28 17:18:08 olsrd[1489]: olsrd exit: main
                              Apr 28 17:18:08 olsrd[1489]: olsrd exit: main
                              Apr 28 17:19:18 olsrd[1655]: olsrd exit: main
                              Apr 28 17:19:18 olsrd[1655]: olsrd exit: main
                              Apr 28 17:19:20 olsrd[1717]: olsrd exit: main
                              Apr 28 17:19:20 olsrd[1717]: olsrd exit: main
                              Apr 28 17:21:08 olsrd[1910]: olsrd exit: main
                              Apr 28 17:21:08 olsrd[1910]: olsrd exit: main

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

                                The only line I changed was the one requested.  Are you sure that the syntax was correct?

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pcatiprodotnet
                                  last edited by

                                  I clicked the link and it displayed in the browser (firefox) window.  I selected all and copied.  I pasted into pfSense and copy/pasted the filename into the top and clicked save.  I didn't alter the files as far I know.  Could it have wrapped text or perhaps Adblock altered it?  I'll try again later tonight.  In trouble with the wife for staying late.  Thanks, -Pete

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

                                    Update your services.inc:

                                    http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/pfSense/etc/inc/services.inc?rev=1.72.2.35;content-type=text%2Fplain;only_with_tag=RELENG_1

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

                                      Also, I had to recompile a few plugins.  We'll most likely need to wait 'til beta 4 to test correctly.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pcatiprodotnet
                                        last edited by

                                        Ok, I'll keep watch for the next imbedded beta or snapshot.
                                        Thank you, -Pete

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pcatiprodotnet
                                          last edited by

                                          I've been testing this snapshot most of today:
                                          http://www.pfsense.com/~sullrich/RELENG_1-SNAPSHOT-05-05-2006/pfSense.img.gz

                                          I have this snapshot running on two wrap.2c units (tis all I have at home with me this weekend) meshed with one WRT54GL running Freifunk, and a laptop running olsr for windows.  I am unable to test multi-hop relayed mesh communications at home (need more UPSs), but I plan to test this Monday or Tuesday at work.  If the multi-hop relay test works, and pfSense OLSR seems basically functional enough to deploy a test mesh, I'll go ahead and Paypal the first half of the bounty.

                                          The only issues I encounted thus far:
                                          10.  When "Enable Dynamic Gateway" is Unchecked it seems like it's still may be on.  The other nodes are listing every pfSense unit in their HNA entries list.
                                          11.  The "default" route sometimes gets deleted from the route table; perhaps this happens when I enable olsr on two ports or when I change IPs on interfaces.  When I go to the Wan GUI and click save at the bottom it puts the "default" route back.  This unit does have HNA enabled.  When this happened the unit would stop routing mesh traffic to my internet gateway (dsl modem w/ nat & dhcp).  However, if I only enable olsr on the interface of the wireless mesh, I don't think I've seen this problem occur.  Or, perhaps this could be a result of me doing something I'm not suppose too…?
                                          12.  I have Not been successful in getting the olsr stats web page to display in a browser window.  Before, in issue #3, it would show a blank page; but now, it's as if the port is not functional.
                                          And, I sometimes encounter miscellaneous quirks after changing configurations, but a reboot normally fixes.

                                          I didn't see changes yet to these formerly reported issues:
                                          4. When olsr is checked enabled, alter the DHCP server/forwarding GUI so that DHCP may be enabled on wan/all interfaces.
                                          5. For HNA (Dynamic Internet gateway) to function, the Wan Gateway should be unset, which is currently not possible in the gui.

                                          Thank you,

                                          • Internet Professionals, LLC
                                          • Pete
                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sullrich
                                            last edited by

                                            I will look into 10-12.  However the other items have very much been commited.  WAN should be showing up on the DHCP server tab and there should be an option in OLSR to kill the default route.

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