Commit Graph

34 Commits

Author SHA1 Message Date
Alexandre Bard 8a4c0869d3 network-manager-conf: Don't always use eth0 as default
It was already the case for HW18: eth2 was the default.
Now with HW25, we can't rely either on eth0 name since it is assigned by
default to the wrong port.

We are therefor using lan0 for HW25 and make the nm-conf recipe more
generic.

BugzID: 69468
2020-12-14 14:05:27 +01:00
Alexandre Bard a61b878ee0 networkmanager-conf: Setup DHCP for nrhw20
Custom config for HW20 with DHCP on the 4 lans of the switch instead
of 4 different static subnets.

BugzID: 60765
2019-12-26 16:45:49 +01:00
Alexandre Bard 24a56a9212 networkmanager-conf: Use eth2 has default for HW18
BugzID: 60763
2019-12-26 14:59:07 +01:00
Alexandre Bard a4ed9ead0c networkmanager: Add missing RDEPENDS to dnsmasq
This add a dependency to RDEPENDS when using this PACKAGECONFIG
feature.

BugzID: 60752
2019-12-23 22:20:48 +01:00
Alexandre Bard 946549e198 networkmanager: move config files to new recipe
This new recipe can be configured using PACKAGECONFIG to enable
different config option like DHCP or unmanaged devices.

BugzID: 60752

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-12-23 16:48:49 +01:00
Alexandre Bard a0b9dce696 NetworkManager: Remove disabling of random mac address for scanning
This feature had been disabled to prevent use of random mac address.
But apparently the random mac is only used for scanning and, when
actualy connecting to an AP, the real mac address is used.

Furthermore this config is generating errors in some cases when
using access point mode.

BugzID: 60405
2019-12-12 15:40:10 +01:00
Alexandre Bard 7fb4bf5d51 networkmanager: Add patch: reactivate GSM connection when MM reconnects
After a disconnection from network side, ModemManager can reconnect
itself if the modem requests it. This commit makes sure that a
reconnection of the modem makes the GSM connection active in NM.

BugzID: 60029
2019-11-19 15:20:34 +01:00
Alexandre Bard a015e1d748 networkmanager: Add google dns as fallback
dnsmasq being now used for dns caching we add the google dns server
as fallback if other DNS are not reachable.

In case no DNS at all is configured in NM, dnsmasq will not be
started and in this case the google dns cannot be used either.

BugzID: 59522
2019-10-11 14:09:32 +02:00
Alexandre Bard dba889aac7 networkmanager: Get rid of unwanted auto connections
BugzID: 59531
2019-10-11 14:09:32 +02:00
Alexandre Bard cd2a4787d3 networkmanager: Use dnsmasq as DNS caching service
Since we removed systemd-resolvd, there is no caching service
anymore. dnsmasq being already in the system, it make sense
to use it.

BugzID: 59521
2019-10-11 14:09:32 +02:00
Alexandre Bard b968842975 Add mac-address-set
This script sets mac address of wifi and bluetooth chip
according to serial number

Also add NetworkManager config to not use random mac address on wifi

BugzID: 54514
2019-04-09 11:05:35 +02:00
Alexandre Bard 2416bc907a networkmanager: Force ethernet configuration on eth0
BugzID: 54917
2018-12-18 17:04:29 +01:00
Alexandre Bard 1fe25e44f3 hw20: Add default network configuration 2018-12-17 17:37:19 +01:00
Alexandre Bard a0699610bf hw18: Remove old network manager useless recipe 2018-11-14 21:25:07 +01:00
Alexandre Bard 8951c72564 nrhw18: Enable DHCP on all interfaces 2018-11-14 21:25:07 +01:00
Alexandre Bard cdd1681cd8 network-manager: Add default network config back 2018-11-13 14:28:25 +01:00
Alexandre Bard f144e29bf4 networkmanager: Enable gsm and bluetooth plugins
BugzID: 54056

Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
2018-11-02 16:14:18 +01:00
Alexandre Bard 9681b0ee0a hw18: Remove old network manager useless recipe 2018-10-29 18:26:11 +01:00
Alexandre Bard 3f51170eb5 nrhw20:fct: Add custom network configuration
The config for the fct image should use a different IP address
on each port of the switch instead of bridging
2018-08-28 22:35:41 +02:00
Patrick Zysset b2f639b9eb Merge remote-tracking branch 'remotes/origin/fct' into sumo-fct 2018-06-08 19:41:12 +02:00
Ramon Moesching 13b64fee28 networkmanager: update recipe for sumo
add intltool-native and dbus-glib-native to dependency

xlocale.h isn't longer in glibc 2.26.1, so remove it (patch)

disable introspection which cause errors
2018-05-17 14:29:44 +02:00
Stefan Eichenberger ecb882066c nrhw20-fct: add networkmanager config for nrhw20 2018-02-22 17:53:26 +01:00
Stefan Eichenberger d4b3251803 networkmanager: add support for nrhw20 2018-02-22 16:44:17 +01:00
Stefan Eichenberger 14cc4bacd7 networkmanager: add support for nrhw20 2018-02-22 15:55:42 +01:00
Stefan Eichenberger 974ad21748 networkmanager: disable random MAC for fct 2017-04-26 15:06:50 +02:00
Stefan Eichenberger 0acd85df3d networkmanager: set correct checksums 2017-02-27 12:47:58 +01:00
Stefan Eichenberger 321cc66bf2 networkmanager: do maintainance update 2017-02-27 11:58:58 +01:00
Stefan Eichenberger 83e432c774 networkmanager: force connection file to 0600 2017-02-27 11:56:27 +01:00
Stefan Eichenberger f09a606807 networkmanager: add missing dependency 2017-02-22 15:05:34 +01:00
Stefan Eichenberger f22e26b862 networkmanager: set 192.168.1.1 as initial ip 2017-01-12 15:57:33 +01:00
Stefan Eichenberger d71f72a141 networkmanager: add network connection 192.168.1.1 2016-12-02 14:08:50 +01:00
Stefan Eichenberger b54cf37fb5 networkmanager: update to 1.4 2016-10-17 15:14:22 +02:00
Stefan Eichenberger 93edc7c821 nbhw16: use bluetooth in non_st mode
If bluetooth is used in non_st mode we can use the normal uart_hci
driver. This driver works much better and the whole setup is much
easier. We don't need the Shared Transfer stuff anyhow, because the
module does not have GPS or FM.
2016-08-25 15:56:23 +02:00
Stefan Eichenberger 83452110cb networkmanager: allow usage of modemmanger
Add compile option for modemmanager
2016-08-23 18:07:49 +02:00