From: http://www.ubuntu-tw.org/modules/newbb/viewtopic.php? Post_id = 93209
Recently, 9.04 always shows no connection. ifconfig shows a lot of inet6 after eth0, which is probably caused by IPv6.
So:
$ Sudo VI/etc/sysctl. conf
Add at the end
Net. ipv6.conf. eth0.disable _ IPv6 = 1
My Nic is eth0.
See the following description:
/Proc/sys/NET/IPv6/CONF/LO/disable_ipv6
In this case, you can use the cat command to view the number 0 and set it to 1.
Because IPv6 has been merged into the kernel, you can see the related settings on the proc plane.
There are many preset methods, some of which use Echo 1> [router interface]/case Name authentication
In this way, you have to fight once every time you start the machine.
Therefore, the second method is extended, and a sequence is set on the area of the RCS. d operator to parse the script that runs this command.
The 3rd method is to set the sysctl. conf Protocol case, which is also the most common practice.
Location in
/Etc/sysctl. conf
This case can be set to many, including packet forwarding during Nat.
To set
/Proc/sys/NET/IPv6/CONF/LO/disable_ipv6
This example is added to the sysctl. conf example.
Net. ipv6.conf. Lo. disable_ipv6 = 1