Hilscher Community Forum
[SOLVED] after WIFI enabled - no access - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: [SOLVED] after WIFI enabled - no access (/thread-314.html)



[SOLVED] after WIFI enabled - no access - paubau - August-30th-2018

hello,
since i enabled WIFI as Access Point, i cant connect to the netPI.
First (after enabled wifi), i just couldnt connect per LAN but Wifi worked (for a short time) but as soon as i tried to disable wifi - connection got lost and i was not able to reconnect (i'm still able to connect to the wifi but i cannot access gateway manager) .
The wifi connection says limited access and i get ERR_CONNECTION_TIMED_OUT when trying to access the manager.

I hope there's a way to fix it without loading a new system image..

best regards,

Paul


RE: after WIFI enabled - no access - Armin@netPI - August-30th-2018

(August-30th-2018, 12:28 PM)paubau Wrote: hello,
since i enabled WIFI as Access Point, i cant connect to the netPI.
First (after enabled wifi), i just couldnt connect per LAN but Wifi worked (for a short time) but as soon as i tried to disable wifi - connection got lost and i was not able to reconnect (i'm still able to connect to the wifi but i cannot access gateway manager) .
The wifi connection says limited access and i get ERR_CONNECTION_TIMED_OUT when trying to access the manager.

I hope there's a way to fix it without loading a new system image..

best regards,

Paul

So does that mean that now you neither can connect to your netPI via LAN interface nor Wifi?


RE: after WIFI enabled - no access - paubau - August-30th-2018

Yes thats the current status..
Well i can CONNECT to the wifi, but the connection is limited

I recognized that i can see the netpi through TIA Portal (connected with s7 1500) but i cant ping or anything..

Im not an it spezialist so i really dont know what to do

**i am able to ping the fieldbus connection..


RE: after WIFI enabled - no access - Armin@netPI - August-30th-2018

Well basically if you enable Wifi and you set for example the same IP address ranges like they exits for the LAN interface, or you removed the gateway address in the LAN settings or or or ... because of Wifi now enabled and then you disable Wifi again then some previous default parameters for your LAN settings have been maybe removed .... that can lead to the Linux system not to know any longer where to route the Ethernet packages to.

Back to your last LAN settings that worked: Did you use DHCP or static IP settings?


RE: after WIFI enabled - no access - paubau - August-30th-2018

(August-30th-2018, 12:51 PM)Armin@netPI Wrote: Well basically if you enable Wifi and you set for example the same IP address ranges like they exits for the LAN interface, or you removed the gateway address in the LAN settings or or or ... because of Wifi now enabled and then you disable Wifi again then some previous default parameters for your LAN settings have been maybe removed .... that can lead to the Linux system not to know any longer where to route the Ethernet packages to.

Back to your last LAN settings that worked:  Did you use DHCP or static IP settings?

Hm i set another ipadress for wifi but the dhcp ip range propably is wrong.. 
buut i didnt changed a thing in the LAN settings and although i tried to disabled wifi - its still there and i can connect to it.

I used DHCP settings.. used static settings for a short time before but changed it back to DHCP

when i try to connect via mobilephone, it says ip address could not be retrieved


RE: after WIFI enabled - no access - Armin@netPI - August-30th-2018

Well setting a different IP address on Wifi Access point is obligatory, else you get a mismatch anyway.

So you say you didn't change anything in your LAN setting, so then it is running as DHCP client still waiting to receive an IP address from your DHCP server, right? ... because this is the default setting.

What you can do is connecting monitor to the HDMI port of netPI maybe giving you a log output about a misconfiguration.

But independent of what I have heard now, I have doubts that you get your netPI recovered without loading a new image to it. If there is no contact via no interfaces then all the contact to the system is gone.

Have you made a copy of your container, on Docker Hub for example with a free account? In this case it is no problem. It is just setting the LAN params again and reloading the container.

Regards
Armin


RE: after WIFI enabled - no access - paubau - August-30th-2018

Sadly i only did local backups, i will change that in future and wont touch wifi settings again lol

But thank you anyway!


RE: after WIFI enabled - no access - Armin@netPI - August-30th-2018

Yes please do so. The strongest argument of Docker indeed is having just distributed devices like netPI around the world and a central place from where to all those units the software is deployed from.

I recommend to use a normal raspberry Pi as a local backup station. I personally have a Linux PC where I installed a registry onto.

Regards
Armin