From: vasos g <ba...@gm...> - 2013-09-17 13:38:16
|
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...> > 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...> 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. > |