Commit Graph

852 Commits

Author SHA1 Message Date
Joe AE6XE cf463159aa
Merge pull request #312 from ae6xe/hapfix
aredn: hap ac lite add 2G/5G lan ap options
2018-12-17 21:59:52 -08:00
Joe Ayers 1c6d2286cc aredn: hap ac lite add 2G/5G lan ap options
Add option for hap ac lite to select which band to
use for LAN AP option, 2GHz or 5GHz.  Also, ensure
all wireless cards are defined when disabled to
prevent default wireless config options.
2018-12-17 20:13:37 -08:00
Joe Ayers d188fcf980 bugfix: firstboot button does not function 2018-12-12 19:08:46 -08:00
dman776 97938b4697
bugfix: remove SNR from signal archive page (#309)
fixes #242
2018-12-12 18:11:40 -06:00
Joe AE6XE 513406754f aredn: clarify distance setting in help (#299)
closes #279
2018-12-12 15:17:04 -06:00
Joe AE6XE f777e914f9 aredn: Mesh RF enable/disable (#307)
add feature to turn off Mesh RF if not in use.  When off,
section to re-purpose wireless card to LAN bridged Access
Point becomes visable.
Closes #155
2018-12-12 15:16:07 -06:00
dman776 ce5a757ca0
bugfix: advanced config usb passthru errors when uci section is not available (#308) 2018-12-12 08:31:57 -06:00
apcameron b9bf9ba099 ar71xx: Add Support for the TP-LINK CPE220 V2.0 Device (#306)
Installation:
     Flash factory image through stock firmware WEB UI
     or through TFTP
     To get to TFTP recovery just hold reset button while powering on for
     around 4-5 seconds and release.
     Rename factory image to recovery.bin
     Stock TFTP server IP:192.168.0.100
     Stock device TFTP adress:192.168.0.254
2018-12-11 17:09:11 -06:00
Joe AE6XE 8f71b15d4a bugfix: Advanced config settings not persistant though reboot (#305)
fixes #303
2018-12-11 06:47:36 -06:00
apcameron 230eddf8bb ar71xx: Add Support for the TP-LINK CPE510 V3.0 Device
Installation:
 Flash factory image through stock firmware WEB UI
 or through TFTP
 To get to TFTP recovery just hold reset button while powering on for
 around 4-5 seconds and release.
 Rename factory image to recovery.bin
 Stock TFTP server IP:192.168.0.100
 Stock device TFTP adress:192.168.0.254
2018-12-10 14:38:00 -08:00
Joe Ayers 7486a179c7 aredn: add support for Mikrotik LDF-5nD 2018-12-07 21:36:03 -08:00
apcameron 9d60516176 ar71xx: Add Support for the TP-LINK CPE220 V3.0 Device
Installation:
     Flash factory image through stock firmware WEB UI
     or through TFTP
     To get to TFTP recovery just hold reset button while powering on for
     around 4-5 seconds and release.
     Rename factory image to recovery.bin
     Stock TFTP server IP:192.168.0.100
     Stock device TFTP adress:192.168.0.254
2018-12-05 19:38:46 -08:00
apcameron 6982757c79 ar71xx: Add Support for the TP-LINK CPE610 V1.0 Device
Installation:
 Flash factory image through stock firmware WEB UI
 or through TFTP
 To get to TFTP recovery just hold reset button while powering on for
 around 4-5 seconds and release.
 Rename factory image to recovery.bin
 Stock TFTP server IP:192.168.0.100
 Stock device TFTP adress:192.168.0.254
2018-12-03 19:25:48 -08:00
Joe AE6XE 123949de9e
aredn: Standardize Ethernet Port vlans for UBNT XM devices (#297)
The secondary port on Ubnt XM devices was non-functional.
Enabled bridge type in network config to utilize both ports.
2018-12-02 17:52:48 -08:00
dman776 dab3f60c9a
bugfix: correct uhttpd page security on sysupgrade (#296) 2018-12-02 17:28:35 -06:00
Joe AE6XE 303c50904c
aredn: harden hAP ac lite 5Ghz Lan Access Point (#293)
enable passwords with virtually any character,  enable SSIDs
with virtually any character.  ensure ap is always
encrypted to give operator control of client access and
license compliance.  Remove (week) WEP encryption option.
2018-11-30 08:32:38 -08:00
dman776 86ec92ac46
bugfix: usb passthrough not initializing after reboot properly (#292) 2018-11-29 22:15:16 -06:00
dman776 7792186dda
feature: provide more info on upload disable with tunnels (#289) 2018-11-28 22:37:11 -06:00
Joe AE6XE a62fe95b26
aredn: hAP ac lite enable 5GHz LAN Access Point (#287)
* aredn: hAP ac lite enable 5GHz LAN Access Point

enable ability to bridge LAN physical ports with wireless
LAN Access Point capability. On dual band hAP ac lite,
used in parallel with mesh RF on 2GHz.  Enables future
features on single band devices to turn off mesh RF and
repurposed for mesh LAN Access Point.

closes: #215
2018-11-27 21:37:59 -08:00
Joe Ayers cae6886dca aredn: stop cron prior to starting sysupgrade 2018-11-27 20:38:26 -08:00
Joe Ayers 264c32a61d bugfix: POE passthough fails on NS XM devices
the Nanostation XM devices require setting the gpio
port direction unlike some other devices
2018-11-27 18:26:02 -08:00
dman776 a59fe2524a
bugfix: usb_passthrough script missing execute bit (+x) (#283) 2018-11-26 13:53:10 -06:00
Joe Ayers 483b138b3a Revert "uhttpd: serve precompressed files"
This reverts commit f06202160b.
2018-11-23 18:41:18 -08:00
Joe Ayers 557e4b3903 Revert "feature: reduce bandwidth by compressing resource files (#278)"
This reverts commit 2d5beb232f.
Will submit later after resolving issues with precompression.
2018-11-23 18:41:18 -08:00
dman776 2d5beb232f
feature: reduce bandwidth by compressing resource files (#278) 2018-11-22 23:59:39 -06:00
Joe Ayers 5a7c1ebbc9 build: README updates 2018-11-22 13:43:26 -08:00
Adrian Kotelba f06202160b uhttpd: serve precompressed files
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/
2018-11-21 21:32:28 -08:00
Joe Ayers 311d32a943 build: more README updates 2018-11-21 21:32:11 -08:00
Joe Ayers 382f8a7db1 aredn: enable nano-m-xw switch to be a dumb switch
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.
2018-11-21 16:44:25 -08:00
Joe Ayers 440fb3b834 build: updates to README 2018-11-19 17:20:17 -08:00
Joe AE6XE 355e34080f aredn: Add definitions for Mikrotik LHG-5HPnD-XL 2018-11-17 10:40:33 -08:00
dman776 854afdb32d
bugfix: correct initial values for poe and usb passthrough (#271)
* bugfix: correct initial values for poe and usb passthrough

* correct a few shellcheck errors
2018-11-16 22:41:58 -06:00
Eric a997ef9545 bugfix: Found another place where uhttpd was tossing a uci error. Fixed
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)
2018-11-14 19:37:02 -08:00
Joe AE6XE 859279aaae bugfix: AREDN standard port vlan function on NS XW devices
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.
2018-11-14 19:01:23 -08:00
Joe Ayers 20d528cb44 bugfix: README clarifications for litebeam and mikrotik devices 2018-11-14 15:10:59 -08:00
dman776 311f4eff3d
bugfix: suppress uhttp uci error on mesh page with no description (#267) 2018-11-14 16:16:51 -06:00
Joe AE6XE a2f32e041b bugfix: litebeam M5 is single chain device (#265) 2018-11-10 21:51:21 -06:00
Joe AE6XE c8e13ae797 aredn: Add definitions for Mikrotik LHG5 2018-11-10 13:53:45 -08:00
dman776 a88803fe5a
bugfix: correct "Bad Gateway" error on Advanced Config page (#263) 2018-11-08 14:08:51 -06:00
Joe AE6XE 18098a6331 build: README corrections
fixes #259
2018-11-07 19:09:23 -08:00
Joe AE6XE 17c08a8ffa aredn: Add LiteBeam M5 definition (#261)
fixes #257
2018-11-07 20:27:57 -06:00
dman776 861de150ea
feature: add USB passthrough support to advancedconfig page (#255)
* feature: add POE passthrough support to advancedconfig page

* correct shellcheck warnings
2018-11-06 16:00:26 -06:00
apcameron 700f020e25 ar71xx: add TP-LINK CPE210 V3.0 and CPE510 V2.0 profiles
Adds a separate profile and binary for both devices.
fixes #221
2018-11-05 22:28:03 -08:00
Eric a5e7a9d1cf build: kernel options, additions to top/busybox, modules (#253)
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
2018-10-31 16:21:49 -07:00
dman776 9a47ff800a
bugfix: correct poe functions in adv cfg (#250)
* bugfix: correct poe functions in adv cfg

cleanup shellcheck errors

* avoid unnecessary shell
2018-10-27 11:37:45 -05:00
Eric e8b3520ec7 bugfix: Check to prevent duplicate mesh hostnames when reserving DHCP reservations (#226)
* 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.
2018-10-26 21:53:14 -07:00
dman776 1948ba11e7 bugfix: fix reboot button (#249) 2018-10-26 19:50:35 -07:00
dman776 8716fd42be Add PoE passthrough option to advanced config (#243)
* minor changes

* handle null value (change to 0)

* add poe_passthrough script

* change key location

* change key name

* add default info into aredn uci file

* add conditional functions
2018-10-26 19:34:16 -07:00
dman776 d74eb1933a
aredn: adjust mesh status layout for OLSR stats (#248)
fixes #197
html is courtesy of N2MH
2018-10-26 14:25:45 -05:00
dman776 750cba55a7
modify the adv config layout (#247) 2018-10-26 00:27:15 -05:00