|
2012-08-15
, 18:00
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#12
|
|
2012-08-15
, 18:05
|
Posts: 43 |
Thanked: 18 times |
Joined on Jul 2010
|
#13
|
|
2012-08-15
, 19:23
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#14
|
|
2012-08-15
, 19:45
|
Posts: 43 |
Thanked: 18 times |
Joined on Jul 2010
|
#15
|
change exec to aegis-exec, otherwise it doesn't inherit the privileges. Things are ofcourse easier if you install the package to some real origin.
vpnc --script 'aegis-exec /opt/vpn9c/bin/vpnc-script' --local-port 0
With proper manifest you don't need even add --local-port
|
2012-08-15
, 19:54
|
Posts: 19 |
Thanked: 20 times |
Joined on Dec 2009
|
#16
|
|
2012-08-15
, 20:04
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#17
|
Well, I've just installed vpn9c, and now I'm trying to get it to work.
and this is the error I get now:
ifconfig: SIOCSIFADDR: Permission denied
RTNETLINK answers: Operation not permitted
RTNETLINK answers: Operation not permitted
route: SIOCADDRT: Operation not permitted
/opt/vpn9c/bin/vpnc-script: line 259: can't create /var/run/resolv.conf: Permission denied
sh: can't kill pid 670: Operation not permitted
VPNC started in background (pid: 3651)...
vpnc is working in the background, but it's not doing anything; I don't have vpnc connection active.
Thanks for all the help, I hope I'll get it to work somehow.
The Following User Says Thank You to rainisto For This Useful Post: | ||
|
2012-08-15
, 20:07
|
Posts: 43 |
Thanked: 18 times |
Joined on Jul 2010
|
#18
|
Yes those are normal errors if you install it as unknown origin. If you want deb to work, you need to wait for ovi signed package, or use some exploit method to install (like inception) or use open mode kernel (with AEGIS_FIXED_ORIGIN export). Or if you want start unknown origin from commandline, you need to do devel-su; develsh; before starting it.
Most likely you want to wait for ovi store version, if your not familiar how Aegis works.
|
2012-08-15
, 20:09
|
Posts: 43 |
Thanked: 18 times |
Joined on Jul 2010
|
#19
|
|
2012-08-16
, 06:18
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#20
|
Maybe it would be good idea to edit the first post to say that open mode or inception are needed to run this, not only developer mode?
The Following User Says Thank You to too For This Useful Post: | ||
Since it didn't want to connect from GUI, I tried connecting from console (in /opt/vpn9c/bin folder):
./vpnc --script 'exec ./vpnc-script'
and typing the necessary login data.
The programs gives following error:
Error binding to the source port. Try '--local-port 0'
Failed to bind to 0.0.0.0:5000: Permission denied
If I try --local-port 0 option, it gives 'Permission denied' again.
I tried both as user and root (devel-su)
i have developer mode, but no inception installed. Is inception needed for this?
Does anybody have any idea how to make this work?