linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [announce] a wifi layer for UML
@ 2004-05-20 17:22 Vincent Guffens
  0 siblings, 0 replies; only message in thread
From: Vincent Guffens @ 2004-05-20 17:22 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

I'm working on a wireless network simulator project based on UML. The 
idea is to use an existing 802.11 driver and to port it to UML. Every 
UML machines running this driver are then interconnected by way of a 
simulator server which emulates the physical transmission. A GUI is also 
provided to visualise the virtual machines in a 2-dimensional world.

The driver is the hostap driver and nearly runs unmodified. The pci 
layer of the driver has been modified to use what I called 'netbus' 
which is a simple bus implementation replacing a pci bus.

This netbus code (available as a patch against linux-2.4.24-um1) exports 
some symbols similar to those exported by the pci layer like 
netbus_register_driver and so on. There is also the possibility to 
read/write byte and word with netbus_readb netbus_writeb.

Netbus connects to the emulated hardware card by way of two tcp/ip 
connections. One connection is used to transmit the read/write commands 
and the other is only used by the card to emit interrupt signals.

The card is emulated in the simulator server writen in QT/C++. Although 
the implementation of the card is minimal, it is enough to fool the 
driver and to have it to initialise a wlan0 interface with wireless 
extension ! You can then ssh through the air between two machines and 
see your packets flying between the machines.


For those interested in trying it :
http://www.auto.ucl.ac.be/~guffens/uml-wifi/index.html


Regards,


-- 
				Vincent Guffens
				PhD Student UCL/CESAME
				tel:   +32 10 47 80 30
Value your freedom, or you will lose it, teaches history.
"Don't bother us with politics," respond those who don't want to learn.
	      	-- Richard M. Stallman



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-20 15:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 17:22 [uml-devel] [announce] a wifi layer for UML Vincent Guffens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox