Hi,
I'm trying to do this: Set up OpenSolaris with Qemu (Ubuntu is hostOS). I was able to get it up and running and I have installed it on my .img. But now I need internet connection. On my Ubuntu host I did this:
#brctl addbr br0
#tunctl
#brctl addif br0 wlan0
#brctl addif br0 tap0
#ifconfig wlan0 0.0.0.0
#dhclient br0
Result:
Have connection on hostOS.
#brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0016ea823fda no tap0
wlan0
pan0 8000.000000000000 no
In OpenSolaris I have one rtls0 device that's up. I tried to set it to ip 192.168.0.2 (br0 = 192.168.0.103 from dhclient, router = 192.168.0.1).
Tried to ping myself:
#ping 192.168.0.2
alive
What more can I do? I understand it could be a thousand things. But a hint someone?
By the way my Qemu line is like this:
#qemu -hda solaris.img -m 1024 -net nic,model=rtl8139 -net tap,ifname=tap0 -boot c &
It's very very slow, but -cpu coreduo -smp 2 didn't help. But I can wait as long as it works.
//FiA