Uh... Now, it's been many years since I ran 4.3, but this just sounds wrong.

But either way, /etc/hosts is not authorative no matter what.

Could you please do a netstat -in, and report the result?
I would expect there is two devices. qe0 and lo0, and the address assigned to lo0 is what your "localhost" address should be.

Beyond that, it just looks like your name resolution is totally failing. Can you ping some known address without involving dns or any sort of name translation? Try something like ping -n 8.8.8.8 and report the result (the -n is important here).

I would also suggest that you learn a bit more about networking and Unix in general, but unfortunately I don't have any good suggestions on source material for this.

Oh, and I hope your router is 192.168.0.1, or else you have more misconfigurations in your system.

  Johnny

On 2017-11-05 00:08, Will Senn wrote:
On 11/4/17 4:30 PM, Henry Bent wrote:

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


Henry,

That explains the weird /etc/hosts, 0.1 is localhost as you say. Here are the results of the pings, ifconfig, and netstat - it looks odd, but I'm not that knowledgeable about how it ought to look. My comments are inline:

The first ping just sat there until I killed it:

# ping localhost
^C

Then I tried pinging a set number of times:

# ping -c 5 localhost
PING 5: 0 data bytes
^C----5 PING Statistics----
7 packets transmitted, 0 packets received, 100% packet loss

Then I tried the ip you suggested:

# ping 0.0.0.1
PING 0.0.0.1: 56 data bytes
^C
----0.0.0.1 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss

Then the address from the hosts file:

# ping 0.1
PING 0.1: 56 data bytes
^C
----0.1 PING Statistics----
5 packets transmitted, 0 packets received, 100% packet loss

The ifconfig result looks promising:

# ifconfig qe0
qe0: flags=43<UP,BROADCAST,RUNNING>
         inet 192.168.0.132 netmask ffffff00 broadcast 192.168.0.255

The 192.168 line in the netstat results is weird to me...:

# netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use Interface
default          192.168.0.1        UG          0       15  qe0
192.168          192.168.0.132      U           1       24  qe0

Does this shed any light on my problem?

Thanks,

Will


--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh



--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: [email protected]             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to