{"action":"created","issue":{"url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/178","repository_url":"https://api.github.com/repos/xtr4nge/FruityWifi","labels_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/178/comments","events_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/178/events","html_url":"https://github.com/xtr4nge/FruityWifi/issues/178","id":134466408,"number":178,"title":"extract MAC address error","user":{"login":"darkr4y","id":4407382,"avatar_url":"https://avatars.githubusercontent.com/u/4407382?v=3","gravatar_id":"","url":"https://api.github.com/users/darkr4y","html_url":"https://github.com/darkr4y","followers_url":"https://api.github.com/users/darkr4y/followers","following_url":"https://api.github.com/users/darkr4y/following{/other_user}","gists_url":"https://api.github.com/users/darkr4y/gists{/gist_id}","starred_url":"https://api.github.com/users/darkr4y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkr4y/subscriptions","organizations_url":"https://api.github.com/users/darkr4y/orgs","repos_url":"https://api.github.com/users/darkr4y/repos","events_url":"https://api.github.com/users/darkr4y/events{/privacy}","received_events_url":"https://api.github.com/users/darkr4y/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-18T02:50:41Z","updated_at":"2016-02-21T11:12:34Z","closed_at":"2016-02-21T11:12:34Z","body":"My OS enviroment:\r\n$ uname -a\r\nLinux DarKali 4.3.0-kali1-686-pae #1 SMP Debian 4.3.5-1kali1 (2016-02-11) i686 GNU/Linux\r\n\r\nNo module installed , only [Wireless], I cannot start AP, so I reviewed the code,found that:\r\nin file:\r\nhttps://github.com/xtr4nge/FruityWifi/blob/master/FruityWifi/www/scripts/status_wireless.php\r\nline 173\r\n\r\n    $exec = \"$bin_ifconfig -a $io_in_iface |grep HWaddr\";\r\n\r\nin my OS env ,the ifconfig command result is:\r\n\r\n```\r\n$ ifconfig -a wlan0     \r\nwlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500\r\n        ether 3c:46:d8:59:e8:35  txqueuelen 1000  (Ethernet)\r\n        RX packets 0  bytes 0 (0.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 0  bytes 0 (0.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\n $ ifconfig -a wlan0:f:\r\nwlan0:f:: flags=4098<BROADCAST,MULTICAST>  mtu 1500\r\n        ether 3c:46:d8:59:e8:35  txqueuelen 1000  (Ethernet)\r\n```\r\n\r\nThere is no \"HWaddr\" in result...\r\nI think the best way to extract the MAC address is using RegEx.\r\n:)"},"comment":{"url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/comments/186799347","html_url":"https://github.com/xtr4nge/FruityWifi/issues/178#issuecomment-186799347","issue_url":"https://api.github.com/repos/xtr4nge/FruityWifi/issues/178","id":186799347,"user":{"login":"xtr4nge","id":5677760,"avatar_url":"https://avatars.githubusercontent.com/u/5677760?v=3","gravatar_id":"","url":"https://api.github.com/users/xtr4nge","html_url":"https://github.com/xtr4nge","followers_url":"https://api.github.com/users/xtr4nge/followers","following_url":"https://api.github.com/users/xtr4nge/following{/other_user}","gists_url":"https://api.github.com/users/xtr4nge/gists{/gist_id}","starred_url":"https://api.github.com/users/xtr4nge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtr4nge/subscriptions","organizations_url":"https://api.github.com/users/xtr4nge/orgs","repos_url":"https://api.github.com/users/xtr4nge/repos","events_url":"https://api.github.com/users/xtr4nge/events{/privacy}","received_events_url":"https://api.github.com/users/xtr4nge/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T11:12:34Z","updated_at":"2016-02-21T11:12:34Z","body":"Hi darkr4y,\r\nFruityWiFi v2.4 has been released. Compatibility issues with Kali Linux Rolling has been fixed.\r\nYou also need to upgrade AP module to v1.2.\r\n\r\nregards,"}}