Guido Diepen
2009-08-05 10:04:42 UTC
Hi,
one recurring problem we encounter frequently is that people have problems
with SynCE, it is not working for them and often it turns out that they
have a firewall running. Currently this means that they have to find this
information on some forum, or that they have to find this by asking
questions on the mailing list or IRC channel.
Unfortunately I am not very familiar with all the details of how synce-hal
works, but would the following extension be possible (and if so, would you
guys think it would be useful).
When synce-hal detects a new device, it sets up the interface via DHCP,
after which it sends the UDP packet to the device which will have the
device initiate all subsequent connections.
Couldn't synce-hal somehow check with a timeout function whether the
DHCP/initial handshake connection has been made within a given timelimit
after the device has been detected? I don't think that this should be a
very large timeout, normally this should happen within a matter of
seconds. If this situation is detected (i.e. synce-hal did not reach the
state of a connection be set up completely), you could have synce-hal
trigger a dbus signal signifying a problem with the connected device. The
clients (synce-trayicon / synce-kpm) can then listen for this particular
signal and notify the user of a connection problem and provide the user
with possible solutions (e.g. change firewall settings).
Would this be possible in synce-hal, and if so, what do you guys think
about it?
Kind regards,
Guido Diepen
one recurring problem we encounter frequently is that people have problems
with SynCE, it is not working for them and often it turns out that they
have a firewall running. Currently this means that they have to find this
information on some forum, or that they have to find this by asking
questions on the mailing list or IRC channel.
Unfortunately I am not very familiar with all the details of how synce-hal
works, but would the following extension be possible (and if so, would you
guys think it would be useful).
When synce-hal detects a new device, it sets up the interface via DHCP,
after which it sends the UDP packet to the device which will have the
device initiate all subsequent connections.
Couldn't synce-hal somehow check with a timeout function whether the
DHCP/initial handshake connection has been made within a given timelimit
after the device has been detected? I don't think that this should be a
very large timeout, normally this should happen within a matter of
seconds. If this situation is detected (i.e. synce-hal did not reach the
state of a connection be set up completely), you could have synce-hal
trigger a dbus signal signifying a problem with the connected device. The
clients (synce-trayicon / synce-kpm) can then listen for this particular
signal and notify the user of a connection problem and provide the user
with possible solutions (e.g. change firewall settings).
Would this be possible in synce-hal, and if so, what do you guys think
about it?
Kind regards,
Guido Diepen