Subject: For network experts.
To: None <port-mac68k@NetBSD.ORG>
From: Francois Pays <francois@pluton.sema-itf.fr>
List: port-mac68k
Date: 10/12/1995 18:11:54
Hello everybody.

My network still refuses to work after all.
Since I am not a network expert, I can't figure out
what is going wrong at all.
In short, everything looks all right with netstat and ifconfig,
but I can't get a byte going through the modem ! Ping says
"Network is down". (see in appended log)

If you understand this mess, please let me know.

-- Francois Pays.
 
francois@pluton.sema-itf.fr (please cc to fpays@s2.isicom.fr)

===========================================================


Machine :   Mac LCIII , fpu , 8/80 (macOs on an other hard disk)
Kernel  :   John P. Wittkoski 's magic one.
Binaries:   from cray-ymp.

######## /etc/hosts
#
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# It is used only for "ifconfig" and other operations
# before the nameserver is started.
#
#

127.0.0.1               localhost
127.0.0.1               faust.isicom.fr         faust
194.98.30.130           ns.planetepc.fr         dns

===========================================================

######## /etc/myname
===========================================================
faust.isicom.fr
===========================================================

######## pppd options
######## it must be :

pppd /dev/tty00 57600 connect ./chatrun modem crtscts noipdefault
defaultroute netmask 255.255.255.0

######## before pppd launch

===========================================================
faust> netstat -nr
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
127.0.0.1        127.0.0.1          UH          1       48  lo0

XNS:
Destination      Gateway            Flags     Refs     Use  Interface
===========================================================


######## after pppd launch

faust> netstat -r
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          194.98.30.150      UG          0        0  ppp0
localhost        localhost          UH          1       58  lo0
194.98.30.150    194.98.30.179      UH          1        0  ppp0
194.98.30.179    localhost          UH          0        0  lo0

XNS:
Destination      Gateway            Flags     Refs     Use  Interface

faust> netstat -nr
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          194.98.30.150      UG          0        0  ppp0
127.0.0.1        127.0.0.1          UH          1       70  lo0
194.98.30.150    194.98.30.179      UH          1        0  ppp0
194.98.30.179    127.0.0.1          UH          0        0  lo0

XNS:
Destination      Gateway            Flags     Refs     Use  Interface

faust> ifconfig -a
lo0: flags=8009<UP,LOOPBACK,MULTICAST>
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=51<UP,POINTOPOINT,RUNNING>
        inet 194.98.30.179 --> 194.98.30.150 netmask 0xffffff00
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST>

faust> ping faust
PING faust.isicom.fr (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=1.586 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=1.748 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=1.744 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=1.745 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=1.746 ms
^C
--- faust.isicom.fr ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.586/1.714/1.748 ms

faust> ping 194.98.30.179
PING 194.98.30.179 (194.98.30.179): 56 data bytes
64 bytes from 194.98.30.179: icmp_seq=0 ttl=255 time=1.592 ms
64 bytes from 194.98.30.179: icmp_seq=1 ttl=255 time=1.750 ms
64 bytes from 194.98.30.179: icmp_seq=2 ttl=255 time=1.758 ms
64 bytes from 194.98.30.179: icmp_seq=3 ttl=255 time=1.755 ms
64 bytes from 194.98.30.179: icmp_seq=4 ttl=255 time=1.753 ms
^C
--- 194.98.30.179 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.592/1.722/1.758 ms

faust> ping 194.98.30.150
PING 194.98.30.150 (194.98.30.150): 56 data bytes
ping: sendto: Network is down
ping: wrote 194.98.30.150 64 chars, ret=-1
ping: sendto: Network is down
ping: wrote 194.98.30.150 64 chars, ret=-1
ping: sendto: Network is down
ping: wrote 194.98.30.150 64 chars, ret=-1
ping: sendto: Network is down
ping: wrote 194.98.30.150 64 chars, ret=-1
^C
--- 194.98.30.150 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

faust> pppstats
    in   pack   comp uncomp    err |    out   pack   comp uncomp     ip
     0      0     50      0      0 |      0      5      0     50    -45
     0      0      0      0      0 |      0      0      0      0      0
     0      0      0      0      0 |      0      0      0      0      0
^C

faust> telnet
telnet> open
(to) 194.98.30.130
Trying 194.98.30.130...
telnet: Unable to connect to remote host: Network is down

## another problem... pehaps it is linked

faust> netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
lo0*  32777
(91)3f.31.6c.5c.45.3e.3a.6b.75.3d.5c.45.4f.41.3a.6b.64.3d.5c.45.4f.42.3a.6b.
72.3d.5c.45.4f.43.
3a.6b.6c.3d.5c.45.4f.44.3a.6b.62.3d.5e.48.3a.68.6f.3d.5c.45.5b.48.3a.6b.31.3
d.5c.45.4f.50.3a.6b.32.3d.5c.4
5.4f        0     0       98     0    98
lo0*  32777
(203)41.0.0.0.0.0.0.0.13.2c.0.0.13.9a.0.0.15.46.0.0.15.50.0.0.15.5a.0.0.15.6
4.0.0.15.6e.0.0.16
.26.0.7.ae.34.0.0.14.92.0.0.15.a0.0.0.15.12.0.0.15.2c.0.0.15.a0.0.0.15.a0.0.
0.15.a0.0.0.15.a0.0.0.15.a0.0.
0.15.a0.0.0.15.a0.0.0.15.a0.0.0.15.a0.0.0.16.92.0.0.16.a2.0.0.16.c8.0.0.16.9
2.0.0.16.ee.0.0.16.92.0.0.16.9
2.0.0.17.34.0.0.15.be.0.0.16.2.0.0.16.4.0.0.15.46.0.0.0.3.44.6c        0
0       98     0    98
Segmentation fault