How do I install NetworkManager-wifi on Debian?
- You shouldn't be using
rpm
on Debian (the correct way to check would beapt-cache show network-manager
- If Network Manager isn't installed, you can install it using
sudo apt-get install network-manager
- Network Manager is almost certainly installed since
nmcli
seems to be available (which is installed by thenetwork-manager
package) - You almost certainly want to install
network-manager-gnome
instead, since that will give you a nice graphical interface. - In Debian, the wifi plugin is provided by the main
network-manager
package as opposed to being in a separate package. - The easiest way to install stuff in Debian is through
deb
files (throughapt-get
oraptitude
), since that is what the repositories run off of. If you want to userpm
s by default, you should not be using Debian (check out Fedora or similar, which userpm
s by default and use a package manager such as yaourt or yum or whatever).
Hope that helps!
Related videos on Youtube
tupto
Updated on September 18, 2022Comments
-
tupto over 1 year
I've been fighting my laptop for a few hours now trying to get the wifi to work. I have the drivers installed and
iwlist scan
manages to find the access points in the area, however NetworkManager isn't finding it.Running
nmcli
showswifi (iwlwifi), [REDACTED MAC ADDRESS], plugin missing, hw
and runningrpm -q NetworkManager-wifi
sayspackage NetworkManager-wifi is not installed
.Looking about online I found this https://pkgs.org/download/NetworkManager-wifi which lists the package for a number of distros to get the package for but not Debian.
What do?
EDIT
uname -a
outputsLinux TheLastMetroid 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
lspci -knn | grep Net -A2
outputs03:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 81) Subsystem: Intel Corporation Dual Band Wireless AC 3165 [8086:4010] Kernel driver in use: iwlwifi
-
A.B about 6 yearsmentioning the use of
rpm
on a Debian system... this doesn't make much sense. You should read documentation on the basic usage of Debian. Starting there: debian.org/doc -
GAD3R about 6 years
-
tupto about 6 yearsI've edited my post with these additional outputs
-
GAD3R about 6 yearsWhat is the output of
rfkill list
?rfkill
can be installed throughapt install rfkill
. -
tupto about 6 yearsWith the help of @Chiraang I got it working. In the end we scrapped NetworkManager in favour or wicd which just worked straight away after install.
-
-
tupto about 6 yearsI already have both of these
-
tupto about 6 yearsUsing rpm was a mistake on my part - still kinda new to this Linux biz. I do already have network-manager and network-manager-gnome (though I couldn't work out how to launch the gnome GUI). Still though it says plugin missing and I can't work out what that might be...
-
Chiraag about 6 yearsYou might want to uninstall the rpm and re-install the deb package using
apt-get
. I suspect the rpm overwrote some of the binaries or configuration files. -
tupto about 6 yearsI got rid of rpm but I'm not sure what you mean by reinstalling the deb package. If you mean NetworkManager I didn't use rpm to install that (or anything for that matter)
-
Chiraag about 6 yearsOh, okay...Can you check that
/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so
exists? -
tupto about 6 yearsRunning
cat /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so
spat out a lot of stuff so yeah, it's there -
Chiraag about 6 yearsHmmm, okay. Just try
sudo apt-get install --reinstall network-manager
- given that the plugin is there, there shouldn't be any issues. It could possibly be a permissions issue or something else, which might be remedied by reinstalling NetworkManager. -
Chiraag about 6 yearsLet us continue this discussion in chat.