Giter Site home page Giter Site logo

robin-mesh-v2's People

Contributors

westbywest avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

robin-mesh-v2's Issues

Reduce swappiness

zram active on all nodes, but recommend tweaking the 'swappiness' valueto 0 - the default is 65. the higher the number, the more likely the kernel swaps out. if set to 0 zram is only used if the is no other possibility. of course: if swapping begins, the box freezes for some
seconds but it does not die.

the kernel likes to swap out processes which are not in use, e.g. uhttpd or dropbear. olsrd or other active processes are very unlikely to be swapped - the kernel is smart somehow 8-)

Recovery behavior when gateway node is completely unavailable

Options for when a gateway node is completely unavailable:

  • If no other stations detected on mesh, periodic restart wireless interface and/or /etc/init.d/networking. (Did have to restart wifi on TP-Link MR3020 after 5days uptime due to silent wifi driver failure.) This option does at least preserve active DHCP leases.
  • If other stations detected on mesh but no gateway node, periodic restart of OLSRd?
  • Or, periodic reboot of node?

Period for any such restart process should be quite long to avoid oscillation, e.g. 30min or 1hr.

Suppress redundant/dublicate syslog entries from busybox/crond

Default configuration for crond/busybox has all crontab entries logging to syslog, no matter what. This pollutes the syslog buffer when there are regularly scheduled tasks (e.g. once every 5min), and it gobbles up bandwidth needlessly when remote logging is used.

Allow specified entries in /etc/crontab/cron to NOT trigger entry to syslog.

Use short IBSS slot time in 5.8GHz band

This patch allows short slot times for IBSS beacons in 5.8GHz, while maintaining standards compliance. Observed maybe ~10% throughput improvement when tested with two Nanostation M5's set to 1000ms beacon internal. Radios set to shorter beacon interval would probably see more throughput improvement.

https://patchwork.kernel.org/patch/1835531/

This patch is not included in Attitude Adjustment, as of this writing.

Restart olsrd when gateway node internet access restored

Existing ROBIN mesh v2 checkin scripts can detect when internet service goes out (e.g. ping to 8.8.8.8). Something weird about olsrd on a gateway node seems to cause it to break repeater nodes' route to internet if the gateway node loses its own internet connection, but then gets it back shortly thereafter (1hr).

Workaround is to have ROBIN checkin scripts restart olsrd on gateway node after Internet outage resolved.

Move all temporary files to /tmp

Both ROBIN v3xxx and the initial version of ROBIN v2 write a bunch of stuff to the flash disk on a regular basis, e.g. to /etc/update, on a regular basis. This is bad. Relocate all temporary data associated with dashboard checkings to /tmp, and only write the following files to /etc:

/etc/robin_version
/etc/olsrd_version
/etc/reboot_reasons

Use upstream for ping latency too

When using general.services.upstream and general.services.speedtest_url for speed test values, use the hostname embedded in speedtest_url for ping latency measurements as well.

Having portal spoof Apple devices

Cloning relevant issue from Commotion-OpenWRT:
https://code.commotionwireless.net/issues/482

This line needs to be added to the pre-authenticated dnsmasq.conf file:

address=/apple.com/0.0.0.0

This will prevent apple devices and computers from auto authenticating splash screens (so folks who connect can see the local content we want to show over commotion splash).

When apple devices connect to a wifi spot, they auto-ping apple.com, but if the rule is changed to 0.0.0.0 for apple.com, it tricks the device into not auto authenticating. After authentication, the dnsmasq needs to remove this rule, otherwise apple.com will be completely inaccessible over the whole network...

(Thanks to Jonathan Baldwin)

Port IBSS-RSN support to wpad-mini

At present, IBSS-RSN encryption seems to require installing the full hostapd and wpa_supplicant packages, which are quite large (total ~420kBytes), and which include unneeded stuff like Enterprise WPA2 support. See about porting IBSS-RSN over to the smaller packages like wpad-mini.

-rw-r--r-- 1 ben ben 208327 May 15 03:45 hostapd_20120910-1_ar71xx.ipk
-rw-r--r-- 1 ben ben 123383 May 15 03:46 hostapd-mini_20120910-1_ar71xx.ipk
-rw-r--r-- 1 ben ben 318851 May 15 03:49 wpad_20120910-1_ar71xx.ipk
-rw-r--r-- 1 ben ben 185949 May 15 03:50 wpad-mini_20120910-1_ar71xx.ipk
-rw-r--r-- 1 ben ben 214198 May 15 03:47 wpa-supplicant_20120910-1_ar71xx.ipk
-rw-r--r-- 1 ben ben 110149 May 15 03:48 wpa-supplicant-mini_20120910-1_ar71xx.ipk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.