FAQ IPv6-ready system check

From OnnoWiki
Revision as of 13:25, 26 June 2013 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Q: Tidak dapat ping6 ke address link-local

Error message: "connect: Invalid argument"

Kernel tidak mengetahui, Kernel tidak mengetahui, link fisik maupun virtual, yang perlu digunakan untuk mengirimkan paket ICMPv6. Oleh karenanya akan mengeluarkan error seperti itu.

Solusi: Beri tahu interace yang digunakan seperti:

ping6 -I eth0 fe80::2e0:18ff:fe90:9205


Q: Tidak dapat ping6 atau traceroute6 sebagai user biasa

Error message: “icmp socket: Operation not permitted”

These utilities create special ICMPv6 packets and send them out. This is done by using raw sockets in the kernel. But raw sockets can only be used by the “root” user. Therefore normal users get such error message.

Solution: If it's really needed that all users should be able to use these utilities, you can add the “suid” bit using ”chmod u+s /path/to/program”, see also program ping6 usage. If not all users should be able to, you can change the group of the program to e.g. “wheel”, add these power users to this group and remove the execution bit for other users using “chmod o-rwx /path/to/program”. Or configure “sudo” to enable your security policy.