-
Notifications
You must be signed in to change notification settings - Fork 40
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
Not working #47
Comments
So I only got as far as mocking out the UI before going mia since the summer. Because of hyperboria/bugs#61 I am still not able to build the binary for ARM from my Mac. So this is all wip and I don't expect it to already be working :) Thanks for the scripted build by the way, it's very helpful, although I still cannot build from Darwin. |
Well, never had Darwin for testing :P |
I can only suggest installing some Linux on a virtual machine |
I got this working through the app as
If I don't run in a
Looks like this isn't a good place to put these files since it's only accessible with root. |
If I run binary as root it kinda works(creates tun0 interface), but ping says that networks is unreachable :ь |
You mean running it not through the app, but adb in and manually execute:
Does your cjdroute.conf have peers? |
^Forgot to mention my /data/data/berlin.meshnet.cjdns/files/cjdroute.conf is not the default generated one. I injected a set of peer credentials into that. With |
Yeap, I have peers and I was using ping6. Maybe that's cus of my android version which is 5.1 |
Well... I am also running a different binary from the second point here: hyperboria/bugs#61 (comment) The cjdroute process is actually running and still you cannot reach the network? |
I've compiled it myself and it wasn't working. Where did you get another binary? |
@prurigro builds them. He gave me a link to a build from a previous codebase, before the change that broke Android. |
Could you please give me link to breaking changes? |
@sssemil this is still work in progress and I'm not sure it has ever worked, yet. (I don't own an android device currently (donations welcome tho (but there are other people who could probably put this into better use)))
@benhylau requiring root is ok for me until we figure out another way to do things. You can remove the I've merged hyperboria/bugs#61 yesterday. |
@kpcyrd |
@sssemil Made a ticket hyperboria/bugs#93 |
On the 4.4.4 Nexus S, the process is owned by root. But I can't get this 5.1.1 Nexus 5 to run cjdroute as root. SELinux related? http://android.stackexchange.com/questions/54577/how-can-i-change-selinux-from-enforcing-to-permissive-on-samsung-galaxy-note-3/75384#75384 |
On the 4.4.4 Nexus S:
And the 5.1.1 Nexus 5, ipv6_route doesn't contain the fc00::/8 entry and |
Looks like we'll need to use android's API. Plus is that we can make it working without root. I think Orbot has it, so it's good place to look into. We can also try playing with user names. |
It appears the app crashes on attempt to turn on cjdns. Opening the app is ok, but clicking the switch results in a crash. Tested on: |
I installed it from the app apk from own.darkcloud.ca:90/Android-Builds |
Yes this is currently not working. Closest thing is on develop, but it has binaries missing. The source to generate the binaries need to be committed to cjdns repo still. Then I clean up the develop branch to generate a working build without root. @lgierth |
The binaries can be built from cjdelisle/cjdns#971 |
I'm getting license error: FAILURE: Build failed with an exception.
BUILD FAILED Total time: 14.957 secs |
This thing is not working at all(tried on One PlusOne with Android 5.1.1 and on emulator with Android 5.1). It's not creating any tun0 interface and it's impossible to connect to any hyperboria sites(even after manually adding public nodes to cjdroute.conf).
P.S. it creates tun0 interface if you run it manually from terminal emulator or adb as root.
The text was updated successfully, but these errors were encountered: