Matthias Schiffer
3846cabc92
gluon-core, gluon-setup-mode: improve support for UAP Outdoor+
2015-04-08 00:44:12 +02:00
Jan-Philipp Litza
0b9bbcfe5b
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
fdf62b45fb
Rename gluon-config to gluon-site
2015-03-19 20:14:40 +01:00
Matthias Schiffer
194ea0ffd9
gluon-core: add i18n support
2015-03-18 20:24:57 +01:00
Matthias Schiffer
8ee69212a3
gluon-core: fix primary MAC address on TP-LINK Archer C5/C7
2015-03-10 13:40:45 +01:00
Matthias Schiffer
7fd3477263
gluon-core: sysconfig: differentiate between nil and empty string
2015-01-26 20:18:33 +01:00
Matthias Schiffer
69d9a419a0
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
3d027847c6
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
8c4d363198
gluon-core: convert all initial scripts to invariant scripts
2015-01-24 11:14:09 +01:00
Matthias Schiffer
9f0fc73deb
gluon-core, gluon-setup-mode: fix LAN and WAN on nanostation-m-xw
2014-11-26 23:30:56 +01:00
Matthias Schiffer
9663e29b22
CPE510-specific config (switch WAN and LAN, config mode on WAN)
2014-11-26 19:50:45 +01:00
Matthias Schiffer
10ea4ecd55
Configure unique MAC addresses for all WLAN interfaces
2014-09-15 19:55:09 +02:00
Matthias Schiffer
afecfc43f6
Add utility function to generate unique MAC addresses derived from the primary MAC
2014-09-15 19:55:09 +02:00
Nils Schneider
d3aea8343b
gluon-core: port initial/020-wireless to lua
2014-09-15 19:50:10 +02:00
Nils Schneider
52e704ee86
gluon-core: add node_id() to gluon.util
2014-09-11 12:27:29 +02:00
Jan-Philipp Litza
6160f1a966
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
e210f372ab
gluon-core: restructure WAN configuration
2014-08-09 14:39:21 +02:00
Matthias Schiffer
02bc9f4e66
Dependency fixes for the new LuCi version
2014-08-06 12:06:49 +02:00
Matthias Schiffer
09909cac25
gluon-core: remove now unused dnsmasq.d support
2014-07-20 04:04:27 +02:00
Matthias Schiffer
07056250c3
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
76a26d12a5
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
c4ee0e650b
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
b78daa7fb7
Use nicer platform match
2014-07-11 12:11:47 +02:00
Matthias Schiffer
e1ce7718f8
gluon-core: add platform utility module
2014-07-11 11:36:53 +02:00
Matthias Schiffer
25b6cc6088
gluon-core: remove sysconfig.sh
2014-07-10 23:45:03 +02:00
Matthias Schiffer
e80dbda64a
Remove all remaining uses of sysconfig.sh
2014-07-10 23:44:06 +02:00
Matthias Schiffer
26d6d76de1
gluon-core: remove model.sh and model.lua
2014-07-10 17:57:31 +02:00
Matthias Schiffer
71ad364ad1
gluon-core: remove now unused sysctl.sh
2014-07-07 22:23:56 +02:00
Matthias Schiffer
bb50cd1865
gluon-core: convert network config script to lua
2014-07-07 21:58:08 +02:00
Matthias Schiffer
f6201b5908
gluon-core: add and use a sysctl Lua module
2014-07-07 21:57:37 +02:00
Matthias Schiffer
67db71c96a
gluon-core: extend user management library and convert it to Lua
2014-07-07 21:48:35 +02:00
Matthias Schiffer
6ccbb22f4e
gluon-core: add functions to unset sysconfig settings
2014-07-05 19:39:24 +02:00
Matthias Schiffer
72c0df3969
Validate site.conf
2014-07-05 02:48:56 +02:00
Matthias Schiffer
1b259eefe5
gluon-core: add gluon.model lua module
2014-06-09 17:56:29 +02:00
Matthias Schiffer
ee99b776be
gluon-core: make Lua files proper modules
2014-05-17 13:43:08 +02:00
Matthias Schiffer
20eb857c1b
gluon-core: convert generated upgrade scripts to Lua
2014-05-14 11:06:07 +02:00
Matthias Schiffer
3c5c7d4fdf
gluon-core: add site_config loader script
2014-05-14 08:00:54 +02:00
Matthias Schiffer
af14dc0c8c
Add gluon-config package containing the site config
2014-05-13 20:09:28 +02:00
Matthias Schiffer
0c3beb1be8
gluon-core: add sysconfig_isset function
2014-03-02 17:36:12 +01:00
Matthias Schiffer
8a2f9e5af7
gluon-core: switch LAN and WAN on nanostation-m
2014-03-02 17:36:12 +01:00
Matthias Schiffer
3811912a45
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
c857ab90f7
gluon-core: add version file
2014-02-25 11:30:07 +01:00
Matthias Schiffer
1b9b777eb7
gluon-core: use awk instead of grep+cut
2014-02-23 20:23:47 +01:00
Matthias Schiffer
13f99f1d8c
gluon-core: remove support for incremental upgrade scripts
...
As we don't have any older gluon versions so far, and hope to be able to do all
upgrades with invariant scripts, remove the code for now.
If we ever see the need to add such upgrade scripts, we can just re-add this.
2014-02-23 20:20:16 +01:00
Matthias Schiffer
5315f2126a
gluon-core: don't call legacy scripts on normal upgrades
2014-02-23 17:29:32 +01:00
Matthias Schiffer
9502f67560
gluon-core: adjust to new escaped array handling for generate expressions
2014-02-23 06:31:23 +01:00
Matthias Schiffer
99c2999331
Add gluon-legacy package with legacy upgrade scripts
2014-02-22 08:27:51 +01:00
Matthias Schiffer
9a07e83d4c
Convert more upgrade scripts to the new sysctl helper
2014-02-21 19:58:38 +01:00
Daniel Ehlers
1386bb41dd
gluon-core: force kernel panic on out of memory
...
In combination with kernel.panic the node will reboot if out of memory.
2014-02-18 00:21:12 +01:00
Matthias Schiffer
4da5b5ce37
gluon-core: ensure the release file is always up-to-date
2014-01-31 15:25:49 +01:00