qemu and netdemo - more details

Joel Sherrill joel.sherrill at OARcorp.com
Fri Mar 7 18:09:20 UTC 2008


Peter Mueller wrote:
> Hello,
>
> Am 06.03.2008 um 22:02 schrieb Joel Sherrill:
>
>> Peter Mueller wrote:
>>> Hello 
>>> here are some more details how my system (Debian) is set-up:
>>>
>> Did you get this working?
>>
>
> Rtems on Debian? Yes no problem
>
> Any idea on the qemu issue?
I have used qemu networking but not since I got a new laptop so
some of these details are from notes and not tested TODAY. :-D

Attached is the networkconfig-qemu.h that is in CVS with the
network demos.  One key issue is the IRQ number on the
configuration.  The default in qemu doesn't match the driver in
RTEMS default.

I also recall some qemu documentation or FAQ not being
right or being confusing about the assignment of IP addresses
in the virtual subnet inside qemu.

/etc/qemu-ifup:

#!/bin/sh
   TUN_DEV=$1
   TUN_HOST=10.0.2.2
   /sbin/ifconfig $TUN_DEV $TUN_HOST
   exit 0

Command line:

  qemu -M isapc -m 8 \
    -boot a -fda /home/joel/qemu/pc386_fda \
    -hda fat:/home/joel/qemu/hd  \
    -net nic,macaddr=00:80:7F:22:61:77 \
    -net tap,script=/etc/qemu-ifup \
    -serial stdio

Any obvious differences from yours?

>
> Regards,
> Peter
>
>
>
>
> --
> Peter Mueller
> peter.o.mueller at gmx.de <mailto:peter.o.mueller at gmx.de>
>
>


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


-------------- next part --------------
A non-text attachment was scrubbed...
Name: networkconfig-qemu.h
Type: text/x-chdr
Size: 4430 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20080307/15d6103c/attachment-0001.bin>


More information about the users mailing list