All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Turning of IPv6 ??
@ 2011-01-24  9:02 Sagaert Johan
  2011-01-25 10:50 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Sagaert Johan @ 2011-01-24  9:02 UTC (permalink / raw)
  To: buildroot

Hi
 
I have a problem with ipV6 (nslookup takes 10..20 seconds)  if  i disable
ipv6 in busybox only it is solved, so i leave ipv6 in the kernel and uclibc
enabled.
The toplevel setting for ipv6 is also still enabled.
 
When i do a clean build with the config files i saved before the cleaning, i
noticed that the ipv6 is back on in busybox ...
I suspect the toplevel ipv6 setting is causing this and seems to modifie the
busybox setting for ipv6..
 
If everything is build, i change the busybox setting and do a rebuild of
busybox to get it right.
So its anoying i can not use the config files in the first build pas.
 
What can i do about it ?
 
 
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110124/5bbb187b/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Turning of IPv6 ??
  2011-01-25 10:50 ` Peter Korsgaard
@ 2011-01-24 14:26   ` Sagaert Johan
  0 siblings, 0 replies; 3+ messages in thread
From: Sagaert Johan @ 2011-01-24 14:26 UTC (permalink / raw)
  To: buildroot

 
Hi

Ok, i can live with it as it is now ( doing bb rebuild )

If i would know another way to disable ipv6 i would be happy.
I tried to build the kernel without IPv6 , but that does not solve it.(or
pass ipv6.disable=1 on the kernel cmd line)
I browsed some of the bb sources to see if there was a way to disable ipv6
through some /etc/? config file but not find anything related.


It seems to be a known problem one some distros too,
(http://faq.aslab.com/index.php?sid=63600&lang=en&action=artikel&cat=58&id=1
24&artlang=en)

The resolv.conf is updated by dhcpc with the router addr (192.168.1.1) if i
change it to 195.238.2.21 manually i don't see a delay with a nslookup (this
is no option) 
Some routers pass the external dns server addresses (would not be a problem)
,some act as a dns is in my case...

Meanwhile i am still open for a solution...,as i would like to keep ipv6 for
future requirements.

Johan


-----Oorspronkelijk bericht-----
Van: Peter Korsgaard [mailto:jacmet at gmail.com] Namens Peter Korsgaard
Verzonden: dinsdag 25 januari 2011 11:50
Aan: Sagaert Johan
CC: buildroot at busybox.net
Onderwerp: Re: Turning of IPv6 ??

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> Hi

 Sagaert> I have a problem with ipV6 (nslookup takes 10..20 seconds) if
Sagaert> i disable ipv6 in busybox only it is solved, so i leave ipv6
Sagaert> in the kernel and uclibc enabled.  The toplevel setting for
Sagaert> ipv6 is also still enabled.
 
 Sagaert> When i do a clean build with the config files i saved before
Sagaert> the cleaning, i noticed that the ipv6 is back on in busybox
Sagaert> ...  I suspect the toplevel ipv6 setting is causing this and
Sagaert> seems to modifie the busybox setting for ipv6..

Yes, so we can use the same defconfigs for both ipv6 and !ipv6:

git grep IPV6 package/busybox/busybox.mk package/busybox/busybox.mk:ifeq
($(BR2_INET_IPV6),y) package/busybox/busybox.mk:define BUSYBOX_SET_IPV6
package/busybox/busybox.mk:     $(call
KCONFIG_ENABLE_OPT,CONFIG_FEATURE_IPV6,$(
package/busybox/busybox.mk:     $(call
KCONFIG_ENABLE_OPT,CONFIG_FEATURE_IFUPDOW
package/busybox/busybox.mk:define BUSYBOX_SET_IPV6
package/busybox/busybox.mk:     $(call
KCONFIG_DISABLE_OPT,CONFIG_FEATURE_IPV6,$
package/busybox/busybox.mk:     $(call
KCONFIG_DISABLE_OPT,CONFIG_FEATURE_IFUPDO
package/busybox/busybox.mk:     $(BUSYBOX_SET_IPV6)

 Sagaert> If everything is build, i change the busybox setting and do a
Sagaert> rebuild of busybox to get it right.  So its anoying i can not
Sagaert> use the config files in the first build pas.
 
 Sagaert> What can i do about it ?

Well, you could naturally remove the IPv6 handling in busybox.mk, but why do
you enable IPv6 support in uClibc if you don't want to use it?

--
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Turning of IPv6 ??
  2011-01-24  9:02 [Buildroot] Turning of IPv6 ?? Sagaert Johan
@ 2011-01-25 10:50 ` Peter Korsgaard
  2011-01-24 14:26   ` Sagaert Johan
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2011-01-25 10:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> Hi

 Sagaert> I have a problem with ipV6 (nslookup takes 10..20 seconds) if
 Sagaert> i disable ipv6 in busybox only it is solved, so i leave ipv6
 Sagaert> in the kernel and uclibc enabled.  The toplevel setting for
 Sagaert> ipv6 is also still enabled.
 
 Sagaert> When i do a clean build with the config files i saved before
 Sagaert> the cleaning, i noticed that the ipv6 is back on in busybox
 Sagaert> ...  I suspect the toplevel ipv6 setting is causing this and
 Sagaert> seems to modifie the busybox setting for ipv6..

Yes, so we can use the same defconfigs for both ipv6 and !ipv6:

git grep IPV6 package/busybox/busybox.mk
package/busybox/busybox.mk:ifeq ($(BR2_INET_IPV6),y)
package/busybox/busybox.mk:define BUSYBOX_SET_IPV6
package/busybox/busybox.mk:     $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_IPV6,$(
package/busybox/busybox.mk:     $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_IFUPDOW
package/busybox/busybox.mk:define BUSYBOX_SET_IPV6
package/busybox/busybox.mk:     $(call KCONFIG_DISABLE_OPT,CONFIG_FEATURE_IPV6,$
package/busybox/busybox.mk:     $(call KCONFIG_DISABLE_OPT,CONFIG_FEATURE_IFUPDO
package/busybox/busybox.mk:     $(BUSYBOX_SET_IPV6)

 Sagaert> If everything is build, i change the busybox setting and do a
 Sagaert> rebuild of busybox to get it right.  So its anoying i can not
 Sagaert> use the config files in the first build pas.
 
 Sagaert> What can i do about it ?

Well, you could naturally remove the IPv6 handling in busybox.mk, but
why do you enable IPv6 support in uClibc if you don't want to use it?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-25 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24  9:02 [Buildroot] Turning of IPv6 ?? Sagaert Johan
2011-01-25 10:50 ` Peter Korsgaard
2011-01-24 14:26   ` Sagaert Johan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.