MMDVM Hotspot not Internet Connection

Help setting up WiFi
AF6VN
Posts: 467
Joined: Fri Jul 20, 2018 1:15 am

Re: MMDVM Hotspot not Internet Connection

Post by AF6VN » Fri Apr 03, 2020 3:21 pm

Right now there are too many variables in play:

2 SD Cards (which may have different physical behavior)
2 Pi-Star software loads (which may or may not be identical)
2 Connection methods (WiFi at "Home", Ethernet cable at "Caravan")
2 Routers ("Home" and "Caravan")
2 Internet connections ("Home" router is direct, I presume; "Caravan" router is a WiFi extender connecting to some OTHER Router over WiFi)

That's a total of 32 combinations.

To minimize points of failure...

Take the unit to "Home" (use that SD card), but connect it to the "Home" router using an ethernet cable, and power it up.

Open a SSH session to it and enter:

Code: Select all

ifconfig eth0
Record the IP # assigned to that connection, it might be needed later

Code: Select all

sudo ifconfig wlan0 down
sudo ifconfig wlan0_ap down
If you lose the SSH session doing those, it means you were connected over WiFi. Open a new session using the IP # from the first step and continue from where the session was lost.

After doing the above -- the ONLY network connection should be the ethernet cable.

Code: Select all

sudo ping 8.8.8.8
Verify that ping finds the Google nameserver.

Open the Pi-Star dashboard and verify that the status boxes for whichever digital modes (D-STAR, DMR, one of the others?) you are using are green.
Test the connection using your radio.

IF (and only if) the above configuration (ethernet cable, no WiFi, home router) is working can you then go on to the next phase.

Shutdown the Pi-Star unit, and take it (including ethernet cable and working SD card) back to "Caravan". Repeat the above sequence (connect to router via ethernet, power up, SSH, ifconfig eth0, ifconfig wlan0* down).

The Pi-Star should now be in an identical state as it was at "Home". The only difference is likely the IP # that was issued.

If ping fails, or the dashboard does NOT show green for your digital modes, then the fault is NOT in the Pi-Star unit itself -- it is either your "Caravan" router/WiFi extender OR whatever WiFi router the extender is connecting to. The most likely fault point will be that the end WiFi router is blocking the ports needed http://wiki.pistar.uk/Ports_to_forward_ ... NP_network

Only when you get the cable connection to work in both locations can you worry about configuring WiFi connections for both routers (I'd probably make "Caravan" the priority with "Home" the fallback when it can't find "Caravan").

--
AF6VN
Dennis L Bieber

DH5SDL
Posts: 13
Joined: Mon Feb 10, 2020 8:50 pm

Re: MMDVM Hotspot not Internet Connection

Post by DH5SDL » Fri Apr 03, 2020 6:25 pm

Now i test the hotspot with one Config,so i put the working Home to the caravan.
Here the result

Thats the Config Home with ethernet cable (it works)

ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:e0:4d:3a:a6:89
inet addr:192.168.2.26 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3309 errors:0 dropped:449 overruns:0 frame:0
TX packets:1721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2030744 (1.9 MiB) TX bytes:608984 (594.7 KiB)

sudo ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=17.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=16.3 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=16.3 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=57 time=16.6 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=57 time=16.2 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=57 time=16.4 ms
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6007ms
rtt min/avg/max/mdev = 16.254/16.551/17.007/0.264 ms


Thats the config in the caravan with ethernet cable

ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:e0:4d:3a:a6:89
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3309 errors:0 dropped:3 overruns:0 frame:0
TX packets:1721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:215251 (210.2KiB) TX bytes:678222 (662.3 KiB)

sudo ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=20.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=18.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=21.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=56 time=18.9 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=56 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=56 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=56 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=56 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=56 time=19.0 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=56 time=19.2 ms
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9009ms
rtt min/avg/max/mdev = 18.519/19.234/21.651/0.907 ms


The Dashboard shows green ....the same green like Home connected via ethernet cable
All looks good but no link via Dashboard or Transceiver
Attachments
Pi-star.png
Pi-star.png (106.99 KiB) Viewed 979 times

KE7FNS
Posts: 948
Joined: Wed Apr 17, 2019 11:11 pm

Re: MMDVM Hotspot not Internet Connection

Post by KE7FNS » Fri Apr 03, 2020 6:49 pm

DH5SDL wrote:
Fri Apr 03, 2020 6:25 pm
All looks good but no link via Dashboard or Transceiver
Is your other hotspot powered on and connected at the same time this one is connected?


I would reimage and start over from scratch on the hotspot that doesn't work. You probably have a setting configured incorrectly somewhere. (I would NOT restore it from a backup, if it is an incorrect setting you'll just end up exactly where you began).

You could check and compare the settings one by one but I think it would take less time to just start over. I could redo a hotspot in less than 10 minutes and that includes writing the SD card.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

DH5SDL
Posts: 13
Joined: Mon Feb 10, 2020 8:50 pm

Re: MMDVM Hotspot not Internet Connection

Post by DH5SDL » Fri Apr 03, 2020 6:59 pm

I only have one hotspot that works perfectly at home via LAN and WiFi.
Nothing works only in the caravan.
Wifi and Lan ... neither is possible.
I have access to the dashboard but somehow the internet connection is missing

KE7FNS
Posts: 948
Joined: Wed Apr 17, 2019 11:11 pm

Re: MMDVM Hotspot not Internet Connection

Post by KE7FNS » Fri Apr 03, 2020 7:58 pm

DH5SDL wrote:
Fri Apr 03, 2020 6:59 pm
Nothing works only in the caravan.
Wifi and Lan ... neither is possible.
I have access to the dashboard but somehow the internet connection is missing
But that isn't true.

You posted ping responses from that hotspot in your previous post. Those worked with NO packet failures, so you do have access to the internet or those would of failed. You could confirm that by installing a web browser such as lynx or doing a simple task such as "sudo pistar-update" from the command line.

What you need to do is take that specific hotspot and SD card and connect it to your home network and see if it works, then if it does work that would at least isolate the issue to the device providing the internet services. If it doesn't then you know the hotspot is configured incorrectly.

It is possible that the whoever the provider is that provides internet services on the device you use in your caravan could be blocking ports except for the normal ones used in web browser traffic. If that is the case then it will never work no matter what you fiddle with. Perhaps you should contact their tech support and ask if they block any traffic at all.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

AF6VN
Posts: 467
Joined: Fri Jul 20, 2018 1:15 am

Re: MMDVM Hotspot not Internet Connection

Post by AF6VN » Fri Apr 03, 2020 8:21 pm

DH5SDL wrote:
Fri Apr 03, 2020 6:25 pm
The Dashboard shows green ....the same green like Home connected via ethernet cable
All looks good but no link via Dashboard or Transceiver
The conclusion I make from that is

There is nothing wrong with this SD card nor with the Pi-Star hardware.

The problem is downstream from that -- eg: either your "caravan" router/extender is blocking traffic on needed ports, OR whatever router that talks to is blocking that traffic.

Make sure your "caravan" router forwards the ports shown {Note: some Google hits seem to imply this is only needed for particular reflector types viewtopic.php?t=1063&start=10#p5821 }
https://www.k6jm.com/portforwarding.htm
https://github.com/dl5di/OpenDV/wiki/Fi ... Forwarding
(note: Pi-Star somehow negotiates those with uPnP capable routers, as I recall, which is likely why "Home" is working; it may also be negotiating with the "Caravan" router/extender in which case the problem is whatever WiFi router it connects to -- you'll have to be able to configure THAT node manually as I doubt the extender relays uPnP information [or the end WiFi does not honor uPnP])

--
AF6VN
Dennis L Bieber

DH5SDL
Posts: 13
Joined: Mon Feb 10, 2020 8:50 pm

Re: MMDVM Hotspot not Internet Connection

Post by DH5SDL » Fri Apr 03, 2020 8:31 pm

Ok but i can't to link any reflector.
Not with dtmf from die Transceiver and not with the Button on the Dashboard.

KE7FNS
Posts: 948
Joined: Wed Apr 17, 2019 11:11 pm

Re: MMDVM Hotspot not Internet Connection

Post by KE7FNS » Fri Apr 03, 2020 10:14 pm

DH5SDL wrote:
Fri Apr 03, 2020 8:31 pm
Ok but i can't to link any reflector.
Not with dtmf from die Transceiver and not with the Button on the Dashboard.
Do you understand that it is possible the ports that are needed are being blocked by your Internet Service Provider?

That is why I suggested to test the hotspot on a network that you know for sure works correctly. That way you can find out if it doesn't work on a known working network, or it does work.

You also need to provide more information and details of the tests you are performing, your responses are just too confusing and vague to provide you with any useful help. I'm reaching my limit of patience.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

AF6VN
Posts: 467
Joined: Fri Jul 20, 2018 1:15 am

Re: MMDVM Hotspot not Internet Connection

Post by AF6VN » Sat Apr 04, 2020 1:30 am

KE7FNS wrote:
Fri Apr 03, 2020 10:14 pm
DH5SDL wrote:
Fri Apr 03, 2020 8:31 pm
Ok but i can't to link any reflector.
Not with dtmf from die Transceiver and not with the Button on the Dashboard.
Do you understand that it is possible the ports that are needed are being blocked by your Internet Service Provider?

That is why I suggested to test the hotspot on a network that you know for sure works correctly. That way you can find out if it doesn't work on a known working network, or it does work.
Unless I misread something, the OP stated that going through his "Home" router functions correctly. It is the mobile ("Caravan") using a WiFi extender/repeater/router which is failing. That connection is

radio <-> MMDVM Hat <-> R-Pi <-1> extender/router <-2> some other WiFi node <-> Internet

{Together these are "Pi-Star", -1 is Ethernet cable in this testing, -2 is a WiFi link}

My suspicion is that the OP doesn't have access to the end WiFi router (it is perhaps some public WiFi system) and that it is that WiFi node which is firewalling the ports needed by Pi-Star.


As for the OP -- I've never used DTMF codes for reflector selection and have minimal knowledge of how it works (I just Googled and found a short guide, but my TH-D74 "reflector" menu seems much faster than those cryptic DTMF instructions). However, if you fail to get a reflector link using the dashboard buttons the problem, AGAIN, would be in the router(s) you are going through, and NOT Pi-Star software.

--
AF6VN
Dennis L Bieber

KE7FNS
Posts: 948
Joined: Wed Apr 17, 2019 11:11 pm

Re: MMDVM Hotspot not Internet Connection

Post by KE7FNS » Sat Apr 04, 2020 3:53 am

AF6VN wrote:
Sat Apr 04, 2020 1:30 am
Unless I misread something, the OP stated that going through his "Home" router functions correctly. It is the mobile ("Caravan") using a WiFi extender/repeater/router which is failing.
I can't make heads or tails out of what he is doing, it is just all over the place. Maybe its because of the language barrier. He repeatedly says "Nothing works only in the caravan." but yet he shows it pinging a google DNS server on the outside network perfectly fine.
AF6VN wrote:
Sat Apr 04, 2020 1:30 am
My suspicion is that the OP doesn't have access to the end WiFi router (it is perhaps some public WiFi system) and that it is that WiFi node which is firewalling the ports needed by Pi-Star.
That could be possible but I don't think he understands.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

Post Reply