home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Topic: Starting Off This is for Dapper ubuntu and openvpn http://www.ubuntu.com/ http://openvpn.net/ (Once again thanks to my old boss for the help!) Okay so the wonderful world of VPNs used by many business to add...
Reply Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1433
Discussions: 184,690, Posts: 2,205,378, Members: 227,399
Old December 1st, 2006, 10:02 AM     #11 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks so much for the how to, not sure I even qualify as a Noobie, but I do have a problem and I suspect it is related to the fact that I am an idiot but I can get so far theough the how to but in the section around CREATE KEYS FOR THE SERVER AND THE CLIENTS... when I type in gzip -d pkitool.gz I get the error "gzip: pkitool.gz: No such file or directory" and of course after that the subsequent permission denied when I try to build-ca. Help, thoughts appreciated

Sir_Stigmund is offline   Reply With Quote
Old December 1st, 2006, 10:10 AM     #12 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,078
Blog Entries: 5
are you in the correct directory when you try to do gzip command for pkitool?

Do you see the pkitool file when you do the list command on the directory?

Are you sudo in when trying it?

GroundZero3 is offline   Reply With Quote
Old December 1st, 2006, 10:26 AM     #13 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 4
wow, thanks for the quick response yes i am in the right directory "/usr/share/doc/openvpn/examples/easy-rsa/2.0", yes i see the pkitool file and no I am not sudo as I am logged in as root.

Sir_Stigmund is offline   Reply With Quote
Old December 1st, 2006, 10:58 AM     #14 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,078
Blog Entries: 5
can you copy and paste when you do the ls command and when you try the gzip command with the error. Just so i can see what you are doing.

I just tried out the gzip -d pkitool.gz on my vmware image and worked fine.
GroundZero3 is offline   Reply With Quote
Old December 1st, 2006, 11:06 AM     #15 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 4
here is the ls..
build-ca build-key-pass build-req-pass list-crl revoke-full
build-dh build-key-pkcs12 clean-all openssl.cnf sign-req
build-inter build-key-server inherit-inter pkitool vars
build-key build-req keys README.gz

here is what gets returned..


root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# gzip -d pkitool.gz
gzip: pkitool.gz: No such file or directory

and also here is what I get when id o the clean-all and build-ca..

root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# source ./vars
NOTE: If you run ./clean-all, I will be doing a rm -rf on /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# ./clean-all
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# ./build-ca
./build-ca: line 8: /usr/share/doc/openvpn/examples/easy-rsa/2.0/pkitool: Permission denied
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0#

any help gratefully appreciated!
Sir_Stigmund is offline   Reply With Quote
Old December 1st, 2006, 11:22 AM     #16 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,078
Blog Entries: 5
You don't have the pkitool.gz file. You already have the pkitool folder so you can skip that

what shows up when you do ls -l build-ca
GroundZero3 is offline   Reply With Quote
Old December 1st, 2006, 11:30 AM     #17 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 4
root@ubuntu:/usr/share/doc/openvpn/examples/easy-rsa/2.0# ls -l build-ca
-rwxr-xr-x 1 root root 121 2005-11-02 13:42 build-ca

THX
Sir_Stigmund is offline   Reply With Quote
Old December 1st, 2006, 11:35 AM     #18 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,078
Blog Entries: 5
try chmod +x pkitool and see if that corrects it
GroundZero3 is offline   Reply With Quote
Old January 16th, 2007, 08:59 PM     #19 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 1
I have several questions. You mention "Now when you were configuring the client.conf file you had a line in there “Dev-node mytap”." but never did this in the conf files. Is there something missing? When I finish doing all of this and try to run /etc/init.d/openvpn start I get a Starting virtual private network daemon: server(FAILED). Am I supposed to start the "server" vpn? I think this might be related to the previous problem with not setting the vpn name?

Also, you refer to client.conf (in the problem I just stated). May I assume you are talking about the clients.ovpn you made?

Thanks for your help!
Zach
aim:zachhale
gtalk:zachhale()gmail.com
zachhale is offline   Reply With Quote
Old January 17th, 2007, 10:31 AM     #20 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,078
Blog Entries: 5
That client config has nothing to do with starting the server. If you are getting a server (failed) it means something in your config file on the server is not set up right.

As for the client.conf and my tap, i have updated that part of the post. You are correct i left out the mytap portion. Thanks for the heads up.

Please post your server.conf file so i/others can review it.
GroundZero3 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Dapper (can't be pinged by host name) gberz3 Linux and Unix 9 August 4th, 2006 11:52 PM
Ubuntu Dapper Wireless Configuration HOlmes101 Linux and Unix 28 July 9th, 2006 05:13 PM
HOWTO: Install vmware server on Ubuntu 5.10 GroundZero3 Linux and Unix 8 June 5th, 2006 10:10 PM
Ubuntu Dapper 6.06 GroundZero3 Linux and Unix 2 June 1st, 2006 01:50 PM
Howto athlonxpguy Linux and Unix 8 September 18th, 2003 08:46 PM

Most Active Discussions
Is It Just Me? (13813)
Weirdest case ever... (10)
Farrakhan on Obama: 'The Messiah is.. (10)
Custom external storage build, need.. (8)
so u cant crossfire with a HD 4850 .. (9)
John McFlIpFlOpPeR - for Bingo =) (50)
Building my first desktop (9)
NOOB VB.Net questions (5)
Graphics Card for COD 4 (5)
Recent Discussions
wholesale cheap discount nike j.. (0)
6TB+ RAID solution? (5)
RAID 5 Configuration (2)
dvd portable player (4)
*********** /company of heroes.. (0)
*********** /need for speed un.. (0)
***********/NWN 2 cd key (0)
Unable to start the Bluetooth s.. (1)
Custom external storage build, .. (8)
Drive won't partition? (3)
FS: Kung Fu Panda (DS) & MG.. (0)
Want to trade memory (1)


All times are GMT -4. The time now is 03:58 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28