guardianproject / OrbotVPN

THIS IS A DEPRECATED PROJECT AND CLOSED! SEE WEBSITE LINK FOR LATEST ORBOT WITH VPN SUPPORT!
https://github.com/n8fr8/orbot
85 stars 48 forks source link

VPN connect error: "Failed to add fwmark rule (No such device)" #3

Closed patcon closed 9 years ago

patcon commented 9 years ago

I'll admit that the logs aren't from the first time I encountered this issue. I'll report back if when I run emulator from scratch and capture on the first failure.

I'm running the app in and emulator that approximates Nexus 4. I'm got orbot and orweb installed, and tor works fine for that. When I open orbotvpn and "connect", a toast shows up for connecting, then another for disconnecting.

While trying to troubleshoot, I went to Settings > Wireless > Other... > VPN and it said I needed to set a PIN to access that screen. Thinking that might be the issue, I added one. Otherwise, the image should be fresh.

catlog: https://gist.github.com/patcon/27f0ea678b04491efdb9

patcon commented 9 years ago

Also, I'd ported the project to android studio (#2) when this showed up. (I've only worked with the app from this IDE.)

patcon commented 9 years ago

Ran again on fresh reboot, and got same issue: https://gist.github.com/patcon/59dd9f23c6f561d312b9

Despite the small difference in error text ("device not found" vs "file exists"), this is likely a dup of #1. I feel this has more info, so I'd suggest the other issue be closed? :)

patcon commented 9 years ago

Hm. It seems to at least start when I load it onto my actual device. Given the issue in the logs with the ip command being missing, I'll assume it doesn't work on an emulator since busybox is missing.

I think I can close this for now. I'll update if I figure out a workaround for testing on emulator. Seems this is the feature request for iproute2 utilities to be added to the emulator, as they're in AOSP: https://code.google.com/p/android/issues/detail?id=48410