So … it seems that some router gives dhcp ipv6 prefixes for specific lans.
The default behaviour of CentOS is to autoconfigure the network interface with ifup script.
We havent finished our #ipv6 schema/deployment so we need to disable this ipv6 autoconfigure feature.
# vim /etc/sysconfig/network NETWORKING_IPV6=no IPV6FORWARDING=no IPV6_AUTOCONF=no
# vim /etc/sysconfig/network-scripts/ifcfg-eth0 IPV6INIT=no
# ip -6 addr flush eth0 # ip -6 route flush scope global
and finally restart
# service restart network
This blog post is dedicated to “rwman os” for contacting me to suggest that I was wrong !
And indeed I was !! ( <— two exclamation marks)
So this blog post create true random passwords has some mistakes and I am here to make amens.
the correct syntax on creating random passwords is this:
$ cat /dev/urandom | tr -dc $'\x21-\x7E' | head -c 21
and after further investigation (with GNU coreutils 8.23) seems that you can use octal as well:
$ cat /dev/urandom | tr -dc '\041-\176' | head -c 21