Using ipv6 and Pi-Star 4.0.0.RC4?

All IP networking related issues
KA2Y
Posts: 34
Joined: Fri Apr 13, 2018 12:24 pm

Using ipv6 and Pi-Star 4.0.0.RC4?

Post by KA2Y »

How can I accommodate ipv6 addressing on Pi-Star? My Router and ISP are configured for ipv4 and ipv6.
K0TI
Posts: 17
Joined: Mon Jan 21, 2019 6:36 am

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by K0TI »

It should just work. Have you checked with ifconfig to see if it has a ipv6 address ?

Code: Select all

pi-star@pi-star-rptr(ro):~$ ifconfig

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.42  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 2601:446:600:10:63db:1207:5f41:c5c2  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::843f:e78c:9b78:787  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:19:aa:52  txqueuelen 1000  (Ethernet)
        RX packets 350266  bytes 58315021 (55.6 MiB)
        RX errors 0  dropped 20  overruns 0  frame 0
        TX packets 257027  bytes 120828087 (115.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        
pi-star@pi-star-rptr(ro):~$ sudo ping www.google.com
PING www.google.com(ord38s18-in-x04.1e100.net (2607:f8b0:4009:804::2004)) 56 data bytes
64 bytes from ord38s18-in-x04.1e100.net (2607:f8b0:4009:804::2004): icmp_seq=1 ttl=54 time=21.4 ms
64 bytes from ord38s18-in-x04.1e100.net (2607:f8b0:4009:804::2004): icmp_seq=2 ttl=54 time=26.4 ms
64 bytes from ord38s18-in-x04.1e100.net (2607:f8b0:4009:804::2004): icmp_seq=3 ttl=54 time=25.0 ms

Dan K0TI
K0TI
Posts: 17
Joined: Mon Jan 21, 2019 6:36 am

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by K0TI »

Ok, perhaps. Mine has both address's and uses IPV6 (at least some times).
Maybe its not getting any IPv6 address's in response to DNS queries. So maybe it's more of a DNS issue

I not an expert at all IPv6. Just making observations.
Dan K0TI
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by AF6VN »

KE7FNS wrote: Wed Jun 12, 2019 2:55 am I dunno either, I've not messed with any of that. On mine my router is setup for IPv6 passthrough, and my Pi's have both IPv4 and IPv6 addresses, but it doesn't ever seen to use IPv6 when I ping addresses or anything. From what I can see most of the information out there with Pi's and IPv6 is how to disable it not enable it. lol.
Did you try the option to /ping/ telling it to use IPV6 only?

--
AF6VN
Dennis L Bieber
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by AF6VN »

Is that for LAN and WAN or only WAN targets? Does traceroute/tracert get anywhere before failing?

If you can ping LAN targets with IPV6 mode, but not WAN targets, then something in your router or ISP is blocking IPV6.

Interesting... my Pi-Star system -- 3.4.17 -- has separate ping and ping6 commands, AND does not have an IPV6 address on any interface (including loopback), and no address on eth0 since the box is only using WiFi.

My web-server (running Debian Stretch) does have IPV6 addresses, and uses "ping -6" option. IT can reach my desktop machine.

Code: Select all

md_admin@microdiversity:~$ ping -6 ElusiveUnicorn
PING ElusiveUnicorn(ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42)) 56 data bytes
64 bytes from ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42): icmp_seq=1 ttl=64 time=1.31 ms
64 bytes from ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42): icmp_seq=2 ttl=64 time=0.617 ms
64 bytes from ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42): icmp_seq=3 ttl=64 time=0.516 ms
64 bytes from ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42): icmp_seq=4 ttl=64 time=0.611 ms
64 bytes from ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42): icmp_seq=5 ttl=64 time=0.541 ms
64 bytes from ElusiveUnicorn.attlocal.net (2600:1700:e630:890::42): icmp_seq=6 ttl=64 time=0.554 ms
^C
--- ElusiveUnicorn ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 0.516/0.692/1.318/0.283 ms
md_admin@microdiversity:~$
No surprise that it can't reach the pi-star using IPV6 given mine doesn't have IPV6 addresses

Code: Select all

md_admin@microdiversity:~$ ping -6 pi-star-3b
ping: pi-star-3b: Name or service not known

md_admin@microdiversity:~$ ping -4 pi-star-3b
PING pi-star-3b.attlocal.net (192.168.1.79) 56(84) bytes of data.
64 bytes from pi-star-3b.attlocal.net (192.168.1.79): icmp_seq=1 ttl=64 time=6.07 ms
64 bytes from pi-star-3b.attlocal.net (192.168.1.79): icmp_seq=2 ttl=64 time=4.35 ms
64 bytes from pi-star-3b.attlocal.net (192.168.1.79): icmp_seq=3 ttl=64 time=2.69 ms
^C
--- pi-star-3b.attlocal.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.699/4.375/6.075/1.379 ms
md_admin@microdiversity:~$
Interestingly -- my desktop can not ping the server machine on IPV6, and gets time outs on IPV4. Suspect that's firewall -- the server is pretty much locked down to just HTTP (port 80) and SSH

--
AF6VN
Dennis L Bieber
User avatar
w7efs
Posts: 335
Joined: Sun Apr 22, 2018 4:26 pm

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by w7efs »

AF6VN wrote: Thu Jun 13, 2019 5:43 pm ...
No surprise that it can't reach the pi-star using IPV6 given mine doesn't have IPV6 addresses
...
Pi-Star v3.x has ipv6 disabled by default, v4.x has ipv6 enabled. If you want ipv6 on your v3.x then it's easy to enable it in the last line of /etc/sysctl.conf, just change the one "1" to a zero "0":

Code: Select all

...
# Turn off IPv6
#net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 0
G0TOV
Posts: 3
Joined: Fri Feb 01, 2019 4:28 pm

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by G0TOV »

Hello, I apologise in advance if my question is in the wrong place.

I have upgraded and setup V4 RC4 and although DStar works perfectly, when I look at the live log files for DMR it consistently reports "Login to Master has failed - retrying DMR Network" and never connects - if I put the card back in that has V3.4.17 everything works perfectly. I am "assuming" (probably wrongly) that it has something to do with IPV6 which Vodafone, My home broadband ISP, does not yet support. The router (Billion 8800NL R2) does support it but not much use if the ISP doesn't. Is this my problem please or am I looking at completely the wrong place - any help or advice would be appreciated.

Thank you
Mark.
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by KE0FHS »

I don't know the direct answer to your question, but have you tried using a different DMR Master? Also, if you're using BrandMeister, another thing that might help is to set up a Hotspot Security password. There are instructions for that on the Pi-Star Wiki: http://wiki.pistar.uk/Pi-Star_Brandmeis ... t_Security
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
G0TOV
Posts: 3
Joined: Fri Feb 01, 2019 4:28 pm

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by G0TOV »

Hello and thank you both very much. As soon as I am back at home I will read the article you sent Toshen and try the security. I haven't changed any settings other than those which you need to configure when the image is first created. I shall report back, thank you. as i say, 3.4.17 works perfect. V4 RC4 runs much warmer than V3 I notice.

Regards,
Mark.
G0TOV
Posts: 3
Joined: Fri Feb 01, 2019 4:28 pm

Re: Using ipv6 and Pi-Star 4.0.0.RC4?

Post by G0TOV »

Hello again, just a quick update to say that appears to have done the trick and changing the security V4 connected first time - thank you so much for your help, advice & assistance.

I note V4 runs at a little over 50 degrees and is orange in colour as opposed to around 45 degrees and green in V3.4.17 so I shall keep an eye on that. No doubt the software will receive an update if it is an issue from it's developer in time.

Regards,
Mark.
Locked