[click] : problem in test-tap

Douglas S. J. De Couto decouto at lcs.mit.edu
Fri Jan 31 08:59:12 EST 2003


Do you have the ethertap module compiled and loaded?

If yes, then you may need to create /dev/tap1 as well, if some other 
program is using tap0.  You can look at the output of ifconfig to see 
if tap0 is already in use.

On Friday, Jan 31, 2003, at 05:46 US/Eastern, marie-christine castell 
wrote:

> thanks for your reply,
> now I have another number of error but it still doesn't work :
>
> <stdin>:14: While initializing 'tun :: KernelTap':
> could not allocate a /dev/tap* device: No such device
>
> But I can see taht in dev I have tap0.`
>
> Thanks for youy help
>
> Marie-Christine
>
> On Thu, 2003-01-30 at 15:22, Douglas S. J. De Couto wrote:
>> you need to make the device file /dev/tap0
>>
>> some systems have a script or program called MAKEDEV that can do this
>> for you.  if you don't have that program, you can manually create the
>> device file using mknod.
>>
>> the command would be;
>> mknod /dev/tap0 c 36 16
>>
>> if you are using devfs, it is different, but i am not sure exactly 
>> how.
>>
>> in either case you should read the documentation for ethertap in the
>> linux kernel source,
>> try /usr/src/linux/Documentation/networking/ethertap.txt
>>
>> cheers,
>>
>> d
>>
>> On Thursday, Jan 30, 2003, at 10:05 US/Eastern, marie-christine 
>> castell
>> wrote:
>>
>>> Hi!
>>>
>>> I'm a beginner in CLICK I use it on Linux Mandrake, and I started 
>>> with
>>> doing the examples, I have a problem in test-tap.click :
>>>
>>> could not allocate a /dev/tap* device : No such file or directory
>>> (errno: 2)
>>>
>>> I've read in the documentation that it is possible to fail but how 
>>> can
>>> I
>>> make it work well?
>>> Thanks for any help
>>>
>>> Marie-Christine
>>>
>>>
>> --
>> Douglas S. J. De Couto     <decouto at lcs.mit.edu>
>>
>
>
>
--
Douglas S. J. De Couto     <decouto at lcs.mit.edu>




More information about the click mailing list