Olsr on pfsense as AP?



  • hello all :)
    I have a questiont to OLSR
    when I put a wlan card into pfsense, is pfsense then acting as an access
    point?
    or can I only access to an olsr network?

    tia
    stefan



  • It can do accesspoint, infrastructure and adhoc (depending on the card you use, we recommend atheros in general) but I think OLSR requires adhoc.



  • thanks hoba,

    okay, is there anywhere a discription about the olsr things in pfsense?

    can not find something.

    tia

    stefan



  • No, it's pretty much undocumented. I suggest reading the olsr tutorials and docs at the olsr project page. pfSense uses the same terminology for things.



  • You may use pfSense and a wlan card in ad-hoc mode to create/add a node to an olsr mesh and also have it act as an "access point".  The trick is using an alternate DHCP server called dnsmasq, which is built into pfsense already but not fully configurable from the gui, to serve DHCP with a custom/narrow/local netmask, which forces proper routing of traffic to and from your non-olsr local wireless clients.  (Alternately, you may use two wlan cards with one on the olsr mesh and the second in real AP mode, but interference will be terrible unless one is non-2.4ghz).  Remember to disable pfSense DHCP in the GUI.  If you're serious about setting up the mesh and you've purchased the equipment for your pfSense units, just let me know and I'll send you my custom configs for dnsmasq and olsrd.  Another money saving idea is to buy Linksys WRT54GL and flash upgrade it with Freifunk olsr; it can also double as an "AP" using the same DHCP trick I mentioned above by editing dnsmasq.conf using ssh and vi editor {details several posts down}.  So far this setup is working well on my mesh of ~15 pfSense outdoor wrap units plus many more linksys units.



  • olsr its a good ? helping anyway ? how can this improve network ?



  • @lowcypl:

    olsr its a good ? helping anyway ? how can this improve network ?

    As you don't seem to know what olsr is and does I suggest reading http://www.olsr.org/docs/wos3-olsr.pdf .



  • hello pcatiprodotnet :)

    at firsat thank you:
    If you want you can contact me directly, or better put config files on the forum so all can share it!

    Yes this is the way I want to go with the firmware freifunk.net. I have a  Linksys Wireless G flashed with it. Also I have a wlan card Wireless G from cisco. The purpose it to create a free network ( like freenetworks.org)
    The question for me is how should I design this szenario. Should I use the AP ? Where should I put it to? normal additional (OPT2) NIC and connect then to the AP, or is it the better way to put in a wlan NIC and create an AP?
    Or put the wlan card in pfsense and connect then to the AP?
    I dont know what is a really good network- design for it.
    Can you help?

    tia
    Stefan



  • …"how should I design this szenario. Should I use the AP ? Where should I put it to?"...

    Do you want the linksys and the pfSense system to both be wirelessly directly connected to your mesh?  And, they will be in separate locations?  Otherwise, if they are near each other, only one needs to be on the wireless mesh and functioning as a wireless "AP"; thus, the second unit would be connected to the first via ethernet/wired.  So, configure routing as normal, and add an HNA route announcement in OLSR for the second unit's IP & netmask.

    Freifunk/olsr for Linksys WRT54GL...
    http://212.222.128.68/sven-ola/ipkg/g+gl/
    To also use it as an "access point", update it with this package: "freifunk-dnsmasq
    ..*_mipsel.ipk" from...
    http://212.222.128.68/sven-ola/ipkg/packages/

    If you want wireless dhcp to Not use NAT and serve "real routed" IPs to local wireless clients then ssh (or PuTTY) into your linksys, you'll need to backup copy and delete /etc/dnsmasq.conf then recreate it because it's just a reference to a rom file, edit /etc/dnsmasq.conf with "vi" editor and add an extra "dhcp-range" line for device "wlnat" and configure the desired dhcp IP range and netmask (restrict range to your node's IPs) for wireless clients, also comment out lines begining with "address=", and if you set up "olsr nat" in the gui then erase it.  [update] Newer versions may require DNS server IPs to be specified in dnsmasq.conf.
    If you need more help check the Freifunk mailing list…
    http://freifunk.net/pipermail/wlanware/
    Translations...
    http://translate.google.com/translate_t
    http://wiki.freifunk.net/Freifunk_Firmware_(English)
    http://freifunk.net/wiki/FreifunkFirmwareEnglish

    As for OLSR on pfSense:
    sample olsr & dnsmasq configs...
    http://forum.pfsense.org/index.php/topic,677.msg8294.html#msg8294
    plus add startup shell scripts such as these for olsrd & dnsmasq ...
    http://forum.pfsense.org/index.php/topic,677.msg8180.html#msg8180


Log in to reply