* [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
@ 2021-02-26 9:26 Uwe Kleine-König
2021-02-26 13:24 ` Roland Hieber
2021-03-05 7:26 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 2 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2021-02-26 9:26 UTC (permalink / raw)
To: ptxdist
It's 2021!
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
projectroot/etc/hosts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/projectroot/etc/hosts b/projectroot/etc/hosts
index ba712fe03341..4389b1ebc0df 100644
--- a/projectroot/etc/hosts
+++ b/projectroot/etc/hosts
@@ -1 +1,5 @@
127.0.0.1 localhost
+
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters
--
2.30.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
2021-02-26 9:26 [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions Uwe Kleine-König
@ 2021-02-26 13:24 ` Roland Hieber
2021-03-01 5:43 ` Alexander Dahl
2021-03-05 7:26 ` [ptxdist] [APPLIED] " Michael Olbrich
1 sibling, 1 reply; 8+ messages in thread
From: Roland Hieber @ 2021-02-26 13:24 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: ptxdist
On Fri, Feb 26, 2021 at 10:26:43AM +0100, Uwe Kleine-König wrote:
> It's 2021!
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> projectroot/etc/hosts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/projectroot/etc/hosts b/projectroot/etc/hosts
> index ba712fe03341..4389b1ebc0df 100644
> --- a/projectroot/etc/hosts
> +++ b/projectroot/etc/hosts
> @@ -1 +1,5 @@
> 127.0.0.1 localhost
> +
> +::1 localhost ip6-localhost ip6-loopback
> +ff02::1 ip6-allnodes
> +ff02::2 ip6-allrouters
Hmmm, I wonder if this works even if GLOBAL_IPV6 is turned off. Or
maybe we should get rid of GLOBAL_IPV6 too? :-)
- Roland
--
Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
2021-02-26 13:24 ` Roland Hieber
@ 2021-03-01 5:43 ` Alexander Dahl
2021-03-01 8:45 ` Michael Olbrich
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Dahl @ 2021-03-01 5:43 UTC (permalink / raw)
To: ptxdist, Roland Hieber, Uwe Kleine-König
Hei hei,
> Roland Hieber <rhi@pengutronix.de> hat am 26.02.2021 14:24 geschrieben:
> Hmmm, I wonder if this works even if GLOBAL_IPV6 is turned off. Or
> maybe we should get rid of GLOBAL_IPV6 too? :-)
I know this sounds tempting, but please don't do that. We still support systems with only 32 MiB RAM and not much more flash and have to save every byte we can. We have IPv6 turned off, because there's absolutely no demand for it from our customers and disabling it in kernel and userland gets us a little more space.
Greets
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
2021-03-01 5:43 ` Alexander Dahl
@ 2021-03-01 8:45 ` Michael Olbrich
2021-03-01 18:04 ` Alexander Dahl
2021-03-01 20:41 ` Uwe Kleine-König
0 siblings, 2 replies; 8+ messages in thread
From: Michael Olbrich @ 2021-03-01 8:45 UTC (permalink / raw)
To: ptxdist
Hi,
On Mon, Mar 01, 2021 at 06:43:40AM +0100, Alexander Dahl wrote:
> > Roland Hieber <rhi@pengutronix.de> hat am 26.02.2021 14:24 geschrieben:
> > Hmmm, I wonder if this works even if GLOBAL_IPV6 is turned off. Or
I just tried this:
root@DistroKit:~ ping ip6-localhost
PING ip6-localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=9.578 ms
That surprised me a bit but I think that's fine.
> > maybe we should get rid of GLOBAL_IPV6 too? :-)
>
> I know this sounds tempting, but please don't do that. We still support
> systems with only 32 MiB RAM and not much more flash and have to save
> every byte we can. We have IPv6 turned off, because there's absolutely no
> demand for it from our customers and disabling it in kernel and userland
> gets us a little more space.
No worries. That option will stay a wile longer. So, I'm guessing you're
not using systemd there either, right?
Michael
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
2021-03-01 8:45 ` Michael Olbrich
@ 2021-03-01 18:04 ` Alexander Dahl
2021-03-01 20:41 ` Uwe Kleine-König
1 sibling, 0 replies; 8+ messages in thread
From: Alexander Dahl @ 2021-03-01 18:04 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1197 bytes --]
Hei hei,
On Mon, Mar 01, 2021 at 09:45:35AM +0100, Michael Olbrich wrote:
> On Mon, Mar 01, 2021 at 06:43:40AM +0100, Alexander Dahl wrote:
> > I know this sounds tempting, but please don't do that. We still support
> > systems with only 32 MiB RAM and not much more flash and have to save
> > every byte we can. We have IPv6 turned off, because there's absolutely no
> > demand for it from our customers and disabling it in kernel and userland
> > gets us a little more space.
>
> No worries. That option will stay a wile longer. So, I'm guessing you're
> not using systemd there either, right?
Correct. No systemd, no udev, no dbus, just busybox init and our
applications.
Our newer hardware has 128 MiB of RAM (the awesome SAMA5D27 SiP
package), but the old hardware will still stay a while, it was shipped
to industrial customers, you can imagine, what that means. ;-)
Greets
Alex
--
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN | speech censured, the first thought forbidden, the
X AGAINST | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie)
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
2021-03-01 8:45 ` Michael Olbrich
2021-03-01 18:04 ` Alexander Dahl
@ 2021-03-01 20:41 ` Uwe Kleine-König
2021-03-02 8:20 ` Michael Olbrich
1 sibling, 1 reply; 8+ messages in thread
From: Uwe Kleine-König @ 2021-03-01 20:41 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1137 bytes --]
On Mon, Mar 01, 2021 at 09:45:35AM +0100, Michael Olbrich wrote:
> Hi,
>
> On Mon, Mar 01, 2021 at 06:43:40AM +0100, Alexander Dahl wrote:
> > > Roland Hieber <rhi@pengutronix.de> hat am 26.02.2021 14:24 geschrieben:
> > > Hmmm, I wonder if this works even if GLOBAL_IPV6 is turned off. Or
>
> I just tried this:
>
> root@DistroKit:~ ping ip6-localhost
> PING ip6-localhost (127.0.0.1): 56 data bytes
> 64 bytes from 127.0.0.1: seq=0 ttl=64 time=9.578 ms
Does it really say 127.0.0.1 if you ping ip6-localhost?
On my distrokit build I cannot reproduce that:
root@DistroKit:~ ping -c3 ip6-localhost
PING ip6-localhost (::1): 56 data bytes
64 bytes from ::1: seq=0 ttl=64 time=1.209 ms
64 bytes from ::1: seq=1 ttl=64 time=4.836 ms
64 bytes from ::1: seq=2 ttl=64 time=3.668 ms
--- ip6-localhost ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.209/3.237/4.836 ms
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions
2021-03-01 20:41 ` Uwe Kleine-König
@ 2021-03-02 8:20 ` Michael Olbrich
0 siblings, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2021-03-02 8:20 UTC (permalink / raw)
To: ptxdist
On Mon, Mar 01, 2021 at 09:41:03PM +0100, Uwe Kleine-König wrote:
> On Mon, Mar 01, 2021 at 09:45:35AM +0100, Michael Olbrich wrote:
> > Hi,
> >
> > On Mon, Mar 01, 2021 at 06:43:40AM +0100, Alexander Dahl wrote:
> > > > Roland Hieber <rhi@pengutronix.de> hat am 26.02.2021 14:24 geschrieben:
> > > > Hmmm, I wonder if this works even if GLOBAL_IPV6 is turned off. Or
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > I just tried this:
> >
> > root@DistroKit:~ ping ip6-localhost
> > PING ip6-localhost (127.0.0.1): 56 data bytes
> > 64 bytes from 127.0.0.1: seq=0 ttl=64 time=9.578 ms
>
> Does it really say 127.0.0.1 if you ping ip6-localhost?
It does if GLOBAL_IPV6 (and BUSYBOX_FEATURE_IPV6) is disabled.
And for 'ping -4 ip6-localhost' if both are enabled. There seems to be some
kind of fallback for this.
Michael
> On my distrokit build I cannot reproduce that:
>
> root@DistroKit:~ ping -c3 ip6-localhost
> PING ip6-localhost (::1): 56 data bytes
> 64 bytes from ::1: seq=0 ttl=64 time=1.209 ms
> 64 bytes from ::1: seq=1 ttl=64 time=4.836 ms
> 64 bytes from ::1: seq=2 ttl=64 time=3.668 ms
>
> --- ip6-localhost ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max = 1.209/3.237/4.836 ms
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] [APPLIED] /etc/hosts: add local ipv6 definitions
2021-02-26 9:26 [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions Uwe Kleine-König
2021-02-26 13:24 ` Roland Hieber
@ 2021-03-05 7:26 ` Michael Olbrich
1 sibling, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2021-03-05 7:26 UTC (permalink / raw)
To: ptxdist; +Cc: u.kleine-koenig
Thanks, applied as 04d573ffb3c05e0c99dd50d2764a72b45c902a6e.
Michael
[sent from post-receive hook]
On Fri, 05 Mar 2021 08:26:15 +0100, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> It's 2021!
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20210226092643.165523-1-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/projectroot/etc/hosts b/projectroot/etc/hosts
> index ba712fe03341..4389b1ebc0df 100644
> --- a/projectroot/etc/hosts
> +++ b/projectroot/etc/hosts
> @@ -1 +1,5 @@
> 127.0.0.1 localhost
> +
> +::1 localhost ip6-localhost ip6-loopback
> +ff02::1 ip6-allnodes
> +ff02::2 ip6-allrouters
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-03-05 7:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26 9:26 [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions Uwe Kleine-König
2021-02-26 13:24 ` Roland Hieber
2021-03-01 5:43 ` Alexander Dahl
2021-03-01 8:45 ` Michael Olbrich
2021-03-01 18:04 ` Alexander Dahl
2021-03-01 20:41 ` Uwe Kleine-König
2021-03-02 8:20 ` Michael Olbrich
2021-03-05 7:26 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox