The new OM2P-HSv3 device support is only available in LEDE master. The
relevant patches have to backported to add support for them in Gluon
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This patchset enables the RX LNA for the CPE210/510, improving RX by about
20dB. The profiles for CPE210 and CPE510 is split into two images, so the
CPE510 can use the correct ART offset, improving the TX power by 10dB.
Fixes#796
The returned name for OpenMesh devices with a an extra vX when calling
lua -e 'print(require("platform_info").get_image_name())'
doesn't contain a dash between the vX and the device name. Thus the image
should also not contain a dash.
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
The new ath9k/ath10k based devices are only available in OpenWrt trunk. The
relevant patches have to backported to add support for them in Gluon
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
The workaround to generate sysupgrade images for OpenMesh devices in gluon
is replaced in LEDE/OpenWrt by a special patch. It is therefore better to
drop the workaround and use the upstream version.
Reported-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Device information can be found at:
http://www.8devices.com/products/carambola-2https://wiki.openwrt.org/toh/8devices/carambola2
I only did some minimal testing of gluon on the carambola 2 development
board:
- Config mode works
- Connects to Wifi Mesh
- Allows clients to connect
Notably, autoupgrade has not yet been tested.
Change to 010-primary-mac is necessary as the mac address printed
on the sticker is the one of eth0, not the wifi mac.
OpenWRT now supports the CISCO Meraki enterprise class routers
MR12, MR16, MR62 and MR66. The fabric firmware demands the yearly
renewal of a support license.
This firmware was successfully tested by @Garunda for the MR62 (and
the MR12 with it for which this is an alias). The initial firmware
pre OpenWRT adoption was prepared and adapted for Gluon by @tcatm.
The confirmation of the functionality of the image for the MR66
(and the aliased MR16 with it) is still pending.
The devices are of strategic interest to the Freifunk community as
they are making a rock-solid impression. However, these come with
fairly hefty annual license. The Freifunk may offer an escape route
for those who had signed up and want to keep their investment into the
similarly expensive hardware. Used evices sell for $60 on eBay/Amazon
in the US. Here in the old world it is all >300 €, still.
Credits go to @Garunda for testing, to @tcatm for finding the
OpenWRT patch prior to its adoption and preparing the initial Gluon
adaptation, to @smoe for the update once that patch had arrived in
OpenWRT, and to @NeoRaider for his review and advice to use
GluonModelAlias for MR62 and MR66 to point to MR12 and MR16,
respectively.
The Hornet UB is sold at least in the varieties. Without case it is a Hornet UB, with case and without connected USB port it is called AP121. If the USB port is present this device is called AP121U.
We have a AP121U in our mesh http://meshviewer.chemnitz.freifunk.net/#!v:m;n:00c0ca6efffa
Tests done to verify that this worked as intended:
* checked plattform_info image_name
* checked primary_mac
* does appear in ffmap-d3
* does mesh
* does fastd-VPN
Also
* create list of newly supported devices since v2015.1.2 in the v2015.2 release notes
* update information on docs/user/x86
* fix a comment in targets/ar71xx-generic/profiles.mk
We can't use the same image for these two devices, so as a workaround,
remove ZR-600DHP from the name for now, so the autoupdater can work and
users aren't confused.
Config for rootfs and grub is not needed anymore (https://dev.openwrt.org/ticket/18074)
Config file not needed anymore (set implicitly by gluon now)
Avoid empty vars
The file targets/$GLUON_TARGET/config becomes optional, as many targets
only used it to set the board and subtarget.
Also fix targets without subtarget.
With a backported patch from the OpenWrt trunk, it is now easy to generate an
equivalent configuration using CONFIG_ALL_KMODS.
The build will take a bit longer because all kernel module packages are actually
built even when they are not included in the image, but adding new targets
becomes a lot easier.
Also, related documentation updates and fixes.
Built, flashed and successully tested. This patch takes advantage of patch freifunk-gluon@e93173c which solved issue freifunk-gluon#226 by introducing "GluonProfileFactorySuffix". Packages are separated by a space, not a comma. The ALL0315N initially has a OpenWRT based firmware and there is no need for a factory image. The sysupgrade can be flashed instantly.
This still needs some work:
- there's no factory image causing `make images` to fail
- VoCore can not support BSS and IBSS at the same time
- multi-BSS mode (e.g. mesh + BSS) works if the macs only
differ in the last 3 bits. Gluon expects to choose both MACs freely,
though, so after flashing the image one should reset the wifi MACs.
This is further complicated as VoCores have their MACs assigned
without gaps making collisions likely.
- there are no buttons nor ethernet ports (without the dock, that is),
so config-mode will not be possible as is
basic wifi meshing with neighbouring nodes
tested, with TL-WA750RE
client WLAN (if applicable)
works
client lan on LAN ports (if applicable)
n/a - only 1x Ethernet
mesh-vpn on WAN port
works
mesh-on-wan
Not tested
re-entering configmode by pressing the button for >3 seconds
works.
entering failsafe mode
works
whether the MAC address seen by Gluon is the one printed on the device
yes
Und folgende Kommandos:
tail /lib/gluon/core/sysconfig/*
brctl show
lua -e "print(require('platform_info').get_image_name())"
root@XXX:~# tail /lib/gluon/core/sysconfig/*
==> /lib/gluon/core/sysconfig/primary_mac <==
(macwieaufgerätaufgedruckt)
==> /lib/gluon/core/sysconfig/setup_ifname <==
eth0
==> /lib/gluon/core/sysconfig/wan_ifname <==
eth0
root@XXX:~# brctl show
bridge name bridge id STP enabled interfaces
br-wan 7fff.(primarymac) no eth0
br-client 7fff.(primarymac) no bat0
wlan0-1
root@XXXX:~# lua -e "print(require('platform_info').get_image_name())"
tp-link-tl-wa850re-v1
I have this little gadget. I've build gluon for this target and it seems that everything works well. Using this thing in the Stuttgart community (currently testing gluon).
The u-boot package has some issues causing its build to fail under certain
circumstances. As we don't support the ZyXEL devices it's used for anyways, just
don't build it anymore.