Commit Graph

993 Commits

Author SHA1 Message Date
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
Joe AE6XE 4a50ee2382 aredn: add definition for Bullet M2 XW (#246)
New Bullet M2 XW models are released by ubnt.

closes #233
2018-10-25 23:44:45 -05:00
dman776 a1ab5312ef
bugfix: allow upload of ssh keys while tunnels since keys (#245) 2018-10-25 23:43:20 -05:00
dman776 9391ff5555
Add "Advanced config" page (#237)
* 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
2018-10-25 21:06:05 -05:00
dman776 a4ac376065
bugfix: correct improper "wrong firmware" message on Rocket (et al) devices (#240) 2018-10-24 19:57:21 -05:00
dman776 4c79a5c755
remove aimer script (#236) 2018-10-23 10:16:47 -05:00
W. Kyle Hamilton a038ce84b6 Typos (#234)
* typo

* typo in code commits

* Capitalization
2018-10-22 17:04:11 -05:00
dman776 ea36aa9d06
feature: add a "firstboot" button on setup page (#225)
* feature: add a "firstboot" button on setup page

fixes #162

* changed confirmation message
2018-10-18 11:06:55 -05:00
dman776 b11a4fc95d
bugfix: check to see if internet is reachable before loading external resources (#224) 2018-10-15 21:58:52 -05:00
dman776 7a1817935c
feature: Provide firmware file advice for uploading firmware files (#217)
* 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
2018-10-10 15:52:27 -05:00