Check for IPv6 connectivity
This commit is contained in:
parent
700943ac5f
commit
e4768eb862
1 changed files with 6 additions and 0 deletions
|
|
@ -234,6 +234,12 @@ else
|
||||||
while [[ $PROTOCOL != "UDP" && $PROTOCOL != "TCP" ]]; do
|
while [[ $PROTOCOL != "UDP" && $PROTOCOL != "TCP" ]]; do
|
||||||
read -p "Protocol [UDP/TCP]: " -e -i UDP PROTOCOL
|
read -p "Protocol [UDP/TCP]: " -e -i UDP PROTOCOL
|
||||||
done
|
done
|
||||||
|
ping6 -c4 ipv6.google.com > /dev/null 2>&1;
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
|
echo "Your host appears to have IPv6 connectivity."
|
||||||
|
else
|
||||||
|
echo "Your host does not appear to have IPv6 connectivity."
|
||||||
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "Do you want to enable IPv6 support?"
|
echo "Do you want to enable IPv6 support?"
|
||||||
while [[ $IPV6 != "y" && $IPV6 != "n" ]]; do
|
while [[ $IPV6 != "y" && $IPV6 != "n" ]]; do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue