You are not logged in.
Pages: 1
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.
Offline
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
Thanks
KISS my Arch
Offline
Okay, here is some more information about my current configuration.
inside hosts.conf
#
# /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
inside resolv.conf
nameserver 192.168.4.100
search cache1.service.virginmedia.net
Offline
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
Offline
Still no luck. Thanks for trying though.
Offline
Does ping work if you type in the complete address like here?
ping -c 5 8.8.8.8
(google nameserver)
Offline
No it doesn't
Offline
When I try typing in
ping google.com
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.
Offline
I think that the resolv.conf is wrong but I'm not sure...
Offline
Simplify your resolv.conf to
nameserver 8.8.4.4
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)
Offline
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.
Offline
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.
Offline
I think your network isn't up at all. Deal with that first, and the rest of this will probably just work.
Offline
ip link
will show you if your network interface is up.
lenovo w500 - huawei matebook 14 | archlinux | swaywm | alacritty | falkon
Offline
Pages: 1