• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wi-fi in Access Point mode
#7
(May-31st-2022, 03:21 PM)Armin@netPI Wrote: Well Steph,

I don't know if it is possible with netPI since it does not support port forwarding. But as I said before I am no networking expert.

I analysed your PDF. Supposing you connect you Wifi tablet to the netPI Wifi access point ...  then it would get an IP address in the range from 17.100.4.80 to 89. 

In the most simpliest case it would get the first ip address 17.100.8.80 through netPI's Wifi DHCP server, right? Also your Wifi tablet should automatically receive a gateway address through the same netPI Wifi DHCP server. Which one is it? Is it 17.100.8.16 which is the Wifi IP address of netPI? The gateway address in your tablet is the first most relevant value to know to let the routing table in your tablet know where to send a ping to e.g. 192.168.1.100 to. Cause any IP address that is not in any known subnet will be sent to the default gateway which must be the netPI IP address. Else not even the ping ethernet frame is leaving your tablet at all.

Thx
Armin

Dear Armin,

everything works now as I want it to work.

You reminded me to eliminate my standard gateway of my other ethernet interface on my PC (off course not necessary on my tablet, because it does not has a standard gateway).
In adddition, it seems that the netPI deactivates eth0 if nothing is connected to it so I could not reach it, before I connected it to a network.
And in my PLC (an S7-1516) I had also to configure to use a router for the interface and the router address has to be the address of eth0 of the netPI. 

After connecting to the WLAN of the netPI I can now ping wlan0 and eth0 of the netPI as well as the ethernet interface of my PLC.

So now I can reach the OPC UA-Server on the PLC out of nod-red on the netPI as well as out of an OPC UA Client on my tablet. I can reach node-red from the netPI and the dasboards from my browser in the tablet. I can also reach the webserver of my PLC out of a browser on the tablet. Additionally, which was not needed, I can reach all from my PC.
It sounds a bit redundant but this is for didactic reasons.

Thanks a lot
  Stephan
  Reply


Messages In This Thread
Wi-fi in Access Point mode - by Renato75 - January-25th-2021, 10:42 AM
RE: Wi-fi in Access Point mode - by Armin@netPI - January-25th-2021, 11:10 AM
RE: Wi-fi in Access Point mode - by Renato75 - January-25th-2021, 12:31 PM
RE: Wi-fi in Access Point mode - by Steph - May-31st-2022, 02:44 PM
RE: Wi-fi in Access Point mode - by Armin@netPI - January-26th-2021, 01:33 PM
RE: Wi-fi in Access Point mode - by Armin@netPI - May-31st-2022, 03:21 PM
RE: Wi-fi in Access Point mode - by Steph - June-3rd-2022, 12:30 PM
RE: Wi-fi in Access Point mode - by Armin@netPI - June-3rd-2022, 12:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NetPI wifi access to WPA2-Enterprise MikeP 4 4,452 September-3rd-2021, 02:56 PM
Last Post: MikeP
  netPI RTE 3: access from several comm. masters tad 3 4,182 June-3rd-2021, 12:03 PM
Last Post: Armin@netPI
  Access to RTC from my own container application tad 1 3,635 March-19th-2021, 02:58 PM
Last Post: Armin@netPI
  Bluetooth Access MGharat 10 8,949 February-25th-2020, 12:58 PM
Last Post: DSongra
Wink How to access Root Directory Rajesh3128 8 5,427 October-16th-2019, 11:19 AM
Last Post: Armin@netPI
  netPI access for remote PLC confign MGharat 3 5,046 October-15th-2019, 09:12 AM
Last Post: Armin@netPI
  How to access netPI? firefly 6 6,365 May-16th-2019, 02:31 AM
Last Post: firefly
  Wi-Fi access problem MGharat 3 5,129 March-12th-2019, 09:27 AM
Last Post: Armin@netPI
  access to netPI MGharat 2 4,229 March-7th-2019, 07:16 AM
Last Post: Armin@netPI
  [SOLVED] Access problems Azzamjj 8 7,338 January-25th-2019, 07:43 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)