OLSRD
1.0
OLSRD
/var/db/OLSRD
OLSRD
OLSRD Settings
/pkg_edit.php?xml=olsrd.xml&id=0
/usr/local/www/
0755
- http://www.pfsense.com/packages/config/OLSRD_rules.php
['installedpackages']['OLSRD']['config']
Enable OLSR
enable
Enables the dynamic mesh linking daemon
checkbox
Interfaces
interface_array
lan
true
3
interfaces_selection
Enable HTTPInfo Plugin
enablehttpinfo
Enables the OLSR stats web server
checkbox
HTTPInfo Port
port
Port that HTTPInfo will listen on
input
Allowed host(s)
allowedhttpinfohost
Enables the OLSR stats web server
input
Allowed host(s) subnet
allowedhttpinfosubnet
Enter the subnet mask in form 255.255.255.0
input
Enable Dynamic Gateway
enabledyngw
Enables the OLSR Dynamic Gateways feature
checkbox
Ping
ping
Pings this host to ensure connectivity
input
Enable Secure Mode
enabledsecure
Enables the secure mode
checkbox
Key
key
Paste the secure key information here.
textarea
5
50
$fd = fopen("/usr/local/etc/olsrkey.txt","w");
fwrite($fd, $_POST['key']);
fclose($fd);
foreach($_POST['interface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
if($if) {
setup_wireless_olsr($if);
}
}