Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
(Sorry if this a repost - my mistake)
I am trying to get bochs working with the slirp ne2k module.
It does not seem to work. I know it is a new feature though..
The normal linux eth0 root mode ne2k works fine. I have tried many series of
different ifconfig settings with little success. The most that works is a
connection from the guest to the host over 10.0.2.2 or the actual 10.0.0.2 IP.
The router is a normal netgear @ 10.0.0.1
Is it possible to get the dlx linux mini distribution that comes with bochs to
use the slirp module ? Can some one go through the steps required ?
Or better yet - the steps required for it to work in a normal debian
distribution. Auto DHCP gets all the details but doesn't work.
(PING does seem to get the right IP on both, when you do ping www.google.com,
but never recieves any packets?)
http_proxy through localhost works well..
Also by mucking about with it some more it seems to be working.. ;-P
PING still doesnt recieve any packets though.. wget now works..
but i still can't connect from HOST to GUEST
Nor can i connect from guest to ip control - telnet 10.0.2.0
And still can't from HOST to 10.0.2.0 either
Says Network unreachable.
The default guest IPv4 address is 10.0.2.15 (assigned by builtin DHCP) and the
virtual host has 10.0.2.2. I don't know whether or not the current
implementation can manage host-to-guest connections. I only tried to access
the internet and it worked fine.
Maybe you could take into consideration to include slirp software inside bochs, as in qemu.
That'd be useful for porting purposes to other linux-like OS, as in Android, without having to build a separate "slirp ececutable".
With slirp inside bochs internet access from the guest would be (almost) straightforward.
It is one of my TODO items to include the 'slirp' sources in Bochs, but I cannot tell you when I'll be able to do it. I hope that it will be ready for the next official release.
Ok. Thanks. When you do it, please provide the option to set a specific dns for slirp, for example in the "script" parameter of ne2k (instead of the slirp path).