Comments (12)
Please look under /data/data/org.codeandroid.vpnc_frontend/files and attach the
lastConnection.log
Original comment by babak.mozaffari
on 22 Jul 2009 at 9:15
from get-a-robot-vpnc.
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach
... Login info here
********
process stderr
vpnc still trying to connect. Will check again in 500 milliseconds
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script:
/data/data/org.codeandroid.vpnc_frontend/files/previous_dns_settings: not found
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script:
/system/bin/make-tun-
device: not found
can't open /dev/net/tun, check that it is either device char 10 200 or (with
DevFS) a
symlink to ../misc/net/tun (not misc/net/tun): No such file or directory
can't initialise tunnel interface: No such file or directory
process stderr /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script:
/data/data/org.codeandroid.vpnc_frontend/files/previous_dns_settings: not found
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script:
/system/bin/make-tun-
device: not found
can't open /dev/net/tun, check that it is either device char 10 200 or (with
DevFS) a
symlink to ../misc/net/tun (not misc/net/tun): No such file or directory
can't initialise tunnel interface: No such file or directory
process had died, return as failed connection
Obviously I need to symlink or copy the make-tun-device over which I can do.
Basically the prep script.
Original comment by [email protected]
on 22 Jul 2009 at 9:26
from get-a-robot-vpnc.
It looks that way. We're using the cyanogen ROM (it's JF1.5 + etc) and it seems
to
have a "tun" device loaded and available under /dev/net
For the sake of our increasing support of various environments, please let us
know
your exact configuration. Can you find "tun" or "tun.ko" anywhere on your phone
without running a script? If so, was it there as part of the JF ROM or did you
create/load it?
Original comment by babak.mozaffari
on 22 Jul 2009 at 9:39
from get-a-robot-vpnc.
I ran
modprobe tun
mkdir /dev/net
ln -s /dev/tun /dev/net/tun
cp /data/data/org.codeandroid.vpnc/bin/make-tun-device /system/bin
I had to rename the address to be the url entry, but now it works great. Will
restart
the phone to see if the modprobe and symlink are necessary on boot.
As of right now it works great. You guys are amazing, thanks so much for all of
your
work.
Original comment by [email protected]
on 22 Jul 2009 at 9:41
from get-a-robot-vpnc.
Those comments were before I saw yours, tun was already built. I had tried to
load tun
before it was already included in previous builds but that didn't work out. The
tun did
need to be loaded, but was already available.
Original comment by [email protected]
on 22 Jul 2009 at 9:43
from get-a-robot-vpnc.
Our app does the following as needed:
mkdir /dev/net
ln -s /dev/tun /dev/net/tun
So you won't need the above after reboot.
We don't do a modprobe and are trying to find out what environment may require
it. So
are you saying that with JF 1.5, there is a tun but you need to load it with
modprobe? Where is it and is it called tun.ko?
Original comment by babak.mozaffari
on 22 Jul 2009 at 9:49
from get-a-robot-vpnc.
I restarted and yes, all I needed was to do a modprobe to get it to work. I
found tun
at:
/system/modules/2.6.27-00392-g8312baf/kernel/drivers/net/tun.ko
I'm using JF 1.5 Build # CRB43
You have my kernel from above, on the T-Mobile G1
Original comment by [email protected]
on 22 Jul 2009 at 10:02
from get-a-robot-vpnc.
Thank you for your continued feedback. We're trying to support as many
environments
as possible and that includes loading the module for JF if need be. Since
things seem
to be little different on your environment, can you confirm the exact modprobe
syntax
you use to load it? And it seems like for your environment too, it ends up
creating
/dev/tun (versus /dev/net/tun as one would expect). I'll try to have it in
within the
hour after hearing back from you and hopefully get your feedback on whether it
works
off a fresh reboot.
Original comment by babak.mozaffari
on 22 Jul 2009 at 10:17
from get-a-robot-vpnc.
I simply use "modprobe tun" As a complete statement which loads it well.
I sincerely appreciate it, will check and verify as soon as possible after it's
available.
Original comment by [email protected]
on 22 Jul 2009 at 10:30
from get-a-robot-vpnc.
Ok, I have v0.4 up for you but couldn't even unit test it myself... so please
let me
know if it works.
Original comment by babak.mozaffari
on 22 Jul 2009 at 10:50
from get-a-robot-vpnc.
That's amazing, thank you so much. It worked perfectly. Tested it after a
reboot with
no issues.
I noticed it seemed to have issues connecting while not on a wifi but otherwise
very
responsive and does exactly what is wanted.
Original comment by [email protected]
on 23 Jul 2009 at 1:59
from get-a-robot-vpnc.
Please open a new issue and let me know if you have a log that shows a problem
with
the data network. I wonder if it's timing out too fast for you or something.
Otherwise I can't see it be an issue. I personally have only been running on a
data
network (non-wifi) so far.
Original comment by babak.mozaffari
on 23 Jul 2009 at 2:10
- Changed state: Fixed
from get-a-robot-vpnc.
Related Issues (20)
- How trustworthy can this client be?
- reboot xperia x10 mini
- Can't connect without Group login/password
- need tun.ko for 2.6.32.9 samsung galaxy 3 gt-i5800 HOT 2
- Is hybrid mode supported? HOT 1
- Internal addresses will not work without domain suffix HOT 1
- VPN Connection works, but no routes to the corporate network
- VPNC on Honeycomb (Acer A500) HOT 1
- If it's possible, need tun.ko module for Samsung Galaxy Tab gt-p1010 wifi only HOT 4
- Tablet/Landscape
- Motorola milestone tun.ko for kernel 2.6.32.9-g11068ed
- Wrong time format for last connected
- Fail To Connect - ps | grep 'vpnc$' | cut -c 10-14
- Samsung Galaxy Note HOT 2
- resolv.conf not getting VPN dns entry HOT 1
- CM9 Alpha 3 for Epic 4G Touch HOT 1
- Reboot phone when start vpnc HOT 1
- Can robot-vpnc work with config files
- Option Enable Single DES
- The FROYO tun.ko not works to load
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from get-a-robot-vpnc.