Discussion:
[Vtun-Users] Vtun on powerPC / Can't allocate tap device
dinman86
2008-06-23 08:25:12 UTC
Permalink
Hello, 
It does 3 days that I am searching a way to activate VTUND on a powerPC
without any success. 
My friend google is not very kind. 
 
I am trying to make a TAP tunnel between two Linux systems and the tunnel is
not coming UP. 
 
Here are the points that I have tested: 
* I am sure that the VTUND configuration file and the TUN/TAP driver are
correct because I can bring UP a tunnel between a Server and a Client
(i386). 
* The TUN driver is correctly loaded into the kernel (insmod in module mode
or dmesg build in module state) 
* When the TUN driver is UP /dev/net/tun is correctly created 
# ls -l /dev/net/tun 
crw-rw-rw- 1 root root 10, 200 Jan 1 1970 /dev/net/tun 
* To be sure that the Linux system is OK I runned tunctl to create tap
interface and it was OK. 
 
Here is the error message that I have when I try to create a tunnel: 
vtund[1535]: Connecting to 192.168.8.51 
vtund[1535]: Session 3002[192.168.8.51] opened 
vtund[1535]: Can't allocate tap device tap3002. No such file or
directory(2) 
vtund[1535]: Session 3002[192.168.8.51] closed 
 
I tried to create a node or a symbolic link named /dev/tap1 an I get the
following error: 
vtund[1515]: Session 3002[192.168.8.51] opened 
vtund[1515]: UDP connection initialized 
vtund[1515]: File descriptor in bad state (77) 
vtund[1515]: Session 3002[192.168.8.51] closed 
 
I tried the following VTUND version: vtun-2.2,
vtun-2.5.4,vtun-3.0.1,vtun-3.0.2,vtun-2.6 
 
Here is my configuration: 
Vtund Server: 
* Linux 2.6.18 
* vtund 2.6 
 
Vtund Client i386 
* Linux 2.6.8 
* vtund 2.6 
 
Vtund Client ppc 405 
* Linux 2.6.19.2 
* vtund 2.6 
* Universal TUN/TAP device driver, 1.6 
 
Hope anybody can help ME.
dinman86
2008-06-24 16:35:06 UTC
Permalink
Hello,

I am getting the follow message:'Can't allocate tap device tap0'
I have tested many ways and many configurations.

Is there a way to tell vtund program to use tunctl to create tap device?

Thanks for your help.

Loading...