You are not logged in.
Pages: 1
I loaded Arch on a new machine and I'm unable to ping localhost. However, I am able to ping 127.0.0.1. I have two other computers that have Arch loaded with no issues. I need a little help trying to debug this issue. Are there other files that might have issues?
hosts file
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost moorero
::1 localhost.localdomain localhost
# End of file
Last edited by triumphguy (2011-06-14 13:34:57)
Offline
Check /etc/nsswitch.conf
Here's mine:
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
publickey: files
hosts: files dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Do you have internet access?
Offline
What does this file look like?
cat /etc/rc.conf
“Simplicity is the key to brilliance.” - Bruce Lee
Offline
Comparing my file to the file fukawi2 posted, they were identical. I decided to recreate the nsswitch.conf file and the problem is solved. Not sure if the file had a corrupt character somewhere or what.
For anyone else who may stumble upon this, here is some additional information. I was able to access the internet and everything functioned as expected as long as 127.0.0.1 was used instead of localhost.
Offline
Pages: 1