lwip-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-members] Tun (fwd)


From: Kieran Mansley
Subject: [lwip-members] Tun (fwd)
Date: Wed, 8 Jan 2003 10:47:10 +0000 (GMT)

So, in the absence of the normal mailing list, can anyone help me with the
problem I tried to raise yesterday?

Thanks

Kieran

---------- Forwarded message ----------
Date: Tue, 7 Jan 2003 11:49:19 +0000 (GMT)
From: Kieran Mansley <address@hidden>
To: address@hidden
Subject: Tun

Apologies for bringing tun up again, but there are people here who have it
working and I'm getting increasingly frustrated with it.

I've tried to get tun working, but always get an error as follows:

"cat: /dev/net/tun: File descriptor in bad state"

All the reports of this error I can find suggest this is due to mismatched
headers and kernel versions, so I have ensured that I have compiled the
kernel and modules from scratch and have /usr/src/linux,
/usr/include/linux and /usr/include/asm pointing to the kernel I've just
compiled (and now running).

I still get the error.

To demonstrate this, I do the following:

mkdir /dev/net
mknod /dev/net/tun c 10 200
insmod tun
cat /dev/net/tun

simhost gives the same error ("File descriptor in bad state") too.

Does anyone have helpful suggestions for what I might be doing wrong?  I
have tried numerous kernel versions (between 2.4.6 and 2.4.18, both
compiled myself and standard redhat distributed kernels) and a number of
different machines.  All give the same error.

Thanks!

Kieran







reply via email to

[Prev in Thread] Current Thread [Next in Thread]