#!/bin/bash

sleep 50

echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" >  /etc/resolv.conf
echo "DNS ok  "

sleep 5
echo "1" > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo "IPv6 ok  "

sleep 5
sudo ip route replace default via 192.168.10.2

echo "default route ok  "

cat /etc/resolv.conf
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
route -n
echo "----------------"


