{"action":"created","issue":{"url":"https://api.github.com/repos/Pinchie/RaspiPass/issues/32","repository_url":"https://api.github.com/repos/Pinchie/RaspiPass","labels_url":"https://api.github.com/repos/Pinchie/RaspiPass/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/Pinchie/RaspiPass/issues/32/comments","events_url":"https://api.github.com/repos/Pinchie/RaspiPass/issues/32/events","html_url":"https://github.com/Pinchie/RaspiPass/issues/32","id":307044520,"number":32,"title":"RaspiPass AP fails to change MACs/SSIDs","user":{"login":"joshbgosh10592","id":20283787,"avatar_url":"https://avatars2.githubusercontent.com/u/20283787?v=4","gravatar_id":"","url":"https://api.github.com/users/joshbgosh10592","html_url":"https://github.com/joshbgosh10592","followers_url":"https://api.github.com/users/joshbgosh10592/followers","following_url":"https://api.github.com/users/joshbgosh10592/following{/other_user}","gists_url":"https://api.github.com/users/joshbgosh10592/gists{/gist_id}","starred_url":"https://api.github.com/users/joshbgosh10592/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshbgosh10592/subscriptions","organizations_url":"https://api.github.com/users/joshbgosh10592/orgs","repos_url":"https://api.github.com/users/joshbgosh10592/repos","events_url":"https://api.github.com/users/joshbgosh10592/events{/privacy}","received_events_url":"https://api.github.com/users/joshbgosh10592/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-20T21:25:16Z","updated_at":"2018-03-24T20:39:27Z","closed_at":null,"author_association":"NONE","body":"Hi! Once I reboot the Pi, the AP isn't automatically started, which may be by design, which is fine. I click start AP under Admin tasks. Most of the time, it succeeds. If it doesn't for whatever reason, I just reboot the Pi using the admin tab, and it works. Until the first change. Then my 3DSs cannot connect for a while, and I'll keep connection testing to the attwifi network, and it'll fail (Error code 003-1099, \"No AP in range\") most of the time and randomly connect again.\r\n\r\nI'm also not putting the fact that I'm in an apartment complex with a lot of wireless networks broadcasting... If that is the cause, how often does a 3DS attempt to reach out with a StreetPass relay?\r\n\r\n I'm mostly concerned if this part is what's causing the failure:\r\n\r\n> 1521580108.497843: Failed to create interface mon.wlan0: -95 (Operation not supported)\r\n> 1521580108.507942: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE\r\n> 1521580108.508492: wlan0: Could not connect to kernel driver\r\n\r\n\r\n\r\n\r\nHere's the most recent log, after I let it change MACs the first time:\r\n\r\n> Probability manually set at 100\r\n> Wed Mar 21 08:08:27 AEDT 2018\r\n> Starting RaspiPass...\r\n> Running random check with 100% chance...\r\n> Random check passed - bringing up AP.\r\n> Closing any existing hostapd processes...\r\n> Using SSID attwifi and MAC address 4E:53:50:4F:4F:40\r\n> Changing MAC address...\r\n> Bringing up access point...\r\n> hostapd output may follow below.\r\n> 1521580108.496494: Configuration file: /var/raspipass/hostapd.conf\r\n> 1521580108.497843: Failed to create interface mon.wlan0: -95 (Operation not supported)\r\n> 1521580108.507942: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE\r\n> 1521580108.508492: wlan0: Could not connect to kernel driver\r\n> 1521580108.510575: Using interface wlan0 with hwaddr 4e:53:50:4f:4f:40 and ssid \"attwifi\"\r\n> 1521580108.717949: wlan0: interface state COUNTRY_UPDATE->ENABLED\r\n> 1521580108.717968: wlan0: AP-ENABLED \r\n> 1521580123.617713: 1521580123.617723: wlan0: STA GALAXY3DS IEEE 802.11: associated\r\n> 1521580123.618325: wlan0: AP-STA-CONNECTED CLIENT3DS1\r\n> 1521580123.618359: 1521580123.618363: wlan0: STA GALAXY3DS RADIUS: starting accounting session 5AB1784C-00000000\r\n> 1521580135.462584: 1521580135.462593: wlan0: STA PIKA3DSIEEE 802.11: associated\r\n> 1521580135.462880: wlan0: AP-STA-CONNECTED PIKA3DS\r\n> 1521580135.462913: 1521580135.462918: wlan0: STA 7c:bb:8a:f7:fc:5e RADIUS: starting accounting session 5AB1784C-00000001\r\n> 1521580151.397053: 1521580151.397064: wlan0: STA PIKA3DS IEEE 802.11: disassociated\r\n> 1521580151.397166: wlan0: AP-STA-DISCONNECTED PIKA3DS\r\n> 1521580173.167753: 1521580173.167763: wlan0: STA BLACK3DS IEEE 802.11: associated\r\n> 1521580173.168069: wlan0: AP-STA-CONNECTED BLACK3DS \r\n> 1521580173.168101: 1521580173.168105: wlan0: STA BLACK3DS RADIUS: starting accounting session 5AB1784C-00000002\r\n> 1521580178.068094: 1521580178.068105: wlan0: STA PIKA3DS  IEEE 802.11: associated\r\n> 1521580178.068399: wlan0: AP-STA-CONNECTED PIKA3DS \r\n> 1521580178.068432: 1521580178.068437: wlan0: STA PIKA3DS  RADIUS: starting accounting session 5AB1784C-00000003\r\n> 1521580184.026636: 1521580184.026648: wlan0: STA PIKA3DS  IEEE 802.11: disassociated\r\n> 1521580184.026750: wlan0: AP-STA-DISCONNECTED PIKA3DS \r\n> 1521580200.099481: 1521580200.099491: wlan0: STA PIKA3DS  IEEE 802.11: associated\r\n> 1521580200.099794: wlan0: AP-STA-CONNECTED PIKA3DS \r\n> 1521580200.099826: 1521580200.099830: wlan0: STA PIKA3DS  RADIUS: starting accounting session 5AB1784C-00000004\r\n> 1521580238.868265: 1521580238.868275: wlan0: STA BLACK3DS  IEEE 802.11: disassociated\r\n> 1521580238.868379: wlan0: AP-STA-DISCONNECTED BLACK3DS \r\n> 1521580325.706423: 1521580325.706434: wlan0: STA GALAXY3DS  IEEE 802.11: disassociated\r\n> 1521580325.706537: wlan0: AP-STA-DISCONNECTED GALAXY3DS \r\n> 1521580380.545839: wlan0: AP-STA-DISCONNECTED PIKA3DS"},"comment":{"url":"https://api.github.com/repos/Pinchie/RaspiPass/issues/comments/375923291","html_url":"https://github.com/Pinchie/RaspiPass/issues/32#issuecomment-375923291","issue_url":"https://api.github.com/repos/Pinchie/RaspiPass/issues/32","id":375923291,"user":{"login":"joshbgosh10592","id":20283787,"avatar_url":"https://avatars2.githubusercontent.com/u/20283787?v=4","gravatar_id":"","url":"https://api.github.com/users/joshbgosh10592","html_url":"https://github.com/joshbgosh10592","followers_url":"https://api.github.com/users/joshbgosh10592/followers","following_url":"https://api.github.com/users/joshbgosh10592/following{/other_user}","gists_url":"https://api.github.com/users/joshbgosh10592/gists{/gist_id}","starred_url":"https://api.github.com/users/joshbgosh10592/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshbgosh10592/subscriptions","organizations_url":"https://api.github.com/users/joshbgosh10592/orgs","repos_url":"https://api.github.com/users/joshbgosh10592/repos","events_url":"https://api.github.com/users/joshbgosh10592/events{/privacy}","received_events_url":"https://api.github.com/users/joshbgosh10592/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T20:39:27Z","updated_at":"2018-03-24T20:39:27Z","author_association":"NONE","body":"Hey @fatmagic [Take a look at this](https://unix.stackexchange.com/questions/91701/ufw-allow-traffic-only-from-a-domain-with-dynamic-ip-address).\r\nI think, to honor @Pinchie 's wishes by making it \"set it and forget it\", there could be a cronjob created to run a script (or multiple scripts, because there are multiple hostnames) to change the entry in iptables.\r\n\r\nSo, then we're only stuck trying to figure out what hostnames are being used by the 3DS. The rest, I could modify/create the cronjob to run and modify it from there."}}
{"actor":{"display_login":"joshbgosh10592"}}