Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th May 2011, 11:17 AM
gvramesh Offline
Registered User
 
Join Date: May 2011
Posts: 4
windows_xp_2003ie
vpnc not connecting

Hi All,
i need to install vpnc in amazon ec2 fedor 8 instance. i have installed with yum install vpnc commaned. And i have placed config file in /etc/vpnc/some.conf. but it is not connecting and giving the following error.
vpnc: 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 device.
any help, thanks in advance
Reply With Quote
  #2  
Old 30th May 2011, 01:27 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxchrome
Re: vpnc not connecting

Haven't seen that particular error. Is there a /dev/net/tun?

This probably has something to do with Amazon's EC2 cloud configuration, but that's just a guess.


You may have to load the module

moprobe tun

If you get fatal, no tun module found or something similar, then it means that something might be slightly wrong with the install. I haven't used EC2 so don't know exactly how it works, but if that's the case, and there is no /dev/net tun, I would try a different EC2 machine if that's simple.

If the device exists and all that, then it may simply be that you didn't run vpnc with root privilege, which is necessary for it to start.
Reply With Quote
  #3  
Old 30th May 2011, 01:46 PM
gvramesh Offline
Registered User
 
Join Date: May 2011
Posts: 4
windows_xp_2003ie
Re: vpnc not connecting

Thank you for reply. i am very new to fedora. i don’t know how to load the module. i run vpnc as root only. i have checked the file location /dev/net/tun. tun file is the there with zero bytes.
first of all, am i installing vpnc in write way. i have done with "yum install vpnc". and made changes to config file. and run vpnc as root.
my doubt is it correct way to install vpnc.
Reply With Quote
  #4  
Old 30th May 2011, 02:02 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxchrome
Re: vpnc not connecting

To load it, type the command

modprobe tun


Then doing


lsmod |grep tun

should show that it's loaded.

Then try again. Your manner of installation, yum install vpnc should be correct.

I have a moderately old page about it, (doesn't cover this issue though) at

http://home.roadrunner.com/~computertaijutsu/vpnc.html

(Actually, it covers CentOS more than Fedora. In Fedora, I didn't mention that the best way to install it there is to use yum -y install vpnc.)
Reply With Quote
  #5  
Old 30th May 2011, 02:20 PM
gvramesh Offline
Registered User
 
Join Date: May 2011
Posts: 4
windows_xp_2003ie
Re: vpnc not connecting

I have recomplied kernel which is provided by amazon(it is 2.6.16. amazon will take this aversion only always). now when i am executing "modprobe tun" i am getting the follwong error.

WARNING: Error inserting crc32 (/lib/modules/2.6.16-xenU/kernel/lib/crc32.ko): I
nvalid module format
FATAL: Error inserting tun (/lib/modules/2.6.16-xenU/kernel/drivers/net/tun.ko):
Invalid module format
Reply With Quote
  #6  
Old 30th May 2011, 02:38 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxchrome
Re: vpnc not connecting

Wow, I have no idea with a 2.6.16 kernel. What version of Fedora is it running?

Are you sure this is Fedora and not RHEL or CentOS? Even RHEL 5 has a 2.6.18 kernel.

I really can't help in this case, I would guess you need an older version of vpnc.
Reply With Quote
  #7  
Old 31st May 2011, 12:57 PM
gvramesh Offline
Registered User
 
Join Date: May 2011
Posts: 4
windows_xp_2003ie
Re: vpnc not connecting

It is fedora 8.

---------- Post added at 02:12 PM ---------- Previous post was at 02:06 PM ----------



---------- Post added at 02:13 PM ---------- Previous post was at 02:12 PM ----------

kernel is 2.6.16-xenU

---------- Post added at 05:27 PM ---------- Previous post was at 02:13 PM ----------

Amazon Ec2 fedora 8 instance will take always 2.6.16. it is provided dev source
http://s3.amazonaws.com/ec2-download...2.6.16-ec2.tgz. i am downloading this and recompiling the kernel. even after that when i am trying to "modprobe tun" it is giving the following error.

WARNING: Error inserting crc32 (/lib/modules/2.6.16-xenU/kernel/lib/crc32.ko): Invalid module format FATAL: Error inserting tun (/lib/modules/2.6.16-xenU/kernel/drivers/net/tun.ko):Invalid module format

if i execute uname -a, result is following

Linux ip-10-245-11-18 2.6.16-xenU #1 SMP Mon May 28 03:41:49 SAST 2007 i686 i686
i386 GNU/Linux

i am really stuck. i am not understanding how to proceed
Reply With Quote
Reply

Tags
connecting, vpnc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vpnc not connecting to cisco server. gyp Servers & Networking 1 7th March 2011 01:37 PM
Vpnc divebuddy Servers & Networking 2 3rd August 2010 03:19 PM
vpnc vs. networkmanager-vpnc. I don't get it. KaiTheory Servers & Networking 0 30th March 2010 07:12 AM
Vpnc woodson2 Servers & Networking 5 4th February 2010 06:31 PM
vpnc what is what dark shark Alpha - Beta (Fedora 9 Only) 1 14th April 2008 01:58 AM


Current GMT-time: 21:24 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat