Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you don't know what to look for and somebody gave you a hint then first reflex should be to use the standard local "which", "whatis", "whereis" and "locate" commands, or (the local copy of) the CentOS documentation and search LQ before resorting to using an online search engine. This is efficient. In your case the CentOS FAQ has an appropriate entry: http://wiki.centos.org/FAQ/CentOS6#h...6a8a10d41781df .
if i use wget is not working for a file link and if i use wget -4 is working great for the same file link ?
That means you have not disabled IPv6 properly. (Re-)check /proc/cmdline, sysctl and /etc/sysctl.conf, (if|iw)config, lsmod, any /etc/mod*/ output / contents for anything IPv6-related.
There are a few ways to do this (ranging from simple to complex), including:
1. Adjust network settings.
2. Use /etc/sysctl.conf to adjust /proc/sys/ kernel parameters.
3. Blacklist kernel modules associated with IPv6.
Option 1: Adjust network settings
Add/ensure "NETWORKING_IPV6=no" to /etc/sysconfig/network
Add/ensure "IPV6INIT=no" to /etc/sysconfig/network-scripts/ifcfg-eth0 or similar (depending on interface).
Option 2: Adjust /etc/sysctl.conf
Add/ensure "net.ipv6.conf.default.disable_ipv6 = 1" is in /etc/sysctl.conf
Run "sysctl -p" to apply this changed setting from /etc/sysctl.conf configuration file
Alternatively, "echo 1> /proc/sys/net/ipv6/conf/default/disable_ipv6" ... but this won't persist after reboot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.