[Top][All Lists]

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

sparc-solaris networking not working

From: Michele Denber
Subject: sparc-solaris networking not working
Date: Fri, 19 Jun 2020 17:22:05 -0400
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

I started my virtual SparcStation 5 like this:

$ qemu-system-sparc -nographic -bios ss5.bin -m 32 -rtc base="1999-04-19" -hda sunos414.img -net nic,model=lance -net user,hostfwd=tcp::4422-:22,hostfwd=tcp::4423-:23

following the recommendation here: https://stackoverflow.com/questions/53315086/transferring-file-to-virtual-machine-qemu-using-tcp-port-2222-not-working

But when the guest starts, I can't access my LAN (192.168.0.x).

sunss5 login: root
Apr 18 19:09:07 sunss5 login: ROOT LOGIN console
Last login: Sun Apr 18 19:00:45 on console
SunOS Release 4.1.4 (GENERIC) #2: Fri Oct 14 11:09:47 PDT 1994
sunss5# ping
^Csunss5# ping is alive
sunss5# ping
^Csunss5# ifconfig -a
    inet netmask ff000000 broadcast
    ether 52:54:0:12:34:56
lo0: flags=49<UP,LOOPBACK,RUNNING>
    inet netmask ff000000
sunss5# cat /etc/hosts
# Sun Host Database
# If the NIS is running, this file is only consulted when booting
#    localhost
#    sunss5 loghost
sunss5# cat /etc/defaultrouter
sunss5# netstat -r
Routing tables
Destination          Gateway              Flags    Refcnt Use        Interface
localhost            localhost            UH       1      171        lo0
default                 UG       0      18         le0
arpanet              sunss5               U        2      83         le0

And in the Ubuntu host:
$ netstat -tulpn | grep qemu
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0  *               LISTEN      19688/qemu-system-s
tcp        0      0  *               LISTEN     

The funny thing is that if I start ftp to a machine on the LAN, it will connect OK but I can't transfer any files (it just hangs when I do a PUT).

sunss5# ftp
Connected to
220 avon FTP server ready.
Name (

Or even ftp to the ubuntu host doesn't work

sunss5# ftp
ftp> op
Connected to
220 (vsFTPd 3.0.3)
Name ( ftpuser
331 Please specify the password.
230 Login successful.
ftp> bin
200 Switching to Binary mode.
ftp> put
(local-file) libsuntool.so.0.54
(remote-file) libsuntool.so.0.54
500 Illegal PORT command.
425 Use PORT or PASV first.
ftp> quote PASV
227 Entering Passive Mode (127,0,0,1,39,26).
ftp> put
(local-file) libsuntool.so.0.54
(remote-file) libsuntool.so.0.54
500 Illegal PORT command.

What am I doing wrong here?

            - Michele

reply via email to

[Prev in Thread] Current Thread [Next in Thread]