env: host os -> opensuse 11.0 kernel 2.6.15-1.1-default
guest os -> debian testing kernel 2.6.25
guest os: static ip address 192.168.1.69
host os: ip: 192.168.1.68
bridge ip: 192.168.1.43
I follow the guide at QEMU/Networking - Wikibooks, collection of open-content textbooks to enable host networking on guest. My problem is that the network on guest os still not function correctly, though i can startup the guest os in qemu.
Below is the output:
Network interface is managed from NetworkManager
NetworkManager cannot be advised to take down an interface.
Set up another interface instead.
Sun Aug 3 20:48:24 2008 TUN/TAP device tap0 opened
Sun Aug 3 20:48:24 2008 Persist state set to: ON
service: no such service firestarter
it seems like the dhcp (in guest os) will obtain another network address for guest os (debian). for instance, it uses 168.9x.3.xxx. If i setup network in guest os by using ‘static’ (e.g. address 192.168.1.69), it will uses the same network section as host os and guest os can look up (ping) the bridge by ‘ping 192.168.1.43’; however, it can not lookup (ping) host os (192.168.1.68). How can I solve this problem?
thank you very much,
Sorry don’t know much about qemu, but why not use Virtualbox, which is based on qemu anyway? Documentation and forums are excellent and host interface networking works well in Vbox.
I’ve successfully make the virtualbox use host interface by command
tunctl -t tap0 -u _user_name_
chmod 666 /dev/net/tun
ifconfig wlan0 0.0.0.0 promisc
ifconfig tap0 0.0.0.0 promisc
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 tap0
dhclient br0
but the weird thing is during installation of guest OS (SUSE/ 11.0/ 32bits/network isntallation), it seems like the guest os can not find the repository and no log I am able to check the problem.
It only left message like
No Repository found!
Then it returns back to the ‘Choose network protocol,’ which is the stage before configuring repository (e.g. Index of /distribution/11.0/repo/oss, which is also the repository I use)
What places I might go wrong or where I am able to check the problem?
Thank you very much,
sorry i forget to mention that my hardware is laptop hp 6910p. the nic is iwl4965agn, which works in the host os, but no idea whether it works in guest os or not as looks like it is able to access to the internet (it accepts repository ip address), but can not figure out the repository path/ location (sites/ftp.opensuse.org/pub/…/repos/oss) specified.
I seem to recall that bridging won’t work with wireless devices. Check the User Manual.