|
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 192.168.0.1 ^Csunss5# ping 10.0.2.2 10.0.2.2 is alive sunss5# ping 192.168.0.2 ^Csunss5# ifconfig -a le0: flags=63<UP,BROADCAST,NOTRAILERS,RUNNING> inet 10.0.2.15 netmask ff000000 broadcast 10.0.0.0 ether 52:54:0:12:34:56 lo0: flags=49<UP,LOOPBACK,RUNNING> inet 127.0.0.1 netmask ff000000 sunss5# cat /etc/hosts # # Sun Host Database # # If the NIS is running, this file is only consulted when booting # 127.0.0.1 localhost # 10.0.2.15 sunss5 loghost sunss5# sunss5# cat /etc/defaultrouter 10.0.2.2 sunss5# netstat -r Routing tables Destination Gateway Flags Refcnt Use Interface localhost localhost UH 1 171 lo0 default 10.0.2.2 UG 0 18 le0 arpanet sunss5 U 2 83 le0 sunss5# 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 0.0.0.0:4422 0.0.0.0:* LISTEN 19688/qemu-system-s tcp 0 0 0.0.0.0:4423 0.0.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 192.168.0.78 Connected to 192.168.0.78. 220 avon FTP server ready. Name (192.168.0.78:root): ... Or even ftp to the ubuntu host doesn't work sunss5# ftp ftp> op (to) 10.0.2.2 Connected to 10.0.2.2. 220 (vsFTPd 3.0.3) Name (10.0.2.2:root): ftpuser 331 Please specify the password. 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. ftp> What am I doing wrong here? - Michele |
[Prev in Thread] | Current Thread | [Next in Thread] |