LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2006, 01:11 AM   #1
odie_chan
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Unhappy Openvpn TUN Problem


Dear all professional,

I am trying to configure Openvpn at my Redhat AS3 linux.

After I installed openvpn and run the command to start openvpn "openvpn --dev tun0". I get an error.

"Can't load the module
Note: Attempting fall back to kernel 2.2 TUN/TAP Interface
Cannot open TUN/TAP dev /dev/tap0 : No such file or directory (errno=2)
Exiting"

1. Done. I list I have the /dev/net/tun is exist and setting correct permission.
mknod /dev/net/tun c 10 200

2. Not Done. I run "modprobe tun" .....
Error with "Can't load the module"

3. Done. In /etc/module.conf, having "alias char-major-10-200 tun"

4. Error. At /var/log/messages
openvpn. Can't load the module

Question,
I read many linux website and I know I have not TUN module at my linux kernel. How to load the module?

Or should I need to recompile the linux kernel? If yes, how to specify it?

Or if any LINUX Professional can let me more details hot to setup Openvpn about TUN.

Thanks a lot.

Terry
 
Old 06-20-2006, 02:36 AM   #2
pronoy
Member
 
Registered: Mar 2005
Location: india
Distribution: FC4, Debian Etch
Posts: 67

Rep: Reputation: 15
You have to recompile the kernel.
from 'make menuconfig' select
Device Drivers =>Network device support => Universal TUN/TAP device driver support as (M ~ module)
 
Old 06-20-2006, 09:23 AM   #3
odie_chan
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Yuh..... i got it. Thanks a lot.

Terry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
OpenAFS on an OpenVPN tun device Gsee *BSD 0 05-08-2006 05:28 AM
Recent problem with TUN/TAP and Bridging meres Linux - Networking 2 12-29-2005 07:02 AM
ADSL Speedtouch PPPOA3 TUN/TAP Problem Tomas79 Mandriva 1 08-11-2004 02:25 PM
Problem with tun spoody_goon Linux - Newbie 0 10-11-2003 01:58 PM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration