lwip-members
[Top][All Lists]
Advanced

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

Re: [lwip-members] Tun (fwd)


From: Jani Monoses
Subject: Re: [lwip-members] Tun (fwd)
Date: Wed, 8 Jan 2003 14:27:28 +0200

if I do a cat /dev/net/tun it gives me the same error
strange it used to work
I'll look into it

> ---------- 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
> 
> 
> 
> 
> 
> _______________________________________________
> lwip-members mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/lwip-members




reply via email to

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