You are not logged in.
Hello everyone,
I has this issue with my /etc/resolv.conf file last week, here is what happened:
1. I was upgrading my Arch Linux system at my university when one of my friends accidentally unplugged my notebook.
2. The next day i tried to use the internet but i couldn't reach it, i could ping 8.8.8.8 but not ping www.google.com
3. After some research i found out that my /etc/resolv.conf file was edited and when i opened it my university name was set as my nameserver.
4. Since i don't know much about networking and server stuff i edited the file as follow:
nameserver 192.168.0.1
5. Everything worked fine for my WAN but when i tried to connect to another one i can't reach the internet.
I normaly use netctl and wifi-menu for managing my profiles.
Please help me out guys...
Thanks in advance
Last edited by vitinho217 (2015-06-24 12:58:51)
Offline
Look at the info on the wiki they also have alternative DNS server you could use as well
Offline
Since i don't know much about networking and server stuff i edited the file as follow:
nameserver 192.168.0.1
5. Everything worked fine for my WAN but when i tried to connect to another one i can't reach the internet.
That nameserver is your router so it won't work for other networks.
Replace it with Google's nameserver (8.8.8.8) or any of the ones in the link provided by Malkymder and set the immutable bit on the file:
# chattr +i /etc/resolv.conf
Offline
Replace it with Google's nameserver (8.8.8.8) or any of the ones in the link provided by Malkymder and set the immutable bit on the file:
# chattr +i /etc/resolv.conf
Otherwise there is also /etc/resolv.conf.head (see https://wiki.archlinux.org/index.php/Re … cd_config)
Offline
Thanks i'll test some of those DNS names ... and mark this topic as [SOLVED] if everything works fine
Last edited by vitinho217 (2015-06-24 12:59:19)
Offline