[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] tun/tap in linux 2.4.18 + question
From: |
Felipe Massia Pereira |
Subject: |
[lwip-users] Re: [lwip] tun/tap in linux 2.4.18 + question |
Date: |
Wed, 08 Jan 2003 23:16:18 -0000 |
As root, create the device file:
# mkdir -p /dev/net
# mknod -c /dev/net/tun c 10 200
If your kernel does not have tun support builtin, you must
install the module (each time machine boots):
# insmod tun
You can also add the following line to /etc/modules.conf:
alias char-major-10-200 tun
So the module will be loaded on-demand.
All this is for Linux 2.4.x kernels. The tap* you did in /dev/ should be
removed, they were used by the 2.2.x kernels.
This is documented in the TUN/TAP driver sources that you can download at
http://vtun.sourceforge.net/tun.
I'd like to ask to the list also: which is the purpose of IF_NO_PI (or
stg). It's about checksum isnt it?
[]s
Felipe
On Thu, 19 Sep 2002, ERIC MAHLAKO wrote:
> Can any one help me with this problem.
>
> I'm trying to configure tun/tap interfaces. I have
> followed the instruction in the tuntap.txt that came
> with linux documentations. Inside the /dev/ directory
> I can see tanX(X = 0,1,3) and tun devices,but when I
> try to configure the devices it gives me the ff errors
>
> ifconfig tap <ip address>
> SIOCSIFADDR:: No such device
> tap0: unknown interface: No such device
>
> Can anyone tells me how to configure and use tun/tap
> interfaces
>
> thanks
> Eric
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> [This message was sent through the lwip discussion list.]
>
[This message was sent through the lwip discussion list.]
- [lwip-users] Re: [lwip] tun/tap in linux 2.4.18 + question,
Felipe Massia Pereira <=