How to save changes with iwconfig permanently??
Hi guys! I have a little question, since I am having some problems with my wireless card.
If I ping my pc with no activity on it, it just won't respond to the pings. But if I start pinging from the PC and then from somewhere else, everything works perfect. I found out this problem since my ftp service was not responding sometimes. So looking for info and checking some parameters I found the "Power Management" option in the iwconfig command. It's value is "on" so I tried turning it off and It seemed to have solved the issue. The thing is that after a reboot, it returns to it's default value. Is there any way to make this parameter value permanent?? Thanks in advanceee!!! :D |
There is no way to do that with the actual iwconfig command, keeping those settings permanent would depend on your distribution's boot scripts.
|
The lazy man's answer:
Put whatever command you need to turn power management off into the file /etc/rc.local on the line before the final exit 0 Be sure to give the /full/path/to/command That file is run (as root) after everything else has come up at boot time. The proper answer: Find out where your distro is configuring wireless power management and turn it off there. |
If your system uses an "ifcfg-wlan0" file to configure the device, there is a line for POWER, which you can set to no.
Try "man ifcfg" for starters. I don't use Ubuntu, so maybe a editing /etc/rc.local would make more sense in your case. |
Quote:
|
All times are GMT -5. The time now is 06:51 AM. |