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


View Poll Results: Which Do You Use, NetworkManager or Wicd?
NetworkManager: 82 61.65%
Wicd: 22 16.54%
Other: 29 21.80%
Voters: 133. You may not vote on this poll

Reply
  Search this Thread
Old 07-16-2018, 09:41 AM   #61
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512

sorry ... double-posted by accident
 
Old 07-17-2018, 05:03 AM   #62
briselec
Member
 
Registered: Jun 2013
Location: Ipswich, Australia
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
Quote:
Originally Posted by pr0xibus View Post
I always seem to have a problem with network manager especially after switching users so my daughter can use the laptop, always seems to prompt for a WPA key. Anyway easiest thing for me to do was use rc.inet1, works perfect and all connected before she even types startx. It also means my daughter wont wake me at 7.00am asking for the WPA key.
I use 2 different users on one of my systems but haven't had any problems with it remembering WPA keys. I have noticed if I connect to an AP as UserA, then switch to UserB, I will still be connected to the AP but it won't let me disconnect because NetworkManager remembers the connection was created by a different user.
 
1 members found this post helpful.
Old 07-17-2018, 01:14 PM   #63
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I have used both Network Manager and WICD on other Slack boxes where and/or when I'm forced to use WiFi but since you didn't specify what interface and I vastly prefer ethernet and only use that on my Main Desktop, I just use /etc/rc.d/rc.inet1.conf. I hope that doesn't muddy up your poll.
 
Old 07-17-2018, 04:22 PM   #64
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Well, seems like I am sticking with Network Manager for now. It's been great to me so far. The only problem I've had has been in Istanbul Ataturk airport and that's only because Starbucks had a monopoly on the wifi, quite literally. Screw them.
 
Old 07-18-2018, 10:33 AM   #65
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Okie View Post
with wicd it will run a script either before it connects or disconnects or after it connects or disconnects, look in /etc/wicd there are subfolders to put executable scripts
In case you're not aware, you can do this with NM as well. They're called dispatcher scripts. They are stored in /etc/NetworkManager/dispatcher.d/ and you can have multiple scripts and can have it tied to a specific interface. An example of a single script accomplishing multiple tasks and tied to wlan0 can be seen below:

Code:
#!/bin/bash
 
INTRFC=$1
STATUS=$2
 
if [ "$INTRFC" == "wlan0" ]
then
    case "$2" in
        up)
        logger -s "Running something since network is up"
        random
        commands
        here
        ;;
        down)
        logger -s "Running something since network is down"
        random
        commands
        here
        *)
        ;;
    esac
fi
If you want to simplify it greatly, you can simply check $2 for whatever status you want and then list the commands you want it to run, ignoring what interface had that change.

Code:
if [ "$2" = "up" ]; then  
       command_to_run_when_connected
fi  
exit $?
If you want to write your own script, Network Manager will basically run any scripts in /etc/NetworkManager/dispatcher.d/ as follows:

Code:
/etc/NetworkManager/dispatcher.d/random_script.sh wlan0 up
The full list of statuses that are recognized are as follows, and the details on what each means can be read at the link above:

Code:
pre-up
up
pre-down
down
vpn-pre-up
vpn-up
vpn-pre-down
vpn-down
hostname
dhcp4-change
dhcp6-change
connectivity-change
NOTE: I don't use Network Manager, but I am familiar with its capabilities. If I'm using wireless, 99% of the time, it is using rc.inet1 along with wpa_supplicant.conf.
 
4 members found this post helpful.
Old 07-19-2018, 01:06 AM   #66
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
I use wicd on all laptops and rc.inet1 for everything else.
 
Old 08-11-2018, 08:14 PM   #67
NachoLord
Member
 
Registered: Jul 2018
Location: Somewhere between here and there.
Distribution: Ubuntu, Debian, Arch
Posts: 47

Rep: Reputation: Disabled
I love NetworkManager. It can manage WiFi connections, ethernet, and VPNs. TBH, I don't know of any program that can manage multiple VPN connections from multiple providers, except good ol' NetworkManager.

Ironically, NM is maintained by the Gnome people, and I tend to dislike everything I read about Gnome. (I don't mean to offend any Gnome users. Gnome is just plain not for me.)
 
1 members found this post helpful.
Old 08-12-2018, 01:38 AM   #68
Anam91
LQ Newbie
 
Registered: Aug 2018
Location: Sicily
Distribution: Slackware64
Posts: 4

Rep: Reputation: Disabled
I use rc.inet1 plus wpa_supplicant.
 
Old 08-12-2018, 12:58 PM   #69
smaclennan
Member
 
Registered: May 2010
Location: Ottawa, Canada
Distribution: slackware
Posts: 37
Blog Entries: 2

Rep: Reputation: 13
I use an rc.inet1 replacement on all my laptops. But my network requirements are simple. I need to switch from wireless to wired when wired is plugged in and visa versa. And the wireless is always my home connection except for the rare occasion that I am at a hotel. So a trivial wpa-supplicant setup.

FWIW I disable NetworkManager on my work laptop running Ubuntu. Just gets in the way since the work laptop is always connected via wire.
 
Old 08-12-2018, 01:18 PM   #70
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Using wicd here. Always works well.
 
Old 08-12-2018, 02:10 PM   #71
smaclennan
Member
 
Registered: May 2010
Location: Ottawa, Canada
Distribution: slackware
Posts: 37
Blog Entries: 2

Rep: Reputation: 13
The more important question is: do you pronounce wicd "why cd" or "wick dee"?
 
1 members found this post helpful.
Old 08-12-2018, 03:05 PM   #72
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
"wick_dee" sounds shorter to use?
 
Old 08-12-2018, 03:17 PM   #73
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by smaclennan View Post
The more important question is: do you pronounce wicd "why cd" or "wick dee"?
I've always pronounced it like the word wicked.

But this made me go look at their site to see how it's supposed to be pronounced. It looks like it is indeed pronounced like wicked.

Quote:
Wicd (pronounced wicked) stands for Wireless Interface Connection Daemon.
 
3 members found this post helpful.
Old 08-12-2018, 07:06 PM   #74
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Desktop wired with netconfig and fixed ip. I have several wireless SBC's around the place and use wicd-curses for access/configs via ssh. I have tried Network manager in the past but am more comfortable with wicd-curses. It might be familiarity but I found it simpler to run ntpdate and logging scripts which need to run after making a wireless connection using a wicd postconnect script. Never tried NM on netbook. When traveling GUI wicd on netbook is simple enough for finding and logging into available wireless networks. Maybe I'm just rusted on .... BTW did Pottering have anything to do with NM? ;-)

Last edited by justwantin; 08-12-2018 at 07:09 PM.
 
  


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
Switching from NetworkManager to wicd statguy Slackware 16 02-15-2017 06:42 PM
[SOLVED] wicd connected where networkmanager could not slac-in-the-box Slackware - Installation 4 07-24-2016 03:06 PM
[SOLVED] NetworkManager not working (WICD does) n4rf Slackware 13 09-19-2015 04:48 AM
wicd vs. networkmanager JWJones Slackware 77 09-17-2013 07:16 AM
What is the advantage (if any) of NetworkManager over wicd? BobNutfield Slackware 28 07-13-2012 06:24 AM

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

All times are GMT -5. The time now is 07:29 PM.

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