{"action":"created","issue":{"url":"https://api.github.com/repos/oblique/create_ap/issues/73","labels_url":"https://api.github.com/repos/oblique/create_ap/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/oblique/create_ap/issues/73/comments","events_url":"https://api.github.com/repos/oblique/create_ap/issues/73/events","html_url":"https://github.com/oblique/create_ap/issues/73","id":70158255,"number":73,"title":"deauth problem","user":{"login":"alecop7","id":11977200,"avatar_url":"https://avatars.githubusercontent.com/u/11977200?v=3","gravatar_id":"","url":"https://api.github.com/users/alecop7","html_url":"https://github.com/alecop7","followers_url":"https://api.github.com/users/alecop7/followers","following_url":"https://api.github.com/users/alecop7/following{/other_user}","gists_url":"https://api.github.com/users/alecop7/gists{/gist_id}","starred_url":"https://api.github.com/users/alecop7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecop7/subscriptions","organizations_url":"https://api.github.com/users/alecop7/orgs","repos_url":"https://api.github.com/users/alecop7/repos","events_url":"https://api.github.com/users/alecop7/events{/privacy}","received_events_url":"https://api.github.com/users/alecop7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-22T15:22:43Z","updated_at":"2015-04-22T20:16:08Z","closed_at":"2015-04-22T19:06:31Z","body":"Hi,\r\n\r\nI'm encountering a problem to connect my smartphone. I use the command\r\n```\r\nsudo create_ap wlan0 eth0 name pass\r\n```\r\nand it works fine a couple of minutes, after that it stops to work (deauth). Code:\r\n```\r\nNetwork Manager found, set wlan0 as unmanaged device... DONE\r\nSharing Internet using method: nat\r\nhostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlan0.conf.zph5aBV4/hostapd_ctrl\r\nConfiguration file: /tmp/create_ap.wlan0.conf.zph5aBV4/hostapd.conf\r\nFailed to create interface mon.wlan0: -23 (Too many open files in system)\r\nTry to remove and re-create mon.wlan0\r\nUsing interface wlan0 with hwaddr 58:91:cf:03:26:09 and ssid 'DellAC'\r\nwlan0: STA 90:68:c3:71:8d:90 IEEE 802.11: authenticated\r\nwlan0: STA 90:68:c3:71:8d:90 IEEE 802.11: associated (aid 1)\r\nwlan0: AP-STA-CONNECTED 90:68:c3:71:8d:90\r\nwlan0: STA 90:68:c3:71:8d:90 RADIUS: starting accounting session 5537B59A-00000000\r\nwlan0: STA 90:68:c3:71:8d:90 WPA: pairwise key handshake completed (RSN)\r\nwlan0: AP-STA-DISCONNECTED 90:68:c3:71:8d:90\r\nWPA: wpa_sm_step() called recursively\r\nwlan0: STA 90:68:c3:71:8d:90 IEEE 802.11: deauthenticated due to local deauth request\r\n```\r\nIf I unlock my smartphone, magically it authenticates again. Code:\r\n```\r\nwlan0: STA 90:68:c3:71:8d:90 IEEE 802.11: authenticated\r\nwlan0: STA 90:68:c3:71:8d:90 IEEE 802.11: associated (aid 1)\r\nwlan0: AP-STA-CONNECTED 90:68:c3:71:8d:90\r\nwlan0: STA 90:68:c3:71:8d:90 RADIUS: starting accounting session 5537B59A-00000001\r\nwlan0: STA 90:68:c3:71:8d:90 WPA: pairwise key handshake completed (RSN)\r\n```\r\nI also tried ```-w 2```, but nothing."},"comment":{"url":"https://api.github.com/repos/oblique/create_ap/issues/comments/95323523","html_url":"https://github.com/oblique/create_ap/issues/73#issuecomment-95323523","issue_url":"https://api.github.com/repos/oblique/create_ap/issues/73","id":95323523,"user":{"login":"oblique","id":194040,"avatar_url":"https://avatars.githubusercontent.com/u/194040?v=3","gravatar_id":"","url":"https://api.github.com/users/oblique","html_url":"https://github.com/oblique","followers_url":"https://api.github.com/users/oblique/followers","following_url":"https://api.github.com/users/oblique/following{/other_user}","gists_url":"https://api.github.com/users/oblique/gists{/gist_id}","starred_url":"https://api.github.com/users/oblique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblique/subscriptions","organizations_url":"https://api.github.com/users/oblique/orgs","repos_url":"https://api.github.com/users/oblique/repos","events_url":"https://api.github.com/users/oblique/events{/privacy}","received_events_url":"https://api.github.com/users/oblique/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T20:16:08Z","updated_at":"2015-04-22T20:16:08Z","body":"No problem. If you manage to identify the problem then let me know. From my experience until now most of the problems are in the adapter or in the drivers of the adapter.\r\nI suggest wifi adapters that they are actually used in many routers, such as Atheros and Broadcom. Personally I use Atheros and Intel."}}