Difference between revisions of "FAQ IPv6-ready system check"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
4.7.1. Using tools
+
==Q: Tidak dapat ping6 ke address link-local==
  
 +
Error message: "connect: Invalid argument"
  
4.7.1.1. Q: Cannot ping6 to link-local addresses
+
Kernel tidak mengetahui, Kernel tidak mengetahui, link fisik maupun virtual, yang perlu digunakan untuk mengirimkan paket ICMPv6. Oleh karenanya akan mengeluarkan error seperti itu.
 
 
Error message: "connect: Invalid argument"
 
  
Kernel doesn't know, which physical or virtual link you want to use to send such ICMPv6 packets. Therefore it displays this error message.
+
Solusi: Beri tahu interace yang digunakan seperti:
  
Solution: Specify interface like: “ping6 -I eth0 fe80::2e0:18ff:fe90:9205”, see also program ping6 usage.
+
ping6 -I eth0 fe80::2e0:18ff:fe90:9205
  
  
4.7.1.2. Q: Cannot ping6 or traceroute6 as normal user
+
==Q: Tidak dapat ping6 atau traceroute6 sebagai user biasa==
  
 
Error message: “icmp socket: Operation not permitted”
 
Error message: “icmp socket: Operation not permitted”

Revision as of 13:25, 26 June 2013

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.