{"action":"closed","issue":{"url":"https://api.github.com/repos/oblique/create_ap/issues/185","repository_url":"https://api.github.com/repos/oblique/create_ap","labels_url":"https://api.github.com/repos/oblique/create_ap/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/oblique/create_ap/issues/185/comments","events_url":"https://api.github.com/repos/oblique/create_ap/issues/185/events","html_url":"https://github.com/oblique/create_ap/issues/185","id":167094026,"number":185,"title":"Problems on ALARM with Raspberry Pi 3","user":{"login":"NicoHood","id":6888294,"avatar_url":"https://avatars.githubusercontent.com/u/6888294?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHood","html_url":"https://github.com/NicoHood","followers_url":"https://api.github.com/users/NicoHood/followers","following_url":"https://api.github.com/users/NicoHood/following{/other_user}","gists_url":"https://api.github.com/users/NicoHood/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHood/subscriptions","organizations_url":"https://api.github.com/users/NicoHood/orgs","repos_url":"https://api.github.com/users/NicoHood/repos","events_url":"https://api.github.com/users/NicoHood/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-22T17:30:07Z","updated_at":"2016-11-26T18:24:53Z","closed_at":"2016-11-26T18:24:53Z","body":"Hi,\nI just tried your script on the raspi3 with arch linux for arm (using manual makepkg).\n\nBut I get the following error:\n\n```\nsudo create_ap wlan0 eth0 MyAccessPoint 12345678\n[sudo] password for alarm: \nConfig dir: /tmp/create_ap.wlan0.conf.6qCQfBJ8\nPID: 422\nNetwork Manager found, set ap0 as unmanaged device... DONE\nCreating a virtual WiFi interface... ap0 created.\nSharing Internet using method: nat\nhostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlan0.conf.6qCQfBJ8/hostapd_ctrl\nConfiguration file: /tmp/create_ap.wlan0.conf.6qCQfBJ8/hostapd.conf\nFailed to create interface mon.ap0: -95 (Operation not supported)\nap0: Could not connect to kernel driver\nUsing interface ap0 with hwaddr <removed> and ssid \"MyAccessPoint\"\nap0: interface state UNINITIALIZED->ENABLED\nap0: AP-ENABLED\n\n[...]\n\nwlan0: STA yy:yy:yy:yy:yy:yy WPA: pairwise key handshake completed (RSN)\nwlan0: STA yy:yy:yy:yy:yy:yy IEEE 802.11: authenticated\nwlan0: STA yy:yy:yy:yy:yy:yy IEEE 802.11: associated\n```\n\nAlso if i try running the command again I get:\n\n```\nsudo create_ap wlan0 eth0 MyAccessPoint 12345678\n[sudo] password for alarm: \nConfig dir: /tmp/create_ap.wlan0.conf.hBQpIhnu\nPID: 1685\nNetwork Manager found, set ap1 as unmanaged device... DONE\nCreating a virtual WiFi interface... command failed: Device or resource busy (-16)\n\nERROR: Maybe your WiFi adapter does not fully support virtual interfaces.\n       Try again with --no-virt.\n\n\nDoing cleanup.. done\n```\n\n`ifconfig` does not show the `wlan0` after this anymore.\nAny ideas why this happens and how to debug? I removed my dnsmasq config but kept /etc/hostapd/hostapd.conf which should not cause problems. With my own command line setup i could use the hostapd. If you wish I can show you my manual command.\n\nEdit:\nAdditional information:\nI tested my setup with the setting that create_ap created. Except `ctrl_interface` I had all the same and it worked fine. In my setup I did not use `ctrl_interface`. And of course the interface is wlan0 and not ap0. Those settings are:\n\n```\nbeacon_int=100\nssid=MyAccessPoint\ninterface=ap0\ndriver=nl80211\nchannel=1\nctrl_interface=/tmp/create_ap.wlan0.conf.a6FzFHVe/hostapd_ctrl\nctrl_interface_group=0\nignore_broadcast_ssid=0\nap_isolate=0\nhw_mode=g\nwpa=3\nwpa_passphrase=12345678\nwpa_key_mgmt=WPA-PSK\nwpa_pairwise=TKIP CCMP\nrsn_pairwise=CCMP\n```\n\nEdit2:\nLooking at the verbose output of hostapd It looks like only this differs:\n\ncreate_ap\n\n```\nAllowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm\nCompleting interface initialization\nMode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz\nDFS 0 channels required radar detection\nnl80211: Set freq 2437 (ht_enabled=0, vht_enabled=0, bandwidth=20 MHz, cf1=2437 MHz, cf2=0 MHz)\n  * freq=2437\n  * vht_enabled=0\n  * ht_enabled=0\n```\n\nmanual\n\n```\nAllowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm\nhw vht capab: 0x0, conf vht capab: 0x0\nCompleting interface initialization\nMode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz\nDFS 0 channels required radar detection\nnl80211: Set freq 2437 (ht_enabled=1, vht_enabled=0, bandwidth=20 MHz, cf1=2437 MHz, cf2=0 MHz)\n  * freq=2437\n  * vht_enabled=0\n  * ht_enabled=1\n  * sec_channel_offset=0\n  * channel_type=1\n```\n\nThe manual setting enables ht it seems.\n\n```\n[alarm@alarmpi3 ~]$ iw list | grep ht -i\n            HT20\n            RX HT20 SGI\n            DSSS/CCK HT40\n        HT TX/RX MCS rate indexes supported: 0-7\n        Bitrates (non-HT):\n```\n"}}
{"actor":{"display_login":"oblique"}}