Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic dns #57

Closed
ghanan opened this issue Jul 4, 2014 · 12 comments
Closed

dynamic dns #57

ghanan opened this issue Jul 4, 2014 · 12 comments

Comments

@ghanan
Copy link

ghanan commented Jul 4, 2014

Hi,
¿Does it work with dynamic dns like duckdns.org?

I'm using the phone as a modem for a laptop. Both are configured to sync with the same desktop using duckdns.org. The laptop find the desktop but the phone doesn't.

Thanks.

@Nutomic
Copy link
Contributor

Nutomic commented Jul 4, 2014

This does not work at the moment, as the DNS resolve is broken in golang on Android.

This will be fixed by go 1.4 (refer to #46).

@uok
Copy link

uok commented Jan 15, 2015

Thanks for updating the Syncthing Android to go 1.4! Is this issue fixed?
I entered "internalcomputername:port, externaldyndnshost:port" as address - using WLAN (e.g. internalcomputername is available) works, but outside with 3G (should use externaldyndnshost) it does not work. Maybe something is missing here for correct DNS resolve?

@AudriusButkevicius
Copy link
Member

It's not: golang/go#8877
Should be fixed by may, unless @Nutomic wants to compile using cgo which would solve the issue, or forks syncthing and uses a full blown dns client ;)

@Zillode
Copy link
Contributor

Zillode commented Mar 17, 2015

Related development branches if anyone is interested: https://github.com/Zillode/syncthing-android/tree/android-goos and https://github.com/Zillode/syncthing-android/tree/android-goos-i386
Building for ARM works but i386 not

@lmas
Copy link

lmas commented Jun 18, 2015

Any status updates on this? Following some trails to the go repo says it's been fixed now?

@Zillode
Copy link
Contributor

Zillode commented Jun 18, 2015

Almost there, I think golang/go@7165c9b will be part of Go 1.5

@lmas
Copy link

lmas commented Jun 19, 2015

Yes I read that one, too. Have to wait until august then, when we'll hopefully get 1.5.

@rkfg
Copy link

rkfg commented Aug 20, 2015

1.5 is out, I'm wondering if it now works as intended.

@Nutomic
Copy link
Contributor

Nutomic commented Aug 22, 2015

@Zillode I tried to update Go to 1.5 by changing the wget url and sha1 hash in build-syncthing.sh, but I'm getting this output:

2015-08-22 18:54:31 (882 KB/s) - ‘go.src.tar.gz’ saved [12045689/12045689]

~/workspace/syncthing-android/build/go/src ~/workspace/syncthing-android
##### Building Go bootstrap tool.
cmd/dist
ERROR: Cannot find /home/felix/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
./make.bash: line 121: /home/felix/go1.4/bin/go: No such file or directory

Any idea what I'm doing wrong?

@AudriusButkevicius
Copy link
Member

That's trying to build it from source?
In which case you need to have a version of go to bootstrap.

@anderspitman
Copy link

Yeah in 1.5 they made the jump to a self-hosted compiler, so apparently building 1.5 from source requires 1.4.

@Zillode
Copy link
Contributor

Zillode commented Aug 23, 2015

Yeah that's no fun:/

  • I already tried Go1.5 but it didn't fix the DNS problem as far as I could test (done quickly).
  • Need to update the build script but that's not that easy without downloading binary blobs

Zillode added a commit to Zillode/syncthing-android that referenced this issue Nov 15, 2015
Zillode added a commit to Zillode/syncthing-android that referenced this issue Nov 15, 2015
@syncthing syncthing locked and limited conversation to collaborators Nov 9, 2018
acolomb pushed a commit to acolomb/syncthing-android that referenced this issue Nov 12, 2023
…g#57) (syncthing#66)

* WIP - Catfriend1/syncthing-android#57

* Add sync conditions activity

* Update folder edit layout

Implement SyncConditionsActivity stub

* Add dialog open logic

* Fix UI glitches

* Update APK version to 0.14.51.4 / 4167

* Revert "Update APK version to 0.14.51.4 / 4167"

This reverts commit 47bc4aa.

* Implement WiFi Ssid Whitelist UI

* Read per-folder sync conditions from prefs

* Implement onCheckedChange listeners

* Implement saving object sync conditions

* Remove early draft stuff

* Implement per folder master switch for custom sync conditions

* FolderActivity - More log

* Improve generation of object-specific constants

* Added onSyncPreconditionChanged to RunConditionMonitor

* Fix UI glitch

* Fix non-harming typos

* Refactor "on mobile data" sync condition

* Refactor "on wifi" sync condition

* Refactor "on whitelisted wifi" sync condition

* Refactor "on metered wifi" sync condition

* Refactor RunConditionMonitor#decideShouldRun

* RunConditionMonitor - Rename variables

* Pause/Unpause folders using RunConditionMonitor events

* Implement RunConditionMonitor#SyncConditionResult

* Fix lint - use editor.apply instead of editor.commit

* Updated translations

* Add null check in RestApi

* Fix missing explanation text

* Fix german translation

* Update APK version to 0.14.51.6 / 4169

* Update whatsnew
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants