LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2019, 11:25 AM   #1
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009

Rep: Reputation: Disabled
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
 
Old 02-06-2019, 06:19 AM   #2
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-06-2019, 07:12 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
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?
 
Old 02-06-2019, 07:21 AM   #4
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
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
 
Old 02-06-2019, 07:23 AM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
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.
 
Old 02-06-2019, 07:37 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
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 &
 
Old 02-06-2019, 09:45 AM   #7
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009

Original Poster
Rep: Reputation: Disabled
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.
Attached Thumbnails
Click image for larger version

Name:	dead nm-applet1.png
Views:	29
Size:	12.5 KB
ID:	29721   Click image for larger version

Name:	dead nm-applet2.png
Views:	24
Size:	13.6 KB
ID:	29722  

Last edited by Aeterna; 02-06-2019 at 05:09 PM.
 
Old 02-06-2019, 11:57 AM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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.
 
2 members found this post helpful.
Old 02-06-2019, 12:12 PM   #9
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Did you make the necessary changes to be able to run wicd?
 
Old 02-06-2019, 05:21 PM   #10
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009

Original Poster
Rep: Reputation: Disabled
@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.
 
Old 02-06-2019, 07:17 PM   #11
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by Aeterna View Post
@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
 
Old 02-06-2019, 08:31 PM   #12
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,009

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gordie View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nm-applet does not show wireless networks after resuming from suspend on Ubuntu 16.04 Jeff91 Linux - Networking 1 09-14-2016 04:23 PM
[SOLVED] "Permission denied" when Openbox tries to execute autostart.sh in ~/.config/openbox alarazr Linux - Software 4 10-04-2012 03:50 PM
Openbox autostart.sh and setting alias on openbox start Jelloir Linux - Desktop 1 07-03-2011 03:56 AM
Software Raid, Bad sectors (drive DOA) Diablo3d Linux - Hardware 2 08-02-2005 05:44 PM
new SDX-500 tape drive: DOA or me? bdp Linux - Hardware 2 11-07-2004 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration