I've been having trouble with the ethertap device. I've tried to use it
under 2.2.15 and 2.2.16 with no success. In my kernel configuration I am
enabling "Netlink device emulation" which I believe produces a module
netlink_dev.o. I have tried using the tap device with and without this
netlink_dev module loaded.
I am able to ifconfig the tap0 interface and add it to the routing
table. I can ping the interface once it is configured. But when I try to
open the device and read/write a packet, I get a "No such device" error.
# cat /dev/tap0
cat: /dev/tap0: No such device
I also tried:
fd = open("/dev/tap0", O_RDWR);
thinking that maybe the device had to be opened read-write (which cat
does not do), but I receive the same error.
The behavior (i.e., not working) is identical whether netlink_dev is
loaded or not. I have also tried this without NO support (not even as a
module) for "Netlink device emulation" but this does not work either.
The simple question is, what am I doing wrong? If anybody has pointers
to applications which use the tap device, I would appreciate those.
Thanks in advance to everybody.
Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]