Looks like no is sufficient. if [[ "$IPV6INIT" != [yY1]* && "$DHCPV6C" != [yY1]* ]] ; then
On Mon, Jan 13, 2014 at 4:54 PM, Blake Dunlap <[email protected]> wrote: > Hmmm, I just noticed you had quotes around the no in ip6init. If you > haven't looked at them, the network-functions scripts have some pretty > stupid parsing when it comes to ipv6 because most people don't play with > them, some of it is even broken. It's worth having a look at the code if > you understand bash scripting, as you'll know exactly what it wants from > that. I had to to get what I wanted. > > -Blake > > > On Mon, Jan 13, 2014 at 4:50 PM, Blake Dunlap <[email protected]> wrote: > >> Addendum: you might have to reinit or reboot for the last thing i sent to >> take effect. >> >> >> On Mon, Jan 13, 2014 at 4:49 PM, Blake Dunlap <[email protected]> wrote: >> >>> You can disable it, but it's not just the sysctl. I just don't have a >>> refernece box at the moment because I fixed my ip6 a while back, but i have >>> run into this before and it is possible to deal with. >>> >>> Ok next, try adding the below line in /etc/sysconfig/network >>> NETWORKING_IPV6=no >>> >>> And be sure to verify you're still trying to connect via ipv6. >>> >>> >>> On Mon, Jan 13, 2014 at 4:37 PM, Howard White <[email protected]> wrote: >>> >>>> On 01/13/2014 04:28 PM, Tilghman Lesher wrote: >>>> >>>>> Sometimes when something doesn't work correctly, I run strace either >>>>> on the command itself, or attach to the subprocess with an "strace -p >>>>> <pid>". It sometimes gives me a clue as to what operation is hanging >>>>> or failing to run, which in turn, leads to a solution. >>>>> >>>>> >>>> Thanks for the coaching, Tilghman. Blake and I are on the trail - the >>>> mirrorlist.centos.org is trying to resolve via IPv6 and there is no >>>> IPv6 network by which to connect. I am now in the throws of learning that >>>> there is no way to completely disable IPv6 in CentOS 6. I've read several >>>> threads with other folks having the same problem I am, with similar levels >>>> of frustration. >>>> >>>> This link is particularly confusing: >>>> <www.hosting.com/support/linux/how-to-disable-ipv6-for- >>>> redhat-and-centos/> >>>> >>>> "append at the end of the {/etc/modprobe.conf} file: >>>> install ipv6 /bin/true" >>>> >>>> That disables ipv6???? >>>> >>>> >>>> Howard >>>> >>>> -- >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "NLUG" group. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to nlug-talk+unsubscribe@ >>>> googlegroups.com >>>> For more options, visit this group at http://groups.google.com/ >>>> group/nlug-talk?hl=en >>>> >>>> --- You received this message because you are subscribed to the Google >>>> Groups "NLUG" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >> > -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
