OpenMarine
internet issues - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: internet issues (/showthread.php?tid=5321)



internet issues - Bickes - 2024-04-09

Hi, I am having problems to get internet on the openplotter-pi 
Setup:
RPI4
Openplotter 3
McArthurHat
Connected to a mobile router with lancable
Accesspoint running in OP

It was all working fine and I cannot remember having changed something, before I switched off OP for three weeks.
Now: 
I can access the pi by VNC and browser (signalk, nodered) locally
I can connect to the AP with other devices

From my Android phone I can open local webpages (KIP, SignalK...) and "external" Google pages, but no others.
From Chrome on the Pi I cannot even access Google.

When running the test in network, the test stops after some lines, (see picture)

Looks for me like an DNS issue(?).
Any ideas?


RE: internet issues - sebba - 2024-04-10

run ifconfig in terminal and paste the output


RE: internet issues - Bickes - 2024-04-10

Hi, here is the response from ifconfig:
Code:
$ ifconfig
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.10.10.1  netmask 255.255.255.0  broadcast 10.10.10.255
        inet6 fe80::e65f:1ff:fe06:255d  prefixlen 64  scopeid 0x20<link>
        inet6 2a0a:a547:5c38:0:e65f:1ff:fe06:255d  prefixlen 64  scopeid 0x0<global>
        ether e4:5f:01:06:25:5d  txqueuelen 1000  (Ethernet)
        RX packets 4403  bytes 340828 (332.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2456  bytes 1828276 (1.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

can0: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10000  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 57 

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether e4:5f:01:06:25:5d  txqueuelen 1000  (Ethernet)
        RX packets 3879  bytes 1714258 (1.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2390  bytes 387361 (378.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 17055  bytes 1645244 (1.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17055  bytes 1645244 (1.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::e65f:1ff:fe06:255e  prefixlen 64  scopeid 0x20<link>
        ether e4:5f:01:06:25:5e  txqueuelen 1000  (Ethernet)
        RX packets 4051  bytes 465648 (454.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6587  bytes 3513209 (3.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Just in case, that it helps: Here is what route brings:
Code:
route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         seeu.local      0.0.0.0         UG    510    0        0 br0
10.10.10.0      0.0.0.0         255.255.255.0   U     510    0        0 br0



RE: internet issues - sebba - 2024-04-10

your setup is like this?

mobile router ----> ethernet cable ---->RPi_eth and AP on Rpi----->wifi----->mobile_phone?

it seems your "Add ethernet port to AP" checked.
I am not sure about this but try to uncheck it.
you need an output interface with IP provided by the mobile router (if DHCP)


RE: internet issues - Bickes - 2024-04-11

(2024-04-10, 09:59 AM)sebba Wrote: your setup is like this?
mobile router ----> ethernet cable ---->RPi_eth and AP on Rpi----->wifi----->mobile_phone?
Yes, right, that´s the setup!

By lucky chance I found a screenshot of the configration, as it must have been before.
I had to uncheck: "Ad Ethernet port to the AP" and
check: "Share internet"
Now it works again! Thanks.