Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d4862a0130 | ||
|
7202216495 | ||
|
0bb3742f51 | ||
|
42c895944f | ||
|
1649358d17 | ||
|
e107415949 | ||
|
ff38b5add7 | ||
|
aade4393fb | ||
|
faddb3d193 | ||
|
51b7928a55 | ||
|
4644f85bfc | ||
|
dddd2cd011 | ||
|
7408f04605 | ||
|
469e0107e2 | ||
|
ed3cb1f541 | ||
|
bc0d240d75 | ||
|
b4e87400ca | ||
|
6a3d5554c1 | ||
|
0cb98882d0 | ||
|
a0286d5641 | ||
|
aaef6163ff | ||
|
ea9a69f7da | ||
|
a7a5db9f54 | ||
|
658f1ea402 | ||
|
04c002a7c2 | ||
|
18aab98cf8 | ||
|
c28b797c91 | ||
|
098ca81df9 |
@ -19,7 +19,7 @@ the future development of Gluon.
|
|||||||
|
|
||||||
Please refrain from using the `master` branch for anything else but development purposes!
|
Please refrain from using the `master` branch for anything else but development purposes!
|
||||||
Use the most recent release instead. You can list all releases by running `git tag`
|
Use the most recent release instead. You can list all releases by running `git tag`
|
||||||
and switch to one by running `git checkout v2018.1 && make update`.
|
and switch to one by running `git checkout v2018.1.2 && make update`.
|
||||||
|
|
||||||
If you're using the autoupdater, do not autoupdate nodes with anything but releases.
|
If you're using the autoupdater, do not autoupdate nodes with anything but releases.
|
||||||
If you upgrade using random master commits the nodes *will break* eventually.
|
If you upgrade using random master commits the nodes *will break* eventually.
|
||||||
|
@ -52,11 +52,7 @@ copyright = '2015-2018, Project Gluon'
|
|||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
version = release = '2018.1.2'
|
||||||
# The short X.Y version.
|
|
||||||
version = '2018.1'
|
|
||||||
# The full version, including alpha/beta/rc tags.
|
|
||||||
release = '2018.1'
|
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
@ -160,8 +160,8 @@ site.conf only variables
|
|||||||
in a domain specific way:
|
in a domain specific way:
|
||||||
|
|
||||||
- mesh_vpn.fastd.syslog_level
|
- mesh_vpn.fastd.syslog_level
|
||||||
- wifi*.ibss.supported_basic_rates
|
- wifi*.supported_rates
|
||||||
- wifi*.mesh.supported_basic_rates
|
- wifi*.basic_rates
|
||||||
- timezone
|
- timezone
|
||||||
- regdom
|
- regdom
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ increase throughput, although in practice the gain is minimal.
|
|||||||
|
|
||||||
**Gateway configuration:**
|
**Gateway configuration:**
|
||||||
|
|
||||||
1) Prepend the ``none`` cipher in fastds method list
|
1) Prepend the ``null`` cipher in fastd's method list
|
||||||
|
|
||||||
|
|
||||||
**Config Mode:**
|
**Config Mode:**
|
||||||
|
@ -70,6 +70,8 @@ Several Freifunk communities in Germany use Gluon as the foundation of their Fre
|
|||||||
:caption: Releases
|
:caption: Releases
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
|
releases/v2018.1.2
|
||||||
|
releases/v2018.1.1
|
||||||
releases/v2018.1
|
releases/v2018.1
|
||||||
releases/v2017.1.8
|
releases/v2017.1.8
|
||||||
releases/v2017.1.7
|
releases/v2017.1.7
|
||||||
|
54
docs/releases/v2018.1.1.rst
Normal file
54
docs/releases/v2018.1.1.rst
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
Gluon 2018.1.1
|
||||||
|
==============
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
~~~~~~~~
|
||||||
|
|
||||||
|
* Fix a bug leading to configuration loss on upgrade under certain circumstances
|
||||||
|
(`#1496 <https://github.com/freifunk-gluon/gluon/issues/1496>`_)
|
||||||
|
|
||||||
|
The issue can only occur when upgrading from 2018.1 and there are multiple
|
||||||
|
mirror entries in *site.conf* (specifically, an early failure for one of the
|
||||||
|
mirrors, e.g. during DNS resolution, followed by a successful upgrade from a
|
||||||
|
different mirror triggers the issue).
|
||||||
|
|
||||||
|
This is a regression in Gluon 2018.1.
|
||||||
|
|
||||||
|
* Fix next-node ARP issue
|
||||||
|
(`#1488 <https://github.com/freifunk-gluon/gluon/issues/1488>`_)
|
||||||
|
|
||||||
|
A routing table issue led to ARP requests being sent from the next-node IPv4 address, but with
|
||||||
|
a node-specific source MAC address. This could make the next-node IPv4 address unreachable.
|
||||||
|
|
||||||
|
This is a regression in Gluon 2018.1.
|
||||||
|
|
||||||
|
* Fix build on hosts with glibc 2.28
|
||||||
|
|
||||||
|
Fixed by various tool upgrades in LEDE (*bison*, *e2fsutils*, ...)
|
||||||
|
|
||||||
|
Other changes
|
||||||
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Linux kernel has been updated to v4.4.148
|
||||||
|
|
||||||
|
Known issues
|
||||||
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown (`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
|
||||||
|
|
||||||
|
Reducing the TX power in the Advanced Settings is recommended.
|
||||||
|
|
||||||
|
* The MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled (`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
|
||||||
|
|
||||||
|
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promicious mode is disallowed).
|
||||||
|
|
||||||
|
* Inconsistent respondd API (`#522 <https://github.com/freifunk-gluon/gluon/issues/522>`_)
|
||||||
|
|
||||||
|
The current API is inconsistent and will be replaced eventually. The old API will still be supported for a while.
|
||||||
|
|
||||||
|
* Frequent reboots due to out-of-memory or high load due to memory pressure on weak hardware specially in larger meshes
|
||||||
|
(`#1243 <https://github.com/freifunk-gluon/gluon/issues/1243>`_)
|
||||||
|
|
||||||
|
Optimizations in Gluon 2018.1 have significantly improved memory usage.
|
||||||
|
There are still known bugs leading to unreasonably high load that we hope to
|
||||||
|
solve in future releases.
|
58
docs/releases/v2018.1.2.rst
Normal file
58
docs/releases/v2018.1.2.rst
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
Gluon 2018.1.2
|
||||||
|
==============
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
~~~~~~~~
|
||||||
|
|
||||||
|
* Fix a bug leading to missing IPv6 addresses in respondd announcements
|
||||||
|
(`#1523 <https://github.com/freifunk-gluon/gluon/issues/1523>`_)
|
||||||
|
|
||||||
|
The pattern that was used to match addresses from /proc/net/if_inet6
|
||||||
|
did not expect interface indexes growing past two characters.
|
||||||
|
|
||||||
|
* Mark ipq806x target as broken for unstable client WiFi
|
||||||
|
(`#1505 <https://github.com/freifunk-gluon/gluon/issues/1505>`_)
|
||||||
|
|
||||||
|
Station connections to the QCA9880 radio on the TP-Link C2600s are frequently
|
||||||
|
disconnected, leading to an abysmal user experience.
|
||||||
|
|
||||||
|
* Fix button behaviour on FRITZ!Box 4020
|
||||||
|
(`#1544 <https://github.com/freifunk-gluon/gluon/pull/1544>`_)
|
||||||
|
|
||||||
|
Buttons were triggering an instant reboot into config mode, fix by setting
|
||||||
|
buttons to active low instead of active high.
|
||||||
|
|
||||||
|
* Prevent caching of redirects on config mode and status page
|
||||||
|
(`#1530 <https://github.com/freifunk-gluon/gluon/issues/1530>`_)
|
||||||
|
|
||||||
|
As the path to both config mode and status page were changed between versions
|
||||||
|
users could be affected by a redirect to a no more valid URL.
|
||||||
|
|
||||||
|
* batman-adv has received two bugfixes, which were `backported <https://github.com/openwrt-routing/packages/commit/7bf62cc8b556b5046f9bbd37687376fe9ea175bb>`_ from v2018.4
|
||||||
|
|
||||||
|
Other changes
|
||||||
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Linux kernel has been updated to v4.4.153
|
||||||
|
|
||||||
|
Known issues
|
||||||
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown (`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
|
||||||
|
|
||||||
|
Reducing the TX power in the Advanced Settings is recommended.
|
||||||
|
|
||||||
|
* The MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled (`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
|
||||||
|
|
||||||
|
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promicious mode is disallowed).
|
||||||
|
|
||||||
|
* Inconsistent respondd API (`#522 <https://github.com/freifunk-gluon/gluon/issues/522>`_)
|
||||||
|
|
||||||
|
The current API is inconsistent and will be replaced eventually. The old API will still be supported for a while.
|
||||||
|
|
||||||
|
* Frequent reboots due to out-of-memory or high load due to memory pressure on weak hardware specially in larger meshes
|
||||||
|
(`#1243 <https://github.com/freifunk-gluon/gluon/issues/1243>`_)
|
||||||
|
|
||||||
|
Optimizations in Gluon 2018.1 have significantly improved memory usage.
|
||||||
|
There are still known bugs leading to unreasonably high load that we hope to
|
||||||
|
solve in future releases.
|
@ -92,9 +92,9 @@ ramips-rt305x [#newtarget]_ [#noibss]_
|
|||||||
sunxi [#newtarget]_
|
sunxi [#newtarget]_
|
||||||
===================
|
===================
|
||||||
|
|
||||||
* LeMaker
|
* LeMaker/SinoVoip
|
||||||
|
|
||||||
- Lamobo r1
|
- Banana Pi (M1)
|
||||||
|
|
||||||
|
|
||||||
.. [#newtarget]
|
.. [#newtarget]
|
||||||
@ -207,6 +207,7 @@ site.mk
|
|||||||
* We recommend to use *GLUON_FEATURES* for all Gluon packages, and rely on
|
* We recommend to use *GLUON_FEATURES* for all Gluon packages, and rely on
|
||||||
*GLUON_SITE_PACKAGES* for non-Gluon (OpenWrt) packages only, as explained
|
*GLUON_SITE_PACKAGES* for non-Gluon (OpenWrt) packages only, as explained
|
||||||
in :ref:`user-site-feature-flags`.
|
in :ref:`user-site-feature-flags`.
|
||||||
|
* The `GLUON_ATH10K_MESH` variable was renamed to `GLUON_WLAN_MESH`.
|
||||||
|
|
||||||
site.conf
|
site.conf
|
||||||
=========
|
=========
|
||||||
@ -268,6 +269,20 @@ must be made:
|
|||||||
When shown, the password form requires a minimum password length of 12 characters now. This requirement
|
When shown, the password form requires a minimum password length of 12 characters now. This requirement
|
||||||
can be modified using the *config_mode.remote_login.min_password_length* setting.
|
can be modified using the *config_mode.remote_login.min_password_length* setting.
|
||||||
|
|
||||||
|
* Next-node hostnames
|
||||||
|
|
||||||
|
The builtin DNS resolver of Gluon can be configured to resolve a next-node hostname to the
|
||||||
|
next-node IP address without querying an upstream DNS server. Since Gluon v2018.1, multiple
|
||||||
|
names can be specified. Old configurations setting *next_node.name* to a string must be
|
||||||
|
updated to provide an array of strings instead:
|
||||||
|
|
||||||
|
.. code-block:: lua
|
||||||
|
|
||||||
|
next_node = {
|
||||||
|
name = { 'nextnode.location.community.example.org' },
|
||||||
|
-- ...
|
||||||
|
},
|
||||||
|
|
||||||
i18n
|
i18n
|
||||||
====
|
====
|
||||||
|
|
||||||
@ -287,7 +302,19 @@ The status page has been rewritten to simplify the code and reduce its size. Rat
|
|||||||
having a static frontend and retrieving all information via JavaScript, all static information
|
having a static frontend and retrieving all information via JavaScript, all static information
|
||||||
in the status page is now generated on the node, and JavaScript is only used for dynamic data.
|
in the status page is now generated on the node, and JavaScript is only used for dynamic data.
|
||||||
|
|
||||||
To achieve this, the status page was ported to the gluon-web framework. The new status page
|
Many status page API endpoints have been removed; for all remaining endpoints, CORS
|
||||||
|
(Cross-Origin Resource Sharing) has been disabled, as it led to a privacy issues:
|
||||||
|
malicious websites could access the API via cross-site scripting, determining which
|
||||||
|
node a user was connected to.
|
||||||
|
|
||||||
|
The removal of CORS breaks compatibility with the node switching feature of the
|
||||||
|
old status page implementation: In the new status page, switching to another node will
|
||||||
|
reload the whole status page from the target node, while the old implementation would
|
||||||
|
only switch to another backend host. While this will facilitate future updates, as
|
||||||
|
frontend and backend always come from the same node and no stable API needs to be maintained,
|
||||||
|
it prevents switching from the old status page to nodes running the new version.
|
||||||
|
|
||||||
|
To achieve all this, the status page was ported to the gluon-web framework. The new status page
|
||||||
also makes use of Gluon's usual i18n facilities now. In addition, the gluon-web-model
|
also makes use of Gluon's usual i18n facilities now. In addition, the gluon-web-model
|
||||||
package was split out of the gluon-web core package, as model support is only required
|
package was split out of the gluon-web core package, as model support is only required
|
||||||
for config mode packages, but not for the new status page.
|
for config mode packages, but not for the new status page.
|
||||||
@ -374,3 +401,21 @@ Known issues
|
|||||||
Optimizations in Gluon 2018.1 have significantly improved memory usage.
|
Optimizations in Gluon 2018.1 have significantly improved memory usage.
|
||||||
There are still known bugs leading to unreasonably high load that we hope to
|
There are still known bugs leading to unreasonably high load that we hope to
|
||||||
solve in future releases.
|
solve in future releases.
|
||||||
|
|
||||||
|
* Configuration loss on upgrade under certain circumstances
|
||||||
|
(`#1496 <https://github.com/freifunk-gluon/gluon/issues/1496>`_)
|
||||||
|
|
||||||
|
The issue can only occur when upgrading from 2018.1 and there are multiple
|
||||||
|
mirror entries in *site.conf* (specifically, an early failure for one of the
|
||||||
|
mirrors, e.g. during DNS resolution, followed by a successful upgrade from a
|
||||||
|
different mirror triggers the issue).
|
||||||
|
|
||||||
|
This is a regression in Gluon 2018.1.
|
||||||
|
|
||||||
|
* Next-node ARP issue
|
||||||
|
(`#1488 <https://github.com/freifunk-gluon/gluon/issues/1488>`_)
|
||||||
|
|
||||||
|
A routing table issue leads to ARP requests being sent from the next-node IPv4 address, but with
|
||||||
|
a node-specific source MAC address. This can make the next-node IPv4 address unreachable.
|
||||||
|
|
||||||
|
This is a regression in Gluon 2018.1.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- This is an example site configuration for Gluon v2018.1
|
-- This is an example site configuration for Gluon v2018.1.2
|
||||||
--
|
--
|
||||||
-- Take a look at the documentation located at
|
-- Take a look at the documentation located at
|
||||||
-- http://gluon.readthedocs.org/ for details.
|
-- http://gluon.readthedocs.org/ for details.
|
||||||
|
@ -8,7 +8,7 @@ Gluon's releases are managed using `Git tags`_. If you are just getting
|
|||||||
started with Gluon we recommend to use the latest stable release of Gluon.
|
started with Gluon we recommend to use the latest stable release of Gluon.
|
||||||
|
|
||||||
Take a look at the `list of gluon releases`_ and notice the latest release,
|
Take a look at the `list of gluon releases`_ and notice the latest release,
|
||||||
e.g. *v2018.1*. Always get Gluon using git and don't try to download it
|
e.g. *v2018.1.2*. Always get Gluon using git and don't try to download it
|
||||||
as a Zip archive as the archive will be missing version information.
|
as a Zip archive as the archive will be missing version information.
|
||||||
|
|
||||||
Please keep in mind that there is no "default Gluon" build; a site configuration
|
Please keep in mind that there is no "default Gluon" build; a site configuration
|
||||||
@ -43,7 +43,7 @@ Building the images
|
|||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
To build Gluon, first check out the repository. Replace *RELEASE* with the
|
To build Gluon, first check out the repository. Replace *RELEASE* with the
|
||||||
version you'd like to checkout, e.g. *v2018.1*.
|
version you'd like to checkout, e.g. *v2018.1.2*.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ wifi24 \: optional
|
|||||||
WLAN configuration for 2.4 GHz devices.
|
WLAN configuration for 2.4 GHz devices.
|
||||||
``channel`` must be set to a valid wireless channel for your radio.
|
``channel`` must be set to a valid wireless channel for your radio.
|
||||||
|
|
||||||
There are currently three interface types available. You many choose to
|
There are currently three interface types available. You may choose to
|
||||||
configure any subset of them:
|
configure any subset of them:
|
||||||
|
|
||||||
- ``ap`` creates a master interface where clients may connect
|
- ``ap`` creates a master interface where clients may connect
|
||||||
|
6
modules
6
modules
@ -2,18 +2,18 @@ GLUON_FEEDS='openwrt gluon routing luci'
|
|||||||
|
|
||||||
LEDE_REPO=https://git.openwrt.org/openwrt/openwrt.git
|
LEDE_REPO=https://git.openwrt.org/openwrt/openwrt.git
|
||||||
LEDE_BRANCH=lede-17.01
|
LEDE_BRANCH=lede-17.01
|
||||||
LEDE_COMMIT=b6a1f43075f96b0028e33ed1af1fe31068791d24
|
LEDE_COMMIT=184fe11483b9595f31a028356f8cc18fb18536e3
|
||||||
|
|
||||||
PACKAGES_OPENWRT_REPO=https://github.com/openwrt/packages.git
|
PACKAGES_OPENWRT_REPO=https://github.com/openwrt/packages.git
|
||||||
PACKAGES_OPENWRT_BRANCH=lede-17.01
|
PACKAGES_OPENWRT_BRANCH=lede-17.01
|
||||||
PACKAGES_OPENWRT_COMMIT=338690b2f79e2c7090be4e9adbb19b452c9e3c36
|
PACKAGES_OPENWRT_COMMIT=40da7ecf21ffe1f3523ffa430c406e1db58ce3d4
|
||||||
|
|
||||||
PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
|
PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
|
||||||
PACKAGES_GLUON_COMMIT=be2c35785994e443d895225c7240474a46f64f5e
|
PACKAGES_GLUON_COMMIT=be2c35785994e443d895225c7240474a46f64f5e
|
||||||
|
|
||||||
PACKAGES_ROUTING_REPO=https://github.com/openwrt-routing/packages.git
|
PACKAGES_ROUTING_REPO=https://github.com/openwrt-routing/packages.git
|
||||||
PACKAGES_ROUTING_BRANCH=openwrt-18.06
|
PACKAGES_ROUTING_BRANCH=openwrt-18.06
|
||||||
PACKAGES_ROUTING_COMMIT=1b9d1c419f0ecefda51922a7845ab2183d6acd76
|
PACKAGES_ROUTING_COMMIT=bc6e7f6903c8237c77131aedfc92dba40e1bc6ac
|
||||||
|
|
||||||
PACKAGES_LUCI_REPO=https://github.com/openwrt/luci.git
|
PACKAGES_LUCI_REPO=https://github.com/openwrt/luci.git
|
||||||
PACKAGES_LUCI_BRANCH=lede-17.01
|
PACKAGES_LUCI_BRANCH=lede-17.01
|
||||||
|
@ -23,7 +23,8 @@ uci:section('network', 'device', 'local_node_dev', {
|
|||||||
local ip4, ip6
|
local ip4, ip6
|
||||||
|
|
||||||
if next_node.ip4 then
|
if next_node.ip4 then
|
||||||
ip4 = next_node.ip4 .. '/32'
|
local plen = site.prefix4():match('/%d+$')
|
||||||
|
ip4 = next_node.ip4 .. plen
|
||||||
end
|
end
|
||||||
|
|
||||||
if next_node.ip6 then
|
if next_node.ip6 then
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||||
|
<meta http-equiv="Pragma" content="no-cache" />
|
||||||
|
<meta http-equiv="Expires" content="0" />
|
||||||
<meta http-equiv="refresh" content="0; URL=/cgi-bin/config" />
|
<meta http-equiv="refresh" content="0; URL=/cgi-bin/config" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -29,7 +29,7 @@ msgid ""
|
|||||||
"bandwidth available for the network. You can limit how much bandwidth the "
|
"bandwidth available for the network. You can limit how much bandwidth the "
|
||||||
"node will use at most."
|
"node will use at most."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Dein Knoten kann deine Internetverbindung nutzen um darüber eine "
|
"Dein Knoten kann deine Internetverbindung nutzen, um darüber eine "
|
||||||
"VPN-Verbindung zu anderen Knoten aufzubauen. Die dafür "
|
"VPN-Verbindung zu anderen Knoten aufzubauen. Die dafür "
|
||||||
"genutzte Bandbreite kannst du beschränken. Aktiviere die Option, falls keine "
|
"genutzte Bandbreite kannst du beschränken. Aktiviere die Option, falls keine "
|
||||||
"per WLAN erreichbaren Nachbarknoten in deiner Nähe sind oder du deine "
|
"per WLAN erreichbaren Nachbarknoten in deiner Nähe sind oder du deine "
|
||||||
|
@ -15,6 +15,14 @@ rule('OUTPUT --logical-out br-client -o bat0 -s ' .. macaddr .. ' -j DROP')
|
|||||||
if next_node.ip4 then
|
if next_node.ip4 then
|
||||||
rule('FORWARD --logical-out br-client -o bat0 -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
|
rule('FORWARD --logical-out br-client -o bat0 -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
|
||||||
rule('FORWARD --logical-out br-client -o bat0 -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
|
rule('FORWARD --logical-out br-client -o bat0 -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
rule('FORWARD --logical-out br-client -i bat0 -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
rule('FORWARD --logical-out br-client -i bat0 -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
|
||||||
|
rule('OUTPUT --logical-out br-client -o bat0 -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
rule('OUTPUT --logical-out br-client -o bat0 -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
|
||||||
|
rule('INPUT -i bat0 -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
rule('INPUT -i bat0 -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
|
||||||
rule('FORWARD --logical-out br-client -o bat0 -p IPv4 --ip-destination ' .. next_node.ip4 .. ' -j DROP')
|
rule('FORWARD --logical-out br-client -o bat0 -p IPv4 --ip-destination ' .. next_node.ip4 .. ' -j DROP')
|
||||||
rule('OUTPUT --logical-out br-client -o bat0 -p IPv4 --ip-destination ' .. next_node.ip4 .. ' -j DROP')
|
rule('OUTPUT --logical-out br-client -o bat0 -p IPv4 --ip-destination ' .. next_node.ip4 .. ' -j DROP')
|
||||||
|
@ -25,10 +25,6 @@ uci:section('network', 'interface', 'client', {
|
|||||||
uci:delete('network', 'client_lan')
|
uci:delete('network', 'client_lan')
|
||||||
|
|
||||||
uci:delete('network', 'local_node_route')
|
uci:delete('network', 'local_node_route')
|
||||||
uci:section('network', 'route', 'local_node_route', {
|
|
||||||
interface = 'client',
|
|
||||||
target = site.prefix4(),
|
|
||||||
})
|
|
||||||
|
|
||||||
uci:delete('network', 'local_node_route6')
|
uci:delete('network', 'local_node_route6')
|
||||||
uci:section('network', 'route6', 'local_node_route6', {
|
uci:section('network', 'route6', 'local_node_route6', {
|
||||||
|
@ -94,7 +94,7 @@ static struct json_object * get_addresses(void) {
|
|||||||
if (sscanf(line,
|
if (sscanf(line,
|
||||||
"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8
|
"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8
|
||||||
"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8
|
"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8"%2"SCNx8
|
||||||
" %*2x %*2x %*2x %2x %"STRINGIFY(IF_NAMESIZE)"s",
|
" %*x %*x %*x %x %"STRINGIFY(IF_NAMESIZE)"s",
|
||||||
&addr.s6_addr[0], &addr.s6_addr[1], &addr.s6_addr[2], &addr.s6_addr[3],
|
&addr.s6_addr[0], &addr.s6_addr[1], &addr.s6_addr[2], &addr.s6_addr[3],
|
||||||
&addr.s6_addr[4], &addr.s6_addr[5], &addr.s6_addr[6], &addr.s6_addr[7],
|
&addr.s6_addr[4], &addr.s6_addr[5], &addr.s6_addr[6], &addr.s6_addr[7],
|
||||||
&addr.s6_addr[8], &addr.s6_addr[9], &addr.s6_addr[10], &addr.s6_addr[11],
|
&addr.s6_addr[8], &addr.s6_addr[9], &addr.s6_addr[10], &addr.s6_addr[11],
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||||
|
<meta http-equiv="Pragma" content="no-cache" />
|
||||||
|
<meta http-equiv="Expires" content="0" />
|
||||||
<meta http-equiv="refresh" content="0; URL=/cgi-bin/status" />
|
<meta http-equiv="refresh" content="0; URL=/cgi-bin/status" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -12,7 +12,7 @@ as a separate package.
|
|||||||
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
||||||
|
|
||||||
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
|
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
|
||||||
index 4fbc9a265b535d850fe812085677b3f6aabf4e1f..c971de4deee7cd331ddcad6b87eb9fefd7af6a64 100644
|
index 1d034fdede7598f15b1f802c47e834990e5852d9..f473ef732106eb8fa05e7c5b59df176fef33e42d 100644
|
||||||
--- a/package/base-files/Makefile
|
--- a/package/base-files/Makefile
|
||||||
+++ b/package/base-files/Makefile
|
+++ b/package/base-files/Makefile
|
||||||
@@ -19,7 +19,9 @@ PKG_BUILD_DEPENDS:=usign/host
|
@@ -19,7 +19,9 @@ PKG_BUILD_DEPENDS:=usign/host
|
||||||
|
@ -64,10 +64,10 @@ index bc2fc2f774c4f2f0bbfa6e43d9b9a55e9b63153d..38cc5d7853c79f2a7800a387310a95ab
|
|||||||
mr16|\
|
mr16|\
|
||||||
nbg6616|\
|
nbg6616|\
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index b3e23c9a8f8c56870ef36fb55ae52e6b5ea61134..68f90de802ddd18e09a1da39c0d56292eea9489c 100644
|
index 96ca65e694bb5ed449dcae8dbca1930d25612602..fc9eb005623fc029f839d7ce14788ffba32e42e5 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -92,6 +92,7 @@ case "$FIRMWARE" in
|
@@ -98,6 +98,7 @@ case "$FIRMWARE" in
|
||||||
ath10kcal_extract "art" 20480 2116
|
ath10kcal_extract "art" 20480 2116
|
||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
||||||
;;
|
;;
|
||||||
@ -102,7 +102,7 @@ index d2dc88127c02746cdecc4ced28f33548f35d037c..6258713dd0e3325ab109689f0ed3b51e
|
|||||||
c-55|\
|
c-55|\
|
||||||
carambola2|\
|
carambola2|\
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index a8622454b421c1c74a8a71134b53c50399114aa5..e10401d42ae06506f82f2f5538fbc7df79fd4c65 100644
|
index 91eb9f0de7ef6c472cdccf2022d888df53b75e46..d1d879cd764259571cce2a5e091ae99f0d7a6d6d 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -51,6 +51,7 @@ CONFIG_ATH79_MACH_AP152=y
|
@@ -51,6 +51,7 @@ CONFIG_ATH79_MACH_AP152=y
|
||||||
|
@ -9,10 +9,10 @@ Based-on-patch-by: Henryk Heisig <hyniu@o2.pl>
|
|||||||
Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de>
|
Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de>
|
||||||
|
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index e10401d42ae06506f82f2f5538fbc7df79fd4c65..c82fcf09228be7063967f2517e0942651234afb8 100644
|
index d1d879cd764259571cce2a5e091ae99f0d7a6d6d..e576fd2ec4f0a8d3613f00aa0a29586b8c65abe0 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -272,6 +272,7 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
|
@@ -273,6 +273,7 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
|
||||||
CONFIG_GPIOLIB=y
|
CONFIG_GPIOLIB=y
|
||||||
CONFIG_GPIOLIB_IRQCHIP=y
|
CONFIG_GPIOLIB_IRQCHIP=y
|
||||||
CONFIG_GPIO_DEVRES=y
|
CONFIG_GPIO_DEVRES=y
|
||||||
@ -20,7 +20,7 @@ index e10401d42ae06506f82f2f5538fbc7df79fd4c65..c82fcf09228be7063967f2517e094265
|
|||||||
# CONFIG_GPIO_LATCH is not set
|
# CONFIG_GPIO_LATCH is not set
|
||||||
CONFIG_GPIO_NXP_74HC153=y
|
CONFIG_GPIO_NXP_74HC153=y
|
||||||
CONFIG_GPIO_PCF857X=y
|
CONFIG_GPIO_PCF857X=y
|
||||||
@@ -429,6 +430,7 @@ CONFIG_SOC_QCA956X=y
|
@@ -430,6 +431,7 @@ CONFIG_SOC_QCA956X=y
|
||||||
CONFIG_SPI=y
|
CONFIG_SPI=y
|
||||||
CONFIG_SPI_ATH79=y
|
CONFIG_SPI_ATH79=y
|
||||||
CONFIG_SPI_BITBANG=y
|
CONFIG_SPI_BITBANG=y
|
||||||
|
@ -108,7 +108,7 @@ index 6258713dd0e3325ab109689f0ed3b51e27c41f89..774e3c8964ef724d1efbae56434aeaa9
|
|||||||
unifiac-lite|\
|
unifiac-lite|\
|
||||||
unifiac-pro|\
|
unifiac-pro|\
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index c82fcf09228be7063967f2517e0942651234afb8..57b6d2e541d7ef9dea8570ba8de72164d97b9775 100644
|
index e576fd2ec4f0a8d3613f00aa0a29586b8c65abe0..6da3c323d300705a29355cdccff09fce1ce1bad7 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -181,6 +181,7 @@ CONFIG_ATH79_MACH_TL_WR1041N_V2=y
|
@@ -181,6 +181,7 @@ CONFIG_ATH79_MACH_TL_WR1041N_V2=y
|
||||||
|
@ -92,10 +92,10 @@ index 61db387c9ecefd7090c25a5f5d75fdbf65a44d65..97372bed0ea2fadfab10f22916a1e0d6
|
|||||||
mr16|\
|
mr16|\
|
||||||
nbg6616|\
|
nbg6616|\
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index 68f90de802ddd18e09a1da39c0d56292eea9489c..96b8f6b9a4bdd6a1609a819e72ade315bccfb3c0 100644
|
index fc9eb005623fc029f839d7ce14788ffba32e42e5..be818b78638b741fff963c222bab7c395996c608 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -92,6 +92,7 @@ case "$FIRMWARE" in
|
@@ -98,6 +98,7 @@ case "$FIRMWARE" in
|
||||||
ath10kcal_extract "art" 20480 2116
|
ath10kcal_extract "art" 20480 2116
|
||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
||||||
;;
|
;;
|
||||||
|
@ -12,10 +12,10 @@ every C7 v4 with LEDE carries the same MAC-Address on the 5GHz WiFi.
|
|||||||
Signed-off-by: David Bauer <mail@david-bauer.net>
|
Signed-off-by: David Bauer <mail@david-bauer.net>
|
||||||
|
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index 96b8f6b9a4bdd6a1609a819e72ade315bccfb3c0..607bbd2c0ec4b59ba569550e9e0e87b80c7ddddb 100644
|
index be818b78638b741fff963c222bab7c395996c608..697fcb68d246aa445ce029440643ad5950e48f6d 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -47,6 +47,10 @@ board=$(ar71xx_board_name)
|
@@ -53,6 +53,10 @@ board=$(ar71xx_board_name)
|
||||||
case "$FIRMWARE" in
|
case "$FIRMWARE" in
|
||||||
"ath10k/cal-pci-0000:00:00.0.bin")
|
"ath10k/cal-pci-0000:00:00.0.bin")
|
||||||
case $board in
|
case $board in
|
||||||
@ -26,7 +26,7 @@ index 96b8f6b9a4bdd6a1609a819e72ade315bccfb3c0..607bbd2c0ec4b59ba569550e9e0e87b8
|
|||||||
cf-e380ac-v1|\
|
cf-e380ac-v1|\
|
||||||
cf-e380ac-v2|\
|
cf-e380ac-v2|\
|
||||||
dlan-pro-1200-ac|\
|
dlan-pro-1200-ac|\
|
||||||
@@ -92,7 +96,6 @@ case "$FIRMWARE" in
|
@@ -98,7 +102,6 @@ case "$FIRMWARE" in
|
||||||
ath10kcal_extract "art" 20480 2116
|
ath10kcal_extract "art" 20480 2116
|
||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
||||||
;;
|
;;
|
||||||
|
@ -113,10 +113,10 @@ index 97372bed0ea2fadfab10f22916a1e0d6a9c65725..3aa1f054d4f791545a8b6644f7bd24f6
|
|||||||
mr16|\
|
mr16|\
|
||||||
nbg6616|\
|
nbg6616|\
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index 607bbd2c0ec4b59ba569550e9e0e87b80c7ddddb..5dd1d69e7e163c938759ce476846e4d985184b7b 100644
|
index 697fcb68d246aa445ce029440643ad5950e48f6d..6c62f391e1aac2f052d3397fc25f8bddcca581dd 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -97,6 +97,8 @@ case "$FIRMWARE" in
|
@@ -103,6 +103,8 @@ case "$FIRMWARE" in
|
||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
||||||
;;
|
;;
|
||||||
archer-c25-v1|\
|
archer-c25-v1|\
|
||||||
@ -156,7 +156,7 @@ index d6650e7719d268e1a500638b7eda2e15b9251aea..f4ac73e40e1acb800433a0b1348c8264
|
|||||||
c-55|\
|
c-55|\
|
||||||
carambola2|\
|
carambola2|\
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index 57b6d2e541d7ef9dea8570ba8de72164d97b9775..5b33d48e52309b807dbdf2697524809ad08072ae 100644
|
index 6da3c323d300705a29355cdccff09fce1ce1bad7..e335ef9b7dfe8f0250b4362542ea2518eac34cb4 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -52,6 +52,8 @@ CONFIG_ATH79_MACH_AP152=y
|
@@ -52,6 +52,8 @@ CONFIG_ATH79_MACH_AP152=y
|
||||||
@ -168,7 +168,7 @@ index 57b6d2e541d7ef9dea8570ba8de72164d97b9775..5b33d48e52309b807dbdf2697524809a
|
|||||||
CONFIG_ATH79_MACH_ARCHER_C7=y
|
CONFIG_ATH79_MACH_ARCHER_C7=y
|
||||||
CONFIG_ATH79_MACH_ARDUINO_YUN=y
|
CONFIG_ATH79_MACH_ARDUINO_YUN=y
|
||||||
CONFIG_ATH79_MACH_AW_NR580=y
|
CONFIG_ATH79_MACH_AW_NR580=y
|
||||||
@@ -272,6 +274,7 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
@@ -273,6 +275,7 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
||||||
CONFIG_GENERIC_TIME_VSYSCALL=y
|
CONFIG_GENERIC_TIME_VSYSCALL=y
|
||||||
CONFIG_GPIOLIB=y
|
CONFIG_GPIOLIB=y
|
||||||
CONFIG_GPIOLIB_IRQCHIP=y
|
CONFIG_GPIOLIB_IRQCHIP=y
|
||||||
|
@ -85,10 +85,10 @@ index 3aa1f054d4f791545a8b6644f7bd24f64ed546a3..382500b75ee6dc1fe1126fb3121f4ae2
|
|||||||
archer-c60-v1|\
|
archer-c60-v1|\
|
||||||
mr12|\
|
mr12|\
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index 5dd1d69e7e163c938759ce476846e4d985184b7b..538c86e4743109f7665096da32620d7862248aea 100644
|
index 6c62f391e1aac2f052d3397fc25f8bddcca581dd..4ef5ba983d3fadc5e7842f707fff641a3c0cea8f 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -134,6 +134,13 @@ case "$FIRMWARE" in
|
@@ -140,6 +140,13 @@ case "$FIRMWARE" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
@ -156,7 +156,7 @@ index f4ac73e40e1acb800433a0b1348c8264a4639c30..5e8a06a7ae70ec349693c09deedbfce4
|
|||||||
archer-c60-v1|\
|
archer-c60-v1|\
|
||||||
bullet-m|\
|
bullet-m|\
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index 5b33d48e52309b807dbdf2697524809ad08072ae..396a4fa02adb37c6e5f9f7f1cc40fd1014361654 100644
|
index e335ef9b7dfe8f0250b4362542ea2518eac34cb4..b84e1cb584f3afce016d0685fb2397962ee85645 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -52,6 +52,7 @@ CONFIG_ATH79_MACH_AP152=y
|
@@ -52,6 +52,7 @@ CONFIG_ATH79_MACH_AP152=y
|
||||||
|
@ -6,10 +6,10 @@ Signed-off-by: Henryk Heisig <hyniu@o2.pl>
|
|||||||
(cherry picked from commit e917e51bf91fc7cb5085bda5e67d62520801f9cc)
|
(cherry picked from commit e917e51bf91fc7cb5085bda5e67d62520801f9cc)
|
||||||
|
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index 538c86e4743109f7665096da32620d7862248aea..cfdc20455d61c3900473f57c3267b1a3fd10e150 100644
|
index 4ef5ba983d3fadc5e7842f707fff641a3c0cea8f..8efe348498d4aaf5ae660a29073fc75ae7c9d72e 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -138,6 +138,8 @@ case "$FIRMWARE" in
|
@@ -144,6 +144,8 @@ case "$FIRMWARE" in
|
||||||
case $board in
|
case $board in
|
||||||
archer-c58-v1)
|
archer-c58-v1)
|
||||||
ath10kcal_extract "art" 20480 12064
|
ath10kcal_extract "art" 20480 12064
|
||||||
|
@ -9,10 +9,10 @@ Signed-off-by: Henryk Heisig <hyniu@o2.pl>
|
|||||||
(cherry picked from commit 34958c826915cf864833ed8ba6e5b49d44c6cb41)
|
(cherry picked from commit 34958c826915cf864833ed8ba6e5b49d44c6cb41)
|
||||||
|
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index cfdc20455d61c3900473f57c3267b1a3fd10e150..91bdf0d3c591516f58030b165052b3dd2751314f 100644
|
index 8efe348498d4aaf5ae660a29073fc75ae7c9d72e..65251284bba605afda8709c4799060e7a5554193 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -136,7 +136,9 @@ case "$FIRMWARE" in
|
@@ -142,7 +142,9 @@ case "$FIRMWARE" in
|
||||||
;;
|
;;
|
||||||
"ath10k/pre-cal-pci-0000:00:00.0.bin")
|
"ath10k/pre-cal-pci-0000:00:00.0.bin")
|
||||||
case $board in
|
case $board in
|
||||||
|
@ -5,7 +5,7 @@ Subject: ar71xx: add unaligned access hacks for VXLAN
|
|||||||
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
||||||
|
|
||||||
diff --git a/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch
|
diff --git a/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch
|
||||||
index 374f9be3b4b76984842d3673ea78b70aadc9476a..3b6ed31556cbd1fa81bb6b616fc78e19b56099c4 100644
|
index f766850aebcbd53e6b0e94e654068afe8f5a81c4..d0cc7c52c06522ab2cad5bc3c14f06ad1530fc20 100644
|
||||||
--- a/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch
|
--- a/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch
|
||||||
+++ b/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch
|
+++ b/target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch
|
||||||
@@ -929,3 +929,119 @@
|
@@ -929,3 +929,119 @@
|
||||||
|
@ -9,7 +9,7 @@ old defaults get replaced properly.
|
|||||||
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
||||||
|
|
||||||
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
|
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
|
||||||
index c971de4deee7cd331ddcad6b87eb9fefd7af6a64..55e67a97d03df7d96cf8a4aac3c5325ce7105c80 100644
|
index f473ef732106eb8fa05e7c5b59df176fef33e42d..32b1ce0923cb984ff32e4444a18eccdad7572d70 100644
|
||||||
--- a/package/base-files/Makefile
|
--- a/package/base-files/Makefile
|
||||||
+++ b/package/base-files/Makefile
|
+++ b/package/base-files/Makefile
|
||||||
@@ -59,8 +59,6 @@ define Package/base-files/conffiles
|
@@ -59,8 +59,6 @@ define Package/base-files/conffiles
|
||||||
|
@ -163,7 +163,7 @@ index 5e8a06a7ae70ec349693c09deedbfce41a52cfc2..491b5d5a98b44844f14441d4024f2ad9
|
|||||||
|
|
||||||
echo "Sysupgrade is not yet supported on $board."
|
echo "Sysupgrade is not yet supported on $board."
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index 396a4fa02adb37c6e5f9f7f1cc40fd1014361654..45bf500643837a7270b45e32b22225c06c5fb841 100644
|
index b84e1cb584f3afce016d0685fb2397962ee85645..9f449973b17a1d82098fb5b50f4b8f6cc9f869f8 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -106,6 +106,7 @@ CONFIG_ATH79_MACH_ESR1750=y
|
@@ -106,6 +106,7 @@ CONFIG_ATH79_MACH_ESR1750=y
|
||||||
@ -174,7 +174,7 @@ index 396a4fa02adb37c6e5f9f7f1cc40fd1014361654..45bf500643837a7270b45e32b22225c0
|
|||||||
CONFIG_ATH79_MACH_GL_AR150=y
|
CONFIG_ATH79_MACH_GL_AR150=y
|
||||||
CONFIG_ATH79_MACH_GL_AR300=y
|
CONFIG_ATH79_MACH_GL_AR300=y
|
||||||
CONFIG_ATH79_MACH_GL_AR300M=y
|
CONFIG_ATH79_MACH_GL_AR300M=y
|
||||||
@@ -373,6 +374,7 @@ CONFIG_MTD_PHYSMAP=y
|
@@ -374,6 +375,7 @@ CONFIG_MTD_PHYSMAP=y
|
||||||
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2
|
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2
|
||||||
CONFIG_MTD_REDBOOT_PARTS=y
|
CONFIG_MTD_REDBOOT_PARTS=y
|
||||||
CONFIG_MTD_SPI_NOR=y
|
CONFIG_MTD_SPI_NOR=y
|
||||||
|
@ -79,10 +79,10 @@ index 336d078f72a06073e3465c36ca98035c7d70282f..01d3b787bedcab82a5797c9a4801e813
|
|||||||
;;
|
;;
|
||||||
qihoo-c301)
|
qihoo-c301)
|
||||||
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
index 91bdf0d3c591516f58030b165052b3dd2751314f..1626622a8e46484bbf2719f19843e61d9cc92506 100644
|
index 65251284bba605afda8709c4799060e7a5554193..3b1e408f00846f8cc39e05d90600992e382b314a 100644
|
||||||
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||||
@@ -103,6 +103,7 @@ case "$FIRMWARE" in
|
@@ -109,6 +109,7 @@ case "$FIRMWARE" in
|
||||||
ath10kcal_extract "art" 20480 2116
|
ath10kcal_extract "art" 20480 2116
|
||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
|
||||||
;;
|
;;
|
||||||
@ -129,7 +129,7 @@ index 03677ad1240c9a5af341354b95561f9d493a9cd8..236520b27c4d6d0b1b7e483d1100fb5a
|
|||||||
gl-mifi|\
|
gl-mifi|\
|
||||||
hiwifi-hc6361|\
|
hiwifi-hc6361|\
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index 45bf500643837a7270b45e32b22225c06c5fb841..d96642b97c36187febb1f3843e7dd9acfab0e40d 100644
|
index 9f449973b17a1d82098fb5b50f4b8f6cc9f869f8..d5ad6396a5c422b9b68b0a94658962226c13006e 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -110,6 +110,7 @@ CONFIG_ATH79_MACH_FRITZ4020=y
|
@@ -110,6 +110,7 @@ CONFIG_ATH79_MACH_FRITZ4020=y
|
||||||
|
@ -9,10 +9,10 @@ rid of statically defined "kernel" and "rootfs" partitions in cmdline.
|
|||||||
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
|
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
|
||||||
|
|
||||||
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4
|
||||||
index d96642b97c36187febb1f3843e7dd9acfab0e40d..6c29cd7748b3ce7e53adf359cd5002ba01066fbd 100644
|
index d5ad6396a5c422b9b68b0a94658962226c13006e..26f855e66796106cd0f232c9c5e920b02365de31 100644
|
||||||
--- a/target/linux/ar71xx/config-4.4
|
--- a/target/linux/ar71xx/config-4.4
|
||||||
+++ b/target/linux/ar71xx/config-4.4
|
+++ b/target/linux/ar71xx/config-4.4
|
||||||
@@ -379,6 +379,7 @@ CONFIG_MTD_SPLIT_EVA_FW=y
|
@@ -380,6 +380,7 @@ CONFIG_MTD_SPLIT_EVA_FW=y
|
||||||
CONFIG_MTD_SPLIT_FIRMWARE=y
|
CONFIG_MTD_SPLIT_FIRMWARE=y
|
||||||
CONFIG_MTD_SPLIT_LZMA_FW=y
|
CONFIG_MTD_SPLIT_LZMA_FW=y
|
||||||
CONFIG_MTD_SPLIT_SEAMA_FW=y
|
CONFIG_MTD_SPLIT_SEAMA_FW=y
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
From: David Bauer <mail@david-bauer.net>
|
||||||
|
Date: Tue, 11 Sep 2018 17:04:16 +0200
|
||||||
|
Subject: ar71xx: flag FritzBox 4020 buttons as active low
|
||||||
|
|
||||||
|
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.
|
||||||
|
|
||||||
|
This was an oversight as RFKill button was working as expected even
|
||||||
|
with incorrectly flagged GPIO.
|
||||||
|
|
||||||
|
Signed-off-by: David Bauer <mail@david-bauer.net>
|
||||||
|
|
||||||
|
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz4020.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz4020.c
|
||||||
|
index ed7f9a8b3ead80dbbe7f8d27c7dd5ecf0543d733..c00cf681b2da3ff4989fbf4c3de7b44075bb395a 100644
|
||||||
|
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz4020.c
|
||||||
|
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz4020.c
|
||||||
|
@@ -169,7 +169,7 @@ static struct gpio_keys_button fritz4020_gpio_keys[] __initdata = {
|
||||||
|
.code = KEY_RFKILL,
|
||||||
|
.debounce_interval = FRITZ4020_KEYS_DEBOUNCE_INTERVAL,
|
||||||
|
.gpio = FRITZ4020_GPIO_BTN_WLAN,
|
||||||
|
- .active_low = 0,
|
||||||
|
+ .active_low = 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.desc = "WPS button",
|
||||||
|
@@ -177,7 +177,7 @@ static struct gpio_keys_button fritz4020_gpio_keys[] __initdata = {
|
||||||
|
.code = KEY_WPS_BUTTON,
|
||||||
|
.debounce_interval = FRITZ4020_KEYS_DEBOUNCE_INTERVAL,
|
||||||
|
.gpio = FRITZ4020_GPIO_BTN_WPS,
|
||||||
|
- .active_low = 0,
|
||||||
|
+ .active_low = 1,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
@ -13,7 +13,6 @@ $(eval $(call GluonTarget,x86,geode))
|
|||||||
$(eval $(call GluonTarget,x86,64))
|
$(eval $(call GluonTarget,x86,64))
|
||||||
|
|
||||||
ifneq ($(GLUON_WLAN_MESH_11s)$(BROKEN),)
|
ifneq ($(GLUON_WLAN_MESH_11s)$(BROKEN),)
|
||||||
$(eval $(call GluonTarget,ipq806x))
|
|
||||||
$(eval $(call GluonTarget,ramips,mt7620))
|
$(eval $(call GluonTarget,ramips,mt7620))
|
||||||
$(eval $(call GluonTarget,ramips,mt7628))
|
$(eval $(call GluonTarget,ramips,mt7628))
|
||||||
$(eval $(call GluonTarget,ramips,rt305x))
|
$(eval $(call GluonTarget,ramips,rt305x))
|
||||||
@ -22,5 +21,6 @@ endif
|
|||||||
ifneq ($(BROKEN),)
|
ifneq ($(BROKEN),)
|
||||||
$(eval $(call GluonTarget,ar71xx,mikrotik)) # BROKEN: no sysupgrade support
|
$(eval $(call GluonTarget,ar71xx,mikrotik)) # BROKEN: no sysupgrade support
|
||||||
$(eval $(call GluonTarget,brcm2708,bcm2710)) # BROKEN: Untested
|
$(eval $(call GluonTarget,brcm2708,bcm2710)) # BROKEN: Untested
|
||||||
|
$(eval $(call GluonTarget,ipq806x)) # BROKEN: unstable wifi drivers
|
||||||
$(eval $(call GluonTarget,mvebu)) # BROKEN: No AP+IBSS or 11s support
|
$(eval $(call GluonTarget,mvebu)) # BROKEN: No AP+IBSS or 11s support
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user