{"action":"closed","issue":{"url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/90","labels_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/90/comments","events_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/90/events","html_url":"https://github.com/xtr4nge/FruityWifi/issues/90","id":56239890,"number":90,"title":"php error / karma and mana don´t work /  iwlwifi kernel driver  [kali-linux-1.0.9a-i386]","user":{"login":"freakywhezzl","id":10811489,"avatar_url":"https://avatars.githubusercontent.com/u/10811489?v=3","gravatar_id":"","url":"https://api.github.com/users/freakywhezzl","html_url":"https://github.com/freakywhezzl","followers_url":"https://api.github.com/users/freakywhezzl/followers","following_url":"https://api.github.com/users/freakywhezzl/following{/other_user}","gists_url":"https://api.github.com/users/freakywhezzl/gists{/gist_id}","starred_url":"https://api.github.com/users/freakywhezzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freakywhezzl/subscriptions","organizations_url":"https://api.github.com/users/freakywhezzl/orgs","repos_url":"https://api.github.com/users/freakywhezzl/repos","events_url":"https://api.github.com/users/freakywhezzl/events{/privacy}","received_events_url":"https://api.github.com/users/freakywhezzl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-02T14:00:45Z","updated_at":"2015-02-02T21:44:38Z","closed_at":"2015-02-02T21:44:38Z","body":"hey,\r\n\r\ni´ve install fruitwifi under \"kali-linux-1.0.9a-i386\" on my x86 laptop.\r\n\r\nwhen i start fruity - the error log is full of php error´s:\r\n\r\n```\r\n2015/02/02 15:26:02 [error] 9094#0: *1 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined index: error in /usr/share/fruitywifi/www/index.php on line 68\" while reading response header from upstream, client: 127.0.0.1, server: , request: \"GET / HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm-8000.sock:\", host: \"localhost:8000\"\r\n2015/02/02 15:26:06 [error] 9094#0: *1 FastCGI sent in stderr: \"PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/share/fruitywifi/www/login_check.php on line 20\r\nPHP message: PHP Notice:  Undefined index: service in /usr/share/fruitywifi/www/page_status.php on line 87\r\nPHP message: PHP Notice:  Undefined index: action in /usr/share/fruitywifi/www/page_status.php on line 88\r\nPHP message: PHP Notice:  Undefined index: service in /usr/share/fruitywifi/www/page_status.php on line 90\r\nPHP message: PHP Notice:  Undefined index: action in /usr/share/fruitywifi/www/page_status.php on line 91\" while reading response header from upstream, client: 127.0.0.1, server: , request: \"GET /page_status.php HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm-8000.sock:\", host: \"localhost:8000\", referrer: \"http://localhost:8000/\"\r\n2015/02/02 15:26:07 [error] 9094#0: *1 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined index: reveal_public_ip in /usr/share/fruitywifi/www/page_status.php on line 323\r\nPHP message: PHP Notice:  Undefined variable: data in /usr/share/fruitywifi/www/page_status.php on line 353\r\nPHP message: PHP Notice:  Undefined offset: 2 in /usr/share/fruitywifi/www/page_status.php on line 357\r\nPHP message: PHP Notice:  Undefined offset: 1 in /usr/share/fruitywifi/www/page_status.php on line 357\r\nPHP message: PHP Notice:  Undefined offset: 3 in /usr/share/fruitywifi/www/page_status.php on line 357\" while reading upstream, client: 127.0.0.1, server: , request: \"GET /page_status.php HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm-8000.sock:\", host: \"localhost:8000\", referrer: \"http://localhost:8000/\"\r\n2015/02/02 15:26:09 [error] 9094#0: *1 FastCGI sent in stderr: \"PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/share/fruitywifi/www/login_check.php on line 20\r\nPHP message: PHP Notice:  Undefined variable: data in /usr/share/fruitywifi/www/page_logs.php on line 47\r\nPHP message: PHP Notice:  Undefined variable: data in /usr/share/fruitywifi/www/page_logs.php on line 47\r\nPHP message: PHP Notice:  Undefined variable: data in /usr/share/fruitywifi/www/page_logs.php on line 47\" while reading response header from upstream, client: 127.0.0.1, server: , request: \"GET /page_logs.php HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm-8000.sock:\", host: \"localhost:8000\", referrer: \"http://localhost:8000/page_status.php\"\r\n2015/02/02 15:26:09 [error] 9094#0: *1 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined variable: data in /usr/share/fruitywifi/www/page_logs.php on line 47\r\nPHP message: PHP Warning:  fopen(/var/log/fruitywifi/sudo.log): failed to open stream: Permission denied in /usr/share/fruitywifi/www/page_logs.php on line 33\r\nPHP message: PHP Warning:  fread() expects parameter 1 to be resource, boolean given in /usr/share/fruitywifi/www/page_logs.php on line 35\r\nPHP message: PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /usr/share/fruitywifi/www/page_logs.php on line 36\" while reading upstream, client: 127.0.0.1, server: , request: \"GET /page_logs.php HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm-8000.sock:\", host: \"localhost:8000\", referrer: \"http://localhost:8000/page_status.php\"\r\n2015/02/02 15:26:38 [error] 9094#0: *1 FastCGI sent in stderr: \"PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/share/fruitywifi/www/login_check.php on line 20\r\nPHP message: PHP Notice:  Undefined index: filename in /usr/share/fruitywifi/www/page_config_adv.php on line 38\r\nPHP message: PHP Notice:  Undefined index: newdata in /usr/share/fruitywifi/www/page_config_adv.php on line 39\r\nPHP message: PHP Notice:  Undefined index: iface in /usr/share/fruitywifi/www/page_config_adv.php on line 40\r\nPHP message: PHP Notice:  Undefined index: io_out_iface in /usr/share/fruitywifi/www/page_config_adv.php on line 41\r\nPHP message: PHP Notice:  Undefined index: io_in_iface in /usr/share/fruitywifi/www/page_config_adv.php on line 42\r\nPHP message: PHP Notice:  Undefined index: iface_supplicant in /usr/share/fruitywifi/www/page_config_adv.php on line 43\r\nPHP message: PHP Notice:  Undefined index: newSSID in /usr/share/fruitywifi/www/page_config_adv.php on line 44\r\nPHP message: PHP Notice:  Undefined index: hostapd_secure in /usr/share/fruitywifi/www/page_config_adv.php on line 45\r\nPHP message: PHP Notice:  Undefined index: hostapd_wpa_passphrase in /usr/share/fruitywifi/www/page_config_adv.php on line 46\r\nPHP message: PHP Notice:  Undefined index: supplicant_ssid in /usr/share/fruitywifi/www/page_config_adv.php on line 47\r\nPHP message: PHP Notice:  Undefined index: supplicant_psk in /usr/share/fruitywifi/www/page_config_adv.php on line 48\r\nPHP message: PHP Notice:  Undefined index: pass_old in /usr/share/fruitywifi/www/page_config_adv.php on line 49\r\nPHP message: PHP Notice:  Undefined index: pass_new in /usr/share/fruitywifi/www/page_config_adv.php on line 50\r\nPHP message: PHP Notice:  Undefined index: pass_new_repeat in /usr/share/fruitywifi/www/page_config_adv.php on line 51\r\nPHP message: PHP Notice:  Undefined index: service in /usr/share/fruitywifi/www/page_config_adv.php on line 52\r\nPHP message: PHP Notice:  Undefined index: action in\r\n\r\n.....\r\n\r\n```\r\n\r\n.... and so on.\r\n\r\n###### Is this a bug or a config error in kali / fruity wifi?\r\n\r\n\r\nwhen i start the \"wireless\" and karma or mana function the karma log says:\r\n\r\n```\r\nConfiguration file: /usr/share/fruitywifi/www/modules/karma/includes/conf/hostapd.conf\r\nFailed to update rate sets in kernel module\r\nCould not connect to kernel driver.\r\nUsing interface wlan0 with hwaddr 74:e5:0b:c6:ac:42 and ssid 'FruityWifi'\r\nFailed to set beacon parameters\r\nCould not connect to kernel driver.\r\n```\r\n\r\nMy wifi driver is \"nl80211\".\r\n\r\n###### Is the drvier supportet with hostapd  and karma?\r\n\r\n\r\nhostapd.conf:\r\n\r\n```\r\nctrl_interface=/var/run/hostapd-phy0\r\ndriver=nl80211\r\nwmm_ac_bk_cwmin=4\r\nwmm_ac_bk_cwmax=10\r\nwmm_ac_bk_aifs=7\r\nwmm_ac_bk_txop_limit=0\r\nwmm_ac_bk_acm=0\r\nwmm_ac_be_aifs=3\r\nwmm_ac_be_cwmin=4\r\nwmm_ac_be_cwmax=10\r\nwmm_ac_be_txop_limit=0\r\nwmm_ac_be_acm=0\r\nwmm_ac_vi_aifs=2\r\nwmm_ac_vi_cwmin=3\r\nwmm_ac_vi_cwmax=4\r\nwmm_ac_vi_txop_limit=94\r\nwmm_ac_vi_acm=0\r\nwmm_ac_vo_aifs=2\r\nwmm_ac_vo_cwmin=2\r\nwmm_ac_vo_cwmax=3\r\nwmm_ac_vo_txop_limit=47\r\nwmm_ac_vo_acm=0\r\ntx_queue_data3_aifs=7\r\ntx_queue_data3_cwmin=15\r\ntx_queue_data3_cwmax=1023\r\ntx_queue_data3_burst=0\r\ntx_queue_data2_aifs=3\r\ntx_queue_data2_cwmin=15\r\ntx_queue_data2_cwmax=63\r\ntx_queue_data2_burst=0\r\ntx_queue_data1_aifs=1\r\ntx_queue_data1_cwmin=7\r\ntx_queue_data1_cwmax=15\r\ntx_queue_data1_burst=3.0\r\ntx_queue_data0_aifs=1\r\ntx_queue_data0_cwmin=3\r\ntx_queue_data0_cwmax=7\r\ntx_queue_data0_burst=1.5\r\nhw_mode=g\r\nchannel=6\r\n\r\nlogger_syslog=127\r\nlogger_syslog_level=2\r\nlogger_stdout=127\r\nlogger_stdout_level=2\r\n#ieee80211n=1\r\n#ht_capab=[HT20][SHORT-GI-20][SHORT-GI-40][RX-STBC1][DSSS_CCK-40]\r\n\r\ninterface=wlan0\r\nctrl_interface=/var/run/hostapd-phy0\r\ndisassoc_low_ack=1\r\nauth_algs=1\r\nwpa=0\r\nssid=FruityWifi\r\n#bridge=br-lan\r\nwmm_enabled=1\r\nbssid=74:e5:0b:c6:ac:42\r\nignore_broadcast_ssid=0\r\n\r\n```\r\n\r\nthx & greetz\r\n\r\nwhezzl"}}