Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running UNR (but using the regular gnome launcher) and have DropBox installed. Since I use my laptop on the train, there is no network connectivity. However once I reconnect to a network, dropbox seems to be completely unresponsive to the fact that there is a network connection and has to be restarted (which means lots of hard drive scanning, battery usage, slowdowns, etc). Is there a way to get dropbox to reconnect automatically, or gota wait for a patch?

Edit:

Nothing special about my network configuration, pretty much out-of-the-box. Note that most of the time I connect to wifi not cable. But the problem does not change in either case.

And I forgot to mention, I usually put my computer to sleep/hibernate in between leaving home and using it on the train so it "loses" or "gains" connection on waking up.

More Edit:

I just had the problem happening again. Basically it has a network cable plugged in. Goes to sleep. On wakeup (cable still plugged in) dropbox is stuck at "connecting".

share|improve this question
1  
I run Dropbox on my Ubuntu/Gnome Desktop (10.04), and I've had quite a few local LAN outages lately. Dropbox has recovered on it's own every time. Perhaps this isn't a dropbox-specific problem? –  Stefan Lasiewski Aug 12 '10 at 18:56
    
Hm, I never seemed to have a problem with that. For me, Dropbox always recognizes when the connection goes up and syncs automatically. Of course, I've been working on Gentoo, I don't know if that makes the difference somehow... –  David Z Aug 12 '10 at 18:56
1  
It could be something with your Network Manager configuration - are you using a not standard network "adapter" name (other than eth0)? –  Marco Ceppi Aug 12 '10 at 19:06
2  
I've had to restart it every time. –  Erigami Aug 12 '10 at 20:03

3 Answers 3

Does it still happen if you just disconnect your network cable then reconnect without suspending? If not, you may have a timing problem like the dropbox process already being suspended when the network goes down. You could try putting a script into /etc/pm/sleep.d that explicitly takes down the network interface before suspending, maybe with a short sleep to give dropbox time to process the event.

If worse comes to worst you could always put a script in there to restart dropbox. At least then you wouldn't have to do it manually every time.

share|improve this answer
    
I can't just restart dropbox. It starts indexing files and thus eats up the little performance the laptop has. However, unplugging and re-plugging the network cable works, I wait for dropbox to lose connection and then re-plug. As a side note, Skype seems to have no problem reconnecting in all cases. What would you recommend for sleep.d? –  Dmitriy Likhten Aug 24 '10 at 17:56
up vote 0 down vote accepted

Due to lack of response I am going to assume that this is a problem with Dropbox itself and not Ubuntu.

share|improve this answer

Ubuntu One, for the record, does not suffer from this issue and disconnects/reconnects depending on the network status autimatically.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.