lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Problem with ioctl function during initialization.


From: Navneet Aron
Subject: [lwip-users] Problem with ioctl function during initialization.
Date: Sat, 10 May 2003 16:38:02 -0700 (PDT)

Hi,
I have Lwip (minimal) working perfectly alright on my x86 with  linux
Redhat8.0.

Now I  am trying to get Lwip to work on UltraSPARCII running Suse7.3
Linux 2.4.14-SMP kernel.I am creating the usual tap interface using
cd /dev
mkdir net
mknod -m 660 net/tun c 10 200
insmod tun

I am working in minimal directory. When I execute the minimal execuatable
after compiling it, it crashes  in mintapif.c in function low_level_init
call. Within low_level_init there is following call to ioctl
:(ioctl(mintapif->fd, TUNSETIFF, (void *) &ifr) < 0)
It fails here giving an error: " Invalid Argument"

There is no difference whatsoever in my approaches of
trying to get lwip working on either x86 or UltraSPARC.

Could any one suggest me as to what might be going wrong?
Thanks a lot,
Navneet





reply via email to

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