pi-star and ipv6

General support for the Pi-Star System
F1GYG
Posts: 9
Joined: Wed Jun 21, 2023 11:07 am

pi-star and ipv6

Post by F1GYG »

Hello Everybody

I know that this topic has been covered but quite a long time ago.
I have just downloaded the latest available pi-star image (Pi-Star_RPi_V4.1.5_30-Oct-2021) ,It is quite old
but I have updated the software up to the latest revision today.
It appears that ipv6 is not supported by default (no ipv6 allocated to the interface of my raspberry pi 4 b ) and of course no way
to make any connexion to any ipv6 device.
Unfortiunately when trying to change the configuration in the /etc/sysctl.conf file , I discovered that it was not modifiable (no way) .
Il addition the file /etc/hosts is not writable as well ??
Why do we have such limitations ? .
Note: the raspberry pi 4 b (the one I tested) works perfectly under ipv6 and 4 of course.

Hope tou have a solution to overcome these unwanted limitations.

Best regards
PATRICK F1GYG
M1DNS
Pi-Star Team
Posts: 1471
Joined: Thu Apr 05, 2018 5:30 am

Re: pi-star and ipv6

Post by M1DNS »

In normal operation pistar runs read only.

Using rpi-rw command gets you read write permissions.

Sent via smoke signals using my SM-G935F

Andrew M1DNS.
Pi-star Admin Team.
F1GYG
Posts: 9
Joined: Wed Jun 21, 2023 11:07 am

Re: pi-star and ipv6

Post by F1GYG »

OK M1DNS,
Tnx for answering :
<In normal operation pistar runs read only.>
Yes I know,, of course I ussed "rpi-rw" to change this ...
But .....
In order to modify the behaviour with no ipv6 I have to modify the file : /etc/sysctl.conf
Even with the rw mode activated you get the warning :

[ File 'sysctl.conf' is unwritable ] ???

Same thing with the hosts file (/etc/hosts) ,

This is new ? Why ??
Best regards
KN2TOD
Posts: 335
Joined: Sun Nov 11, 2018 6:36 pm

Re: pi-star and ipv6

Post by KN2TOD »

Have you tried using "sudo" before your editting commands? e.g. "sudo nano /etc/sysctl.conf".
F1GYG
Posts: 9
Joined: Wed Jun 21, 2023 11:07 am

Re: pi-star and ipv6

Post by F1GYG »

HI
Good and bad news.
You (KN2TOD) got it I forgot to use sudo ....
Bad news after having done the modification in sysctl.conf
and pursuing more investigation I got the message after having passed the following command :

pi-star: sudo dmesg | grep -i ipv6
Answer : [ 2.749096] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.

Aren't we in year 2023 ? His this possible ??

Best regards
G4FDL
Posts: 44
Joined: Wed Apr 11, 2018 12:10 pm

Re: pi-star and ipv6

Post by G4FDL »

Aren't we in year 2023 ? His this possible ??
There is nothing to stop you building your own kernel with ipv6 support, there is no need to be so rude.
F1GYG
Posts: 9
Joined: Wed Jun 21, 2023 11:07 am

Re: pi-star and ipv6

Post by F1GYG »

Hello,
code]There is nothing to stop you building your own kernel with ipv6 support, there is no need to be so rude.[/code]
I know , but I do not want to build absolutely my own kernel , I am just worring about the lack of ipv6 support ?
This shoud be included (today) even on an optional basis , at least for encouraging tests and discovery of a new
way of doing packets routings ( ... since years 2000 !!!) ... so it is not that new it is a standard now ! ipv4 is getting old dont
you think ?
Best regards
KN2TOD
Posts: 335
Joined: Sun Nov 11, 2018 6:36 pm

Re: pi-star and ipv6

Post by KN2TOD »

Buster does support IPV6. The message "does not support IPV6" could mean that your ISP does not support it. I'd confirm that first, then dig deeper into your system: I suspect you're missing something in your configs. Search the logs for messages related to IPV6, DHCDCP, SYSCTL, etc. and see if there any clues to what may be amiss here.
F1GYG
Posts: 9
Joined: Wed Jun 21, 2023 11:07 am

Re: pi-star and ipv6

Post by F1GYG »

Hello KN2TOD,
Good morning (local time !!)
You wrote : <Buster does support IPV6>
Yes it does ! "bull'seye" too , this is wy I am surprised , it has not been compiled with ipv6 module.
If you try the following command on pi-star shell (r-w mode) :

sudo dmesg | grep -i ipv6
Answer : [ 2.749096] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.

on an other raspberry pi 4 I get :
sudo dmesg | grep -i ipv6
Answer: [ 3.566956] Segment Routing with IPv6
[ 15.595417] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 65.157063] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
Of course the other Raspberry is working in the same local network and my ISP supports ipv6 since 7 years at least !!
iT provides an ipv6 block of addresses (/64) I use this for various communication between my laptop and all the computers at home using the ipv6 addresses allocated by the ISP servers (dhcp6 process), this is more easy to use, rather than the NAT/PAT configurations to be used is you stay in ipv4 situation.

So , adding ipv6 module to the kernel for pi-star distribution (Buster ... Bulls'eye etc ..) should not be a big deal, and would be very useful for various uses and applications ... and also for the promotion of ipv6 routing , it is far too slow today !! ..
Best regards
User avatar
G8SEZ
Posts: 598
Joined: Fri Apr 13, 2018 8:26 pm

Re: pi-star and ipv6

Post by G8SEZ »

viewtopic.php?t=4061

If you want things, you need to be prepared to help create them.
--

Brian G8SEZ
Post Reply