Hi!
QEmu version:
QEMU emulator version 4.2.0 (v4.2.0-11797-g2890edc853-dirty)
The command line that i'm using:
qemu-system-sparc64.exe -machine sun4u,accel=tcg,usb=off -m
2048 -nographic -hda debian_sparc64.qcow2 -net
nic,model=ne2k_pci -net user,hostfwd=tcp::2222-:22 -monitor
telnet::4440,server,nowait -serial mon:telnet::3333,server,wait
I changed the ne2k_pci to sunhme.. but, not worked...
ANd, I tried with "-net nic" only too
Alexandre S. Bencz +55 {15} 991-707-384
On 14/04/2020 17:31, Alexandre Bencz wrote:Here is the result of this commands: bencz@debian-sparc64:~$ ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff bencz@debian-sparc64:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 brd 10.0.2.255 scope global enp2s0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe12:3456/64 scope link valid_lft forever preferred_lft forever I tried several other options on the q-emu to access the internet but all failed What I find strange is that during the installation, the IP was detected and obtained the date and time information ... but, now that the system is installed, I have no connection ... Alexandre S. Bencz +55 {15} 991-707-384 On 05/03/2020 12:52, Anatoly Pugachev wrote:On Thu, Mar 5, 2020 at 5:03 PM Alexandre Bencz <alebencz@gmail.com> wrote:Inside /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug enp2s0 iface enp2s0 inet dhcp The dmesg log: $ dmesg [ 0.001496] PROMLIB: Sun IEEE Boot Prom 'OBP 3.10.24 1999/01/01 01:01'...[ 11.300463] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker [ 11.403802] ne2k-pci 0000:02:00.0 eth0: RealTek RTL-8029 found at 0x1fe02800000, IRQ 8, 52:54:00:12:34:56. [ 12.636822] ne2k-pci 0000:02:00.0 enp2s0: renamed from eth0First, dmesg shows that driver for network card is loaded, you could check with "ip link show" to see is there enp2s0 available. Second, check with "ip addr show" does your enp2s0 gets an IP address...What version of QEMU are you using? The default network card for sun4u has been sunhme (Happy Meal Ethernet) for quite some time, so my guess is that you're ending up with 2 NICs plugged into your virtual machine which is causing the confusion. Take a look at the wiki documentation at https://wiki.qemu.org/Documentation/Platforms/SPARC for more information and check your command line to make sure you're not trying to override the default NIC with ne2k_pci. ATB, Mark.