From: Radovan D. <rad...@em...> - 2013-09-18 08:02:15
|
###Hello Vasos, ###I have doublechecked that /proc/net/wireless file on my hostapd server and hostapd client ###On hostapd client (laptop) that file is very as expected. But that is not case at all on hostapd server. ###On hostapd server /proc/net/wireles file is emtpy. ###/proc/net/wireless file on my hostapd server [root@manitou ~]# cat /proc/net/wireless Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 [root@manitou ~]# ###/proc/net/wireless file on my hostapd client [root@inspiron ~]# cat /proc/net/wireless Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 wlan0: 0000 69. -41. -256 0 0 0 0 75 0 [root@inspiron ~]# ###ifconfig command will show wlan device on my server - that is not any problem. ###There is also another device called mon.wlan0 - I dont know what is it. [root@manitou ~]# ifconfig wlan0 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether f4:6d:04:a2:87:fa txqueuelen 1000 (Ethernet) RX packets 1921 bytes 215343 (210.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1696 bytes 887316 (866.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@manitou ~]# ifconfig mon.wlan0 mon.wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 unspec F4-6D-04-A2-87-FA-D0-65-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) RX packets 6317 bytes 874396 (853.9 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@manitou ~]# ###I have figured out that there is another file in /proc/net/ which does contain ###wlan0 device. That file is: /proc/net/dev [root@manitou net]# cat /proc/net/dev Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed br0: 374491 3476 0 0 0 0 0 0 1907918 2702 0 0 0 0 0 0 mon.wlan0: 1592893 11479 0 0 0 0 0 0 0 0 0 0 0 0 0 0 bond0: 29755 175 0 175 0 0 0 0 34086 194 0 0 0 0 0 0 lo: 840 12 0 0 0 0 0 0 840 12 0 0 0 0 0 0 em1: 0 0 0 0 0 0 0 0 34086 194 0 0 0 0 0 0 wlan0: 423095 3473 0 0 0 0 0 0 2009845 3185 0 0 0 0 0 0 p1p1: 29755 175 0 175 0 0 0 0 0 0 0 0 0 0 0 0 p1p2: 1701825 1886 0 0 0 0 0 74 228420 1551 0 0 0 0 0 0 [root@manitou net]# ###As /proc/net/wirelles is very fine on laptop - client. I would say that missing of ###/proc/net/wireless file is caused by hostapd daemon. ###I need to figure out if /proc/net/wireless can be corrected by some config change ###in hostapd config file. Or maybe hostapd rpm package is not compiled with some option ###which deals with /proc/net/wireless file. ###Also absence of /proc/net/wireless file might be caused by existence of bridge device. ###I have configured bridge in /etc/sysconfig/network-scripts but device wlan0 is added to bridge ###by hostapd daemon with option br=wlan0 /etc/hostapd/hostapd.conf : ... interface=wlan0 bridge=br0 ... [root@manitou network-scripts]# cat ifcfg-br0 DEVICE=br0 BOOTPROTO=static BROADCAST=192.168.199.255 IPADDR=192.168.199.1 NETMASK=255.255.255.0 NETWORK=192.168.199.0 ONBOOT=yes TYPE=Bridge NM_CONTROLLED="no" ###All right - now we have root cause - why I do not have no wireless interface in ###the wifiadmin detected. ###I will try to find out if I can push my server somehow to ###start to output to /proc/net/wireless file ... ###Thanks. ###Regards. ###Rad. ---------- Původní zpráva ---------- Od: vasos g <ba...@gm...> Datum: 17. 9. 2013 Předmět: Re: [Wifiadmin-users] No wireless Interfaces found " That's why then you are not seeing wireless interfaces. Can you see them with iwconfig ? As far as i know wifiadmin has not been tested with FC (until now :) Maybe, also, any software or kernel updates ? If you find anything about that please report. On 17/09/13 13:20, Radovan Drahovsky wrote: "Hello Vasos, Thank for your prompt reply. I can not access my server now. I will send you output evening. But I have already been looking to that file /proc/net/wireless and there was pretty much nothing. There was only header row but not any entry. Did not have a time to google if it is bug or fedora 17 feature. Thanks. Rad. ---------- Původní zpráva ---------- Od: basos g <ba...@gm...>(mailto:ba...@gm...) Datum: 17. 9. 2013 Předmět: RE: [Wifiadmin-users] No wireless Interfaces found " Hi, what's the out put of cat /proc/net/wireless? Radovan Drahovsky <rad...@em...>(mailto:rad...@em...) wrote: Hello Vasos, Thank you very much for your reply and your support. I have deployed wifiadmin version 0.2.5 but unfortunately that issue "No wireless Interfaces found" has not been solved. here are commands which I can see on the webbrowser screen: [11:40][V] cat /proc/net/wireless [11:40][V] uname -srmo [11:40][V] cat /proc/sys/kernel/hostname [11:40][V] cat /proc/uptime [11:40][V] cat /proc/net/wireless [11:40][V] uname -srmo [11:40][V] cat /proc/sys/kernel/hostname [11:40][V] cat /proc/uptime [11:40][V] cat /proc/uptime [11:41][V] cat /proc/uptime [11:41][V] cat /proc/uptime [11:41][V] cat /proc/net/dev [11:41][V] /sbin/ifconfig 'br0' [11:41][V] /sbin/ifconfig -s [11:41][V] /sbin/ifconfig 'br0' [11:41][V] /sbin/ifconfig -s [11:42][V] cat /proc/uptime [11:42][V] cat /proc/uptime [11:42][V] /sbin/ifconfig 'br0' [11:42][V] /sbin/ifconfig -s [11:42][V] /sbin/ifconfig 'br0' [11:42][V] /sbin/ifconfig -s [11:43][V] /sbin/ifconfig 'br0' [11:43][V] /sbin/ifconfig -s [11:43][V] /sbin/ifconfig 'br0' [11:43][V] /sbin/ifconfig -s [11:43][V] /sbin/ifconfig 'br0' [11:43][V] /sbin/ifconfig -s [11:44][V] /sbin/ifconfig 'br0' [11:44][V] /sbin/ifconfig -s Please suggest, please? Thank you very much. Regards. Rad. " ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. <a href='http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk'>http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk</a> _______________________________________________ Wifiadmin-users mailing list <a href='mailto:Wif...@li...'>Wif...@li...</a> <a href='https://lists.sourceforge.net/lists/listinfo/wifiadmin-users'>https://lists.sourceforge.net/lists/listinfo/wifiadmin-users</a> " " |