Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
Results 31 to 32 of 32
Like Tree1Likes
@Johnathan: /etc/resolv.conf opens up a file if I put nano in front of it. There is nothing in that file... should there be?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Just Joined!
    Join Date
    Mar 2012
    Location
    Dallas Texas
    Posts
    81

    @Johnathan: /etc/resolv.conf opens up a file if I put nano in front of it. There is nothing in that file... should there be?

  2. #32
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    resolv.conf should have information in ...
    Code:
    man resolv.conf
    for more info

    mirrorlist should have at least one mirror uncommented ... I'm in the UK and pacman can use 3 servers ...

    Code:
    # - Great Britain
    #Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
    #Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686
    Server = http://archlinux.mirrors.uk2.net/$repo/os/i686
    Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/i686
    Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/i686
    
    ## Great Britain
    #Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.cinosure.com/archlinux/$repo/os/$arch
    #Server = http://mirror.cinosure.com/archlinux/$repo/os/$arch
    #Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/$arch
    #Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
    
    ## Any
    #Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
    #Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
    Root is all powerful ... if you get accessed denied as root then you won't do any better as another user ... but be careful root is all powerful - so only login as root when you have to

    I think if you have a server uncommented in mirrorlist the next thing to check is if you can ping a server ...
    ping www.google.com
    if that fails then try to ping an ip address directly
    ping 173.194.66.103
    which should get google.com

    results should look something like this
    Code:
    PING 173.194.66.103 (173.194.66.103) 56(84) bytes of data.
    64 bytes from 173.194.66.103: icmp_req=1 ttl=47 time=53.7 ms
    64 bytes from 173.194.66.103: icmp_req=2 ttl=47 time=48.3 ms
    64 bytes from 173.194.66.103: icmp_req=3 ttl=47 time=54.5 ms
    64 bytes from 173.194.66.103: icmp_req=4 ttl=47 time=48.5 ms
    If all else fails then lets check the system startup information ... post the output of
    Code:
    cat /etc/rc.conf
    so we can see how you are loading modules, have the network configured and deamons you are running ...

Page 4 of 4 FirstFirst 1 2 3 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •