Running DragonFlyBSD on qemu, network device problems.
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:
Signature · 1 line
Miguel Sousa Filipe
Sorry about that...
Quoted 9 lines · Miguel Filipe
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 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.
Quoted 5 lines
--
Miguel Sousa Filipe
Best regards to all,
Signature · 1 line
Miguel Sousa Filipe
Hi again,
Quoted 12 lines · Miguel Filipe
Sorry about that...
Quoted 9 lines · Miguel Filipe
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:
Quoted 7 lines
date kernel: ed0: device timeout
- acording to qemu docs, the network interface is a ne2000 pci1.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.
Quoted 17 lines
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.
Quoted 5 lines
--
Miguel Sousa FilipeBest regards to all,
--
Miguel Sousa Filipe
Signature · 1 line
Miguel Sousa Filipe