networkmanager restart = no more wireless IN CURRENT 19/12/2015
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It is difficult to understand what you are trying to do and why you are doing it.
I cannot think of a normal use case where you would need to restart the NetworkManager daemon to fix a wireless (or other) connectivity problem.
There is an applet on the task bar for KDE that handles the user's view of the NetworkManager as well as a connection editor which you would use to manage your networking connections. You use the applet to manage the NetworkManager connections versus starting/stopping the NetworkManager daemon.
Aparently is stop , but if i open the browser i can use net perfectly .. (non stoped then)
In to kde , ksysguard i use to monitoring net services ..
NetworkManager appears running ..
Why do you think that stopping the daemon that configures and brings connections up should bring the connections down when you stop it? Why would that be a good thing?
I can stop sshd, for example, but any ssh connections that I have at the time will stay up. I just cannot make new ones.
Why do you think that stopping the daemon that configures and brings connections up should bring the connections down when you stop it? Why would that be a good thing?
WPA goes through wpa_supplicant
if you stop wpa_supplicant the link to the AP will be useless
edit:
nvm i was at fault
wpa is also a kernel thing
just tested it with SIGKILL and the connection still works
that wpa_supplicant will de-configure when sent a SIGINT still stands
WEP is in the kernel so it doesn't need anything userspace
a network manager can leave wpa_supplicant running but wpa_supplicant does more then just decrypt/encript things
when you stop wpa_supplicant it de-configures the connection to the AP
if you try to configure the interface to something else that wpa_supplicant will probably fight you
To extent that this is a problem, then it appears to be an upstream problem versus a Slackware one, doesn't it? AFAIK, Slackware doesn't patch NetworkManager in any way.
pss , incredible , ... then what the porpouse of stop a service ?
stop is STOP
I switch time ago to wicd ...when stop wicd, network is down.
STOP = STOP or not ?
If you need use your network cards for others tasks , need stop the network , for example if you put a wireless card in to monitor , the NetworkManager are all the time trying to manage the card , then have 2 ways , stop the service or edit a config to blacklist card to unmanaged in networkmanager.conf
in the networkmanager.conf can add this
[keyfile]
unmanaged-devices=interface-name:*mon*;
and all cards
monX or wlanXmon
are unmanaged for networkmanager at this point.
_______________________
ever , yes i say EVER , networkmanager service working perfcetly on slack 14.0 and 14.1 , stop is stop ... restart is restart.
but now , that service is broken at some point , im not a pro , im not have idea whats wrong, but im totally sure, something not working as espected.
airmon-ng check kill
kill the networkmanager service ... for example ...and this is a litle example.
Well, Slackware 14.1 used NetworkManager-0.9.8.8. -current uses NetworkManager-1.0.10.
There's been a rather large set of changes between the two and what you are complaining about may be due to Slackware being one of the few remaining non-systemd distros.
WPA goes through wpa_supplicant
if you stop wpa_supplicant the link to the AP will be useless
edit:
nvm i was at fault
wpa is also a kernel thing
just tested it with SIGKILL and the connection still works
that wpa_supplicant will de-configure when sent a SIGINT still stands
WEP is in the kernel so it doesn't need anything userspace
a network manager can leave wpa_supplicant running but wpa_supplicant does more then just decrypt/encript things
when you stop wpa_supplicant it de-configures the connection to the AP
if you try to configure the interface to something else that wpa_supplicant will probably fight you
so yea, it's not that simple
So would a patch to /etc/rc.d/rc.networkmanager to change
So would a patch to /etc/rc.d/rc.networkmanager to change
Code:
kill $(cat $file)
to
Code:
kill -9 $(cat $file)
fix the problem of not stopping wpa_supplicant?
it would stop either way
SIGTERM and SIGINT make it de-configure the interface, while SIGKILL-ed it wouldn't
(disconnect, clean up passwords and such and bring it "admin" down)
note i only tested with SIGINT
it occurred to me i don't know why i am talking about WPA
must have mixed up this topic with the other one
USUARIONUEVOs problem seems to be that NM itself continues running
i have no idea why that would be
as for monitors, as in the virtual devices in monitor mode
(created via airmon-ng start or iw; although i remember vaguely that the main device can be changed to a monitor as well)
they should work when the main device is connected, and even if it is not in the "admin up" mode
only problem would be that the monitor device would be stuck on the specific channel if connected
as root on my laptop that is running Slackware64-current. I'm also running gkrellm on that machine.
My wlan0 device removed itself from the gkrellm display. Running
Code:
/etc/rc.d/rc.networkmanager start
as root made it show up again.
So
So, there appears to be a difference between my setup and USUARIONUEVO's
I do not know if USUARIONUEVO can articulate what may be unusual about his setup.
USUARIONUEVO, that is not meant as an insult to you. I have studied a couple of languages in my life and I would be absolutely unable to give a technical discussion on computer hardware, software, or operating systems in either of them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.