[SOLVED] netcfg DHCP IP lease attempt failed

I'm trying to configure my network settings, I made a profile, netcfg recognizes the profile, but when it loads I get that error (DHCP IP lease attempt failed). Here is my profile...
CONNECTION='wireless'
INTERFACE='wlan0'
SECURITY='none'
ESSID='my network name'
IP='dhcp'
DCHP_TIMEOUT='30'
Last edited by oldstutz (2010-07-30 18:33:54)

jogan wrote:
jogan wrote:
Do you have any idea how to load the rt2860 driver from /lib/firmware/rt2860.bin?
My attempt to load the driver with MODULES in /etc/rc.conf has been unsuccessful.
oldstutz wrote:RaLink RT2860, and I have rt2860sta in my modules
I've battled this issue for weeks on my notebook ... wireless worked on Arch (2009.08)
last year.  Seems to me now the culprit maybe rt2860sta.
OK, let's check
lsmod | grep -i rt2860

Similar Messages

  • Netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

    i couldn't find a solution for this on the forums, though it seems to be a well known problem ...
    the drivers for my network device eth1 (zd1211) are installed and it is detected by iwconfig after a fresh arch install.
    the file WirelessLAN is set up like this:
    CONNECTION="wireless"
    INTERFACE=eth1
    SCAN="yes"
    SECURITY="wpa"
    ESSID="..."
    KEY="..."
    IP="dhcp"
    TIMEOUT=20
    but a netcfg2 WirelessLAN gives me:
    :: WirelessLAN up                                                               [BUSY]
    DHCP IP lease attempt failed                                               [FAIL]
    any ideas ???
    Last edited by fdrebin (2008-09-28 16:13:20)

    Hi.
    I got the same problem since dhcpd was updated during the last full-system-upgrade (-Suy).
    My profile is the following:
    CONNECTION="ethernet"
    DESCRIPTION="..."
    INTERFACE=ra0
    IP="dhcp"
    DHCP_TIMEOUT="30"
    PRE_UP="ifconfig ra0 up; iwconfig ra0 essid Ranger channel 9 mode managed"
    I know that this config is very ugly, but it worked.
    I have got another config, that may look better for you, but I don't know if it works. I created it today. If I try this new profile, I get the same error.
    In the past configs like this led to other errors. So I made the ugly config above.
    CONNECTION="wireless"
    DESCRIPTION="..."
    INTERFACE=ra0
    SCAN="yes"
    SECURITY="none"
    ESSID="Ranger"
    IP="dhcp"
    DHCP_TIMEOUT=30
    Do you have any hints, how I can get more a detailed error report. Downgrading dhcpd would be a good idea, too. Any hints for that?
    Thanks for your help.
    Alpha

  • Netcfg laptop wireless - "DHCP ip lease attempt failed"??

    hey folks. just loaded arch onto a toshiba laptop. in the process of configuring wireless, i followed the netcfg config instructions in the wiki. It worked fine the first time, but when I rebooted every subsequent time i tried to connect I get the "DHCP IP lease attempt failed" error. IN my logs i get absolutely nothing helpful - just "wlan0: rebinding lease of 172.16.0.138" and "wlan0: timed out". Of course, when I had Windows XP on the laptop it had zero problems connecting to the network, and it makes no damn sense why I was able to connect intially but each time after that it times out. My router has no problems.
    I did a forum search and someone suggested that this was because of a "bug" and to delete the file "/var/lib/dhcpcd/dhcpcd-wlan0.lease" file. I did this, and was able to connect successfully. But this is not a solution; am I really supposed to delete the lease EVERY time I reconnect/reboot the machine? Doesn't make any sense at all.
    Can ANYONE please help on this? I can post whatever config file/log info you need. This seems like it should be a simple setup, but I've come to realize nothing's ever simple in the linux world.... btw my network uses WPA2. There wasn't anything in the wiki about WPA2 (must be really really old, huh?); could this be part of the problem?

    Alternatively, try adding
    PRE_UP=' [ -e /var/lib/dhcpcd/dhcpcd-wlan0.lease ] && rm /var/lib/dhcpcd/dhcpcd-wlan0.lease '
    to the profile with the problem.
    Edit: I misspelled "dhcpcd" in the code above.
    Last edited by alexandrite (2010-08-15 14:54:33)

  • Wired "dhcp ip lease attempt failed"/no internet

    Hi, I've been using netcfg on arch for a couple months now and never had trouble with it until today, I just changed internet carrier and the guy came install the modem here and I tried to plug my laptop to it and I can't get internet. Before whenever I plugged an Ethernet cable it would connect automatically because of ifplugd. I use the profile "ethernet-dhcp" from the examples that I copied to /etc/network.d. When I plug the wire, internet doesn't work so I tried : netcfg -a : Done, netcfg ethernet-dhcp and get "dhcp ip lease attempt failed".
    I read the forums and tried some solution proposed to people with same error message but with wireless and sometimes I can connect to the profile, but I still don't have internet.
    I've plugged the cable in my eepc running win7 and it works (I'm writing this from the eepc). Also the link light flashes on the modem And on my T61 when I plug the cable in the ethernet slot. I tried a static profile with the same ip as my eepc but no joy.
    any suggestions ?
    thank you

    Hi, I've been using netcfg on arch for a couple months now and never had trouble with it until today, I just changed internet carrier and the guy came install the modem here and I tried to plug my laptop to it and I can't get internet. Before whenever I plugged an Ethernet cable it would connect automatically because of ifplugd. I use the profile "ethernet-dhcp" from the examples that I copied to /etc/network.d. When I plug the wire, internet doesn't work so I tried : netcfg -a : Done, netcfg ethernet-dhcp and get "dhcp ip lease attempt failed".
    I read the forums and tried some solution proposed to people with same error message but with wireless and sometimes I can connect to the profile, but I still don't have internet.
    I've plugged the cable in my eepc running win7 and it works (I'm writing this from the eepc). Also the link light flashes on the modem And on my T61 when I plug the cable in the ethernet slot. I tried a static profile with the same ip as my eepc but no joy.
    any suggestions ?
    thank you

  • Wireless: DHCP IP lease attempt failed

    Hi,
    did an upgrade today and now I get the above error message, when trying to connect to my router with netcfg2. The exact error message is like following:
    [root@tux matthias]#
    [root@tux matthias]# netcfg2 home
    dhcpcd: wlan0: ignoring DHCP message; no Server ID
    dhcpcd: wlan0: ignoring DHCP message; no Server ID
    dhcpcd: wlan0: ignoring DHCP message; no Server ID
    dhcpcd: timed out
    :: home up - DHCP IP lease attempt failed [FAIL]
    My /etc/network.d/home looks like that:
    CONNECTION="wireless"
    INTERFACE=wlan0
    QUIRKS=(prescan preessid)
    SCAN="yes"
    SECURITY="wpa"
    ESSID="wirelessbox"
    KEY="..."
    IP="dhcp"
    TIMEOUT=30
    I did nothing except updating. Everything worked fine before that.
    Any hints?
    EDIT: I added the QUIRKS line after getting the error message, because a guy on IRC suggested that. This didn't help either.
    Last edited by mamr (2009-05-11 12:46:11)

    rsmarples wrote:
    dhave wrote:
    rsmarples wrote:You can't "turn the message off" as such. You you see the ignoring message then the DHCP packet really is ignored. So if you see that message AND dhcpcd still works with a proper IP (ie not ipv4ll) then you have 2 DHCP servers running on your network and one of them is fautly.
    Thanks for the explanation. Is this a problem to have a broken DHCP server running for no purpose? Is this hurting my gas mileage or anything?
    Well, you're probably better off finding the faulty router and disabling it.
    dhcpcd presently selects and uses the first DHCP working reply it gets and if the server is "fixed" to send ServerID then you could get conflicting lease information.
    I see I have a lot to learn. The reason it's finding two routers is that I have a modem-router and then, in another part of the house, an access point that I've configured as a repeater (actually, since it has a separate ssid, maybe it's not considered a repeater; I don't know).
    When I move my laptop from my office into the living room, I often switch from connecting through the "repeater" and connect directly to the modem-router. It's at this point that I get the messages about "no server ID". So, in fact, dhcpcd is doing what it's supposed to be doing, I guess.
    I need to do some reading and try to figure out if my setup could be cleaned up so as to avoid lease conflicts or whatever. When I fool with network stuff, I'm always working beyond my level of understanding. I usually just fiddle until I get things to work, which means I probably could do a lot to streamline and improve performance.

  • DHCP IP lease attempt failed

    Hello
    I have a problem with netcfg. It works perfectly at home. However, now that I am trying to connect to another router it keeps giving me this error and I can't figure out why and how to fix.
    I have read several discussion on this forum on netcfg errors, however, none of them helped me, so I am asking here again.

    More details required - start with "wired or wireless?", then move on to "have I created a profile for the new network?".
    If wired, make sure your link lights are on, then try a static IP.
    If wireless, try a manual connection, as described in the wiki's wireless page.

  • [SOLVED] netcfg "IP lease attempt failed" on ethernet connection

    Since the latest update today I can't connect to the Internet (using an ethernet cable) any more.
    # NETCFG_DEBUG="yes" netcfg cable
    DEBUG: Loading profile cable
    DEBUG: Configuring interface eth0
    :: cable up [BUSY]
    DEBUG: status reported to profile_up as:
    DEBUG: Loading profile cable
    DEBUG: Configuring interface eth0
    DEBUG: ethernet_iproute_up ifup
    DEBUG: ethernet_up dhcpd -qL -t 30 eth0
    DEBUG:
    > DHCP IP lease attempt failes.
    DEBUG: profile_up connect failed
    [FAIL]
    System: Arch 64
    Does anyone have any idea what might be wrong? Not sure where to start there, as the interface eth0 seems to be up and all right under ifconfig.
    Thanks for any hints.
    Last edited by JackH79 (2011-12-01 00:53:19)

    Thanks very much for your suggestions, ewaller.
    Weirdly enough though, this morning I came into work, plugged in the cable and, voilà, it worked straight away.
    Maybe it's just that time of the month.
    Anyway, thanks again to you and cybertorture. I'll mark this as solved for now.
    EDIT: Just a little follow up to make it a bit more embarassing: I just realised that it was actually the port of the switch that's broken. So thanks to ewaller for stating the obvious
    Last edited by JackH79 (2011-12-01 07:05:25)

  • Iwl4965, netcfg2 lease attempt failed

    I'm trying to get my iwl4965 running with netcfg2, but i keep getting stuck on the actual connection/dhcp process.  These are the packages i have installed:
    core/wireless_tools 29-2 [installed]
    Wireless Tools
    core/iwlwifi-4965-ucode 228.57.2.21-1 [installed]
    Intel wireless firmware for IPW4965 (iwlwifi driver)
    core/wpa_supplicant 0.5.10-1 [installed]
    A utility providing key negotiation for WPA wireless networks
    core/netcfg 2.0.6-1 [installed]
    Network configuration and profile scripts
    test.profile:
    CONNECTION="wireless"
    INTERFACE=wlan0
    SCAN="no"
    SECURITY="wpa"
    ESSID="Meow"
    KEY="mypasswd"
    IP="dhcp"
    TIMEOUT=20
    iwlist wlan0 scan:
    Cell 02 - Address: 00:19:CB:09:35:EE
    ESSID:"Meow"
    Mode:Master
    Channel:7
    Frequency:2.442 GHz (Channel 7)
    Quality=85/100 Signal level=-48 dBm Noise level=-127 dBm
    Encryption key:on
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : TKIP
    Authentication Suites (1) : PSK
    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : CCMP
    Authentication Suites (1) : PSK
    Preauthentication Supported
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
    6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
    36 Mb/s; 48 Mb/s; 54 Mb/s
    Extra:tsf=0000000c3c85d01a
    when i issue a netcfg2 test.profile, it's status says BUSY and stays like that indefinitely. when i then press control-c i get an extra line saying the DHCP lease failed:
    :: Meow up [BUSY]
    ^C - DHCP IP lease attempt failed [FAIL]
    dmesg:
    ADDRCONF(NETDEV_UP): wlan0: link is not ready
    wlan0: Initial auth_alg=0
    wlan0: authenticate with AP 00:19:cb:09:35:ee
    wlan0: RX authentication from 00:19:cb:09:35:ee (alg=0 transaction=2 status=0)
    wlan0: authenticated
    wlan0: associate with AP 00:19:cb:09:35:ee
    wlan0: RX AssocResp from 00:19:cb:09:35:ee (capab=0x51 status=0 aid=2)
    wlan0: associated
    ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    wlan0: no IPv6 routers present
    wlan0: deauthenticate(reason=3)
    could it be something trivial i'm missing? i've used wireless without problems before using networkmanager, but i really would like to use netcfg2 instead.

    Hello, there seems to problems with this iwl4965-driver.
    Those guys have similar problems:
    http://bbs.archlinux.org/viewtopic.php?id=53300
    and here is another problem with this driver described:
    http://bbs.archlinux.org/viewtopic.php? … 42#p396142
    So, it seems as these problems are related, so just try to use an older driver version.

  • [Solved] Netcfg 2.6.1 - suddenly fails to associate with WPA2 network

    Everything around here seems to be breaking these days... Anyways.
    I upgraded netcfg yesterday. Today I fire up my laptop, but no wireless. I run netcfg again, this is what wpa_supplicant spits out:
    # netcfg intel
    :: intel up [BUSY]
    Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
    Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
    ^C
    The funny thing is, nothing's changed in the netcfg config file, which looks like this:
    CONNECTION="wireless"
    INTERFACE="intel"
    HOSTNAME="hermes"
    # AP authentication
    SCAN="yes"
    SECURITY="wpa-config"
    WPA_CONF="/etc/wpa_supplicant.conf"
    WPA_OPTS="-Dwext -B"
    ESSID="Zeus 802.11n"
    # IP address
    IP="dhcp"
    DHCP_TIMEOUT=10
    I compared my config to the examples that come with netcfg - just to be sure nothing's changed that I wasn't aware of - but it looks pretty identical. Oddly enough, calling wpa_supplicant and then dhcpcd directly just connects me to my WLAN, like netcfg used to be able to do.
    For reference, netcfg seems to call wpa_supplicant like this, going by htop's output:
    wpa_supplicant -Dwext,nl80211 -c /etc/wpa_supplicant.conf -B -i intel -d
    When run separately, however, that works just fine, just like using -Dwext like I used to do before.
    Last edited by .:B:. (2011-06-21 22:29:55)

    My understanding is that the thing fails in start_wpa(). From /usr/lib/network/8021x:
    start_wpa()
    local INTERFACE="$1" WPA_CONF="$2" WPA_DRIVER="$3"
    shift 3
    local WPA_OPTS="$*"
    wpa_supplicant -B -P "/run/wpa_supplicant_${INTERFACE}.pid" -i "$INTERFACE"-D "$WPA_DRIVER" -c "$WPA_CONF" $WPA_OPTS
    sleep 1
    if [[ ! -f "/run/wpa_supplicant_${INTERFACE}.pid" ]]; then
    return 1
    fi
    So, you should have seen "-P' in htop, no? Have you tried w/o WPA_OPTS?
    EDIT: OK, I was wrong. The error seems to come from wpa_supplicant/wp_cli calls with the new /run standard:
    arch~> grep "/run/wpa_supplicant" ./usr/lib/network/8021x
    WPA_CLI="wpa_cli -p /run/wpa_supplicant"
    wpa_supplicant -B -P "/run/wpa_supplicant_${INTERFACE}.pid" -i "$INTERFACE" -D "$WPA_DRIVER" -c "$WPA_CONF" $WPA_OPTS
    if [[ ! -f "/run/wpa_supplicant_${INTERFACE}.pid" ]]; then
    if [[ -f "/run/wpa_supplicant_$1.pid" ]]; then
    kill "$(cat "/run/wpa_supplicant_$1.pid")" &>/dev/null &
    wpa_supplicant -B -i"$INTERFACE" -Dnl80211,wext -C/run/wpa_supplicant -P/run/wpa_supplicant.pid || return 1
    kill "$(cat /run/wpa_supplicant.pid)"
    echo "ctrl_interface=/run/wpa_supplicant" >> "$WPA_CONF/wpa.conf" # we know $WPA_CONF now has no spaces, but it may have other nasty chars, so still needs to be quoted
    Could you change the ctrl_interface to to /run/wpa_supplicant in /etc/wpa_supplicant.conf?
    Last edited by Leonid.I (2011-06-21 21:19:59)

  • Dhcp ip lease faile? netcfg

    Hey,
      I am having an issue with netcfg and my fresh install. I have always had no problem with connecting to my wifi manually at the terminal. I read the guide about getting my wifi up at boot. I have created a profile and so on. however it works 50 percent of the time? some time i boot up no problem and the others i get
    "dhcp ip lease attempt failed"
    after i boot i can connect manually?
    any help here would be great!
    Thanks
    Paul

    Try increasing the dhcp and/or carrier timeout (instructions can be found here).

  • Sep 02 20:31:01    Severity:4    DHCP Client lease rejected from IPv4 router addr , MAC addr

    Problem:
    Time Capsule kept loosing connectivity from internet modem. ISP has no records of outages.
    Logs:
    Sep 02 20:31:01    Severity:4    DHCP Client lease rejected from IPv4 <router addr>, MAC <addr>
    Resolution:
    Make sure you TC is not connected to the same coax cable that the cable box is connected to.
    Although, the system may work just fine for quite some time, eventually service will be disrupted by some device attempting to connect over and over.
    For some reason, Time Capsule doesn't perform well when a device attempts to authenticate over and over, even if they device clearly isn't part of the Access Control List or even have the correct password.
    So, in this case the the offending mac address was Scientific Atlanta Device, which was my cable box.
    Regards!

    I have seen the same issue with my iOS and Mac OS devices (iPhone and MacBook Pro). I have written my own DHCP server (http://notebook.kulchenko.com/embedded/dhcp-and-dns-servers-with-arduino) and have had troubles getting my devices to connect (Windows Vista and Ubuntu devices connect fine). I suspect that this problem happens because the DHCP Offer message is sent to a broadcast address, even though (at least in my case) the broadcast flag is off in the DHCP Discover message I see.
    Unfortunately you didn't include the Discover message, so I can't tell for sure, but if it indeed has the broadcast flag set to 0, then the server should send the response message using unicast as per DHCP spec (http://www.ietf.org/rfc/rfc2131.txt, section 4.1):
      If the broadcast bit is not set and 'giaddr' is zero and
       'ciaddr' is zero, then the server unicasts DHCPOFFER and DHCPACK
       messages to the client's hardware address and 'yiaddr' address.
    So, it seems like in this case the server may be at fault, even though it would be nice for Mac OS to accept broadcast responses (and would solve my problem too).
    Can someone confirm that Mac OS does not accept broadcast responses to DHCP Discover and DHCP Request messages? Thanks.
    Paul.

  • HP 2000-2b16NR Recovery Attempt Failed Windows 8 64bit

    Product Name: HP 2000-2b16NR
    Operating System: Windows 8 x64
    I was attempting to do a recovery with the discs I had bought from HP and I got this message "Recovery Attempt Failed" with options to restart recovery or view details. So I restarted the recovery and inserted disc 1 as it asked. It went through the process again and it came up with this same message "Recovery Attempt Failed". This time I clicked view details and it came up with notepad titled CTOERROR.flg with the following:
    [13:17:34.28] ChkErrBB.CMD:
    [13:17:34.28] Detect some error during PININST_BBV
    [13:17:34.28] Check C:\system.sav\logs\BurnBootWarn.log
    [13:17:34.28] or, check C:\system.sav\logs\BurnBootMerge.log
    My Hard drive is completely wiped and I can not preform a system recovery by pressing f11 and I can not access Windows.
    My question is why can I not successfully complete the recovery process?
    This question was solved.
    View Solution.

    -the tip here about changing year in BIOS may help:
    http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-e-g-Windows-8-and-Software/restoration-faile...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • A connection attempt failed because the connected party did not properly respond after a period of time

    Prior to the Increase Capacity for Outbound Network Calls update, my Azure websites running in
    Standard mode experienced occasional connection attempt failed errors. Since this update the errors stopped but starting on 12/30/14, these errors started up again on both
    South Central and East regions:
    "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [IP]:80"
    It occurs when attempting to consume an external web service over HTTP. This issue is not reproducible on our local environments nor did it occur with our previous shared hosting provider.
    On Azure, the same web service call can result in this error or will return a response successfully.
    There doesn't appear to be any pattern as to why the same call would work one time but not another.
    How can this be resolved again? Any feedback is appreciated. Thanks.

    Hi,
    Please have a look at this article:
    http://blogs.msdn.com/b/narahari/archive/2011/12/21/azure-a-connection-attempt-failed-because-the-connected-party-did-not-properly-respond-after-a-period-of-time-or-established-connection-failed-because-connected-host-has-failed-to-respond-x-x-x-x-x-quot.aspx,
    it gives us several ways to solve this issue, hope this helps.
    Best Regards,
    Jambor 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [SOLVED] Duplicity getting 'stuck' when attempting to restart a backup

    Hey all,
    After a backup attempt failed partway through (first-time full backup) with this error:
    AsyncScheduler: scheduling task for asynchronous execution
    No handlers could be found for logger "paramiko.transport"
    AsyncScheduler: a previously scheduled task has failed; propagating the result immediately
    AsyncScheduler: task execution done (success: False)
    Backend error detail: Traceback (most recent call last):
    File "/usr/bin/duplicity", line 1391, in <module>
    with_tempdir(main)
    File "/usr/bin/duplicity", line 1384, in with_tempdir
    fn()
    File "/usr/bin/duplicity", line 1354, in main
    full_backup(col_stats)
    File "/usr/bin/duplicity", line 500, in full_backup
    globals.backend)
    File "/usr/bin/duplicity", line 399, in write_multivol
    (tdp, dest_filename, vol_num)))
    File "/usr/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 151, in schedule_task
    return self.__run_asynchronously(fn, params)
    File "/usr/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 215, in __run_asynchronously
    with_lock(self.__cv, wait_for_and_register_launch)
    File "/usr/lib/python2.7/site-packages/duplicity/dup_threading.py", line 100, in with_lock
    return fn()
    File "/usr/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 207, in wait_for_and_register_launch
    check_pending_failure() # raise on fail
    File "/usr/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 191, in check_pending_failure
    self.__failed_waiter()
    File "/usr/lib/python2.7/site-packages/duplicity/dup_threading.py", line 201, in caller
    value = fn()
    File "/usr/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 183, in <lambda>
    (waiter, caller) = async_split(lambda: fn(*params))
    File "/usr/bin/duplicity", line 398, in <lambda>
    async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num),
    File "/usr/bin/duplicity", line 296, in put
    backend.put(tdp, dest_filename)
    File "/usr/lib/python2.7/site-packages/duplicity/backends/sshbackend.py", line 191, in put
    raise BackendException("sftp put of %s (as %s) failed: %s" % (source_path.name,remote_filename,e))
    BackendException: sftp put of /tmp/duplicity-9_jssu-tempdir/mktemp-uqQRIn-42 (as duplicity-full.20120507T060530Z.vol41.difftar
    .gpg) failed: Server connection dropped:
    BackendException: sftp put of /tmp/duplicity-9_jssu-tempdir/mktemp-uqQRIn-42 (as duplicity-full.20120507T060530Z.vol41.difftar
    .gpg) failed: Server connection dropped:
    the process keeps getting stuck when I try to restart it. There's almost no CPU use and no useful error messages. Here's the output (the version and parameters are included) with -v debug:
    Using archive dir: /root/.cache/duplicity/1498ef4c9557164d69523e5aec4c78ce [83/4524]
    Using backup name: 1498ef4c9557164d69523e5aec4c78ce
    Import of duplicity.backends.sshbackend Succeeded
    Import of duplicity.backends.rsyncbackend Succeeded
    Import of duplicity.backends.botobackend Succeeded
    Import of duplicity.backends.webdavbackend Succeeded
    Import of duplicity.backends.hsibackend Succeeded
    Import of duplicity.backends.localbackend Succeeded
    Import of duplicity.backends.ftpsbackend Succeeded
    Import of duplicity.backends.giobackend Failed: No module named gio
    Import of duplicity.backends.ftpbackend Succeeded
    Import of duplicity.backends.cloudfilesbackend Succeeded
    Import of duplicity.backends.u1backend Succeeded
    Import of duplicity.backends.tahoebackend Succeeded
    Import of duplicity.backends.imapbackend Succeeded
    Import of duplicity.backends.gdocsbackend Succeeded
    Main action: inc
    ================================================================================
    duplicity 0.6.18 (February 29, 2012)
    Args: /usr/bin/duplicity --use-agent -vdebug --encrypt-key YYYYYYYY --sign-key XXXXXXX --full-if-older-than 60D --exclude /mn
    t/backup/bfd-training-data --exclude /mnt/backup/fsarchiver --exclude /mnt/backup/media --exclude /mnt/backup/usapparel --asyn
    chronous-upload /mnt/backup scp://[email protected]//backups/homeserver
    Linux homeserver 3.0.29-1-lts #1 SMP PREEMPT Mon Apr 23 09:41:11 CEST 2012 x86_64 AMD Sempron(tm) Processor 3400+
    /usr/bin/python2 2.7.3 (default, Apr 24 2012, 00:00:54)
    [GCC 4.7.0 20120414 (prerelease)]
    ================================================================================
    Using temporary directory /tmp/duplicity-OjWCPd-tempdir
    Registering (mkstemp) temporary file /tmp/duplicity-OjWCPd-tempdir/mkstemp-GZ2ieI-1
    Temp has 490532864 available, backup will use approx 60293120.
    Local and Remote metadata are synchronized, no sync needed.
    41 files exist on backend
    2 files exist in cache
    Extracting backup chains from list of files: ['duplicity-full.20120507T060530Z.manifest.part', 'duplicity-full-signat[51/4524]
    0507T060530Z.sigtar.part', 'duplicity-full.20120507T060530Z.vol1.difftar.gpg', 'duplicity-full.20120507T060530Z.vol2.difftar.g
    pg', 'duplicity-full.20120507T060530Z.vol3.difftar.gpg', 'duplicity-full.20120507T060530Z.vol4.difftar.gpg', 'duplicity-full.2
    0120507T060530Z.vol5.difftar.gpg', 'duplicity-full.20120507T060530Z.vol6.difftar.gpg', 'duplicity-full.20120507T060530Z.vol7.d
    ifftar.gpg', 'duplicity-full.20120507T060530Z.vol8.difftar.gpg', 'duplicity-full.20120507T060530Z.vol9.difftar.gpg', 'duplicit
    y-full.20120507T060530Z.vol10.difftar.gpg', 'duplicity-full.20120507T060530Z.vol11.difftar.gpg', 'duplicity-full.20120507T0605
    30Z.vol12.difftar.gpg', 'duplicity-full.20120507T060530Z.vol13.difftar.gpg', 'duplicity-full.20120507T060530Z.vol14.difftar.gp
    g', 'duplicity-full.20120507T060530Z.vol15.difftar.gpg', 'duplicity-full.20120507T060530Z.vol16.difftar.gpg', 'duplicity-full.
    20120507T060530Z.vol17.difftar.gpg', 'duplicity-full.20120507T060530Z.vol18.difftar.gpg', 'duplicity-full.20120507T060530Z.vol
    19.difftar.gpg', 'duplicity-full.20120507T060530Z.vol20.difftar.gpg', 'duplicity-full.20120507T060530Z.vol21.difftar.gpg', 'du
    plicity-full.20120507T060530Z.vol22.difftar.gpg', 'duplicity-full.20120507T060530Z.vol23.difftar.gpg', 'duplicity-full.2012050
    7T060530Z.vol24.difftar.gpg', 'duplicity-full.20120507T060530Z.vol25.difftar.gpg', 'duplicity-full.20120507T060530Z.vol26.diff
    tar.gpg', 'duplicity-full.20120507T060530Z.vol27.difftar.gpg', 'duplicity-full.20120507T060530Z.vol28.difftar.gpg', 'duplicity
    -full.20120507T060530Z.vol29.difftar.gpg', 'duplicity-full.20120507T060530Z.vol30.difftar.gpg', 'duplicity-full.20120507T06053
    0Z.vol31.difftar.gpg', 'duplicity-full.20120507T060530Z.vol32.difftar.gpg', 'duplicity-full.20120507T060530Z.vol33.difftar.gpg
    ', 'duplicity-full.20120507T060530Z.vol34.difftar.gpg', 'duplicity-full.20120507T060530Z.vol35.difftar.gpg', 'duplicity-full.2
    0120507T060530Z.vol36.difftar.gpg', 'duplicity-full.20120507T060530Z.vol37.difftar.gpg', 'duplicity-full.20120507T060530Z.vol3
    8.difftar.gpg', 'duplicity-full.20120507T060530Z.vol39.difftar.gpg', 'duplicity-full.20120507T060530Z.vol40.difftar.gpg', 'dup
    licity-full.20120507T060530Z.vol41.difftar.gpg']
    File duplicity-full.20120507T060530Z.manifest.part is not part of a known set; creating new set
    File duplicity-full-signatures.20120507T060530Z.sigtar.part is not part of a known set; creating new set
    Ignoring file (rejected by backup set) 'duplicity-full-signatures.20120507T060530Z.sigtar.part'
    File duplicity-full.20120507T060530Z.vol1.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol2.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol3.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol4.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol5.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol6.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol7.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol8.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol9.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol10.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol11.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol12.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol13.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol14.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol15.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol16.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol17.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol18.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol19.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol20.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol21.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol22.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol23.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol24.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol25.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol26.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol27.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol28.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol29.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol30.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol31.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol32.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol33.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol34.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol35.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol36.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol37.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol38.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol39.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol40.difftar.gpg is part of known set
    File duplicity-full.20120507T060530Z.vol41.difftar.gpg is part of known set
    Found backup chain [Sun May 6 23:05:30 2012]-[Sun May 6 23:05:30 2012]
    Last full backup left a partial set, restarting.
    Last full backup date: Sun May 6 23:05:30 2012
    Collection Status
    Connecting with backend: SftpBackend
    Archive dir: /root/.cache/duplicity/1498ef4c9557164d69523e5aec4c78ce
    Found 0 secondary backup chains.
    Found primary backup chain with matching signature chain:
    Chain start time: Sun May 6 23:05:30 2012
    Chain end time: Sun May 6 23:05:30 2012
    Number of contained backup sets: 1
    Total number of contained volumes: 41
    Type of backup set: Time: Num volumes:
    Full Sun May 6 23:05:30 2012 41
    No orphaned or incomplete backup sets found.
    RESTART: Volumes 41 to 42 failed to upload before termination.
    Restarting backup at volume 41.
    Registering (mktemp) temporary file /tmp/duplicity-OjWCPd-tempdir/mktemp-Fx_YTQ-2
    ^CRemoving still remembered temporary file /tmp/duplicity-OjWCPd-tempdir/mktemp-Fx_YTQ-2
    Removing still remembered temporary file /tmp/duplicity-OjWCPd-tempdir/mkstemp-GZ2ieI-1
    INT intercepted...exiting.
    Does anyone have some experience with this? It's a fairly good sized backup (well, for me at least) so I'd really hate to have to start over every time one fails!
    Thanks,
    Scott
    Last edited by firecat53 (2012-05-08 18:23:19)

    Ok, solved-ish. There were actually 3 issues:
    1. There's a problem in the 0.6.18 new python paraminko ssh internals that was preventing it from uploading more than about 1GB at a time, possibly because it's reusing the same ssh connection which some webhosts will kick off after a certain time or amount.
    2. The --num-retries parameter wasn't being read by the ssh backend
    3. There's a bug in some encryption validation code that had to be removed before a 'resume backup' operation would work correctly (it won't read the GPG encryption key correctly).
    So I reverted to 0.6.17 and removed a previously applied patch from the code found here.
    So far it seems to be working. The dev who answered me on Launchpad said that there's a memory leak with 0.6.17 so watch out when doing any backups over ~100GB or so.
    Scott

  • [Solved] Netcfg switches between interfaces

    Hello,
    I switched to netcfg, to get a pure systemd install.
    How ever, sometimes the netcfg can't bring up the interface even though it used that interface before.
    It's like netcfg are switching between what interface it can use. Sometimes it's eth0 other times eth1.
    So when I boot and don't have any network connection, I change the config files to use the other interface (ex. eth1) and netcfg can connect.
    How can this be?
    configs:
    /etc/network.d/mynetwork
    CONNECTION='ethernet'
    DESCRIPTION='A basic static ethernet connection using iproute'
    INTERFACE='eth1'
    IP='static'
    ADDR='192.168.1.3'
    #ROUTES=('192.168.0.0/24 via 192.168.1.2')
    GATEWAY='192.168.1.1'
    DNS=('dns1', 'dns2)
    ## For IPv6 autoconfiguration
    #IP6=stateless
    ## For IPv6 static address configuration
    #IP6='static'
    #ADDR6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
    #ROUTES6=('abcd::1234')
    #GATEWAY6='1234:0:123::abcd'
    /etc/conf.d/netcfg
    # Enable these netcfg profiles at boot time.
    # - prefix an entry with a '@' to background its startup
    # - set to 'last' to restore the profiles running at the last shutdown
    # - set to 'menu' to present a menu (requires the dialog package)
    # Network profiles are found in /etc/network.d
    NETWORKS=(mynetwork)
    # Specify the name of your wired interface for net-auto-wired
    WIRED_INTERFACE="eth1"
    # Specify the name of your wireless interface for net-auto-wireless
    #WIRELESS_INTERFACE="wlan0"
    # Array of profiles that may be started by net-auto-wireless.
    # When not specified, all wireless profiles are considered.
    #AUTO_PROFILES=("profile1" "profile2")
    Last edited by KLIM (2012-12-06 14:22:23)

    Did you checked for netcfg.service is enabled (systemd) ?
    BTW, I see a missing single quote on DNS line : DNS=('dns1', 'dns2)
    You may check these forum posts :
    "[SOLVED] Netcfg.service always failing." @ https://bbs.archlinux.org/viewtopic.php?id=148079
    "Systemd and Netcfg" @ https://bbs.archlinux.org/viewtopic.php?id=151662
    "netcfg/systemd not bringing up eth0 (static profile)" @ https://bbs.archlinux.org/viewtopic.php?id=147300
    "[SOLVED] netcfg fails at boot" @ https://bbs.archlinux.org/viewtopic.php?pid=1200518
    And this wiki entry about netcfg @ https://wiki.archlinux.org/index.php/Netcfg

Maybe you are looking for

  • Unable to properly capture HD video from miniDV tape in FCE

    unable to capture HD video from miniDV tape When I connect my Sony HDR-HC3 miniDV HDV camcorder to my iMac via firewire cable and use Final Cut Express to capture the video from the tape, I do not get a Capture window that allows me to specify in and

  • Polling variables using Modbus IP and labview 8.2.0 shared variables

    I'm using shared variable in order to read/write register on a Watlow PM controller over Modbus IP standard. Once I make a change to FP control, the shared variable polling starts and I no longer get update of any controls or indicators on the FP. Ju

  • Repersentation of #error in HFR while exporting the report in Excel

    Hi All, We are working on Hyperion Financial Report 9.3.1 with Essbase as a data source. We are replacing the #error with 'NA', which is working fine when we are viewing the FR reports in workspace. But when we export this report in Excel, word "NA"

  • Report with a form not showing all form data?

    Hello, I have an application that is using a report with a form, and when I click EDIT on the report column, it takes me to the form page which should be populated with all the data from the previous report row. I have not modifed anthing from either

  • How to stop php file opening in Dreamweaver

    Hi, I have never used Dreamweaver and I am not using it at present, but after installing Xampp on my PC, the php files open in Dreamweaver. The pages are blank so cannot even be modified.  Is there a way I can stop these files opening in Dreamweaver?