From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DHLCn-00077O-NP for qemu-devel@nongnu.org; Fri, 01 Apr 2005 07:24:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DHLCj-00075d-D5 for qemu-devel@nongnu.org; Fri, 01 Apr 2005 07:24:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHLCi-00073e-39 for qemu-devel@nongnu.org; Fri, 01 Apr 2005 07:24:48 -0500 Received: from [64.233.170.197] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DHKss-00061S-CR for qemu-devel@nongnu.org; Fri, 01 Apr 2005 07:04:18 -0500 Received: by rproxy.gmail.com with SMTP id c51so665698rne for ; Fri, 01 Apr 2005 04:04:18 -0800 (PST) Message-ID: Date: Fri, 1 Apr 2005 13:04:18 +0100 From: Miguel Filipe In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: Subject: [Qemu-devel] Re: Running DragonFlyBSD on qemu, network device problems. Reply-To: Miguel Filipe , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, users@crater.dragonflybsd.org Hi again, On Apr 1, 2005 12:57 PM, Miguel Filipe wrote: > Sorry about that... > > On Apr 1, 2005 12:53 PM, Miguel Filipe wrote: > > Hi there, > > > > I'm running dragonflyBSD on a qemu virtual PC on top of linux. > > Instalation went fine. > > > > Configuring the ethernet is the problem: > > 1 - dhclient ed0 gives no valid address > > 1.a - when using tun0 for the ethernet interface to qemu > > dhclient results in the following kernel error/warning message: > date kernel: ed0: device timeout > - acording to qemu docs, the network interface is a ne2000 pci > > 1.b - when using qemu with -user-net the error doesn't occurr.. > > 2 - how should one set-up a lan between the host OS (linux) and the > guest OS in qemu (dragonflyBSD) ? I've tried putting a dhcp server on the host OS running in the tun0 device and trying dhclient on dragonfly, but cannot tell if its ed0 device problems or me being stupid... tcpdump tells me this: tun0 is on host machine 10.0.0.254, and dhcpd.conf is configured for 10.0.0.5-10. miguel@garfield:~/qemu/qemu$ sudo tcpdump -i tun0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on tun0, link-type EN10MB (Ethernet), capture size 96 bytes 13:02:29.479081 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:12:34:56, length: 300 13:02:29.480481 arp who-has 10.0.0.10 tell 10.0.0.254 13:02:30.002689 IP 10.0.0.254.bootps > 10.0.0.10.bootpc: BOOTP/DHCP, Reply, length: 300 13:02:30.480340 arp who-has 10.0.0.10 tell 10.0.0.254 13:02:31.480200 arp who-has 10.0.0.10 tell 10.0.0.254 13:02:35.478582 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:12:34:56, length: 300 13:02:35.479423 IP 10.0.0.254.bootps > 10.0.0.10.bootpc: BOOTP/DHCP, Reply, length: 300 those dhcp requests are from dragonflybsd... Still dragonfly gets NO IP. > > I cannot send the dmesg or any other dragonfly info since I can't > access it besides the console, and I cannot copy&paste it. > > TIA. > > > > > > > -- > > Miguel Sousa Filipe > > > > Best regards to all, > > -- > Miguel Sousa Filipe > -- Miguel Sousa Filipe