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

OLSR mesh GUI $400 {awarded}

Completed Bounties
7
95
75.5k
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 Apr 26, 2006, 4:50 PM

    Good grief, I'm sorry I had no idea the Ctrl key could be used like that. Thanks, -Pete

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Apr 26, 2006, 4:52 PM

      Sounds like we need to add a blurb under the interface control describing this behavior.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Apr 26, 2006, 8:37 PM

        @pcatiprodotnet:

        Issues I've noticed so far that are needed to finish up this bounty …

        1. Need a Check box for "Link Quality Extensions".
        x. Tabs/Check-boxes for capability to enable OLSR on multiple Network Interfaces. {done: use Ctrl key to multi-select}
        3. I tried to enable and view the olsr web stats but it was just an empty page; am I using this correctly?
        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, I read on the olsr-users mailing list that the Wan Gateway should
            be unset, which is currently not possible in the gui.  Is this correct?  Perhaps there is more to making this work.

        Thanks,
        -Pete

        All of these with exception of #3 should be resolved.

        Please do a cvs_sync.sh RELENG_1 and test.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • P
          pcatiprodotnet
          last edited by Apr 27, 2006, 1:50 PM Apr 27, 2006, 2:17 AM

          Thanks Scott!  We plan to run a small test tomorrow at work with 3 pfSense ad-hoc olsr nodes
          (placing node#1 & node#3 out of range of each other) and several non-olsr wi-fi & lan clients.

          Here are a couple replies I received from the olsr-users mailing list so far regarding olsr configuration…

          Quote: " On OLSR nodes, you'd leave gateway unset, as the HNA announcement
          of 0.0.0.0 sets the default gateway on all nodes that hear it. For DNS, I
          have it manually set, though there's a plugin for this apparently in OLSR. "
          --Me: Is he referring to the "Nameservice" plugin?  Automatically setting DNS to the HNA would be great.

          --Me: I want our olsr nodes to also serve Non-olsr client PCs.
          --Should the node's DHCP server serve the node's own IP address as
          --the Gateway & DNS to the Non-olsr client PCs?
          Quote: " Yes, at least that's how I've setup our network. "

          Quote: " If nodes dont see each other (dont show up in the list), then
          there is propably something wrong with their broadcast addresses. "

          Thank you, -Pete

          1 Reply Last reply Reply Quote 0
          • P
            pcatiprodotnet
            last edited by Apr 27, 2006, 4:26 PM

            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 Apr 27, 2006, 4:31 PM

              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 Apr 28, 2006, 8:22 PM Apr 27, 2006, 5:05 PM

                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 Apr 27, 2006, 5:10 PM

                  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 Apr 27, 2006, 5:23 PM

                    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 Apr 27, 2006, 5:26 PM

                      Yep, sure is.

                      I just fixed this one as well.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pcatiprodotnet
                        last edited by Apr 27, 2006, 10:27 PM

                        " 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 Apr 28, 2006, 1:07 AM

                          @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 Apr 28, 2006, 3:08 AM Apr 28, 2006, 2:34 AM

                            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 Apr 28, 2006, 4:23 AM

                              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 Apr 28, 2006, 8:30 PM Apr 28, 2006, 8:26 PM

                                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 Apr 28, 2006, 8:43 PM

                                  #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 Apr 28, 2006, 9:31 PM Apr 28, 2006, 9:29 PM

                                    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 Apr 28, 2006, 9:31 PM

                                      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 Apr 28, 2006, 9:47 PM

                                        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 Apr 28, 2006, 9:53 PM

                                          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
                                          22 out of 95
                                          • First post
                                            22/95
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.