Closed fredmbarrett closed 1 month ago
@fredmbarrett , checking the network connect event, I think the Subnet(Ipv4 Mask), it's working when I tested.
Meadow StdOut: Wifi_NetworkConnected event fired...
Meadow StdOut: wifi.IsConnected = True
Meadow StdOut: IP address = 192.168.15.2
Meadow StdOut: Subnet = 255.255.255.0
Meadow StdOut: Gateway = 255.255.255.255
Otherwise, the Gateway IP isn't right. To confirm if the Subnet value was correct I connected to the same AP and ran $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.15.1 0.0.0.0 UG 600 0 0 wlp0s20f3
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp0s20f3
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.15.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp0s20f3
The NetworkConnectionEvent throws invalid values (255.255.255.0) for the Gateway and Subnet properties (see trace below):