* 'static-networking' fails to start
@ 2024-03-25 12:21 Fabio Natali
2024-03-25 15:49 ` Felix Lechner via
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Natali @ 2024-03-25 12:21 UTC (permalink / raw)
To: help-guix
(I've been trying to post this as a follow-up to 64653@debbugs.gnu.org
but my email gets rejected as the issue is archived. I wasn't able to
un-archive the issue, apparently, so I'm now sending this
here. Apologies if you receive it twice.)
Hi,
I've been trying to reconfigure a machine from static IPv4 to static
dual-stack or IPv6-only. I followed one⁰ of the examples in the manual,
so I'd think I got the syntax right.
Once the reconfiguration has taken place and when restarting the
networking service, I get this error:
,----
| herd: error: exception caught while executing 'start' on service 'networking':
| Throw to key `%exception' with args `("#<&netlink-response-error errno: 17>")'.
`----
It'd seem to be relevant to bug report 64653¹?
Do you know what this might be related to and what I can do to solve it?
This happens on an up-to-date Guix system.
Thanks, best wishes, Fabio.
⁰ https://guix.gnu.org/manual/devel/en/html_node/Networking-Setup.html#index-static_002dnetworking
¹ https://issues.guix.gnu.org/64653
--
Fabio Natali
https://fabionatali.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'static-networking' fails to start
2024-03-25 12:21 'static-networking' fails to start Fabio Natali
@ 2024-03-25 15:49 ` Felix Lechner via
2024-03-25 16:05 ` Fabio Natali
0 siblings, 1 reply; 5+ messages in thread
From: Felix Lechner via @ 2024-03-25 15:49 UTC (permalink / raw)
To: Fabio Natali, help-guix
Hi Fabio,
On Mon, Mar 25 2024, Fabio Natali wrote:
> I wasn't able to un-archive
Debbugs was down. I unarchived Bug#64653 for you.
> I've been trying to reconfigure a machine from static IPv4 to static
> dual-stack or IPv6-only.
I also had issues with static networking two years ago. Here is what
worked for me at the time. [1]
Kind regards
Felix
[1] https://codeberg.org/lechner/system-config/src/commit/46a0e48fc5ae38f7e6bfb86527ec2bbabc272c71/host/letbox/operating-system.scm#L176-L192
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'static-networking' fails to start
2024-03-25 15:49 ` Felix Lechner via
@ 2024-03-25 16:05 ` Fabio Natali
2024-03-25 18:12 ` Roman Riabenko via
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Natali @ 2024-03-25 16:05 UTC (permalink / raw)
To: Felix Lechner; +Cc: help-guix
Hi Felix,
Thanks for getting back to me.
On 2024-03-25, 08:49 -0700, Felix Lechner <felix.lechner@lease-up.com> wrote:
> Debbugs was down. I unarchived Bug#64653 for you.
Great - I'll be following up on that bug report from now on then.
> I also had issues with static networking two years ago. Here is what
> worked for me at the time. [1]
I think I tried that (commenting out the default gateway part, which
might be picked up automatically by means of Router Advertisement
RA?). I'll definitely try again once in front of the machine and update
the bug report with my findings.
Thanks for now!
Cheers, Fabio.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'static-networking' fails to start
2024-03-25 16:05 ` Fabio Natali
@ 2024-03-25 18:12 ` Roman Riabenko via
[not found] ` <dfef23804ad5d274e3fd42c70d4de1028f7a9550.camel@riabenko.com>
0 siblings, 1 reply; 5+ messages in thread
From: Roman Riabenko via @ 2024-03-25 18:12 UTC (permalink / raw)
To: Fabio Natali; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]
Hello Fabio
On Mon, 2024-03-25 at 16:05 +0000, Fabio Natali wrote:
> I think I tried that (commenting out the default gateway part, which
> might be picked up automatically by means of Router Advertisement
> RA?). I'll definitely try again once in front of the machine and
> update the bug report with my findings.
I attest that I succeeded this weekend by following the instructions in
the latest (development) version of the guix manual without commenting
anything out. I've just finished updating the system and rebooted to
confirm that it still works with the latest updates.
I do not know what your error means but among the things that I was
unsure about I remember the following two.
First, I almost missed that "static-networking" is a data type that
must go in a list under "static-networking-service-type" as explained
in the previous example in the same manual. Instead, I also added
"%loopback-static-networking", though it produced a different error
which clearly explained that loopback is already implicitly included.
Second, I was unsure where to get the IPv6 default gateway. I tried the
"ip -6 route" command. As far as I remember, it provided a link-local
address. Though, I see both the link-local and the global address now
in the output on another autoconfigured (SLAAC) device. I just checked
the gateway address on the router instead. I included only the global
address.
The only other difference in my configuration is that I indicated a DNS
server for IPv6 too.
I hope this may help.
Roman
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-03-25 19:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 12:21 'static-networking' fails to start Fabio Natali
2024-03-25 15:49 ` Felix Lechner via
2024-03-25 16:05 ` Fabio Natali
2024-03-25 18:12 ` Roman Riabenko via
[not found] ` <dfef23804ad5d274e3fd42c70d4de1028f7a9550.camel@riabenko.com>
2024-03-25 19:49 ` Fabio Natali
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).