You are not logged in.

#1 2010-01-29 11:26:47

Kirodema
Member
Registered: 2010-01-08
Posts: 81

[SOLVEDApps like Dropbox dont work when started before having Internet

Hi,

I have some problems with applications like Dropbox or GoogSysTray when they are startet before I have a connection to the Internet. They simply cant connect to their servers and I have to restart the application in order to get them work. Otherwise if they were started after having a connection, I can loose the connection and regain it and the application still works.

I am using NetworkManager if that has something to do with it

Last edited by Kirodema (2010-01-30 18:08:06)

Offline

#2 2010-01-29 12:20:42

hBd
Member
From: Romania - Cluj Napoca
Registered: 2008-06-08
Posts: 241
Website

Re: [SOLVEDApps like Dropbox dont work when started before having Internet

how do you start dropbox before networkmanager ? in daemon list dropbox is before networkmanager ? what kind of internet connection u have ?

what is the output of:
cat /etc/rc.conf | grep daemons

Last edited by hBd (2010-01-29 12:21:03)

Offline

#3 2010-01-29 23:25:58

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVEDApps like Dropbox dont work when started before having Internet

It is started via Gnome Session Manager and not in my rc.conf

DAEMONS=(@syslog-ng cpufreq !network @netfs @crond @laptop-mode @tp_smapi alsa hal networkmanager @cups gdm)

I'm connected via WLAN to my access-point which is connected to a modem which provides the access to the Internet. I dont know what it matters, which connection I have?

Offline

#4 2010-01-29 23:32:54

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: [SOLVEDApps like Dropbox dont work when started before having Internet

( until ping -q -W5 -c1 google.com &> /dev/null; do
    sleep 10
  done
  dropbox &
  something_else &
  another_app_that_needs_Internet &
) &

Offline

#5 2010-01-30 17:58:53

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVEDApps like Dropbox dont work when started before having Internet

hm .. and where is this code meant to be?

Edit: ok ... I put this in a script and started this instead of dropbox and googsystray, thank you

Last edited by Kirodema (2010-01-30 18:07:38)

Offline

Board footer

Powered by FluxBB