[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New working sparc64 netinst image



On 29/12/15 20:01, John Paul Adrian Glaubitz wrote:

> On 12/29/2015 08:53 PM, Mark Cave-Ayland wrote:
>> Can you post your QEMU command line? By default you should get a slirp
>> user-space stack that can talk to the outside world.
> 
> $ qemu-system-sparc64  -net nic -net user -nographic -m 512 -cdrom
> ./debian-cd-created/debian-9.0-sparc64-NETINST-1.iso -boot d -hda debian.img
> 
> The problem here is that the machine hosting this is in a university
> network and hosts don't randomly get IP addresses through DHCP, so
> I'd need some NAT setup or register the MAC of the qemu host.

The DHCP server is in-built - if you run dhclient or equivalent in the
guest you should get a 10.0.2.15 IP address with a 10.0.2.2 gateway
which is the host machine with the added ability to NAT outwards.

Note that since this is userspace then unless you run QEMU as root then
IIRC ping won't work, however normal TCP/UDP connections such as wget
and telnet etc. should be fine.


HTH,

Mark.


Reply to: