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.
Your problem is that you try to use together NM plus other network tools. This is useless and completely unsupported.
So, run "netconfig" as root then when asked (after having entered you hostname and domain name), chose NetworkManager, confirm and you are all set.
Do not use dhcp or dhclient anymore, all your connections will be managed by NetworkManager. Else you are sure to generate self-made problems that nobody will be able to solve.
Also, I am not sure if you do, but you should not run a desktop as root.
Last edited by Didier Spaier; 03-06-2016 at 04:17 PM.
i think , to reinstall again , and start , but problem is here ever "clean install" as "ROOT"
# I switch from wicd some time ago , but i prefer if networkmanager works as spected.
when some time win and kill NetworkManager process , if try to execute on terminal
NetworkManager --> he no start
sudo /usr/sbin/NetworkManager --> then start , why ? ho god why ? IM ROOT , no need sudo to run it, but he no start without.
user --> root
desktop --> kde
runlevel --> init 4
linux --> big-smp-4.4.4
Last edited by USUARIONUEVO; 03-06-2016 at 04:36 PM.
As the problem is reported to be occurring with three systems, it could be that the problem is with the access point hardware.
Quote:
wlan0: leased 192.168.1.106 for infinity
The AP is providing DHCP leases for an infinite period. Perhaps the AP needs the wireless signal to be lost (as would happen during a reboot) before a new connection is initiated and a new lease is requested.
i think , to reinstall again , and start , but problem is here ever "clean install" as "ROOT"
# I switch from wicd some time ago , but i prefer if networkmanager works as spected.
when some time win and kill NetworkManager process , if try to execute on terminal
NetworkManager --> he no start
sudo /usr/sbin/NetworkManager --> then start , why ? ho god why ? IM ROOT , no need sudo to run it, but he no start without.
user --> root
desktop --> kde
runlevel --> init 4
linux --> big-smp-4.4.4
Right.
My laptop is running Slackware64-current. It's sitting downstairs while I write this, using wireless to connect to my LAN. I've used ssh to log into it from upstairs.
ifconfig eth0 down then igconfig the eth0 up.
it will not ask for a new pid you are stoping the networkmanager
and the pid for dhcpcd is still there.
Think about it your asking the networkmanager to create a pid that is already running.
If you use the program gui like it is made you would be doing the same thing when you disconnect
and reconnect from networkmanager.
It could be one of the triggers of the issue. What happens if you run KDE as a regular user (as you should anyway)?
I walked downstairs and logged into my Slackware64-current laptop as root using KDE. (I actually re-booted and logged in as root.) NetworkManager worked just as if I had logged in as my normal account.
Random users aren't allowed to stop system daemons. The script doesn't bother to check if you have the permissions to run the script or not, so everything that it does fails but nonetheless reports "stopped". (It's a good argument that perhaps scripts in /etc/rc.d should not have global execute privileges.) /etc/rc.d/rc.networkmanager status reports that it isn't running because the random user isn't allowed to cat the pidfile, which the rest of the program interprets to mean that NetworkManager isn't running.
At this point, I'd like to know what you are trying to accomplish by running /etc/rc.d/rc.networkmanager as non-root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.