FN + f9 not working on ubuntu jaunty 9.04
hi, i'm running jaunty jackalope 9.04 on a samsung nc10 and the function to activate/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Richard de Vries
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
You should be able to switch off wireless by right-clicking on the network icon in the top right panel on your screen and unchecking "Enable Wireless".
To get Fn+F9 to work, check this post: http://
Start at "Now we have to enable the FN-F9 key to toggle the wireless card."
Revision history for this message
|
#2 |
hi, thanks for the response. in terms of right clicking and unchecking wireless, this is possible but I think the wireless is still activated as the blue light stays on indicating wireless is active. not unless it stays on and it really is inactive which would then be a small glitch. one thing I'm not clear on as I'm new to ubuntu is the instruction in your link that says I have to make a file executeable and copy it to /usr/local/bin. i'm not sure on how to do this? or is this all included when I copy and paste the commands?
Revision history for this message
|
#3 |
I think I read somewhere on the same forum (voria.org) that the blue light turns off when you deactivate wireless. If your blue light stays on, I indeed assume wireless is still active (and using battery power).
The script might be interesting, as it uses another method of disabling wireless: it unloads the Atheros kernel module. To see if it would work, I'd like you to try this:
Open a terminal (Applications -> Accessories -> Terminal)
Type (or paste) 'sudo modprobe -rv ath5k' and press enter. You will be asked for your password (as this action needs administrative privileges). Please paste the results here and check if the blue light is now off.
To turn it back on type 'sudo modprobe -v ath5k'
Revision history for this message
|
#4 |
hi there, here's the output of the first command. my wireless was disconnected as the small cross appeared on the network manager icon but the blue light to indicate my wireless was still active stayed on.
1st command
rmmod /lib/modules/
rmmod /lib/modules/
rmmod /lib/modules/
rmmod /lib/modules/
2nd command (to switch back on)
insmod /lib/modules/
insmod /lib/modules/
insmod /lib/modules/
insmod /lib/modules/
the FN+F9 key does not seem to do anything still :(
hope this helps. maybe this is a case where the wireless really is inactive it's just the blue light stays on which is a bit confusing but really as wireless is no longer on??
Revision history for this message
|
#5 |
Ok, so removing and reloading the kernel module works, but the LED stays on. It's hard to tell if wireless is still using battery power when turned off.
If you'd like to fiddle some more, try adding Voria's NC10 repository to Ubuntu: http://
Also, it seems that most issues will be fixed in the next release: https:/
If you want to try the script mentioned earlier, you can just follow the instructions on the forum. Where it says "Now get the script, copy it to /usr/local/bin and make it executable." do this:
* Download this file and save it in your home folder: http://
* Open a terminal and do:
sudo cp wlonoff /usr/local/bin
sudo chmod +x /usr/local/
Then follow the rest of the howto. Good luck!
Revision history for this message
|
#6 |
Oops, messed up the instructions on the bottom:
* Download this file and save it in your home folder: http://
* Open a terminal and do:
sudo cp wlonoff.sh /usr/local/bin
sudo chmod +x /usr/local/
So there. :-)
Revision history for this message
|
#7 |
hi there, i think i managed to install the nc10 repositories OK
see out put below
deanhall@ubuntu:~$ sudo apt-get install voria-ppa-keyring && sudo apt-get update[sudo] password for deanhall:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libraptor1 liblrdf0 raptor-utils
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed
voria-ppa-keyring
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 2272B of archives.
After this operation, 49.2kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
voria-ppa-keyring
Install these packages without verification [y/N]? y
Get: 1 http://
Fetched 2272B in 0s (13.8kB/s)
Selecting previously deselected package voria-ppa-keyring.
(Reading database ... 167602 files and directories currently installed.)
Unpacking voria-ppa-keyring (from .../voria-
Setting up voria-ppa-keyring (2009.10.22) ...
OK
Get: 1 http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Get: 2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 308B in 0s (406B/s)
but now I'm not clear on the next stage re: downloading the file and saving it to home directory. i have done this but get the following message when it type your commands
deanhall@ubuntu:~$ sudo cp wlonoff.sh /usr/local/bin
deanhall@ubuntu:~$ sudo chmod +x /usr/local/
chmod: cannot access `/usr/local/
i think it is saved in the wrong place?
/home/deanhall?
Revision history for this message
|
#8 |
If the Voria packages do what they promise, you won't need to mess about with the script. From this post: http://
"Enable the wireless card (with RFKILL support) and the FN-F9 key
Just install the linux-backports
To enable the FN-F9 key you have to install the nc10-scripts package, containing the needed script, that will be automatically mapped to the key. Also, a new rule is added to sudo configuration file in order to run the script with no password needed. Like the FN-F5 key, you have to delete the user local configuration (if it exists and it was created before the new package was installed) to use the global one."
So you should just (in a terminal):
sudo apt-get install linux-backports
... and reboot. See the forum for more packages that you can install.
Revision history for this message
|
#9 |
hi, many thanks for your continued support here. it is much appreciated. i typed the command in terminal and installed the backports. everything seemed to go well with the install however it does not seem to have made any difference to the FN+F9 command. this is still not activating/
***NOTE:
If you are on Jaunty, you have to enable the 'commands' plugin in advanced compiz configuration in order to use keybindings.
Install the compizconfig-
is this necessary to get everything working do you think or should I now try your previous suggestion of saving a file into my user directory and executing the following
deanhall@ubuntu:~$ sudo cp wlonoff.sh /usr/local/bin
deanhall@ubuntu:~$ sudo chmod +x /usr/local/
this seems a lot of effort to get this working but I'm keen to solve it as it becomes an issue when I'm travelling hence limiting the use of my laptop.
Revision history for this message
|
#10 |
I'd try the Compiz Settings Manager:
sudo apt-get install compizconfig-
The application will appear in the System -> Preferences menu.
"hi, many thanks for your continued support here." - You're very welcome. I hope you realise I don't have an NC10, so I can't try anything out myself. And I'm not totally sure we'll get this to work.
Revision history for this message
|
#11 |
GOOD NEWS. THIS HAS WORKED. I CAN NOW TOGGLE BETWEEN WIRELESS ON AND OFF USING FN+F9. THE BLUE LED GOES OFF ON THE MACHINE AND i DISCONNECT FROM THE NETWORK. I GUESS IN SUMMARY I HAD TO INSTALL THE BACKPORTS FOR JAUNTY AND THEN ENABLE COMMANDS THROUGH COMPIZ. THANKS FOR YOUR HELP. I HAVE LOTS TO LEARN I THINK WITH UBUNTU AND LINUX.
Revision history for this message
|
#12 |
Ok ok stop yelling! :-) Glad it worked. To be fair, Ubuntu has a lot to learn too. In the next release the support for the NC10 is much better, but still not 'working out of the box'.