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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-08-2012, 02:57 AM
|
#1
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Rep: 
|
Turning off wireless power management in wlan0 rc.wireless.conf is ignored
I added the line in the section
Code:
## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="Any ESSID"
ESSID="any"
IWCONFIG="power off"
;;
## ---------- END SECTION TO REMOVE ------------
In rc.wireless.conf, but the line has no effect. Power management is turned on by default whenever I reboot.
Is the above command getting executed at all? Should I make rc.wireless.conf executable?
I am using networkmanager with the gnome applet in Xfce. Does that override the settings in rc.wireless.conf?
Last edited by vharishankar; 08-08-2012 at 03:00 AM.
|
|
|
|
08-08-2012, 03:06 AM
|
#2
|
|
Member
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 265
Rep:
|
|
|
|
|
08-08-2012, 03:12 AM
|
#3
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Thanks! While it is deprecated, where do I set the iwconfig parameters for power management? I use NetworkManager, so rc.inet1.conf is not used?
I don't want the power management in wireless to be enabled by default. It slows down the connection a lot.
|
|
|
|
08-08-2012, 04:14 AM
|
#4
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,684
Rep: 
|
Indeed, if you use NetworkManager (or WICD) then Slackware's own network initialization scripts are not used.
Eric
|
|
|
|
08-08-2012, 04:17 AM
|
#5
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Will it make a difference to add iwconfig wlan0 power off to rc.local? Is that a recommended approach or should this be configured in some other place?
|
|
|
|
08-08-2012, 06:55 AM
|
#6
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,684
Rep: 
|
Quote:
Originally Posted by vharishankar
Will it make a difference to add iwconfig wlan0 power off to rc.local? Is that a recommended approach or should this be configured in some other place?
|
That's indeed how I would try to achieve this, too.
Eric
|
|
|
|
08-08-2012, 08:50 AM
|
#7
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Quote:
Originally Posted by Alien Bob
That's indeed how I would try to achieve this, too.
Eric
|
Thanks. For some reason now it works even in rc.wireless.conf. I haven't put it in /etc/rc.d/rc.local yet, but since it is deprecated I will use rc.local for this.
|
|
|
|
08-08-2012, 11:36 PM
|
#8
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
Hm.... marking as unsolved. Guess I spoke too soon.
I changed the /etc/rc.d/rc.local to include iwconfig wlan0 power off and it still doesn't work. I guess NetworkManager is setting the power management to on every time it initializes the interface and thus overriding iwconfig.
Not sure where to change the setting in NetworkManager. It's irritating to have slow connection because of wireless power management.
Last edited by vharishankar; 08-08-2012 at 11:38 PM.
|
|
|
|
09-24-2012, 11:39 AM
|
#9
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
deleted.
Last edited by vharishankar; 11-02-2012 at 12:21 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:56 PM.
|
|
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
|
|