You are not logged in.
Pages: 1
I read some of the comments regarding 'dhcpcd' and 'NetworkManager'. It appears its either/or. Here's what I have:
$ systemctl list-unit-files --state=enabled
UNIT FILE STATE
autovt@.service enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dhcpcd.service enabled <<==
display-manager.service enabled
getty@.service enabled
lightdm.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager.service enabled <<==
remote-fs.target enabled
10 unit files listed.
Notice there both enabled. Isn't that wrong?
Last edited by verndog (2017-11-18 23:33:39)
Offline
Yes. Why have you enabled both?
Mod note: Moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
I don't remember doing that. Is one preferred over the other. 'dhcpcd'? I googled one vs the other. No debate or suggestions that I found. Installation guide linked to this chart:
https://wiki.archlinux.org/index.php/Ne … k_managers
Offline
Preference is subjective - it entirely depends on your setup and needs.
If you've only an rj45 connecition, dhcpcd is sufficient and less error prone than the networkmanager blackbox.
Online
Yes, I just have rj45 wired network. I removed the NetworkManager, and am using only dhcpcd, but now the icon "NetworkManager Applet" is showing Network disabled, which it it, but I have to remove that somehow(uninstall).
edit:ok, I needed to remove the applet first, then networkmanager. The result:
$ sudo pacman -Rsn networkmanager
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: network-manager-applet: removing networkmanager breaks dependency 'networkmanager'
$ sudo pacman -Rsn network-manager-applet
checking dependencies...
Packages (3) mobile-broadband-provider-info-20170310-1
nm-connection-editor-1.8.7dev+3+g3d7c0a89-1
network-manager-applet-1.8.7dev+3+g3d7c0a89-1
Total Removed Size: 6.60 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/3) removing network-manager-applet [######################] 100%
(2/3) removing nm-connection-editor [######################] 100%
(3/3) removing mobile-broadband-provider-info [######################] 100%
:: Running post-transaction hooks...
(1/4) Compiling GSettings XML schema files...
(2/4) Updating icon theme caches...
(3/4) Arming ConditionNeedsUpdate...
(4/4) Updating the desktop file MIME type cache...
$ sudo pacman -Rsn networkmanager
checking dependencies...
:: libproxy optionally requires networkmanager: NetworkManager configuration module
:: netctl optionally requires wpa_supplicant: for wireless networking support
:: packagekit optionally requires networkmanager: detect connection status
Packages (15) bluez-libs-5.47-2 gpm-1.20.7-8 jansson-2.10-2
libmm-glib-1.6.10-1 libndp-1.6-1 libnewt-0.52.20-1
libnm-1.10.0-1 libnm-glib-1.10.0-1 libpgm-5.2.122-2
libsodium-1.0.15-1 libteam-1.27-1 slang-2.3.1a-1
wpa_supplicant-1:2.6-11 zeromq-4.2.2-2 networkmanager-1.10.0-1
Total Removed Size: 42.22 MiB
:: Do you want to remove these packages? [Y/n]
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
:: Processing package changes...
( 1/15) removing networkmanager [######################] 100%
( 2/15) removing wpa_supplicant [######################] 100%
( 3/15) removing libteam [######################] 100%
( 4/15) removing zeromq [######################] 100%
( 5/15) removing libsodium [######################] 100%
( 6/15) removing libpgm [######################] 100%
( 7/15) removing libnm-glib [######################] 100%
( 8/15) removing libnm [######################] 100%
( 9/15) removing jansson [######################] 100%
(10/15) removing libnewt [######################] 100%
(11/15) removing slang [######################] 100%
(12/15) removing gpm [######################] 100%
(13/15) removing libndp [######################] 100%
(14/15) removing libmm-glib [######################] 100%
(15/15) removing bluez-libs [######################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Last edited by verndog (2017-11-18 01:11:01)
Offline
I removed the NetworkManager, and am using only dhcpcd, but now the icon "NetworkManager Applet" is showing Network disabled, which it it, but I have to remove that somehow(uninstall).
If you want to keep NetworkManager and the applet installed then you can stop it from starting by copying the .desktop file to $HOME and adding a "Hidden=true" line to disable it:
mkdir -p ~/.config/autostart
cp /etc/xdg/autostart/nm-applet.desktop ~/.config/autostart
echo "Hidden=true" >> ~/.config/autostart/nm-applet.desktop
I think most desktop environments have a GUI that allows you to disable autostarted elements and these will usually just perform the above operation on your behalf
Offline
@HeadOnAStick, thanks for info. I'm still uncertain about using 'dhcpcd'. The Network applet was nice because if the network was inactive, I could click on the applet to bring it back online. This happens because my router is not always on, and it takes some time to bootup.
Even so, 'dhcpcd' is fast to respond once the internet is established.
Offline
Pages: 1