How to get the signal quality value from the /proc/net/wireless file
Hi, I am writing a bash file where the signal level will trigger the handover, I want to get the signal level value or the value of the quality of the link from the /proc/net/wireless and i don't know how to do it as I need it to be able to do my project
Thanks for your help |
Greetingz!
Okay, this *kind* of sounds like a homework question, but I'll bite; 1) Make sure you can 'read' the file. Code:
user@linux$ ls -l /proc/net/wireless Code:
user@linux$ cat /proc/net/wireless Hint: If you already know the name of the interface, 'cat filename | awk '/iface/ {print $field#}' |
All times are GMT -5. The time now is 04:15 PM. |