Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 02:13:53 -0700 (PDT)
From:      Alexander Thorp <atecsc@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   TCP doesn't work over PPP
Message-ID:  <20010926091353.86108.qmail@web20805.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I am trying set up user-mode PPP on FreeBSD 4.0, using
kernel.GENERIC. When I have brought the link up, DNS
works, but nothing else. For
example:

$ ping www.uk.freebsd.org
PING web008.pavilion.net (212.74.4.8): 56 data bytes
^C
--- web008.pavilion.net ping statistics ---
10 packets transmitted, 0 packets received, 100%
packet loss

No TCP services work either. I have not been able to
try any UDP services other than DNS.

My ppp.conf is as follows:

default:
        set log local phase debug
        set device /dev/cuaa1
        set speed 115200
        set dial "ABORT BUSY ABORT NO\\sCARRIER
TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40
CONNECT"

freeserve:
        set phone "0123456789"
        set login
        set authname MYLOGIN
        set authkey MYPASSWD
        set timeout 180
        set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
        add default HISADDR
        enable dns

I am running ppp -foreground freeserve

Running netstat -rn before I bring the link up gives
this:

Routing tables

Internet:
Destination        Gateway            Flags      Netif
Expire
127.0.0.1          127.0.0.1          UH          lo0
192.168.1          link#2             UC          ep0
=>
192.168.1.4        0:a0:24:5d:6c:11   UHLW        ep0 
  983
192.168.1.5        0:60:8c:b9:82:ac   UHLW        ep0 
 1036

Internet6:
Destination                       Gateway             
         Flags      Netif Expire
::1                               ::1                 
         UH          lo0
fe80::%ep0/64                     link#2              
         UC          ep0
fe80::%lo0/64                     fe80::1%lo0         
         Uc          lo0
fe80::%gif0/64                   
fe80::260:97ff:fe16:71bf%gif0 Uc         gif0
fe80::260:97ff:fe16:71bf%gif0     ::1                 
         UH          lo0
fe80::%gif1/64                   
fe80::260:97ff:fe16:71bf%gif1 Uc         gif1
fe80::260:97ff:fe16:71bf%gif1     ::1                 
         UH          lo0
fe80::%gif2/64                   
fe80::260:97ff:fe16:71bf%gif2 Uc         gif2
fe80::260:97ff:fe16:71bf%gif2     ::1                 
         UH          lo0
fe80::%gif3/64                   
fe80::260:97ff:fe16:71bf%gif3 Uc         gif3
fe80::260:97ff:fe16:71bf%gif3     ::1                 
         UH          lo0
fe80::%stf0/64                   
fe80::260:97ff:fe16:71bf%stf0 Uc         stf0
fe80::260:97ff:fe16:71bf%stf0     ::1                 
         UH          lo0
ff01::/32                         ::1                 
         U           lo0
ff02::%ep0/32                     link#2              
         UC          ep0
ff02::%lo0/32                     fe80::1%lo0         
         UC          lo0
ff02::%gif0/32                   
fe80::260:97ff:fe16:71bf%gif0 UC         gif0
ff02::%gif1/32                   
fe80::260:97ff:fe16:71bf%gif1 UC         gif1
ff02::%gif2/32                   
fe80::260:97ff:fe16:71bf%gif2 UC         gif2
ff02::%gif3/32                   
fe80::260:97ff:fe16:71bf%gif3 UC         gif3
ff02::%stf0/32                   
fe80::260:97ff:fe16:71bf%stf0 UC         stf0

Running netstat -rn while the link is up gives this:

Routing tables

Internet:
Destination        Gateway            Flags      Netif
Expire
default            195.92.66.57       UGSc       tun0
127.0.0.1          127.0.0.1          UH          lo0
192.168.1          link#2             UC          ep0
=>
192.168.1.4        0:a0:24:5d:6c:11   UHLW        ep0 
  693
192.168.1.5        0:60:8c:b9:82:ac   UHLW        ep0 
 1061
195.92.66.57       62.137.8.230       UH         tun0

Internet6:
Destination                       Gateway             
         Flags      Netif Expire
::1                               ::1                 
         UH          lo0
fe80::%ep0/64                     link#2              
         UC          ep0
fe80::%lo0/64                     fe80::1%lo0         
         Uc          lo0
fe80::%gif0/64                   
fe80::260:97ff:fe16:71bf%gif0 Uc         gif0
fe80::260:97ff:fe16:71bf%gif0     ::1                 
         UH          lo0
fe80::%gif1/64                   
fe80::260:97ff:fe16:71bf%gif1 Uc         gif1
fe80::260:97ff:fe16:71bf%gif1     ::1                 
         UH          lo0
fe80::%gif2/64                   
fe80::260:97ff:fe16:71bf%gif2 Uc         gif2
fe80::260:97ff:fe16:71bf%gif2     ::1                 
         UH          lo0
fe80::%gif3/64                   
fe80::260:97ff:fe16:71bf%gif3 Uc         gif3
fe80::260:97ff:fe16:71bf%gif3     ::1                 
         UH          lo0
fe80::%stf0/64                   
fe80::260:97ff:fe16:71bf%stf0 Uc         stf0
fe80::260:97ff:fe16:71bf%stf0     ::1                 
         UH          lo0
fe80::%tun0/64                   
fe80::260:97ff:fe16:71bf%tun0 Uc         tun0
fe80::260:97ff:fe16:71bf%tun0     ::1                 
         UH          lo0
ff01::/32                         ::1                 
         U           lo0
ff02::%ep0/32                     link#2              
         UC          ep0
ff02::%lo0/32                     fe80::1%lo0         
         UC          lo0
ff02::%gif0/32                   
fe80::260:97ff:fe16:71bf%gif0 UC         gif0
ff02::%gif1/32                   
fe80::260:97ff:fe16:71bf%gif1 UC         gif1
ff02::%gif2/32                   
fe80::260:97ff:fe16:71bf%gif2 UC         gif2
ff02::%gif3/32                   
fe80::260:97ff:fe16:71bf%gif3 UC         gif3
ff02::%stf0/32                   
fe80::260:97ff:fe16:71bf%stf0 UC         stf0
ff02::%tun0/32                   
fe80::260:97ff:fe16:71bf%tun0 UC         tun0


Running ifconfig -a before I bring the link up gives
this:

lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu
1500
ep0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast
192.168.1.255
        inet6 fe80::260:97ff:fe16:71bf%ep0 prefixlen
64 scopeid 0x2 
        ether 00:60:97:16:71:bf 
        media: 10baseT/UTP
        supported media: 10base2/BNC 10baseT/UTP
10base5/AUI
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif0 prefixlen
64 scopeid 0x6 
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif1 prefixlen
64 scopeid 0x7 
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif2 prefixlen
64 scopeid 0x8 
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif3 prefixlen
64 scopeid 0x9 
stf0: flags=8000<MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%stf0 prefixlen
64 scopeid 0xa 
faith0: flags=8000<MULTICAST> mtu 1500

Running ifconfig -a while the link is up gives this:

lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu
1500
ep0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast
192.168.1.255
        inet6 fe80::260:97ff:fe16:71bf%ep0 prefixlen
64 scopeid 0x2 
        ether 00:60:97:16:71:bf 
        media: 10baseT/UTP
        supported media: 10base2/BNC 10baseT/UTP
10base5/AUI
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif0 prefixlen
64 scopeid 0x6 
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif1 prefixlen
64 scopeid 0x7 
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif2 prefixlen
64 scopeid 0x8 
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%gif3 prefixlen
64 scopeid 0x9 
stf0: flags=8000<MULTICAST> mtu 1280
        inet6 fe80::260:97ff:fe16:71bf%stf0 prefixlen
64 scopeid 0xa 
faith0: flags=8000<MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu
1500
        inet6 fe80::260:97ff:fe16:71bf%tun0 prefixlen
64 scopeid 0xc 
        inet 62.137.8.230 --> 195.92.66.57 netmask
0xffffff00 
        Opened by PID 231


Does anybody know how I can fix this?

Alex Thorp

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926091353.86108.qmail>