Commit graph

31 commits

Author SHA1 Message Date
Matthias Reichl
1dfbcbd8b4 connman: move host and resolver configuration to separate service
Setup system hostname, /etc/resolv.conf and /etc/hosts in a service
that can be run independently of connman.

The volatile etc files are created in /run/libreelec instead of
/run/connman so they can be modified similarily to standard linux
installations with a writable /etc. Connman can then hook into
that and move resolv.conf management to /run/connman/resolv.conf when
it's started.

If kernel IP configuration is used the resolv info from the kernel
will be used to create resolv.conf. Users can also provide their
own resolv.conf file in /storage/.config/resolv.conf which takes
precedence over ther kernel info. If no resolv.conf info is present
a fallback with use the Google nameservers is created (as before).

Loopback network interface setup has been removed, this is already
set up by systemd.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:54:04 +01:00
Lukas Rusak
40af353132 rebrand: LibreELEC 2016-03-12 01:41:55 +01:00
chewitt
d4ba58cc66 connman: update to 1.31 2016-01-10 16:08:55 +01:00
Stefan Saraev
0f6656a50f ... and clean up settings / re-add fallbacktimeservers to main.conf 2015-04-19 18:22:59 +03:00
Stefan Saraev
d6e8b3195b Revert "connman: remove support to create initial setting"
This reverts commit debb37a12f.

debb37a broke wifi in wizard / first run. as it doesnt seem to
be intentional, reverting.
2015-04-19 18:09:05 +03:00
Stefan Saraev
3605e4fc7b connman: make it clear for users to not edit /etc/hosts 2015-01-20 23:40:28 +02:00
Stephan Raue
debb37a12f connman: remove support to create initial setting
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-24 02:53:13 +02:00
Stephan Raue
e91c03006e connman: remove not more needed config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-06-26 11:34:37 +02:00
Stephan Raue
72664e1359 connman: install and setup default main.conf shipped with connman, set 'PreferredTechnologies'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 05:27:34 +01:00
Stephan Raue
469f5defaf Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-settings 2013-03-18 15:16:19 +01:00
Daniel Forsberg
9c2bb7c5ed connman: enable background scanning, needed for router changes. or no reconnect. 2013-03-18 08:50:34 +01:00
Stephan Raue
48ed73cee3 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-settings 2013-03-13 17:47:40 +01:00
jenkins
632c954cff connman: disable BackgroundScanning.
We dont use it anyway and it makes wifi a little unstable.
At least on RPi.
2013-03-12 17:31:31 +01:00
Stephan Raue
78f45423e5 connman: update default settings file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-22 21:39:40 +01:00
Stephan Raue
b6ba0427e2 connman install default settings file on first start
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-21 01:28:24 +01:00
Stephan Raue
1597dcedd4 new package: add package 'iana-etc', this fixes #1336
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-10-13 15:08:31 +02:00
Domin6
543c89c24b Change copyright and FSF address, this fixes #252 2012-02-29 13:36:32 +01:00
Gujs
1c79486467 WiFi: rename PSK to WPA/WPA2 for better understanding 2011-06-01 20:28:04 +02:00
Stephan Raue
9a376aea6a connman: update to connman-0.73
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-19 05:09:24 +02:00
Stephan Raue
a20f920d1d connman: put static resolv.conf in /etc no need for write support anymore
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-30 17:56:55 +01:00
Stephan Raue
6508661f10 samba: dont build and install nmbd, remove winbind support, add option to disable starting samba on boottime in network.conf
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-17 18:37:55 +01:00
Wintemrute
2d3ad4c2da Adding Headers...... 2011-01-09 22:06:11 +01:00
Stephan Raue
768d974aaf connman: fix comments in configfiles, thanks to ilya
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-12 10:50:56 +01:00
Stephan Raue
9f4c237a72 connman: install /etc/services
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-10-29 21:16:59 +02:00
Stephan Raue
67883c74e4 connman: add user hosts.conf support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-10-28 04:20:51 +02:00
Stephan Raue
5fe596e694 connman: typo in network.conf, thanks to ilya
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-09-28 22:55:21 +02:00
Stephan Raue
c5796280e5 connman: rework init script and network config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-09-27 03:06:28 +02:00
Stephan Raue
3eaa331a4f connman: rework network config and init script again
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-09-25 22:20:04 +02:00
Stephan Raue
2f3c769a61 connman: include standalone cmcc script, add init script and config from 'indicator-network' package
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-09-23 13:11:55 +02:00
Stephan Raue
c02ebf78df update to connman-0.37 2009-08-03 00:25:57 +02:00
Stephan Raue
de71016fb4 initial import 2009-03-18 13:02:53 +01:00