LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nm-applet DOA at login (openbox) and when changing wireless networks (https://www.linuxquestions.org/questions/slackware-14/nm-applet-doa-at-login-openbox-and-when-changing-wireless-networks-4175647661/)

Aeterna 02-05-2019 11:25 AM

nm-applet DOA at login (openbox) and when changing wireless networks
 
Hello,
I am using nm-applet with openbox.
All works with exception of nm-applet:
1) to connect first time to wifi, applet is stalled at first and requires several minutes to show available networks.
2) when changing wifi network nm-applet dies again and I have to wait until it refreshes again
3) killing and re-launching applet does nothing (after restarting nm-applet is not responsive again for long time).

Is there a way to fix this/replace nm-applet?

I prefer GUI based app (which is faster) because sometimes I don't have time to fiddle with networks (as someone is patiently waiting for me to enable internet).

thank you

Aeterna 02-06-2019 06:19 AM

I wonder if this would help.
Openbox ver 3.6.1 installed on Slackware -current 64bit up to date.

Maybe someone knows the answer?

thank you

allend 02-06-2019 07:12 AM

The lack of response is probably because nm-applet is fine for everybody else.
Can you reproduce the slow behaviour in a Slackware supplied DE/WM e.g. XFCE?
Is /etc/rc.d/rc.messagebus executable so that DBUS is functional?
nm-applet is a system tray application. Which system tray are using in openbox?
Have you tried wicd as an alternative?

Aeterna 02-06-2019 07:21 AM

Quote:

Originally Posted by allend (Post 5958516)
The lack of response is probably because nm-applet is fine for everybody else.
Can you reproduce the slow behaviour in a Slackware supplied DE/WM e.g. XFCE?
Is /etc/rc.d/rc.messagebus executable so that DBUS is functional?
nm-applet is a system tray application. Which system tray are using in openbox?
Have you tried wicd as an alternative?

I was suspecting that I am the only one with the issue (unfortunately for me)
I do not have any issues with Plasma 5,
with Openbox I am using tint2 (plank from sbo is not compiling)
yes, /etc/rc.d/rc.messagebus is set to executable
no I did not try wicd. I will give it a go.


thank you for replaying

montagdude 02-06-2019 07:23 AM

I use Openbox with nm-applet on 14.2, and I don't have any problems like that. Can you try to determine if the problem is truly with the applet or with NetworkManager itself? When the applet is not showing available networks, try using nmcli instead and see if you can connect with that.

allend 02-06-2019 07:37 AM

Quote:

I do not have any issues with Plasma 5,
That rules out hardware and hardware support issues.
How are you starting nm-applet?
In my WindowMaker autostart I have
Code:

# Start nm-applet if NetworkManager is running and nm-applet is not running
( pidof NetworkManager && ! pidof nm-applet ) && nm-applet &


Aeterna 02-06-2019 09:45 AM

2 Attachment(s)
Thank you both for answering.

@allend

I start nm-applet from openbox autostart:
(nm-applet) &

if I start nm-applet from cli I see two warnings:
Quote:

(nm-applet:2005): libnotify-WARNING **: 05:58:24.365: Failed to connect to proxy
(nm-applet:2005): nm-applet-WARNING **: 05:58:49.390: Failed to show notification: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached
wicd reports that wifi network is not awailable.

So I think that this is a problem. However nm-applet just sits there (see pictures). then icon changes to "intermediate" for a long time.
Then it shows standard wifi icon. When I right click on it all available networks are listed but if I try to disconnect from currently used wifi to connect to another one nm-applet stalls again for long time.

If I login to Plasma5, all networks are available instantly and Network-Manager does not crash when switching networks

I have Intel Corporation Centrino Ultimate-N 6300 wifi card.

Richard Cranium 02-06-2019 11:57 AM

What if you try nmtui from the command line? It's at least curses-based.

If it can communicate, then it's something other than NM.

Gordie 02-06-2019 12:12 PM

Did you make the necessary changes to be able to run wicd?

Aeterna 02-06-2019 05:21 PM

@Richard Cranium
thank you very much. nmtui works.
After connection with nmtui, nm-applet still remains stalled (as in the picture attache above) for quite some time and it is unusable (e.g. changing networks).
It must be some bug there (in nm-applet).

At lest I can connect fast with nmtui.

@Gordie
yes, /etc/wicd/manager-settings.conf is configured. Still wicd does not see networks available.


nmtui works so I will mark this thread as solved.

Thank you all for your help.

Gordie 02-06-2019 07:17 PM

Quote:

Originally Posted by Aeterna (Post 5958758)
@Richard Cranium
thank you very much. nmtui works.
After connection with nmtui, nm-applet still remains stalled (as in the picture attache above) for quite some time and it is unusable (e.g. changing networks).
It must be some bug there (in nm-applet).

At lest I can connect fast with nmtui.

@Gordie
yes, /etc/wicd/manager-settings.conf is configured. Still wicd does not see networks available.


nmtui works so I will mark this thread as solved.

Thank you all for your help.


I have gone back and forth from wicd to nm and from nm to wicd and have NEVER paid attention to

Code:

/etc/wicd/manager-settings.conf
.

I just switched to wicd without making the necessary changes (just to see) and wicd reported "wifi network is not awailable". I then made the necessary changes and wicd worked and I got on my wireless network

Aeterna 02-06-2019 08:31 PM

Quote:

Originally Posted by Gordie (Post 5958781)
I have gone back and forth from wicd to nm and from nm to wicd and have NEVER paid attention to

Code:

/etc/wicd/manager-settings.conf
.

I just switched to wicd without making the necessary changes (just to see) and wicd reported "wifi network is not awailable". I then made the necessary changes and wicd worked and I got on my wireless network

That is great, unfortunately wicd does not work for me.


All times are GMT -5. The time now is 12:24 AM.