Skip to main content

Thread: Wireless card does not update /proc/net/wireless file


i creating program requires ability obtain link quality (%), noise level, , quality level. attempting obtain information using wireless tools dev library. file '/proc/net/wireless' empty besides header part.
i.e.
code:
inter-| sta-|   quality        |   discarded packets               | missed |   face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
from understand file updated wireless driver (if supported) after every packet received. command 'iwconfig' uses file output full information wireless card. when run command iwconfig following information:
code:
brt@sedio:~$ gedit /proc/net/wireless   brt@sedio:~$ iwconfig  lo        no wireless extensions.    eth0      no wireless extensions.    eth3      no wireless extensions.    wlan0     ieee 802.11bgn  essid:off/any              mode:managed  access point: not-associated   tx-power=20 dbm               retry  long limit:7   rts thr:off   fragment thr:off            power management:on              brt@sedio:~$
whereas if driver supported wireless tool output this:
code:
wlan0     ieee 802.11bgn  essid:""              mode:managed  frequency:2.462 ghz  access point: 00:00:00:00:00:00               bit rate=54 mb/s   tx-power=20 dbm               retry  long limit:7   rts thr:off   fragment thr:off            power management:on            link quality=59/70  signal level=-51 dbm              rx invalid nwid:0  rx invalid crypt:0  rx invalid frag:0            tx excessive retries:177  invalid misc:99   missed beacon:0
as can see missing lot of information, link quality need.

using usb wireless adapter(alfa awus036neh) uses ralink driver (either rt2870 or rt3070). information below (let me know if more information required).
lsusb |grep rt:
code:
brt@sedio:~$ lsusb |grep rt  bus 002 device 003: id 05e3:0608 genesys logic, inc. usb-2.0 4-port hub  brt@sedio:~$
lsmod |grep rt:
code:
brt@sedio:~$ lsmod |grep rt  rt2800usb              22590  0   rt2800lib              54538  1 rt2800usb  crc_ccitt              12667  1 rt2800lib  rt2x00usb              20830  1 rt2800usb  rt2x00lib              50365  3 rt2800usb,rt2800lib,rt2x00usb  mac80211              462046  3 rt2800lib,rt2x00usb,rt2x00lib  cfg80211              199630  2 rt2x00lib,mac80211  parport_pc             36962  0   parport                46562  3 parport_pc,ppdev,lp  brt@sedio:~$
previously using ubuntu 11.04 , had fixed problem. in 11.04 both drivers rt2x00lib/rt2x00usb , rt2870sta automatically installed. able fix problem blacklisting community created drivers putting follow lines in '/etc/modprode.d/blacklist.conf':
code:
# blacklist rt 2870/3070 drivers  blacklist rt2x00usb  blacklist rt2x00lib  blacklist rt2800usb
now have upgraded 11.10 seems ralink drivers (rt2870sta) removed os creating original problem community drivers not allowing me display link quality. go , install ralink 2870sta drivers heard written badly , don't work well. there way fix without having install driver , blacklist rt2x00 ones?

inter-| sta-| quality | discarded packets | missed | we
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
wlan0 ieee 802.11bgn essid:off/any
mode:managed access point: not-associated tx-power=20 dbm
retry long limit:7 rts thr:off fragment thr:off
power management:on
i believe have connected access point packets transmitted, measured, etc. here /proc/net/wireless while connected (and answering post):
inter-| sta-| quality | discarded packets | missed | we
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
wlan0: 0000 65. -45. -256 0 0 0 0 661 0
i doubt whole rt2870sta vs. rt2800usb nightmare has bearing on it.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Wireless card does not update /proc/net/wireless file


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?