Subject: Re: http over ppp ?
To: , <skedel@mr.picker.com>
From: Don Ray <dray@servecom.picker.com>
List: netbsd-help
Date: 03/31/1997 20:41:55
Hi Perry,

Thanks for taking a look at this.
You've asked: 

> 1) What type of machine are you are getting the pages from? Hardware,
>    architecture, OS Version?

I'm connecting to the NetBSD box from two different machines (both have the
same problem with retrieving HTML from the NetBSD box):

1st box: DEC AlphaStation 255/233; Digital UNIX V4.0A  (Rev. 464)
w/Netscape
2nd box: Gateway PC 133MHz Pentium; Windows 95. w/Internet Explorer

> 2) Hardware, architecture, OS version for the NetBSD box?

NetBSD box: 120MHz Pentium; NetBSD 1.2
pppd-2.2; mgetty-1.1.2; Apache 1.2b7

> > When I use tcpdump and monitor ppp0, I can see a few www packets but
> > then they stop.
> 
> Can you send a copy of this dump?

Here's the dump:

sitemgr[1]# tcpdump -vi ppp0 port 80
tcpdump: listening on ppp0
19:49:01.400140 mrtrh_nb.1104 > sitemgr.www: S 3905947:3905947(0) win 8192
<mss 1460> (DF) (ttl 32, id 42506)
19:49:01.400304 sitemgr.www > mrtrh_nb.1104: S 153344001:153344001(0) ack
3905948 win 17520 <mss 1460> (ttl 64, id 649)
19:49:01.720111 mrtrh_nb.1104 > sitemgr.www: . ack 1 win 8760 (DF) (ttl 32,
id 42762)
19:49:01.720277 mrtrh_nb.1104 > sitemgr.www: . ack 1 win 32768 (DF) (ttl
32, id 43018)
19:49:01.750106 mrtrh_nb.1104 > sitemgr.www: P 1:330(329) ack 1 win 32768
(DF) (ttl 32, id 43274)
19:49:01.750257 sitemgr.www > mrtrh_nb.1104: . ack 330 win 17520 (ttl 64,
id 650)
19:49:01.765347 sitemgr.www > mrtrh_nb.1104: . 1:1461(1460) ack 330 win
17520 (ttl 64, id 651)
19:49:01.765407 sitemgr.www > mrtrh_nb.1104: P 1461:2049(588) ack 330 win
17520 (ttl 64, id 652)
19:49:02.990102 sitemgr.www > mrtrh_nb.1104: . 1:1461(1460) ack 330 win
17520 (ttl 64, id 654)
19:49:05.990096 sitemgr.www > mrtrh_nb.1104: . 1:1461(1460) ack 330 win
17520 (ttl 64, id 657)
19:49:11.990098 sitemgr.www > mrtrh_nb.1104: . 1:1461(1460) ack 330 win
17520 (ttl 64, id 659)
19:49:23.990182 sitemgr.www > mrtrh_nb.1104: . 1:1461(1460) ack 330 win
17520 (ttl 64, id 664)
19:49:39.070128 mrtrh_nb.1104 > sitemgr.www: R 3906277:3906277(0) win 0
(DF) (ttl 32, id 44810)
34 packets received by filter
0 packets dropped by kernel

The last line is where I tell the browser to stop trying to load the page
(I've waited longer, but no page appears).
BTW, I'm still learning how to interpret tcpdump (maybe the answer is right
in front of my face?!)

The Apache server apparently thinks it successfully serviced the request --
here's the line from the access_log:

mrtrh_nb - - [31/Mar/1997:19:49:01 -0500] "GET /mr/mrhome.htm HTTP/1.0" 200
3598

And here's the state of some other stuff:

My pppd dial-in options:
        -detach
        proxyarp
        lock
        passive
        crtscts
        modem
        115200
        netmask 255.255.255.0
        sitemgr:mrtrh_nb
        defaultroute
        mtu 1500
        asyncmap 0
        escape FF
        idle 600
        debug

sitemgr[2]# netstat -r
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use    Mtu 
Interface
default          mrtrh_nb           UGS         1       24      -  ppp0
127              localhost          UR          0        0      -  lo0
localhost        localhost          UH          0        0      -  lo0
mrtrh_nb         sitemgr            UH          1        0      -  ppp0
172.16.200       link#1             UC          0        0      -  ed2
obscure          0:0:f8:23:34:79    UHL         1      570      -  ed2
172.16.200.21    link#1             UHL         1        4      -  ed2
172.16.200.255   link#1             UHL         1       15      -  ed2
224.0.0.9        localhost          UH          0        0      -  lo0

sitemgr[3]# netstat -i
Name  Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs 
Coll
ed2   1500  <Link>      48.53.69.20.20.65      534     0      747     0    
0
ed2   1500  172.16.200  sitemgr                534     0      747     0    
0
lo0   32768 <Link>                              24     0       24     0    
0
lo0   32768 127         localhost               24     0       24     0    
0
sl0*  296   <Link>                               0     0        0     0    
0
sl1*  296   <Link>                               0     0        0     0    
0
ppp0  1500  <Link>                            1191     0     1214     0    
0
ppp0  1500  172.16.200  sitemgr               1191     0     1214     0    
0
ppp1* 1500  <Link>                               0     0        0     0    
0
tun0* 1500  <Link>                               0     0        0     0    
0
tun1* 1500  <Link>                               0     0        0     0    
0

Again, thanks for trying to help.

~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~
 Don Ray		dray@servecom.picker.com
 Picker Int'l.
 Service Technologies

~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~