This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot connect VNC over AP while I can over ethernet.
#1
Just installed the latest Starting image of Openplotter V3 on RPi 4b 4GB.

All was working fine and I was connecting via ethernet with VNC. Then I set AP in Openplotter-network and I can see it on my tablet.
I cannot however connect via VNC from the tablet. It is timing out.

I was able to do it previously when trying a headless version of the Openplotter image. What I am missing?

Regards,
Reply
#2
When you're trying to connect, what is the IP address of the tablet? Can you ping it from the Pi?
Reply
#3
IP address of the AP is 10.10.10.1, tablet got dhcp assigned IP of 10.10.10.144. I cannot however neither ping nor detect any open port on the Pi.
Reply
#4
When you say you can't ping what message do you see?

If you run the route command on the pi what do you see?

Do you have another device, phone perhaps, that you can connect to the AP and see if that can be pinged from the PI?
Reply
#5
(2023-08-24, 03:48 PM)Pikor Wrote: IP address of the AP is 10.10.10.1, tablet got dhcp assigned IP of 10.10.10.144. I cannot however neither ping nor detect any open port on the Pi.

so you can't even get into signalk on 10.10.10.1:3000 in a web browser on the tablet when it is connected to the openplotter network on the Pi?

I had issues with VNC recently, if you can ssh into the pi you coukd try this >
https://forum.openmarine.net/showthread....9#pid26919

sudo vncserver-x11 -service -generatekeys force
Reply
#6
I think the problem may be with routing. The AP in the Network app has a pre-programmed network of 10.10.10.0/24. This is a very unfortunate choice. Many people, including me, are making the same choice for their home networks. So now with AP on-board and sharing the internet through a dongle, it looks like this:
SDR AIS output (client)
UDP openplotter.local:10110
UDP 10.10.10.1:10110
UDP 10.10.10.188:10110
VNC Remote Desktop (server)
TCP openplotter.local:5900
TCP 10.10.10.1:5900
TCP 10.10.10.188:5900
Signal K - Admin (server)
TCP openplotter.local:3000
TCP 10.10.10.1:3000
TCP 10.10.10.188:3000
Signal K - NMEA 0183 output (server)
TCP openplotter.local:10110
TCP 10.10.10.1:10110
TCP 10.10.10.188:10110
Signal K connection (server)
UDP openplotter.local:10110
UDP 10.10.10.1:10110
UDP 10.10.10.188:10110

I can connect to any service on .188 address or openplotter.local (through my home network and USB dongle), but I cannot on the .1 address (AP from on-board).

I tried to change the settings in dhcpcd.conf, but when I do that I can no longer obtain IP from Pi and any change in Network app overwrites settings with 10.10.10.1 again.

How to change AP network settings?

Thanks.

(2023-09-03, 10:29 AM)Pikor Wrote: I think the problem may be with routing. The AP in the Network app has a pre-programmed network of 10.10.10.0/24. This is a very unfortunate choice. Many people, including me, are making the same choice for their home networks. So now with AP on-board and sharing the internet through a dongle, it looks like this:
SDR AIS output (client)
UDP openplotter.local:10110
UDP 10.10.10.1:10110
UDP 10.10.10.188:10110
VNC Remote Desktop (server)
TCP openplotter.local:5900
TCP 10.10.10.1:5900
TCP 10.10.10.188:5900
Signal K - Admin (server)
TCP openplotter.local:3000
TCP 10.10.10.1:3000
TCP 10.10.10.188:3000
Signal K - NMEA 0183 output (server)
TCP openplotter.local:10110
TCP 10.10.10.1:10110
TCP 10.10.10.188:10110
Signal K connection (server)
UDP openplotter.local:10110
UDP 10.10.10.1:10110
UDP 10.10.10.188:10110

I can connect to any service on .188 address or openplotter.local (through my home network and USB dongle), but I cannot on the .1 address (AP from on-board).

I tried to change the settings in dhcpcd.conf, but when I do that I can no longer obtain IP from Pi and any change in Network app overwrites settings with 10.10.10.1 again.

How to change AP network settings?

Thanks.

I want to add that I can reach AP IP 10.10.10.1 through my home network and USB dongle, but I cannot if I connect a client to the AP network directly.
Reply
#7
I can change the address of my AP and the range of addresses it gives out but as you say, a change to the network page just resets it.
Reply
#8
I think it is in /home/<user>/.openplotter/Network .
Reply
#9
(2023-09-04, 04:53 PM)Pikor Wrote: I think it is in /home/<user>/.openplotter/Network .

What is?

(2023-09-03, 10:29 AM)Pikor Wrote: [quote pid="27199" dateline="1693733393"]

I tried to change the settings in dhcpcd.conf, but when I do that I can no longer obtain IP from PiĀ 

[/quote]

That's because you haven't changed the address range the DHCP server gives out to match the new IP address of the AP.
Reply
#10
Now I did but it still overwrites after reboot.
However, I managed to get it working. Openplotter scripts have hardcoded paths to 'pi' user home directory. I do not honestly remember when was the last time I didn't change the user name when flashing OS to SD card. Probably back when it wasn't possible in Imager.
Anyway, went through a bunch of those scripts and edited them. Success!?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)