Matthew-Hsu / PiPass

Nintendo 3DS Homepass for the Raspberry Pi
149 stars 20 forks source link

Pi3 issue #75

Open Percolateur2000 opened 7 years ago

Percolateur2000 commented 7 years ago

Hi

When i start pipass i have this on the logs

2016-09-15 12:56:21,948 - main - INFO - PiPass is now running. 2016-09-15 12:56:26,555 - main - INFO - Spoofing as 02:53:50:4F:4F:0D on attwifi ( Extended Mac ) for 5 minute(s). 2016-09-15 13:01:32,686 - main - WARNING - A possible invalid MAC address has been detected: 6E:53:50:4F:4F:6F. 2016-09-15 13:01:32,687 - main - ERROR - Unable to start hostapd. 2016-09-15 13:01:32,688 - main - INFO - PiPass is moving onto the next Nintendo Zone. 2016-09-15 13:01:33,290 - main - WARNING - A possible incompatible hostapd WiFi chipset has been detected. 2016-09-15 13:01:33,291 - main - ERROR - Unable to change the MAC address of the WiFi adapter. 2016-09-15 13:01:33,294 - main - INFO - PiPass has been shutdown with an error.

i did apt-get update but nothing changed

Pipass settings :

StreetPass Cycle Time (Minutes) : 5 Hostapd Security : unchecked Hostapd Driver : nl80211 Dashboard Path : /var/www/html/

(had to change according to another issue with pi3 and automatic installation)

I did the automatic installation wihtout any problem. The onboard wifi chipset is BCM43143. Attached file is my current interfaces.

Any idea ? Thank you !!

interfaces.txt

Overload86 commented 7 years ago

I have the same problem on my Pi3. It changes the MAC once or twice and then says it can't anymore. Used your automatic installation script on a retropie image with raspbian on lxde desktop. Which by the way is putting the whole config website into /var/www and installs httpd, but forgets to edit the httpd config file. But once I figured out where that was saved it was easy to edit. Website works, one or two mac changes work and then I get the error in the log.

person65278 commented 6 years ago

this is a copy and paste of my answer to basically the same issue, well my fix fixes both issues This quick fix is for a rpi3 I fixed this by changing and adding some code to pypass.py. I basically made it so when it checked if it had internet, if not it would take eth0 down then back up. And also when hostapd goes belly up I have it set to try again instead of just shutting down. Here is my modified pyPass.py. put it into /opt/PiPass/pyPass.py or wherever your original pyPass.py file is.......

piPass.zip