[Simh] Networking help with 4.3 BSD Quasijarus running on SimH microvax

Henry Bent henry.r.bent at gmail.com
Sat Nov 4 17:30:32 EDT 2017


 On 4 November 2017 at 16:44, Will Senn <will.senn at gmail.com> wrote:

> All,
>
> I'm a Vax newbie and 4.3 BSD newbie. I'm usually tooling around in V6/V7
> and modern linux, mac, bsd environments. I'm used to SIMH, but from a pdp11
> perspective. I've never tried to get networking working in a SIMH vm...
>
> I'm having some difficulty configuring my newly installed 4.3BSD
> Quasijarus for networking on my Mac Host and I'm hoping somebody here might
> help me figure out what's up. The system boots up and displays:
>
> checking quotas: done.
>
> But then it hangs for a while trying to set up the logger. It hangs up on
> services, sendmail, etc. I gather at this point that something's amiss with
> my network on the instance or in my simh setup. After the system comes up
> completely, I log in as root and ping yahoo.com - no result. I ping
> 192.168.0.1 (my gateway), and then 127.0.0.1 and get a result, but it's not
> what I'm hoping for -
>
> PING 192.168.0.1: 56 data bytes
> ^C
> ----192.168.0.1 PING Statistics----
> 6 packets transmitted, 0 packets received, 100% packet loss
>
> and
>
> PING 127.0.0.1: 56 data bytes
> ^C
> ----127.0.0.1 PING Statistics----
> 4 packets transmitted, 0 packets received, 100% packet loss
>
> Hmm. I'm stumped. All of my settings on the host and in the vax seem ok,
> but I may be missing something obvious. Either way, it's not working. The
> SIMH messages related to the nic are:
>
> ...
> libpcap version 1.8.1 -- Apple version 67.60.2
> Eth: opened OS device en1
> ...
>
> then in the vax:
>
> ...
>
> qe0 at uba0 csr 174440 vec 764, ipl 14
> qe0: deqna, hardware address 08:00:2b:aa:bb:cc
> ...
>
> I'm running on Mac OS X Sierra 10.12.6, 16GB RAM, etc. My SimH Vax is
> MicroVAX 3900 simulator V4.0-0 Beta        git commit id: 1d2742ed
>
> I followed the really excellent notes at: http://www.tavi.co.uk/unixhist
> ory/quasijarus.html
>
> and hit no significant snags at any point. I innocently changed some
> parameters to suit my host environment:
>
> ifconfig
> en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
> 1500
>     ether 4c:8d:79:ef:2d:26
>     inet6 fe80::18dc:318c:1da7:5048%en1 prefixlen 64 secured scopeid 0x5
>     inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
>     nd6 options=201<PERFORMNUD,DAD>
>     media: autoselect
>     status: active
>
> vax.ini
> set xq enable
> set xq type=deqna
> attach xq0 en1
>
> then in the stage 4 part of the install, I used 192.168.0.132 as my ip (a
> free ip on my local net):
>
> ========== netstart source
> cat /etc/netstart
> #!/bin/sh -
> #
> #       @(#)netstart    1.1 (Berkeley) 1/10/99
>
> routedflags=-q
> rwhod=NO
>
> # myname is my symbolic name
> # my-netmask is specified in /etc/networks
> #
> hostname=quasijarus
> hostname $hostname
>
> #ifconfig imp0 inet $hostname
> #ifconfig de0 inet $hostname netmask my-netmask
> #ifconfig qe0 inet $hostname netmask my-netmask
> ifconfig qe0 192.168.0.132 netmask 255.255.255.0
> route add default 192.168.0.1 1
>
> ifconfig lo0  inet localhost
> route add $hostname localhost 0
> hostid $hostname
>
> ========== disable named in rc
> cat /etc/rc |grep named
> #named;                  echo -n ' named' >/dev/console
>
> ========== use my local network dns
> cat /etc/resolv.conf
> nameserver 192.168.0.1
>
> ========== set up name of instance
> cat /etc/hosts
> 0.1             localhost localhost.my.domain
> # Imaginary network.
> 0.2             myname.my.domain myname
> 0.3             myfriend.my.domain myfriend
> 192.168.0.132 quasijarus
> ==========
>
> On rebooting, I hit the nic issues. Any ideas what's going on or further
> diagnostic steps I can take? Advice much appreciated.



If Quasijarus is the same as vanilla 4.3BSD, unless otherwise configured
localhost is 0.0.0.1 and not 127.0.0.1.  So does "ping localhost" work?
What does "ifconfig qe0" say?  And "netstat -rn"?

-Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20171104/6a499a9e/attachment.html>


More information about the Simh mailing list