Last active
July 10, 2022 19:46
-
-
Save 0jonjo/5c75d84e9be0e155e7d729b65f99a414 to your computer and use it in GitHub Desktop.
A simple way to change nameserver and conect to internet in some Cabo Telecom (Brazil) internet router.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /etc | |
echo "nameserver 8.8.8.8" > resolv.conf | |
echo "nameserver 4.4.4.4" >> resolv.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use:
Open terminal and write: