Matthias Schiffer
d5c334af6d
gluon-core: replace opkg site configuration to make it more flexible
...
The new options allow specifying custom repositories and are evaluated
in an upgrade script, not during build.
2015-10-14 02:57:29 +02:00
Alex
b465504ae8
add: info for 802.11s interface
...
additional information for commit 2a93c58042
2015-09-13 14:32:53 +02:00
Jan-Philipp Litza
339a6c9959
Remove dependencies on luci.util (and partly nixio.fs) from announce scripts
2015-09-02 13:17:59 +02:00
Nils Schneider
177086b881
gluon-radio-config: basic wireless configuration
...
Split basic radio configuration from gluon-mesh-batman-adv as this will
be required for virtually any wireless mesh protocol.
This package takes care of setting:
- wireless channel,
- htmode and
- regulatory domain
gluon-mesh-batman-adv-core depends on this package.
2015-08-18 11:41:14 +02:00
Matthias Schiffer
f6498e8773
Update modules
2015-07-18 18:02:13 +02:00
Matthias Schiffer
d386ccdcf8
Always use eth0 address as primary address on x86 and brcm2708
...
These targets don't have a WLAN adapter by default, so it doesn't make
sense to default to the phy0 address.
2015-07-10 20:22:53 +02:00
Matthias Schiffer
ab10be9f50
We're on Chaos Calmer now
2015-05-22 01:09:19 +02:00
Matthias Schiffer
bca916dd55
gluon-core: disable multicast snooping on the WAN bridge
...
This seems to mitigate weird bridge forwarding issues.
2015-04-27 22:00:38 +02:00
Matthias Schiffer
cd34cb2ebb
gluon-core, gluon-setup-mode: improve support for UAP Outdoor+
2015-04-08 00:44:12 +02:00
Jan-Philipp Litza
335026af09
Allow empty hostname prefix
...
In Bremen it has been noted that a prefix may lead people to believe it
has to stay there and thus naming their nodes "ffhb-*", which is not
what the community wants (see FreifunkBremen/gluon-site-ffhb#1 ).
However, an empty prefix lead to the connecting hyphen still being
inserted. This commit thus makes the hyphen part of the configured
prefix and allows the prefix to be missing from the `site.conf`.
2015-03-21 13:43:45 +01:00
Matthias Schiffer
65b44ca4ce
Rename gluon-config to gluon-site
2015-03-19 20:14:40 +01:00
Matthias Schiffer
dce26de28c
gluon-core: add i18n support
2015-03-18 20:24:57 +01:00
Matthias Schiffer
93cc8e543e
gluon-core: fix primary MAC address on TP-LINK Archer C5/C7
2015-03-10 13:40:45 +01:00
Matthias Schiffer
cbedc9421e
gluon-core: sysconfig: differentiate between nil and empty string
2015-01-26 20:18:33 +01:00
Matthias Schiffer
c45a0bcdc1
gluon-core: fall back to eth0 for the primary MAC address when there is no WLAN device
2015-01-25 02:29:43 +01:00
Matthias Schiffer
9b172bbaf4
Move all upgrade scripts to a common directory
...
Moving the scripts to a common directory not only vastly simplifies the
zzz-gluon-upgrade script, but also allows to define an ordering of such
scripts across packages.
2015-01-24 11:27:47 +01:00
Matthias Schiffer
6f11279438
gluon-core: convert all initial scripts to invariant scripts
2015-01-24 11:14:09 +01:00
Matthias Schiffer
78b43b1dd6
gluon-core, gluon-setup-mode: fix LAN and WAN on nanostation-m-xw
2014-11-26 23:30:56 +01:00
Matthias Schiffer
9dd4f52bfa
CPE510-specific config (switch WAN and LAN, config mode on WAN)
2014-11-26 19:50:45 +01:00
Matthias Schiffer
1803525745
Configure unique MAC addresses for all WLAN interfaces
2014-09-15 19:55:09 +02:00
Matthias Schiffer
b51e1063b7
Add utility function to generate unique MAC addresses derived from the primary MAC
2014-09-15 19:55:09 +02:00
Nils Schneider
0de7bf5f64
gluon-core: port initial/020-wireless to lua
2014-09-15 19:50:10 +02:00
Nils Schneider
5fa97f8fdb
gluon-core: add node_id() to gluon.util
2014-09-11 12:27:29 +02:00
Jan-Philipp Litza
ae43f3dc3e
gluon-core: Remove VERSION_DIR hack
...
As the (removed) comment said, this was a one-time-hack that was obsoleted long ago.
2014-08-30 15:13:52 +02:00
Matthias Schiffer
3762f52c69
gluon-core: restructure WAN configuration
2014-08-09 14:39:21 +02:00
Matthias Schiffer
201acaa3a9
Dependency fixes for the new LuCi version
2014-08-06 12:06:49 +02:00
Matthias Schiffer
971dec8d27
gluon-core: remove now unused dnsmasq.d support
2014-07-20 04:04:27 +02:00
Matthias Schiffer
d638359215
Explicitly set the WAN MAC address on all models where WAN is a VLAN device
...
Also move it to gluon-mesh-batman-adv, as mesh_on_wan is the only feature that
needs a unique MAC address on the WAN interface.
2014-07-19 18:40:12 +02:00
Matthias Schiffer
16060d25d5
Move essential firewall rules from gluon-firewall to gluon-core and gluon-mesh-batman-adv
...
The now empty gluon-firewall is removed.
2014-07-14 17:53:41 +02:00
Matthias Schiffer
eae6c25de6
Add support for IPv6 mesh VPN connections
...
The support is still very limited (IPv6-only DNS on WAN doesn't work yet), and
we now need fastd running as root, but apart from that, is should work.
2014-07-11 16:57:28 +02:00
Matthias Schiffer
58ced87261
Use nicer platform match
2014-07-11 12:11:47 +02:00
Matthias Schiffer
6f1777b072
gluon-core: add platform utility module
2014-07-11 11:36:53 +02:00
Matthias Schiffer
1a52c6bdf2
gluon-core: remove sysconfig.sh
2014-07-10 23:45:03 +02:00
Matthias Schiffer
f73d727ae6
Remove all remaining uses of sysconfig.sh
2014-07-10 23:44:06 +02:00
Matthias Schiffer
7773afdc18
gluon-core: remove model.sh and model.lua
2014-07-10 17:57:31 +02:00
Matthias Schiffer
81dc4f44e2
gluon-core: remove now unused sysctl.sh
2014-07-07 22:23:56 +02:00
Matthias Schiffer
3dddafea21
gluon-core: convert network config script to lua
2014-07-07 21:58:08 +02:00
Matthias Schiffer
0fd7ac1768
gluon-core: add and use a sysctl Lua module
2014-07-07 21:57:37 +02:00
Matthias Schiffer
1c0429ce8f
gluon-core: extend user management library and convert it to Lua
2014-07-07 21:48:35 +02:00
Matthias Schiffer
2ec02a41c2
gluon-core: add functions to unset sysconfig settings
2014-07-05 19:39:24 +02:00
Matthias Schiffer
ffd86668fe
Validate site.conf
2014-07-05 02:48:56 +02:00
Matthias Schiffer
e317bdc230
gluon-core: add gluon.model lua module
2014-06-09 17:56:29 +02:00
Matthias Schiffer
ee307ec1de
gluon-core: make Lua files proper modules
2014-05-17 13:43:08 +02:00
Matthias Schiffer
b95a4d67e8
gluon-core: convert generated upgrade scripts to Lua
2014-05-14 11:06:07 +02:00
Matthias Schiffer
d31ea9eba9
gluon-core: add site_config loader script
2014-05-14 08:00:54 +02:00
Matthias Schiffer
17b9514e38
Add gluon-config package containing the site config
2014-05-13 20:09:28 +02:00
Matthias Schiffer
49700fc70d
gluon-core: add sysconfig_isset function
2014-03-02 17:36:12 +01:00
Matthias Schiffer
bbd8ee6772
gluon-core: switch LAN and WAN on nanostation-m
2014-03-02 17:36:12 +01:00
Matthias Schiffer
96b213c386
We DON'T want the gluon version file to collide with the package version stamp dir
2014-02-26 10:21:14 +01:00
Matthias Schiffer
8f9ee8d62a
gluon-core: add version file
2014-02-25 11:30:07 +01:00