The aredn project benefits from precompressed files given
mesh nodes are typically long distant RF links and UI
is accessed remotely. uhttpd will look for the filename
requested first, then if not found, look for filename.gz
and update content header passed back as appropriate.
https://patchwork.ozlabs.org/patch/514918/
Config the NanoStation M2/M5 XW devices to be fully
functional with a standard aredn port definition.
The vlans are not configured in the switch, rather
acting like a dumb swtich, enabling tagged and untagged
packets to exist on the same switch port at the same time.
This commit enables the ports on the switch to directly
send all traffic to all other ports when not configured
directly in vlan mode.
Also removed the description block from the mesh page if the description has not been set.
(there was a small grey area before, even with no description set)
The NanoStation M2 and M5 XW switch configuraiton had LAN
on primary port (untagged) and DtDLink and WAN (vlan 1 and 2)
on secondary port. This change enables untagged, vlan 1,
and vlan 2 on primary port to function. This configuration
also functions on the secondary port. However, devices on
the same network can not communicate with one another across
the two ports. Although, access works from the greater mesh
and the node to devices on both ports on the same network.
When using one port the behavior is now consitent with all
other AREDN devices. The use of both ports offers some
benefit, but with the above limitations.
Add kernel build options to conserve RAM. Measured 520k reduction.
disable CRASHLOG interface, we can't really see it anyway
CONFIG_KERNEL_CRASHLOG=n
remove process core dump support (see above reasoning)
CONFIG_KERNEL_ELF_CORE=n
there is no "swap"
CONFIG_KERNEL_SWAP=n
remove debug symbols
CONFIG_KERNEL_KALLSYMS=n
remove debug info
CONFIG_KERNEL_DEBUG_INFO=n
more unnecessary kernel exports
CONFIG_STRIP_KERNEL_EXPORTS=y
remove libraries of unnecessary functions
CONFIG_USE_MKLIBS=y
compress /tmp
CONFIG_PROCD_ZRAM_TMPFS=y
seldom used key stroke
CONFIG_KERNEL_MAGIC_SYSRQ=n
Not used with AREDN
CONFIG_PACKAGE_MAC80211_MESH=n
Above options Ref: https://openwrt.org/docs/guide-user/additional-software/saving-space#modifying_build_configuration_variables
-------------
Additional options
CONFIG_BUSYBOX_DEFAULT_MKSWAP=n
CONFIG_BUSYBOX_CONFIG_MKSWAP=n
improved "top" command.
CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_INTERACTIVE=y
additional modules to build
CONFIG_PACKAGE_kmod-usb3=m
CONFIG_PACKAGE_block-mount=m
CONFIG_PACKAGE_kmod-usb-storage=m
CONFIG_PACKAGE_kmod-usb-storage-extras=m
CONFIG_PACKAGE_kmod-usb-storage-uas=m
Additional filesystem modules complementing USB storage
CONFIG_PACKAGE_kmod-fs-vfat=m
CONFIG_PACKAGE_kmod-fs-ntfs=m
CONFIG_PACKAGE_kmod-fs-ext4=m
CONFIG_PACKAGE_e2fsprogs=m
Reduce log usage of /tmp and RAM
I can't find my notes of course...
CONFIG_LOG_BUF_SHIFT=16
CONFIG_LOG_CPU_MAX_BUF_SHIFT=16
additional options to support performance metrics
CONFIG_BUSYBOX_CONFIG_IOSTAT=y
CONFIG_BUSYBOX_CONFIG_RENICE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PS_LONG=y
* bugfix: Check for existing hostnames on the network in DHCP reservations
fixes#216
*additional check for existing hostname when creating new DHCP lease.
checks hosts_olsr file if entered hostname already exists or not on the connected network(s).
outputs info saying such and gives advice to prefix hostname with callsign.
* change to use =~ /\s$host\S/i
* Reworded warning message
* moved the position of the hostname check to only when you click "add" on the DHCP leases page.
this stops it checking all the previously entered hostnames.
* initial commit
* feature: advanced configuration page
fixes#230
* add help page updates
* added menu links to perlfunc.pm
* add default value for serverpath
* move "Reset to Firstboot" button from setup page to advancedconfig page
* secure page
minor ui changes
* center the help icon
* implement callback capabilities pre/post
* hardening uci calls to prevent command injection attacks
* moved settings to custom aredn uci file
* resolve shellcheck warnings
* feature: Provide firmware file advice for uploading firmware files
also reduces page size by removing unnecessary style info on option tags.
fixes#206
* update for Mikrotik filename exceptions
* correct download .list file name
* add support for cpe devices