Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-24-2014, 06:39 AM
|
#1
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26
Rep:
|
How KDE Network manager manage the connection at boot time?
Hi all!I have slackware64 14.1 and I'm tryng KDE after a long time with fluxbox!
In KDE I have configured the Network manager for my internet connection...Today I decided to configure a static IP for my wireless interface (just for testing), so I have opened /etc/rc.d/rc.init1.conf but all the settings of my wlan0 are commented.
So, I am wandering how the network manager manage the connection at boot time?
There is another configuration file that I don't know?Please clarify my doubts...
|
|
|
01-24-2014, 06:59 AM
|
#2
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
well when you use network manager you make the /etc/rc.d/rc.neworkmanager executable. if you have your computer set up to dhcpcd with rc.init1 you need to make that non-executable. you really don't use both because you will run into problems.
http://docs.slackware.com/slackware:beginners_guide scroll down to the bottom here ok and you will see choose one.
and if you do use the rc.init1 and for all make sure the user has net device in users groups.
now when that user starts or logs into the desktop it will run the connection he has set up.
remember if you connect as root first then the connection is owned by root.
Last edited by Drakeo; 01-24-2014 at 07:03 AM.
|
|
|
01-24-2014, 08:10 AM
|
#3
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by Drakeo
well when you use network manager you make the /etc/rc.d/rc.neworkmanager executable. if you have your computer set up to dhcpcd with rc.init1 you need to make that non-executable. you really don't use both because you will run into problems.
http://docs.slackware.com/slackware:beginners_guide scroll down to the bottom here ok and you will see choose one.
and if you do use the rc.init1 and for all make sure the user has net device in users groups.
now when that user starts or logs into the desktop it will run the connection he has set up.
remember if you connect as root first then the connection is owned by root.
|
...It seems like I have both rc.inet1 and rc.networkmanager executable...and even rc.wicd is executable...But this should be the default configuration, because I haven't change it after installing slackware 14.1...Now I am a little bit confused...
I would know how the system set up the connection at boot time...my system execute both rc.inet1, rc.networkmanager and rc.wicd, right?...it seems strange...and then, how networkmanager stores the wifi pwd and essid?I have the /etc/wpa_supplicant.conf that has these information...but I can remember I create that file with wpa_passphrase manually...God, when I was with fluxbox I used to execute wpa_supplicant manually for the connection...now everything is so automatic and this confuse me...
|
|
|
01-24-2014, 08:56 AM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,287
Rep:
|
Well, I think that the beginners guide is slightly outdated as nowadays NetworkManager can handle wifi connections as well as wired ones.
Just run netconfig as root, choose 'loopback', input your hostname and domain name, confirm and you're all set.
Then, if you don't see the NetworkManager widget, just run as regular user "nm-applet" and it will show.
BTW, this works under Fluxbox as well, I'm using it right now
|
|
|
01-24-2014, 09:25 AM
|
#5
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
Well, I think that the beginners guide is slightly outdated as nowadays NetworkManager can handle wifi connections as well as wired ones.
Just run netconfig as root, choose 'loopback', input your hostname and domain name, confirm and you're all set.
Then, if you don't see the NetworkManager widget, just run as regular user "nm-applet" and it will show.
BTW, this works under Fluxbox as well, I'm using it right now
|
Yes...but my question is not about how to make connection work, but is about what files are involved when the connection is managed from NetworkManager...In what file are stored information about the pwd and essid?What file I have to edit if I would to set things like dhcp or other wireless card related options?
Anyway, thanks for the interesting suggestions
|
|
|
01-25-2014, 11:19 AM
|
#6
|
Member
Registered: May 2004
Distribution: BSD
Posts: 269
Rep:
|
On my laptop it's /etc/NetworkManager/system-connections, then there is a filed named after my router's SSID. No idea if editing it works.
Last edited by lems; 01-25-2014 at 11:20 AM.
|
|
|
All times are GMT -5. The time now is 06:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|