Skip to content
Permalink
Browse files

Disable conflicting network services

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 16, 2019
1 parent 855dd55 commit 79a3dc14d4c2cfada3a15001caa18a6450b0dd62
Showing with 9 additions and 1 deletion.
  1. +8 −0 build/174-networkmanager
  2. +1 −1 build/packages.add
@@ -1,11 +1,19 @@
#!/bin/bash
echo $0 > /var/www/html/userfiles/nems-build.cur

# Remove resolvconf
apt -y remove --purge resolvconf

# dhcpcd5 is a dependency of Raspberry Pi networking, so must remain installed, but will disable
systemctl stop dhcpcd
systemctl disable dhcpcd

# Disable networking and enable NetworkManager
systemctl enable NetworkManager
systemctl disable networking

# Use NetworkManager to manage interfaces, even if configured within /etc/network/interfaces
if grep -q "managed=false" /etc/NetworkManager/NetworkManager.conf; then
/bin/sed -i -- 's,managed=false,managed=true,g' /etc/NetworkManager/NetworkManager.conf
/etc/init.d/network-manager restart
fi
@@ -50,7 +50,7 @@ ntp
locate

# WiFi
dhcpcd5
#dhcpcd5
firmware-brcm80211
wireless-tools
wpasupplicant

0 comments on commit 79a3dc1

Please sign in to comment.
You can’t perform that action at this time.