Skip site navigation (1)Skip section navigation (2)
Date:      23 Nov 2001 22:39:57 -0000
From:      mikeirw@elementalspace.com
To:        freebsd-questions@FreeBSD.org
Message-ID:  <20011123223957.39210.qmail@ampa.pair.com>

next in thread | raw e-mail | index | archive | help
I'm having some trouble getting user-ppp to work correctly. I start
user-ppp by typing ppp, and then dial agn. I get connected to my ISP
(which uses PAP), and get an IP address, but when trying to do a ping or
traceroute, I get nothing - no response whatsoever, no matter if I use a
domain name or an IP address. Would this be a routing issue?

I'm including my config files, and a netstat before and after
connecting. I am not including the ppp.log, but will if necessary for
further troubleshooting. Thanks in advance for your time, as I've been
banging my head against the wall on this one.

Mike Irwin
mikeirw@elementalspace.com

---------------
ppp.conf
---------------
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa1
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5\
	  \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180
 enable dns

agn:
 set phone Mynumber
 set authname Myuserid
 set authkey Mypasswd
 set timeout 0
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0

---------------
ppp.linkup
---------------
agn:
 add default HISADDR

---------------
ppp.secret
---------------
Myuserid Mypasswd * agn

---------------
host.conf
---------------
hosts
bind

---------------
hosts
---------------
127.0.0.1     localhost.bar.com localhost
::1              localhost.bar.com localhost
10.0.0.1       foo.bar.com         foo

---------------
resolv.conf
---------------
domain attglobal.net
nameserver 165.87.13.129
nameserver 165.87.201.244
nameserver 165.87.194.244

---------------
rc.conf
---------------
hostname="foo.bar.com"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
router_enable="NO"

---------------
netstat -rn (BEFORE)
---------------
Routing tables

Internet:
Destination     Gateway      Flags   Refs     Use    Netif    Expire
127.0.0.1       127.0.0.1    UH           0     16      lo0

Internet6:
Destination                                Gateway                      
         Flags   Netif   Expire
::1                                            ::1                      
                UH      lo0
fe80::%lo0/64                            fe80::1%lo0                    
     Uc       lo0
fe80::1%lo0                               link#2                        
         UHL     lo0
fe80::%tun0/64                          fe80::2c50:cf97:11f5:9181%tun0 
Uc      tun0
fe80::2c50:cf97:11f5:9181%tun0  link#6                                 
UHL     tun0
ff01::/32                                   ::1                         
              U        lo0
ff02::%lo0/32                            ::1                            
           UC      lo0
ff02::%tun0/32                          fe80::2c50:cf97:11f5:9181%tun0 
UC      tun0

---------------
netstat -rn (AFTER)
---------------
Routing tables

Internet:
Destination     Gateway         Flags     Refs  Use  Netif     Expire
default         12.67.1.52      UGSc         0  0    tun0
12.67.1.52      12.64.128.190   UH           1  0    tun0
127.0.0.1       127.0.0.1       UH           0  16   lo0

Internet6:
Destination                                Gateway                      
         Flags   Netif   Expire
::1                                            ::1                      
                UH      lo0
fe80::%lo0/64                            fe80::1%lo0                    
     Uc       lo0
fe80::1%lo0                               link#2                        
         UHL     lo0
fe80::%tun0/64                          fe80::2c50:cf97:11f5:9181%tun0 
Uc      tun0
fe80::2c50:cf97:11f5:9181%tun0  link#6                                 
UHL     tun0
ff01::/32                                   ::1                         
              U        lo0
ff02::%lo0/32                            ::1                            
           UC      lo0
ff02::%tun0/32                          fe80::2c50:cf97:11f5:9181%tun0 
UC      tun0

---------------
ifconfig -u tun0 (AFTER)
---------------
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::2c50:cf97:11f5:9181%tun0 prefixlen 64 scopeid 0x6
        inet 12.64.128.190 --> 12.67.1.52 network 0xffffff00
        opened by PID 336


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?20011123223957.39210.qmail>