Jump to content











Photo
- - - - -

Qemu tester


  • Please log in to reply
9 replies to this topic

#1 friske

friske

    Frequent Member

  • Advanced user
  • 247 posts
  •  
    Italy

Posted 12 December 2012 - 08:41 PM

Do it is possible to test a tftpd32 server with Qemu?



#2 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 13 December 2012 - 04:08 AM

Do it is possible to test a tftpd32 server with Qemu?
Yes. TFTP is fine. If you want to test DHCP, you will probably want to use a tap device.

#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15465 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 13 December 2012 - 06:45 AM

Just for the record, Qemu Manager includes a tap device in the install.

http://www.msfn.org/...on-for-project/

Here:

http://www.davereyn.co.uk/

 

:cheers:

Wonko



#4 friske

friske

    Frequent Member

  • Advanced user
  • 247 posts
  •  
    Italy

Posted 13 December 2012 - 07:08 AM

I installed driver, but not see how use from qEmu 0.9.0 command line in windows.

i tryed:

qemu -net nic,model=pcnet -net tap

qemu -boot c -hda /hd1 -m 1024 -localtime -net nic,macaddr1=0e:50:40:17:39:01 -net tap

but not work.



#5 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 13 December 2012 - 07:21 AM

I installed driver, but not see how use from qEmu 0.9.0 command line in windows.
i tryed:
qemu -net nic,model=pcnet -net tap
qemu -boot c -hda /hd1 -m 1024 -localtime -net nic,macaddr1=0e:50:40:17:39:01 -net tap
but not work.
qemu -h provides help. You are missing the ifname sub-option for the tap option.

#6 friske

friske

    Frequent Member

  • Advanced user
  • 247 posts
  •  
    Italy

Posted 13 December 2012 - 08:22 AM

i tryed:

qemu -m 256 -hda "c:SysLinuxlan.dsk" -net nic,macaddr1=0e:50:40:17:39:01 -net tap,vlan=0,ifname=virtus,script=no -L "c:SysLinuxqman50qemu091" -boot n

it start boot from lan but not "NO IP Address".



#7 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 13 December 2012 - 10:12 AM

i tryed:
qemu -m 256 -hda "c:SysLinuxlan.dsk" -net nic,macaddr1=0e:50:40:17:39:01 -net tap,vlan=0,ifname=virtus,script=no -L "c:SysLinuxqman50qemu091" -boot n
it start boot from lan but not "NO IP Address".
What interface is TFTPD32 bound to?

#8 friske

friske

    Frequent Member

  • Advanced user
  • 247 posts
  •  
    Italy

Posted 13 December 2012 - 10:48 AM

What interface is TFTPD32 bound to?

I not undstand the question.

TFTPD32 have my local lan ip address.

In my lan real pc pxe work.



#9 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 13 December 2012 - 05:08 PM

I not undstand the question.
TFTPD32 have my local lan ip address.
In my lan real pc pxe work.
That is a good answer. If you bridge the tap and local LAN network connections, then the QEmu will be on the local LAN.

#10 friske

friske

    Frequent Member

  • Advanced user
  • 247 posts
  •  
    Italy

Posted 14 December 2012 - 07:42 AM

I get some errors fast, that I can not read, but in the end it boot.

Thank you.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users