Hello, I've just installed Arch Linux but when I go to download some packages it doesn't let me download them. I had a look inside the resolv.conf and pacman.conf. The pacman is okay but inside the resolv.conf I don't know what to put for search and nameserver. If you know then that would be good. I did look inside the beginners guide but it didn't say how i can get my nameserver or what to put for search. Thanks.
Provide more info , to get further help
Give the results of
cat /etc/resolv.conf cat /etc/hosts cat /etc/hostname cat /etc/nsswitch.conf pacman -Ss nss-myhostname
KISS my Arch
Okay, here is some more information about my current configuration.
# # /etc/hosts: static lookup table for host names # #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost ArchLinux ::1 localhost.localdomain localhost # End of file
nameserver 192.168.4.100 search cache1.service.virginmedia.net
With the nss-myhostname package that comes with the standard base these days, you don't need to add anything to your /etc/hosts file. Instead, use hostnamectl from the command line.
# hostnamectl set-hostname --static Archlinux
Still no luck. Thanks for trying though.
Does ping work if you type in the complete address like here?
ping -c 5 22.214.171.124
No it doesn't
When I try typing in
I just get a host unreachable error. An it also says that something in extra is missing and it doesn't work with multilib unchecked.
I think that the resolv.conf is wrong but I'm not sure...
Simplify your resolv.conf to
and try again.
just get a host unreachable error. An it also says that something in extra is missing and it doesn't work with multilib unchecked.
/iputils 20121114-1 (base)
Network monitoring tools, including ping
Last edited by teateawhy (2012-11-24 16:38:17)
I just tried to simplify it like you said but still nothing. I tried to ping google.com and it said unknown host. Then I tried to get up iwconfig but it says command not found.
this is the nsswitch.conf
# 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
Also, I don't know of it is but I don't have a rc.conf file.
I think your network isn't up at all. Deal with that first, and the rest of this will probably just work.
will show you if your network interface is up.
lenovo w500 | ssd 850 evo | openbox | urxvt | qupzilla