-
-
Notifications
You must be signed in to change notification settings - Fork 212
Portenta AP Tutorial: AP Returns Subnet Mask 192.0.0.0 (1.2.1) #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note, with 1.2.2: Wireless LAN adapter Wi-Fi: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.3.2 But Portenta crashes when making either the AP connection or when connecting a web browser to 192.168.3.1. Regards, |
@jwestmoreland the crash should now be gone in |
Hello Martino, OK - testing this now - back in a little bit. Regards, |
Martino, OK - it appears the situation discussed here: #43 is still an issue. But, I took a look at ping - and even when the web-page to 192.168.3.1 times out - ping appears to still work fine: C:\Users\john>ping 192.168.3.1 Pinging 192.168.3.1 with 32 bytes of data: Ping statistics for 192.168.3.1: First time I ran the test - did fine; after that - had issues as discussed in #43. Let me see if there's a way to disable refresh/reconnect requests in Brave - and I'll post the results. The latest master commit here does fix the subnet mask issue problem - no question there anymore with 1.2.2 at least. Regards, |
Martino, I ran through the firmware update sketch again JIC - I'm attaching the log of that here - but I'm getting the same result. I guess there's no way to disable auto refresh in Brave - so I tried in IE and Chrome but get the same result as #43 - if the browser is queued up - it'll make the Portenta either reset or hang if it happens at the same time approximately as the AP connection is made. Curious issue though is even though HTTP fails ping still works. I've also seen the web page become unresponsive but after a short time - maybe a few minutes, it'll recover and work again. Regards, |
Hello Again Martino, I applied the patches that are in #44 - and here's a log of what I did:
from log window (default serial port):
Reply from 192.168.3.1: bytes=32 time=2ms TTL=255 So, the behavior is still similar as reported here: #43 I repeated the process and this is the log file: Access Point Web Server client disconnected client disconnected client disconnected client disconnected client disconnected Well, hope this helps in debug/verification. Regards, |
Martino. Also - after the above and with the Portenta sitting idle for a about 1 hr, (still pinging) the board reset. When trying to reconnect - it continually reset: Access Point Web Server I haven't seen that before - maybe the latest updates could have something to do with this? Regards, |
Martino, I could be more help if I had a decent debugger - maybe there's a way to run gdb in 'native' mode right now - note it isn't for lack of trying as proven here: #19 . Regards, |
To repeat:
Run the AP tutorial - I've attached my files. // 1.2.1
When running the demo - it's returning this:
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.3.3
Subnet Mask . . . . . . . . . . . : 192.0.0.0
Default Gateway . . . . . . . . . : 192.168.3.1
For purposes of the demo - wouldn't 255.255.255.0 be a better subnet mask?
Is there a way to change the subnet mask? (I'll take a look at the mbed stuff to see...).
Just wanted to point this out as I think it's causing some grief for some going through the tutorials.
Regards,
John W.
demo-web-server.zip
PS - It appears declaring something like this will correct the issue:
WiFi.config(IPAddress(192, 168, 4, 1)); // 1.2.2
PPS - OP 1.2.1 and not 1.2.2
The text was updated successfully, but these errors were encountered: