Discussion:
IPv6 support for the installer source media
Add Reply
Marco Moock
2024-11-29 15:47:12 UTC
Reply
Permalink
Hello!

During the install process, Slackware supports IPv6, I can use it
properly in the other virtual consoles.

Although, the installation process itself that offers to pull the
packets from ftp/http doesn't support it. If the system has only IPv6
connectivity (and NAT64/DNS64), the install process won't contact the
servers by IPv6 (verified by packet capture).

Is there a way to enable that or is that currently simply not supported?
--
kind regards
Marco
noel
2024-12-01 02:34:38 UTC
Reply
Permalink
Post by Marco Moock
Hello!
During the install process, Slackware supports IPv6, I can use it
properly in the other virtual consoles.
Although, the installation process itself that offers to pull the
packets from ftp/http doesn't support it. If the system has only IPv6
connectivity (and NAT64/DNS64), the install process won't contact the
servers by IPv6 (verified by packet capture).
Is there a way to enable that or is that currently simply not supported?
You don't tell us what server you are sourcing from, but for DE both
ftp.hrz.tu-chemnitz.de & ftp.gwdg.de support ipv6
Marco Moock
2024-12-01 09:23:51 UTC
Reply
Permalink
Post by noel
You don't tell us what server you are sourcing from, but for DE both
ftp.hrz.tu-chemnitz.de & ftp.gwdg.de support ipv6
I tried mirror.datacenter.by, which supports IPv6. I can use it via
IPv6 on the installed system (slackpkg call wget there, IIRC.

Although, even if it doesn't support IPv6, there is NAT64/DNS64, so the
system could connect to it via the NAT64 router. This works because I
can properly ping it on the virtual console.

The issue is that the install process doesn't even try to use IPv6,
even when available.
--
kind regards
Marco

Send spam to ***@stinkedores.dorfdsl.de
noel
2024-12-01 12:06:31 UTC
Reply
Permalink
Post by noel
You don't tell us what server you are sourcing from, but for DE both
ftp.hrz.tu-chemnitz.de & ftp.gwdg.de support ipv6
I tried mirror.datacenter.by, which supports IPv6. I can use it via IPv6
on the installed system (slackpkg call wget there, IIRC.
Although, even if it doesn't support IPv6, there is NAT64/DNS64, so the
system could connect to it via the NAT64 router. This works because I
can properly ping it on the virtual console.
The issue is that the install process doesn't even try to use IPv6, even
when available.
I must be losing something in the translation, are you saying
slackpkg install foo and slackpkg upgrade-all do not use ipv6 even
when available on that machine? if so, have you changed up gai.conf to
prefer ipv4? what does https://zonecheck.org say from that machine
(that main page works with lynx and links from console so no gui is
neccessary it will report what it sees you as), if I assumed wrong,
explain your processes, I know you say you are on -current, do you have a
15.0 to test as well?
Marco Moock
2024-12-01 14:30:48 UTC
Reply
Permalink
Post by noel
I must be losing something in the translation, are you saying
slackpkg install foo and slackpkg upgrade-all do not use ipv6
even when available on that machine? if so, have you changed up
gai.conf to prefer ipv4? what
does https://zonecheck.org say from that machine (that main page works with lynx and links from console so no gui is
neccessary it will report what it sees you as), if I assumed wrong,
explain your processes, I know you say you are on -current, do you
have a 15.0 to test as well?
I talk about the installer during the system's setup when installing it
on the disk.

When installing the OS, I can select the source for the packets. This
can be a CD/DVD or networked sources.
--
kind regards
Marco

Send spam to ***@stinkedores.dorfdsl.de
noel
2024-12-02 00:55:31 UTC
Reply
Permalink
Post by Marco Moock
I must be losing something in the translation, are you saying slackpkg
install foo and slackpkg upgrade-all do not use ipv6 even when
available on that machine? if so, have you changed up gai.conf to
prefer ipv4? what does https://zonecheck.org say from that machine
(that main page works with lynx and links from console so no gui is
neccessary it will report what it sees you as), if I assumed wrong,
explain your processes, I know you say you are on -current, do you have
a 15.0 to test as well?
I talk about the installer during the system's setup when installing it
on the disk.
When installing the OS, I can select the source for the packets. This
can be a CD/DVD or networked sources.
Now I understand, ok, I'll have a play later today, but maybe Robby sees
this and can comment
noel
2024-12-02 01:10:02 UTC
Reply
Permalink
Post by noel
Post by Marco Moock
I must be losing something in the translation, are you saying slackpkg
install foo and slackpkg upgrade-all do not use ipv6 even when
available on that machine? if so, have you changed up gai.conf to
prefer ipv4? what does https://zonecheck.org say from that machine
(that main page works with lynx and links from console so no gui is
neccessary it will report what it sees you as), if I assumed wrong,
explain your processes, I know you say you are on -current, do you
have a 15.0 to test as well?
I talk about the installer during the system's setup when installing it
on the disk.
When installing the OS, I can select the source for the packets. This
can be a CD/DVD or networked sources.
Now I understand, ok, I'll have a play later today, but maybe Robby sees
this and can comment
As this might take a good delay in time, you may be better off asking at
https://www.linuxquestions.org/questions/slackware-14/
(don't be fooled by -14, thats just the forum ID number)
noel
2024-12-02 01:51:58 UTC
Reply
Permalink
Post by noel
Post by noel
Post by Marco Moock
Post by noel
I must be losing something in the translation, are you saying
slackpkg install foo and slackpkg upgrade-all do not use ipv6
even when available on that machine? if so, have you changed up
gai.conf to prefer ipv4? what does https://zonecheck.org say from
that machine (that main page works with lynx and links from console
so no gui is neccessary it will report what it sees you as), if I
assumed wrong, explain your processes, I know you say you are on
-current, do you have a 15.0 to test as well?
I talk about the installer during the system's setup when installing
it on the disk.
When installing the OS, I can select the source for the packets. This
can be a CD/DVD or networked sources.
Now I understand, ok, I'll have a play later today, but maybe Robby
sees this and can comment
As this might take a good delay in time, you may be better off asking at
https://www.linuxquestions.org/questions/slackware-14/
(don't be fooled by -14, thats just the forum ID number)
You're using the usbboot.img right? From a quick look I see ipv6
instructions are certainly in the installer

/lib/modules/5.15.19/kernel/net/ipv6/ipv6.ko

are you sure it is loading ipv6 module ?
(I cant physically test till much later today due to meetings)
Marco Moock
2024-12-02 13:52:58 UTC
Reply
Permalink
Post by noel
Post by noel
Post by noel
Post by Marco Moock
Post by noel
I must be losing something in the translation, are you saying
slackpkg install foo and slackpkg upgrade-all do not use ipv6
even when available on that machine? if so, have you changed up
gai.conf to prefer ipv4? what
does https://zonecheck.org say from that machine (that main page works with lynx and links from console
so no gui is neccessary it will report what it sees you as), if I
assumed wrong, explain your processes, I know you say you are on
-current, do you have a 15.0 to test as well?
I talk about the installer during the system's setup when
installing it on the disk.
When installing the OS, I can select the source for the packets.
This can be a CD/DVD or networked sources.
Now I understand, ok, I'll have a play later today, but maybe Robby
sees this and can comment
As this might take a good delay in time, you may be better off
asking at https://www.linuxquestions.org/questions/slackware-14/
(don't be fooled by -14, thats just the forum ID number)
You're using the usbboot.img right? From a quick look I see ipv6
instructions are certainly in the installer
I used the ISOs in virtualbox.
Post by noel
/lib/modules/5.15.19/kernel/net/ipv6/ipv6.ko
are you sure it is loading ipv6 module ?
(I cant physically test till much later today due to meetings)
The IPv6 kernel modules are being loaded and it works (ping, wget etc.)
in the other virtual consoles during the install process.

Although, the slackware installer (you call it with "setup") doesn't
seem to use it.
--
kind regards
Marco

Send spam to ***@stinkedores.dorfdsl.de
Henrik Carlqvist
2024-12-03 07:56:10 UTC
Reply
Permalink
Post by Marco Moock
The IPv6 kernel modules are being loaded and it works (ping, wget etc.)
in the other virtual consoles during the install process.
Although, the slackware installer (you call it with "setup") doesn't
seem to use it.
I haven't used IPv6 and my installation media has had the setup scripts
modified to a point where it hardly is any real "Slackware" anymore.
However, I might sometimes bump into a similar problem...

Some machines on which I install have more than one network interface
card and my (modified) installation scripts allways configure eth0. If I
am lucky, I might be able to study the contents of dmesg to see which
interface gets link up when I move the network cable between different
interfaces and continue the installation after the cable has been moved
to the one that got named eth0.

However, sometimes machines have different kind of network connection to
different network interfaces. If so, during installation, after an IP has
been assigned to the machine being installed but before trying to access
installation files from the network I do something like:

1) Switch to another virtual console

2) ifconfig eth0 down

3) ifconfig eth3 192.168.1.7 netmask 255.255.255.0

4) switch back to tty1 with the installation dialog and continue
installation.

Would it be possible to do something like that to configure IPv6 during
installation? If not, you will need to modify the installation scripts
in the installation initrd. Maybe Patrick would accept a patch for those.

regards Henrik
Marco Moock
2024-12-03 15:33:15 UTC
Reply
Permalink
Post by Henrik Carlqvist
3) ifconfig eth3 192.168.1.7 netmask 255.255.255.0
4) switch back to tty1 with the installation dialog and continue
installation.
Would it be possible to do something like that to configure IPv6
during installation? If not, you will need to modify the
installation scripts in the installation initrd. Maybe Patrick would
accept a patch for those.
As I pointed out, the issue isn't at this level. IPv6 addresses are
assigned, DNS is working, I can use it in the other virtual console.

Although, the installer doesn't use it and reports it can't connect. I
don't see any connection attempts in the packet capture. I can reach
the server from the other virtual console.

It is an issue with the installer itself or programs it uses.
--
kind regards
Marco

Send spam to ***@stinkedores.dorfdsl.de
Henrik Carlqvist
2024-12-05 06:39:46 UTC
Reply
Permalink
Post by Marco Moock
It is an issue with the installer itself or programs it uses.
If so, you will need to modify the installer script or possibly the
included programs as described by Alexander and rebuild your
isolinux/initrd.img on the installation media.
Post by Marco Moock
Post by Henrik Carlqvist
Maybe Patrick would accept a patch for those.
regards Henrik

Alexander Grotewohl
2024-12-03 18:35:34 UTC
Reply
Permalink
Post by Marco Moock
Post by noel
Post by noel
Post by noel
Post by Marco Moock
Post by noel
I must be losing something in the translation, are you saying
slackpkg install foo and slackpkg upgrade-all do not use ipv6
even when available on that machine? if so, have you changed up
gai.conf to prefer ipv4? what does https://zonecheck.org say
from that machine (that main page works with lynx and links from
console so no gui is neccessary it will report what it sees you
as), if I assumed wrong, explain your processes, I know you say
you are on -current, do you have a 15.0 to test as well?
I talk about the installer during the system's setup when
installing it on the disk.
When installing the OS, I can select the source for the packets.
This can be a CD/DVD or networked sources.
Now I understand, ok, I'll have a play later today, but maybe Robby
sees this and can comment
As this might take a good delay in time, you may be better off asking
at https://www.linuxquestions.org/questions/slackware-14/
(don't be fooled by -14, thats just the forum ID number)
You're using the usbboot.img right? From a quick look I see ipv6
instructions are certainly in the installer
I used the ISOs in virtualbox.
Post by noel
/lib/modules/5.15.19/kernel/net/ipv6/ipv6.ko
are you sure it is loading ipv6 module ?
(I cant physically test till much later today due to meetings)
The IPv6 kernel modules are being loaded and it works (ping, wget etc.)
in the other virtual consoles during the install process.
Although, the slackware installer (you call it with "setup") doesn't
seem to use it.
The installer is available in this archive:

https://mirrors.slackware.com/slackware/slackware64-15.0/source/installer/
sources/initrd/

When extracted in a temp directory the files are in usr/lib/setup

If you follow along, setup runs SeTmedia .. you choose '5' I'm assuming
(install from FTP/HTTP server)

SeTnet gets run. This script seems like it *might* be ipv4-cenric (it's
check for network runs "ip -f inet" instead of "ip -f inet6" ..). If just
swapping that to inet6 is a simple fix.. woohoo :) otherwise.. I'm not
sure if there's something in SeTnet breaking your connection for the
install process.. and if you follow it further setup only runs wget, and
without any ipv4-preferring parameters. (perhaps you could grep for all
instances of wget and just jam in the force-ipv6 parameter?)
Loading...