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.
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:inter-| sta-| quality | discarded packets | missed | face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
whereas if driver supported wireless tool output this: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:~$
as can see missing lot of information, link quality need.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
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:
lsmod |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:~$
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: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:~$
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?code:# blacklist rt 2870/3070 drivers blacklist rt2x00usb blacklist rt2x00lib blacklist rt2800usb
inter-| sta-| quality | discarded packets | missed | we
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22i believe have connected access point packets transmitted, measured, etc. here /proc/net/wireless while connected (and answering post):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:oni doubt whole rt2870sta vs. rt2800usb nightmare has bearing on it.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
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Wireless card does not update /proc/net/wireless file
Ubuntu
Comments
Post a Comment