lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Executing lwip on Simics (Simulator)Hi,


From: Kieran Mansley
Subject: Re: [lwip-users] Executing lwip on Simics (Simulator)Hi,
Date: Wed, 7 May 2003 13:24:32 +0100 (BST)

On Tue, 6 May 2003, Navneet Aron wrote:
> Hi All,
> I'm trying to  execute lwip on Simics (www.simics.net)
>
> As per lwip's documentation
> I need to create a  net/tun device which is done by commands  ./MAKEDEV
> net/tun in /dev directory  and  tun driver must be loaded into kernel by
> insmod tun.
>
> I first tried to get lwip working on linux without simics. The above
> approach works great.
>
> Then I copied lwip into the simulated filesystem of simics-linux. The only
> difference between simics-linux and linux is here linux is running as a OS
> on top of simulator.


> I tried to create net/tun device but it fails.Since ./MAKEDEV is not
> present in linux hosted on top of Simics.

Sounds like a problem with Simics rather than lwIP.  I would contact
whoever develops that and ask them how to create the tun device.

> Can any one suggest what could be done? For example. Is it possible in
> lwip to not use net/tun device and use the existing  network device.Or if
> makedev can be substituted by something else.

You could write a driver that would interface directly with the network
card rather than with the tun device, but you would not then be able to
use the network card both from lwIP and from linux at the same time, and
you'd need to have reasonable documentation for the network hardware.

Kieran





reply via email to

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