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 75.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 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
                    • P
                      pcatiprodotnet
                      last edited by

                      " WAN should be showing up on the DHCP server tab "
                      I just checked again, and didn't see this on either of my test units.  Is it possible that it's only missing in the imbedded version?

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

                        [from testing 5/6 snapshot] The seemingly random deletion of the default route (with nothing being put back in it's place; it's just gone) is hampering testing. Not being able to turn off HNA announcement on non-gateway nodes is also sometimes causing their their IP to incorrectly replace the default route on other nodes.
                        Will test beta4 over the next few days.
                        Thank you, -Pete

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

                          Another minor Issue:
                          13.  I need the ability to set the DHCP subnet mask manually on the wireless (olsr) interface.  When a non-olsr dhcp client connects, their subnet mask should to be restricted to the local node's allocated IP range so the node may "relay" their traffic across the olsr network to the internet gateway.
                          Thank you,
                          -Pete

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

                            14. I just tried beta4, olsrd isn't starting when "Enable Dynamic Gateway" is checked.

                            10. It still appears that every node is advertising itself as an HNA and overwriting default routes on other nodes, even though enable dynamic gateway unchecked.  I was able to "supersede" this behavior with a kludge by adding the following two static routes on my gateway node (my private IP range is 10/8):
                            route 0/1 to 10.0.0.1
                            route 128/1 to 10.0.0.1

                            -Pete

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

                              Its starting just fine here.

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

                                I'm Awarding the first half (50%) of the Bounty Award for all the hard work thus far.  I really appreciate you sullrich!
                                I Paypal'd to the pfSense general donation email.  If it was sent to the wrong address, please forward it on; thanks.

                                Transaction Details

                                Payment Sent (ID #0CU71202AT6032931)

                                Original Transaction
                                Date Type Status Details Amount
                                May 11, 2006 Payment To Chris Buechler Completed … -$150.00 USD

                                Related Transaction
                                Date Type Status Details Amount
                                May 11, 2006 Charge From X    Completed Details $150.00 USD

                                Name:
                                Chris Buechler   
                                Email:
                                paypal@chrisbuechler.com

                                Total Amount:
                                -$150.00 USD

                                Date:
                                May 11, 2006
                                Time:
                                11:44:59 PDT
                                Status:
                                Completed

                                Subject:
                                First 1/2 of Bounty Award for OLSR GUI
                                Note:
                                Thank you for all the hard work on OLSR GUI to date.    When it's completed and passes our functionality and stability tests, the second half of the bounty will be awarded.
                                Thank you,
                                -Internet Professionals, LLC
                                -Pete
                                Shipping Address:

                                No Address Provided

                                Funding Type:
                                X
                                Funding Source:
                                $150.00 USD - X
                                This X transaction will appear on your statement as "PAYPAL *CBUECHLER".

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

                                  " Its starting just fine here. "
                                  I need to discover what setting I changed to cause that then.  Perhaps it was assigning Wan to ethernet interface and Lan to wifi interface.  I'll do some investigating.

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

                                    Try starting olsrd from the console.

                                    I believe the command is olsrd -f /var/etc/olsrd.conf  (but I cannot check at the moment)

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

                                      I think I discovered the when/why issue #14 occurs:  When the IP/netmask of an interface is improperly set to conflict/overlap with the IP/netmask of another interface, and "Enable Dynamic Gateway" is checked, olsr won't start.
                                      I'm still having problems with issue#10, though.
                                      I look forward to pfSense getting RIP; setting up routes for the non-olsr systems is quite burdensome.
                                      Thanks, -Pete

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

                                        To solve issue #10:
                                        Add a check box for "Announce self as Dynamic Gateway" underneath "Enable Dynamic Gateway".
                                        The following line found in olsr.conf should only exist if "Announce self as Dynamic Gateway" is checked:
                                            0.0.0.0 0.0.0.0
                                        Thank you, -Pete

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jeroen234
                                          last edited by

                                          @pcatiprodotnet:

                                          I
                                          I look forward to pfSense getting RIP; setting up routes for the non-olsr systems is quite burdensome.
                                          Thanks, -Pete

                                          a route for a non olsrd system you setup with the hna config
                                          adding
                                          10.0.1.0 255.255.255.0
                                          adds a route to 10.0.1.0/24 tru the olsrd server
                                          10.0.1.1 255.255.255.255 adds a olsrd route to pc 10.0.1.1 tru the olsrd server
                                          this you have to do only on the server that nows the route to the non olsrd network or pc
                                          and the olsrd server will let the other olsrd servers now tru hna that tose pc's /networks can be found tru him

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

                                            A very handy tip, jeroen234!
                                            Unfortunately, in pfSense imbedded, edits to /var/etc/olsr.conf are Not persisting after reboot.  After editing, I deleted /tmp/config.cache but it didn't help.  Is there any way to get around this?  Or, could a field such as "Announce Dynamic local routes: [IP/Netmask]" be added to the GUI so I don't have to edit the file?  This would be added directly below where the "0.0.0.0  0.0.0.0" entry in olsr.conf.
                                            Thanks, -Pete

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