linux-um archives
 help / color / mirror / Atom feed
From: Vincent Guffens <guffens@auto.ucl.ac.be>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] [announce] a wifi layer for UML
Date: Thu, 20 May 2004 19:22:44 +0200	[thread overview]
Message-ID: <40ACE964.9070004@auto.ucl.ac.be> (raw)

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

                 reply	other threads:[~2004-05-20 15:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40ACE964.9070004@auto.ucl.ac.be \
    --to=guffens@auto.ucl.ac.be \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox