From: Radovan D. <rad...@em...> - 2013-09-17 13:55:16
|
Hello Vasos, Thank you very much for your reply. I have sudo setup - it was in your installation instructions. I have doublechecked it even that I switch to apache user and did sudo commands from apache id. I will try to troubleshoot that /proc/net/wireless file today evening. I dont have access to my server no so I can not send you ifconfig output but wlan0 interface is definitely there but what is strange is that there is also something like mon.wlan0 or non.wlan0 in ifconfig output but I dont have such interface defined in /etc/sysconfig/network-scripts. I think that all wlan0 configuration is in hands of hostapd daemon now. Dont know if it is worht to mention here - if it can be related to this issue but my wlan0 is bridged to br0 second device in br0 is bond0 there are two phisical adapters in bond0 p1p1(intel) and em1(broadcom). It is not very standard configuration but I am not sure if it can be related to all these troubles... ... anyway what is probably worth to mention here is that ifconfig command does not bring up any IP configuration for wlan0 at all - because wlan0 in fact does not hold IP - br0 - bridge is configured with IP. I have also laptop with fedora17 so I will compare /proc/net/wireless files on hostapd server and hostapd client. I will send detail output in the evening once I get to my server. Thanks. Rad. ---------- Původní zpráva ---------- Od: vasos g <ba...@gm...> Datum: 17. 9. 2013 Předmět: Re: [Wifiadmin-users] System bindings errors. " I realized that the correct command to test for priviledged execution of command iwconfig (sudo iwconfig) of user "apache" is # sudo -u apache sudo iwconfig I assume that you haven't set up sudo and my apologies to this as I realized that the register script that does exactly this is documented only for SSH routers and not for local. So, you could start by $ cd installl; ./register_host.sh and following the instructions or by reading the README and following the manual steps. For dmesg what $ which dmesg print ? Maybe we should make the binaries configurable to support various distributions. Vg. On 17/09/13 13:24, Radovan Drahovsky wrote: "Hello Vasos, I have tried to troubleshoot this but I faild. I did changed /etc/passwd for apache user and change it from nologin to / bin/bash for default shell. I have also set selinux to permissive mode. Did reboot of whole server but no luck :-( I will work harder with apache log files but if you have some idea what I can check here to get that commands working, please suggest, please? Thanks. Rad. ---------- Původní zpráva ---------- Od: basos g <ba...@gm...>(mailto:ba...@gm...) Datum: 17. 9. 2013 Předmět: RE: [Wifiadmin-users] System bindings errors. " Hi, the audio thing is strange since they work on cli. Maybe a Apache restart? anyway these are to modify settings, but you should read them properly. Vg Radovan Drahovsky <rad...@em...>(mailto:rad...@em...) wrote: #Hello Vasos, #Thank you very much for your reply and your support. #I tried to perform system bindings from webbrowser but I got lots of errors. #Here is small report: System bindings Status. Note that you will need to install missing items for wifiadmin to be functional System Binaries Checking.. Checking cat : Ok Checking ls : Ok Checking dmesg : Missing. This *will* render some information messages useless Checking /sbin/wlanconfig : Missing. This *may* break things Checking /sbin/iwconfig : Ok Checking /sbin/ifconfig : Ok Checking /sbin/route : Ok Checking host : Ok Checking /usr/sbin/arp : Ok Checking uname : Ok Sudo (privileged) execution checking..Checking sudo iwconfig : Error. This *may* break things Checking sudo iwpriv : Error. This *may* break things Checking sudo iwlist : Error. This *may* break things Checking sudo ifconfig : Error. This *may* break things Checking sudo route : Error. This *may* break things Checking sudo dhclient : Error. This *may* break things #This is what I could see on console on webbrowser: [19:54][X] sudo iwconfig --version [19:54][X] sudo iwpriv --version [19:54][X] sudo iwlist --version [19:54][X] sudo ifconfig [19:54][X] sudo route [19:54][X] sudo dhclient --version #Also dmesg was rec - so I suppose also failed: [19:54][X] dmesg #I tried commands from commandline - and all of them were working just fine: [root@manitou ~]# sudo -u apache iwconfig --version iwconfig Wireless-Tools version 29 Compatible with Wireless Extension v11 to v22. Kernel Currently compiled with Wireless Extension v22. mon.wlan0 Recommend Wireless Extension v21 or later, Currently compiled with Wireless Extension v22. wlan0 Recommend Wireless Extension v21 or later, Currently compiled with Wireless Extension v22. [root@manitou ~]# sudo -u apache iwpriv --version iwpriv Wireless-Tools version 29 Compatible with Wireless Extension v11 to v22. Kernel Currently compiled with Wireless Extension v22. mon.wlan0 Recommend Wireless Extension v21 or later, Currently compiled with Wireless Extension v22. wlan0 Recommend Wireless Extension v21 or later, Currently compiled with Wireless Extension v22. [root@manitou ~]# sudo -u apache iwlist --version iwlist Wireless-Tools version 29 Compatible with Wireless Extension v11 to v22. Kernel Currently compiled with Wireless Extension v22. mon.wlan0 Recommend Wireless Extension v21 or later, Currently compiled with Wireless Extension v22. wlan0 Recommend Wireless Extension v21 or later, Currently compiled with Wireless Extension v22. #All other commands was just as well .... #Please suggest, please? #Thank you very much. #Regards. #Rad. " " " |