Skip to contentSkip to conversation

tun network

Qemu-devel [email protected] 2 participants 3 messages May 14, 2004 – May 17, 2004 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

On Mandrake 10, I have /dev/net/tun, but no /dev/net/tun0 Is it normal ?

so Renzo Script tells me :
SIOCSIFADDR: No such device
tun0: unknown interface: No such device

#1 lore raw
Quoted 6 lines · [email protected] wrote:

On Mandrake 10, I have /dev/net/tun, but no /dev/net/tun0 Is it normal ?

so Renzo Script tells me :
SIOCSIFADDR: No such device
tun0: unknown interface: No such device

Have you tried to do: /sbin/modprobe tun

I'm not sure if mandrake knows how to autoload this module..

Thanks,
Hetz

#3 lore raw
In reply to a message not in the archive
Quoted 4 lines · you
Quoted 2 lines · On Fri, May 14, 2004 at 09:10:05PM +0100, [email protected] wrote:

On Mandrake 10, I have /dev/net/tun, but no /dev/net/tun0 Is it normal ?

Quoted 9 lines

Yes this is normal, qemu creates the corresponding network device when it is started. THe /dev/net/tun is used for all tun interfaces for communication with userspace.

If you interface up script fails to run for whatever reason i think it may not allocated it. You can work arround this by setting -n /bin/true # then manually configuring the tunN interface that will come into existance.

I found my mistake !
"-1 the device node /dev/net/tun with read/write permissions" !!! so :
crw-rw---- 1 me root 10, 200 Jan 1 1970 /dev/net/tun

I, too, should learn to read...

just a litle thing : it could be a good idea to remane the files "bin00004.bin" and "bin00005.bin".
-they are not binaries
-it is not very clear who is who

Thank you again Renzo for your very good work.