Used rank mirror script but everyone "connection time-out

What is going on?
I can ping google no problem, but like the subject says everything says "connection time-out" when I try to
pacman -Syy
or when I try to
pacstrap /mnt base base-devel
So what is going on?

mrhobbeys wrote:
First, I edited my nameserver and things seemed to be going well but for some reason /etc/resolv.conf reverted back to the origianl...
What is going on?
It's being rewritten by dhclient or dhcpcd, most likely. You can put your settings in /etc/resolv.conf.head to get them to stick, because when dhcpcd rewrites resolv.conf it includes the contents of resolv.conf.head at the start of the file. You can also tell dhcpcd not to rewrite resolv.conf by adding "nohook resolv.conf" to /etc/dhcpcd.conf. I assume you can do the same with dhclient, but I don't know how off the top of my head and I'm writing this from a train with very patchy coverage on my phone so I'm having trouble getting the page to load.
The culprit may also be pppd, if you're running ppp connections off this machine. You can disable usepeerdns in the config for that ppp peer.

Similar Messages

  • Connection time-out but then immediately after, no problem

    For some reason, the first time I use pacman (after not having used it in a while), the connection times out, but when I Ctrl+C and then do the exact same thing, it starts working.
    Any ideas why?
    $ sudo pacman -S tmux
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): libevent-2.0.19-1 tmux-1.6-2
    Total Download Size: 0.44 MiB
    Total Installed Size: 2.19 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    error: failed retrieving file 'libevent-2.0.19-1-i686.pkg.tar.xz' from ftp.lysator.liu.se : Connection time-out
    ^Cerror: failed retrieving file 'libevent-2.0.19-1-i686.pkg.tar.xz' from mirrors.ustc.edu.cn : Connection time-out
    Interrupt signal received
    $ sudo pacman -S tmux
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): libevent-2.0.19-1 tmux-1.6-2
    Total Download Size: 0.44 MiB
    Total Installed Size: 2.19 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    libevent-2.0.19-1-i686 296.9 KiB 724K/s 00:00 [#####################] 100%
    :: Retrieving packages from community...
    tmux-1.6-2-i686 152.2 KiB 1801K/s 00:00 [#####################] 100%
    (2/2) checking package integrity [#####################] 100%
    (2/2) loading package files [#####################] 100%
    (2/2) checking for file conflicts [#####################] 100%
    (2/2) checking available disk space [#####################] 100%
    (1/2) installing libevent [#####################] 100%
    Optional dependencies for libevent
    python2: to use event_rpcgen.py
    (2/2) installing tmux [#####################] 100%
    Last edited by damd (2012-08-13 11:20:38)

    cfr wrote:Is this issue pacman-specific? Do you know that you definitely have a known-good connection when you're invoking pacman?
    I'm using SSH to connect to the server where this problem is happening, indicating that the LAN connection works. Before invoking pacman I've tried pinging google.com, which works flawlessly.
    The problem is still there, I just tried it.
    EDIT: This actually happens with wget too:
    $ wget https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    --2012-08-12 21:11:32--  https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    Resolving aur.archlinux.org... ^C (took a very long time)
    $ wget https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    --2012-08-12 21:11:43--  https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    Resolving aur.archlinux.org... 208.92.232.29 (works here)
    Last edited by damd (2012-08-12 19:12:35)

  • [SOLVED] Pacstrap connection time-out

    SOLUTION: Don't be a newbie like me and not know what DNS stands for. What I did to solve my problem was simply modify my /etc/resolv.conf to point to 8.8.8.8 instead of my default gateway.
    G'day everyone, I apologize in advance for my lack of experience.
    I understand this distribution is not for beginners, but I personally love steep learning curves as it provides the most enjoyable and interesting experience for me.
    It's also the fastest way to learn.
    Albeit, I have yet to even successfully install Arch!
    I'm a little put off, but I've already deleted my Windows partition so now I am committed.
    Anyways, so I've been following the absolutely wonderful Beginner's guide. But I seem to have made some huge mistake, or something is terribly wrong.
    I'm only upto the part where it suggest typing "pacstrap /mnt base base-devel".
    However when I put that command in, I am eventually returned with:
    1 root@archiso ~ # pacstrap mnt base base-devel
    ==> Creating install root at /mnt
    ==> Installing packages to /mnt
    warning: database file for 'core' does not exist
    : : Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
    error: failed retrieving file 'core.db' from ftp.iinet.net.au : Connection time out
    Etc etc. I tried using the original Mirrorlist and that gave me back 30 odd different server connection time outs. So I switched to just the Australian servers. It managed to download the 'extra' and 'community' packages when I swapped (they weren't downloading earlier either).
    I've done a bit of searching (probably not enough) but I'm about to head off to sleep as it's almost midnight and I have work tomorrow. So I figured there's no harm in posting as that gives people many hours to respond. What I did find in my searching was that things like this occur when iPv6 is enabled. Unfortunately I don't have the luxury of restarting (or so I believe), because as you may have seen I'm actually trying to still install! So I'm a little stuck? Any help at all is appreciated, even if it's like
    ArchLinuxPro wrote:Get out of here, you are too noob, go look at *insert easy way to learn Arch Linux here*.
    Thanks,
    Aaron.
    Last edited by Ikbosh (2012-09-23 16:41:37)

    ajaykumar wrote:
    Hi lkbosh,
    Ikbosh wrote:Although, I started Arch up into a VM environment and had no issues installing base and base-devel.
    I think you can use those installed packages in order to install into your home computer. Please go through the following link
    Custom Local Repository - Howto
    I think it might help you in easy-install
    With regards,
    Ajay Kumar G
    Unfortunately there's no way for me to connect to this VM remotely from home. Our work network is locked up pretty tight.
    DSpider wrote:Or try the link above that: https://wiki.archlinux.org/index.php/Pa … _USB_stick
    I'd do that, but I'm too far away from getting a running Arch linux inside my VM (Ended up having to do work most of the day ), let alone enough time to configure Guest Additions
    plustwo wrote:
    can you ping google.com?
    you might also check your /etc/resolve.conf.
    and are going through a proxy perhaps?
    tnx
    Prior to deleting
    inet 192.168.2.232/24 brd 192.168.2.255 scope global eth0
    I was able to ping google. My "/etc/resolve.conf" pointed to my router and there are definitely no proxies that I'm going through.
    Off topic: Also, I just found out they are allowing pre-loading of Borderlands 2 D:
    I think I might have to just grab another SSD from here at work and use that for Linux.
    Because I deleted Windows 8 off my current SSD because it was being an arse and not letting CFDISK or Parted or GParted (Ubuntu Live) from seeing the partitions (I gave Arch ~10GB to mess with on the SSD and ~100GB on my HDD).
    Last edited by Ikbosh (2012-09-18 08:57:12)

  • HT4628 my powerbook g4 os x 10.5.8 leopard is showing-Connection time out while connecting to the wifi.however it showing all available wifi connections around but not connecting it..however ethernet is working

    Problem while connecting with Wi-Fi,
    When i am connecting my powerbook g4 leopard  to any Wi-fi connection it showing -Connection time out, however Ethernet is working .I have updated all softwares but still same problem.

    It's possible that either the internal AirPort Extreme card or the antenna is faulty or has failed.
    One last thing to try before going with another Wi-Fi solutions is to the following:
    Try the following, in order, until (hopefully) resolved:
    1a. Delete Preferred Network(s)
    System Preferences > Network > AirPort > Advanced > AirPort tab
    Under "Preferred Networks," delete the network(s) you regularly use from the list.
    1b. Delete AirPort Keychain Entries
    Launch the "Keychain Access" application located in Applications/Utilties.
    Click on the "Kind" filter at the top, and look for any "AirPort network password" entries...and delete them.
    1c. Add Preferred Network(s)
    System Preferences > Network > AirPort > Advanced > AirPort tab
    Add the preferred network(s) using the "+" button.
    Restart or log out then back in.
    2. Move System Configuration Files
    (Note: You will have to reestablish your network connections settings.)
    Go to /Library/Preferences
    Move the SystemConfiguration folder to the desktop.
    Restart your Mac. (Note: OS X will rebuild the files that are now sitting on your desktop. If this doesn't resolve the issue, you can move the folder back to it's original location.)
    3. Run the Disk Utility to repair Disk Permissions.
    Restart or log out then back in.
    4. Turn off the Mac OS X Firewall
    System Preferences > Sharing > Firewall
    Click the "Stop" button.
    5. Create a New User Account
    System Preferences > Accounts
    Click "+" to add a new account
    Log off, then log back on with the new user account.
    Try connecting with the AirPort.
    If none of these help resolve the issue, you may want to consider getting a USB wireless adapter to replace both the internal card and antenna. One such vendor of these adapters is Other World Computing (OWC).

  • I want to watch a video from netflix, from my macbook pro, using the mirror tool, but it frezzes sometimes or goes to slow,  can you help

    i am tring to use my Apple tv to watch netflix videos from my computer, using the mirror tool, but it goes to slow, frezzes, or skip the audio some times i womder if that has to do with the internet ? or its jus normal..

    Welcome to the Apple Community.
    It's fairly certain it's your local network. Why are you trying to mirror something you already have on the Apple TV.

  • How do you avoid Connection Time Out when using Migration Assistant

    Connection Time Out occurred when trying to use Migration Assistant to Transfer filess from a Windows Computer to a new iMac.  What do I do to avoid this?
    I've connected the Windows computer to the iMac using an ethernet cable and both computers are on the same network.  When I started the transfer, it said it was copying the first file on both machines but nothing was happening.  Then finally it said there was a Connection Time out.  Is there anything else I need to check?

    I suspect it has something to do with your network settings on your PC. I'd recommend calling AppleCare right away. you have 90 days of free AppleCare telelphone support, they can help walk you through the process. Also if you haven't already i'd strongly recommend Pondini's guide to using Migration Assistant. You can locate it by clicking:
    http://www.pondini.org/OSX/Setup.html

  • Cannot connect to WIFI - 'connection time out occured' but also says 'no ip address'

    Hi,
    I've searched the web and found endless issues with the wifi router / etc of the Imac Lion system. On the same wifi network we have a mac book (leopard I think), a pc laptop (which I am using now) and 2 phones + my brand new Imac with Lion osx. The first 4 items all connect with no problems.
    I tried some of the sollutions here but it even made it worse as I now not have any connection at all!
    http://support.apple.com/kb/HT4628
    When I try to connect trhough systems preferences/network I get the message that my password is incorrect and that there is no IP address. Password is definitely correct. When I try to connect from the symbol in the right top corner - I get the message 'connection time out occured'
    I am a bit of a Mac dummy ... any help is really appreciated.
    Thanks
    Billie

    Hi BDAqua,
    Thanks a lot for getting back to me.
    Not so sure what your first questions means - or how to check this?
    I tried joining other Wi-Fi network:
    If I choose security 'WPA Personal' i get the message: connection time out
    If I choose security 'WPA2 Personal' or 'WEP'  i get the message@ no network found
    hmmmm any suggestions? Thanks so much
    Billie

  • I have a Mac Book and purchased a Bose system that uses an antenna to play music from the the laptop - it works great, but the computer times out and shuts down - Help

    have a Mac Book and purchased a Bose system that uses an antenna to play music from the the laptop - it works great, but the computer times out and shuts down - Help

    Check in "System Preferences">"Energy Saver" to see if you have the "Computer Sleep" bar set too low.

  • Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems.

    Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems. Where can i download the ios5 from as my itunes is on my desktop which uses windows xp. Please help

    Download iOS 5.1
    iOS 5.1 (build 9B176) is compatible with iPad 1, iPad 2, iPhone 3GS, iPhone 4, iPhone 4S, iPod touch 3rd & 4th gen, and iPad 3. Additional builds are available for Apple TV 2 and Apple TV 3. The below download links are all direct downloads of iOS 5.1 from Apple.
    iPad 1
    iPad 2 Wi-Fi
    iPad 2 GSM (AT&T)
    iPad 2 CDMA (Verizon)
    iPad 2,4
    iPhone 3GS
    iPhone 4 GSM (AT&T)
    iPhone 4 CDMA (Verizon)
    iPhone 4S
    iPod touch 3G
    iPod touch 4G
    iPad 3 Wi-Fi
    iPad 3 GSM
    iPad 3 CDMA
    Apple TV 2 (9B179b1)
    Apple TV 3 (9B179b1)
    Source: http://osxdaily.com/2012/03/07/ios-5-1-download/

  • I am having Macbook Pro, I have recently tried updating my operating system to OS Yosemite, but after that its giving problem in connecting to Wifi. The error is "Connection Time out Occurred". Its getting connected by Ethernet cable.

    I am having Macbook Pro, I have recently tried updating my operating system to OS Yosemite, but after that its giving problem in connecting to Wifi. The error is "Connection Time out Occurred". Its getting connected by Ethernet cable.

    Take each of the following steps that you haven't already tried, until the problem is resolved. Some of these steps are only possible if you have control over the wireless router.
    Step 1
    Turn Wi-Fi off and back on.
    Step 2
    Restart the router and the computer. Many problems are solved that way.
    Step 3
    Change the name of the wireless network, if applicable, to eliminate any characters other than letters and digits. You do that on your router via its web page, if it's not an Apple device, or via AirPort Utility, if it is an Apple device.
    Step 4
    Run the Network Diagnostics assistant.
    Step 5
    In OS X 10.8.4 or later, run Wireless Diagnostics and fix the issues listed in the Summary, if any.
    Step 6
    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Enter the name of your wireless network in the search box. You should have one or more "AirPort network password" items with that name. Make a note of the name and password, then delete all the items. Quit Keychain Access. Turn Wi-Fi off and then back on. Reconnect to the network.
    Step 7
    You may need to change other settings on the router. See the guidelines linked below:
    Recommended settings for Wi-Fi routers and access points
    Potential sources of interference
    Step 8
    Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    Step 9
    Reset the System Management Controller (SMC).

  • I don't remember my security answer and it's not my 1st time for using this device,i using this before..but the last time I try to buy some games using iTunes card its saying this is your 1st time using this device so I need to answer the security questio

    i don't remember my security answer and it's not my 1st time for using this device,i using this before..but the last time I try to buy some games using iTunes card its saying this is your 1st time using this device so I need to answer the security questio

    https://expresslane.apple.com/

  • 'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    You said:
    We still couldn't get it to stop timing out. I tried to download the firmware from iClarified but iTunes said it didn't recognise the software.
    Just what did yo do to gt iTunes to see the download:

  • Connection time out

    Hello everyone,
    I'm using modem PK5000 from Century Link. My other two desktops are using Window and in the same room w my modem.
    I got connection time out every time my computer started playing the screen saver.
    All I have to do is restarting my modem but it's so unconvinience.
    I called Century Link customer service and all they told me is changing the channel but it didn't solve the problem.
    At school and other people's places, my wifi works just fine.
    I used cleanmymac about a month ago and this problem started a week ago.
    Can cleanmymac cause the problem? If so, how can I check and fix it?
    I check the apple store to update my software but everything is up to date.
    Can it be the firmware of my modem? My brother who uses the two desktops (and they connect to the modem with LAN cables) upgraded firmware last week and it seems like when the problem started.
    And when my Mac loses the wifi signal, my printer still has the signal, but my desktop cannot log-in to page 192.168.0.1 which manages the modem and wifi even though the desktop connects w my modem by LAN cable and it still connects to the internet.
    If you have any clue, please help!
    Thank you so much!

    Thanks Todd, Wayne,
    this network timeout sure seems to be the guilty one!
    I've changed it, lets see if it's fixed but sure looks like it.
    The thing is that I was looking for GWWS tuning here :
    http://edocs.bea.com/salt/docs20/ref/comref.html#wp1117652
    but should have looked here
    http://edocs.bea.com/salt/docs20/admin/config.html#wp1056667
    Thanks,
    Gary

  • Connection time-out issues each first try of pacman

    Hi,
      I am new to arch. I keep getting a connection time-out each time I use pacman for the first time. I have to do a ctrl+z to stop the command and then delete the db.lck file and then when I run pacman again, any operation on pacman that I had tried works flawlessly.
      Do I need to do something to fix this? I check there was a similar thread in 2012, but it ended without any results.
    Cheers,
    Prashanth

    geekoo wrote:@WonderWoofy: The second time on it works with the same mirrors. I am using the Indian http mirror at the top of the list. US mirror follows. When it fails, it takes a sweet 30 odd minutes to run through all of the mirrors and fails.
    I'm pretty sure you can disable all the mirrors you don't want to use, try lowering the list to only those in Asia to minize your waiting time atleast. I get a time-out occasionally on the first run, but running anything inside China's GFW is a roll of the dice.

  • PACMAN: connection time out, PASV

    Hello:
    This seems to be a regular topic in the forum, but I tried to solve and I could not.
    I just installed Archlinux, so, I'm still in console mode and can not paste the information.
    When I try to do the:
    pacman -Syy
    for the update, I get that the connection times out.
    I activated the:
    XferCommand=/usr/bin/wget --passive-ftp -c -O %o %u
    For some diagnose, and it hangs in the tag PASV ..., which I do not the meaning.
    I uses ping and it works, I can receive and send packages.
    I selected different mirrors, like some 15, and, in all, I get this error.
    I changed in the /etc/rc.conf some network things: read in a forum that, in that file, I must change the:
    gateway="default gw 192.168.0.1"
    to
    gateway="default gw 192.168.1.1"
    And did not work. Also I take out the "!" in the gateway, with the same results. After all that, I putted in the original form.
    I'm behind a the most horrendous proxy in my college, it block many pages, but I do not thing that's the problem, because in Windows I can download from ftp, etc. After all, when using ping, it works!
    Any suggestion please?
    EDIT: I have a 64 bit system, if that suggest something.
    Last edited by gromlok (2010-04-19 12:30:17)

    Hello:
    Well, the "error" message is that the "connection times out", after that, it tries to reconnect to the same mirror, and again, it gives me that message. Later, it goes to another mirror -if I have it uncommented-, and so on, until my mirror list ends.
    In the /etc/rc.conf I uncommented the following line:
    XferCommand=/usr/bin/wget --passive-ftp -c -O %o %u
    So, when I do "pacman" I get some additional information -which I can not understand-, but It connects to the server of the mirror, and some flags appears, but in the PASV flag, it hangs, until I get the connection times out message. Any idea of what indicates this flag? -passive something?-
    In my /etc/resolv.conf I got:
    domain: XXXXX.com
    name server: XXX.XXX.X.XXX
    What can I do with this information. I did not modify any file after installation, just what posted at the beginning of the thread.
    I can ping to any page, for example, www.google.com, whit few lost data, and I receive the packages.
    Waiting for your answers. (help!!)
    Greetings
    Last edited by gromlok (2010-04-19 13:48:17)

Maybe you are looking for

  • Magic zoom in graphic

    At the link below there is this very cute graphic thingie where you scroll your mouse over the photo of the bike and it magnifies the bit you are scrolling over to show full detail. There is something similar in Adobe Bridge where you scroll your mou

  • Tv buying nightmare

    I purchased a TV last fri night. After being ingnored and walked by numerous times my girlfriend finally got someone to help us. The guy we ordered from was really helpful, more on that later though. We were promised a tuesday delivery date the follo

  • Software Update and SMS

    I will like to know if i update my OS to a more recent one, will the new or recent one include Word, Sheet and Slideshow To Go? Anytime am sending SMS on my curve 8520, just before delivering the message the phone usually switch off by itself. Please

  • Create empty asset error

    Hello, I am getting an error while creating empty assets. The same code was running well yesterday but not today. I have not made any changes anywhere. I just shut down my system yesterday and start today. Please let me know what's wrong...  Here is

  • GetUserRoles() in SecurityContext returns LDAP group names

    Hi, getUserRoles() in SecurityContext returns LDAP group names along with the application role of the user. Is this expected? If not what could be the possible issue. I have OVDLDAP configured in the weblogic server. Thank you.