Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 3 [4] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DSL and KVPNC< Next Oldest | Next Newest >
clach04 Offline





Group: Members
Posts: 5
Joined: July 2007
Posted: Aug. 09 2007,16:50 QUOTE

Quote (greavette @ Aug. 08 2007,05:48)


I won't be able to try this outside of qemu until I have a spare drive.  For now I can only run this from my USB using the embedded version.

.....

I did notice a message when I ran it again (not sure how I missed it the first time?).  I use the following instruction:
"sudo vpnc /mnt/hdb/vpnc.conf --local-port 0 --script /etc/vpnc-script"
I'm asked to input my password and then I receive the following messages:
"readlink: /dev/net/tun: No such file or directory"
"VPNC started in background (pid: 631)..."


mmm, this could the the key difference. tun should just be available with DSL. What version are you using? I was testing the not-too old 3.3 version. I was using the live CD, it wasn't installed at all. You mention you don't have another drive. Do you mean you do not have a cdrom/dvd drive? I would suggest trying the live cd as it is very quick to test and doesn't need anything except ram :-) If the live cd works there maybe something missing from the USB version you have.

I get the impression that older releases of DSL either didn't have tun or a tun device was not created -- but I don't know the history at all so I could be 100% wrong here.

Good luck!

Chris
Back to top
Profile PM 
greavette Offline





Group: Members
Posts: 4
Joined: July 2007
Posted: Aug. 09 2007,17:11 QUOTE

Of course, the Live Cd...why didn't I think of that!  Thanks, I'll give that a try.

I was pretty sure I was running the DSL-embedded 3.4 but maybe it is 3.3...I'll download 3.4 embedded version as well after using the Live CD to test it out.

Thanks for the tips!

greavette.
Back to top
Profile PM 
Jason W Offline





Group: Members
Posts: 260
Joined: Nov. 2006
Posted: Aug. 13 2007,13:46 QUOTE

Here is an adjusted vpnc that  creates /var/run/vpnc if it does not exist, creates /dev/net/tun if it does not exist, and inserts the tun module.  The command is /usr/bin/vpnc-connect to connect, the script is in /etc/vpnc/vpnc-script.   I used DSL 2.4 to build this .dsl so it should pretty much work on all DSL versions.  Thanks to the feedback you have given, this extension should be useful.   I will put it on my server when I get home and edit this post with the link for any who later want to download and use it.  Thanks for both of your help.  Here is the link:

http://74.237.17.82/dsl/vpnc-0.4.dsl
Back to top
Profile PM 
clach04 Offline





Group: Members
Posts: 5
Joined: July 2007
Posted: Aug. 19 2007,19:34 QUOTE

Quote (Jason W @ Aug. 13 2007,09:46)
Here is an adjusted vpnc that  creates /var/run/vpnc if it does not exist, creates /dev/net/tun if it does not exist, and inserts the tun module.  The command is /usr/bin/vpnc-connect to connect.....


I finally had a free moment to try the new package. It is almost there, I had to edit /usr/bin/vpnc-connect to add command line param calls to /usr/bin/vpnc otherwise command line params were ignored. E.g.:

Add $*:
Code Sample

exec /usr/bin/vpnc $*


I didn't have problems with tun before so hopefully greavette can test on his system.

I tested on dsl 3.3, I made the change above (placed my MYSERVER.conf file in/etc/vpnc ) and used:
Code Sample

sudo vpnc-connect MYSERVER --local-port 0


Thanks for putting this together,

Chris
Back to top
Profile PM 
18 replies since Mar. 19 2007,16:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 3 [4] >/
reply to topic new topic new poll
Quick Reply: DSL and KVPNC

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code