LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-12-2013, 02:22 PM   #1
staus
Member
 
Registered: Apr 2004
Posts: 66

Rep: Reputation: 2
WIFI with NetworkManager in Slackware 14


Iuse blackbox on my laptops, and I have discovered that wicd will grab an ip address, but not connect to the internet. If I use Linux Mint with network manager, it will connect correctly. I do not want to use kde if possible. Any ideas why wicd won't work? Or, any ideas how to get network manager to work with blackbox. (I tried docker, but can't find info on how to get it to play correctly with network manager).
Any help is appreciated.
 
Old 04-12-2013, 06:05 PM   #2
rich442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Slackware 14.0
Posts: 81

Rep: Reputation: 18
I only have some suggestions:


network manager works with systray which is specifically available for GNOME and XFCE. Unfortunately, network manager relies heavily on systems with a system tray feature.

Your old Mint setup probably used the nm-applet package. The same exists in slackbuilds under a slightly different name.

The slackware package is called network-manager-applet.txz and is available in the slackbuild repository under

Network SlackBuild 0.8.6 (Slackware 13.37).


Builds for Slackware 14.0 are the network-manager-openconnect, Network-manager-openvpn, and network-manager-pptp packages. These are the builds you might like to look into.

I hope this helps. AFAIK, this is the easiest way to get an attractive solution to wireless connections without using KDE, GNOME, systray or docky. Best wishes and good luck.

Last edited by rich442; 04-12-2013 at 06:30 PM.
 
Old 04-12-2013, 06:12 PM   #3
Lilgamesh
Member
 
Registered: Mar 2013
Posts: 33

Rep: Reputation: Disabled
Quote:
Originally Posted by staus View Post
Iuse blackbox on my laptops, and I have discovered that wicd will grab an ip address, but not connect to the internet. If I use Linux Mint with network manager, it will connect correctly. I do not want to use kde if possible. Any ideas why wicd won't work? Or, any ideas how to get network manager to work with blackbox. (I tried docker, but can't find info on how to get it to play correctly with network manager).
Any help is appreciated.
If you have NM installed,

$ nmcli dev wifi connect 'SSID' password 'password'

this should work. I got this from gentoo forums and never tried on slackware as i always used xfce and now mate. Please let me know if it work.

Last edited by Lilgamesh; 04-12-2013 at 06:16 PM.
 
Old 04-12-2013, 10:35 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,460

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
To use NetworkManager instead of wicd, you will need to:
'chmod -x /etc/rc.d/rc.wicd' and
'chmod +x /etc/rc.d/rc.networkmanager'
I also suggest that you change your /etc/rc.d/rc.inet1.conf to the initial default if you have made changes there. This can be done by running netconfig and choosing loopback.
Probably easiest to reboot after doing this.

As I understand it, docker acts as a system tray, so if you run nm-applet it should appear. I do this in Windowmaker using the wmsystemtray dockapp.
You will need to configure your connection using nm-applet.

Quote:
nmcli dev wifi connect 'SSID' password 'password'
This will not work for a WPA2 only connection. nmcli cannot handle the secrets required. You need to use wpa_supplicant directly.

Last edited by allend; 04-13-2013 at 03:19 AM.
 
Old 04-13-2013, 12:19 AM   #5
rich442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Slackware 14.0
Posts: 81

Rep: Reputation: 18
Hello again. I just wanted to confirm that "nm-applet" is the name of the Mint/Ubuntu package. While it performs the same function, the slackware build is called network-manager-*. I hope I didn't confuse the issue by using the Ubuntu name. I know my answer was long and rambling.

Last edited by rich442; 04-13-2013 at 12:44 PM.
 
Old 04-14-2013, 05:12 PM   #6
staus
Member
 
Registered: Apr 2004
Posts: 66

Original Poster
Rep: Reputation: 2
Thanks for all the help. Wicd worked OK before the last (unknown) current updates.
I even recompiled wicd using Alien Bob's slackbuild with a minor change. Still the same result.
All wifi routers issue an ip address, but a ping for www.google.com comes up with 'unknown host'.

I guess I'm stuck with network manager, so I'll give it another try.
 
Old 04-14-2013, 07:30 PM   #7
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware 14.0/32bit + a T60p (2007-YS3) = YES
Posts: 263

Rep: Reputation: 62
staus,
Maybe the way you're running wicd has something to do with the problem.
I run xmonad with no "dock" or systray feature (only dmenu which has nothing to do with wicd),
and I just run wicd-curses. Works great. I have no DE even installed.
HTH
 
Old 04-14-2013, 10:21 PM   #8
staus
Member
 
Registered: Apr 2004
Posts: 66

Original Poster
Rep: Reputation: 2
I've been running wicd for many months, and it always worked on my two laptops.
I'm thoroughly confused about KDE now. I've installed the entire Slackware dvd and I'm currently running 14-current (64 bit). Why does kde come with kde-wicd and networkmanager?
I was going to investigate networkmanager on KDE, but it's using kde-wicd.
And as of now, it won't connect to a wifi router. Now I can't figure out how to get rid of kde-wicd and use networkmanager for KDE.

I really don't want to use KDE. I'm a long time blackbox user, but not having wireless capability puts a real damper on using my laptops.
 
Old 04-14-2013, 10:27 PM   #9
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware 14.0/32bit + a T60p (2007-YS3) = YES
Posts: 263

Rep: Reputation: 62
staus,
If you don't want to use KDE, you should remove it. That will remove kde-wicd. NetworkManager will work in KDE just fine as long as /etc/rc.d/rc.networkmanager is executable. In that case you'd want to have /etc/rc.d/rc.wicd be non-executable.
I'd be interested to know if using "wicd-curses" (in a terminal) alone in blackbox works for you.
Quote:
I've been running wicd for many months, and it always worked on my two laptops.
Wait, now I'm confused...I thought wicd didn't connect for you. Or was it working fine on 13.37 and now fails on 14.0?

Last edited by STDOUBT; 04-14-2013 at 10:29 PM. Reason: "clarity" of a sort
 
Old 04-15-2013, 02:26 PM   #10
staus
Member
 
Registered: Apr 2004
Posts: 66

Original Poster
Rep: Reputation: 2
wicd worked fine in Slack 14 64 bit, until recently after many current upgrades.

I deleted the wicd program and made rc.networkmanager executable, but it didn't run. kde-wicd still worked in kde, and also failed to do wifi connections.

I've decided to reinstall the latest current version of 64 bit Slack, just to see if networkmanager will work. Then I will try wicd from /extra again.

If they fail to function, I will revert to the officially released 14 version and give it another try.

I may be at fault by always upgrading to Slack current as if it a 'rolling release'.
My Slack 14 current is actually a continuously upgraded version of 13.37.
 
Old 04-15-2013, 02:51 PM   #11
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,375

Rep: Reputation: 1087Reputation: 1087Reputation: 1087Reputation: 1087Reputation: 1087Reputation: 1087Reputation: 1087Reputation: 1087
Well, actually there is no need for neither KDE nor XFCE to use Network Manager, you can use it with Fluxbox as well for instance.

Just run:
Code:
netconfig
and, when asked, choose Network Manager, regardless of the Desktop or Windows Manager you use.

Then if the network manager applet doesn't shows on a tray, just run as a regular user:
Code:
nm-applet
After that if you left-click on the widget you can choose your wifi connexion. It will ask for the password or passphrase if need be.

That's all there is to it, no need for wicd or alien software.
 
Old 04-15-2013, 10:30 PM   #12
staus
Member
 
Registered: Apr 2004
Posts: 66

Original Poster
Rep: Reputation: 2
I just reinstalled the latest and greatest current 64 bit Slackware. Once again wicd worked perfectly with the blackbox desktop.

So I'm guessing the constant upgrades broke something, but I don't know what it was.

Now, I'll have to reinstall my complete system over again - virtualbox VMs and all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] No wifi after updated NetworkManager (Fedora14/KDE) MrAngel Linux - Laptop and Netbook 11 03-23-2011 03:14 AM
[SOLVED] How to get networkmanager to connect wifi in bootup. john.wythe@activant.com Linux - Networking 2 01-02-2011 04:43 AM
[SOLVED] Msi Wind: can't find wifi or networkmanager lilou_b Linux - Newbie 21 05-02-2010 10:30 PM
Networkmanager slow to start Wifi pugsley Linux - Wireless Networking 0 04-27-2007 06:32 PM
NetworkManager on Slackware 10.2 baryonyx Linux - Networking 5 02-15-2007 01:38 AM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration