Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 1998 11:38:31 -0500
From:      uncomfortably numb <burn@visi.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp problems
Message-ID:  <35D9AE07.3623@visi.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

when i use ppp, everything works fine. i can connect, the login is fine,
and it goes into packet mode and changes to PPP. however, after that i
am unable to ping even my gateway (it just hangs) let alone anything
else. i'm using dynamic PPP. i sent along all the relevant files i could
think of. i had a couple friends who were familiar with freeBSD help me
and they couldn't figure it out either. we did a tcpdump -i tun0 and it
shows packets going out, but nothing coming back in. any suggestions?

thanks,


-brian










-- 
====================================================================
         ... bleakness ... desolation ... plastic forks ...         
====================================================================
brian hill                                             burn@visi.com
(612)-920-5825                                    www.visi.com/~burn

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Hosts"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Hosts"

# $Id: hosts,v 1.6 1996/03/20 15:29:10 adam Exp $
#
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/host.conf for the resolution order.
#
#
127.0.0.1		localhost localhost.my.domain
#
# Imaginary network.
#10.0.0.2		myname.my.domain myname
#10.0.0.3		myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#	10.0.0.0	-   10.255.255.255
#	172.16.0.0	-   172.31.255.255
#	192.168.0.0	-   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  PLEASE PLEASE PLEASE do not try
# to invent your own network numbers but instead get one from your
# network provider (if any) or from the Internet Registry (ftp to
# rs.internic.net, directory `/templates').
#

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Ifconfig -a after"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Ifconfig -a after"

lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1006
	inet 209.98.15.115 --> 209.98.0.97 netmask 0xffffff00 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Netstat after"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Netstat after"

Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            209.98.0.97        UGSc        0        0      tun0
127.0.0.1          127.0.0.1          UH          0        0       lo0
209.98.0.97        209.98.15.115      UH          1        0      tun0

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Netstat before"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Netstat before"

Routing tables

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

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Ppp.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Ppp.conf"

default:
  set device /dev/cuaa2
  set speed 38400
  disable lqr
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
visi:
  set phone "3329001"
  set login "TIMEOUT 5 name:-\\r-name: burn.ppp word: (removed for obvious reasons)"
  set openmode active
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Ppp.linkup"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Ppp.linkup"

#########################################################################
#
#          Example of ppp.linkup file
#
#  This file is checked when ppp establishes a connection.
#  ppp searches the labels in this file as follows:
#
#  1) The label that matches the IP number assigned to our side.
#
#  2) The label specified on the command line to ppp.
#
#  3) If no label has been found, use MYADDR if it exists.
#
#
# $Id: ppp.linkup.sample,v 1.3.2.5 1998/01/30 19:54:38 brian Exp $
#
#########################################################################

# By default, simply delete any existing default route and add the peer
# as default gateway.
# If you're into sound effects when the link comes up, you can run
# ``auplay'' (assuming NAS is installed and configured).
#
visi:
 delete ALL
 add 0 0 HISADDR
# !bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au

# If we've got 192.244.176.32 as our address, then regard peer as a gateway
# to 192.244.176.0 network.
#
#192.244.176.32:
# add 192.244.176.0 0 HISADDR

# If we are invoked with an argument ``pmdemand'', then
# delete all existing (wrong) routing entries and add the peer IP
# as our default gateway.
# This is vital if you don't already know either sides IP number.
#
# We also want to execute a script on startup.  This script can do
# nice things such as kick off "sendmail -q", "popclient my.isp" and
# "slurp -d news".  It can be passed MYADDR, HISADDR and INTERFACE
# as arguments too - useful for informing a DNS of your assigned IP.
#
pmdemand:
 delete ALL
 add 0 0 HISADDR
 !bg /etc/ppp/ppp.etherup.pmdemand

# If your minimum call charge is 5 minutes, you may as well stay on
# the line for that amount of time.  If we want a 60 second subsequent
# timeout, set your timeout to 300 in ppp.conf and then do this:
# 
min5minutes:
 !bg sh -c "sleep 240; pppctl -p mypassword 3000 set timeout 60"

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Ppp.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Ppp.log"

Aug 17 16:24:01 velvet ppp[161]: Phase: Using interface: tun0 
Aug 17 16:24:01 velvet ppp[161]: Phase: PPP Started. 
Aug 17 16:24:03 velvet ppp[161]: Phase: Connected! 
Aug 17 16:24:05 velvet ppp[161]: Phase: Phone: 3329001 
Aug 17 16:24:25 velvet ppp[161]: Phase: NewPhase: Authenticate 
Aug 17 16:24:25 velvet ppp[161]: Phase: NewPhase: Network 
Aug 17 16:24:26 velvet ppp[161]: Link:  myaddr = 209.98.15.171  hisaddr = 209.98.0.97 
Aug 17 16:24:26 velvet ppp[161]: Link: OsLinkup: 209.98.0.97 
Aug 17 16:24:45 velvet ppp[161]: Link: OsLinkdown: 209.98.0.97 
Aug 17 16:24:46 velvet ppp[161]: Phase: Modem: Connect time: 43 secs: 307 octets in, 250 octets out 
Aug 17 16:24:46 velvet ppp[161]: Phase:  total 12 bytes/sec 
Aug 17 16:24:48 velvet ppp[161]: Phase: PPP Terminated (normal). 
Aug 17 17:11:12 velvet ppp[760]: Phase: Using interface: tun0 
Aug 17 17:11:12 velvet ppp[760]: Phase: PPP Started. 
Aug 17 17:11:13 velvet ppp[760]: Phase: Connected! 
Aug 17 17:14:26 velvet ppp[760]: Phase: Disconnected! 
Aug 17 17:14:26 velvet ppp[760]: Phase: NewPhase: Dead 
Aug 17 17:14:56 velvet ppp[760]: Phase: Signal 15, terminate. 
Aug 17 17:14:56 velvet ppp[760]: Phase: NewPhase: Terminate 
Aug 17 17:14:57 velvet ppp[760]: Phase: PPP Terminated (nodial). 
Aug 17 17:15:01 velvet ppp[766]: Phase: Using interface: tun0 
Aug 17 17:15:01 velvet ppp[766]: Phase: PPP Started. 
Aug 17 17:15:03 velvet ppp[766]: Phase: Connected! 
Aug 17 17:15:18 velvet ppp[766]: Phase: Modem: Connect time: 15 secs: 292 octets in, 319 octets out 
Aug 17 17:15:18 velvet ppp[766]: Phase:  total 40 bytes/sec 
Aug 17 17:15:19 velvet ppp[766]: Phase: PPP Terminated (normal). 
Aug 17 17:15:21 velvet ppp[767]: Phase: Using interface: tun0 
Aug 17 17:15:21 velvet ppp[767]: Phase: PPP Started. 
Aug 17 17:15:21 velvet ppp[767]: Phase: Connected! 
Aug 17 17:16:08 velvet ppp[767]: Phase: NewPhase: Authenticate 
Aug 17 17:16:08 velvet ppp[767]: Phase: NewPhase: Network 
Aug 17 17:16:11 velvet ppp[767]: Link:  myaddr = 209.98.15.148  hisaddr = 209.98.0.97 
Aug 17 17:16:11 velvet ppp[767]: Link: OsLinkup: 209.98.0.97 
Aug 17 17:19:11 velvet ppp[767]: Phase: Idle timer expired. 
Aug 17 17:19:11 velvet ppp[767]: Phase: NewPhase: Terminate 
Aug 17 17:19:11 velvet ppp[767]: Link: OsLinkdown: 209.98.0.97 
Aug 17 17:19:12 velvet ppp[767]: Phase: Modem: Connect time: 231 secs: 263 octets in, 228 octets out 
Aug 17 17:19:12 velvet ppp[767]: Phase:  total 2 bytes/sec 
Aug 17 17:19:12 velvet ppp[767]: Phase: NewPhase: Dead 
Aug 17 17:21:18 velvet ppp[159]: Phase: Using interface: tun0 
Aug 17 17:21:18 velvet ppp[159]: Phase: PPP Started. 
Aug 17 17:21:20 velvet ppp[159]: Phase: Connected! 
Aug 17 17:22:00 velvet ppp[159]: Phase: NewPhase: Authenticate 
Aug 17 17:22:00 velvet ppp[159]: Phase: NewPhase: Network 
Aug 17 17:22:00 velvet ppp[159]: Link:  myaddr = 209.98.15.169  hisaddr = 209.98.0.97 
Aug 17 17:22:00 velvet ppp[159]: Link: OsLinkup: 209.98.0.97 
Aug 17 17:23:55 velvet ppp[159]: Link: OsLinkdown: 209.98.0.97 
Aug 17 17:23:56 velvet ppp[159]: Phase: Modem: Connect time: 156 secs: 244 octets in, 190 octets out 
Aug 17 17:23:56 velvet ppp[159]: Phase:  total 2 bytes/sec 
Aug 17 17:23:57 velvet ppp[159]: Phase: PPP Terminated (normal). 
Aug 17 17:24:33 velvet ppp[170]: Phase: Using interface: tun0 
Aug 17 17:24:33 velvet ppp[170]: Phase: PPP Started. 
Aug 17 17:24:38 velvet ppp[170]: Phase: Connected! 
Aug 17 17:25:37 velvet ppp[170]: Phase: Signal 15, terminate. 
Aug 17 17:25:37 velvet ppp[170]: Phase: NewPhase: Terminate 
Aug 17 17:25:38 velvet ppp[170]: Phase: PPP Terminated (nodial). 
Aug 17 17:25:39 velvet ppp[175]: Phase: Using interface: tun0 
Aug 17 17:25:39 velvet ppp[175]: Phase: PPP Started. 
Aug 17 17:25:41 velvet ppp[175]: Phase: Connected! 
Aug 17 17:28:51 velvet ppp[175]: Phase: Disconnected! 
Aug 17 17:28:51 velvet ppp[175]: Phase: NewPhase: Dead 
Aug 17 17:29:20 velvet ppp[175]: Phase: NewPhase: Authenticate 
Aug 17 17:29:20 velvet ppp[175]: Phase: NewPhase: Network 
Aug 17 17:29:21 velvet ppp[175]: Link:  myaddr = 209.98.6.181  hisaddr = 209.98.0.97 
Aug 17 17:29:21 velvet ppp[175]: Link: OsLinkup: 209.98.0.97 
Aug 17 17:32:18 velvet ppp[159]: Phase: Using interface: tun0 
Aug 17 17:32:18 velvet ppp[159]: Phase: PPP Started. 
Aug 17 17:32:20 velvet ppp[159]: Phase: Connected! 
Aug 17 17:33:11 velvet ppp[159]: Phase: NewPhase: Authenticate 
Aug 17 17:33:11 velvet ppp[159]: Phase: NewPhase: Network 
Aug 17 17:33:11 velvet ppp[159]: Link:  myaddr = 209.98.6.181  hisaddr = 209.98.0.97 
Aug 17 17:33:11 velvet ppp[159]: Link: OsLinkup: 209.98.0.97 
Aug 17 17:36:11 velvet ppp[159]: Phase: Idle timer expired. 
Aug 17 17:36:11 velvet ppp[159]: Phase: NewPhase: Terminate 
Aug 17 17:36:11 velvet ppp[159]: Link: OsLinkdown: 209.98.0.97 
Aug 17 17:36:12 velvet ppp[159]: Phase: Modem: Connect time: 232 secs: 268 octets in, 199 octets out 
Aug 17 17:36:12 velvet ppp[159]: Phase:  total 2 bytes/sec 
Aug 17 17:36:12 velvet ppp[159]: Phase: NewPhase: Dead 
Aug 17 17:36:15 velvet ppp[159]: Phase: Connected! 
Aug 17 17:36:48 velvet ppp[159]: Phase: NewPhase: Authenticate 
Aug 17 17:36:48 velvet ppp[159]: Phase: NewPhase: Network 
Aug 17 17:36:49 velvet ppp[159]: Link:  myaddr = 209.98.6.181  hisaddr = 209.98.0.97 
Aug 17 17:36:49 velvet ppp[159]: Link: OsLinkup: 209.98.0.97 
Aug 17 17:39:49 velvet ppp[159]: Phase: Idle timer expired. 
Aug 17 17:39:49 velvet ppp[159]: Phase: NewPhase: Terminate 
Aug 17 17:39:49 velvet ppp[159]: Link: OsLinkdown: 209.98.0.97 
Aug 17 17:39:50 velvet ppp[159]: Phase: Modem: Connect time: 215 secs: 254 octets in, 200 octets out 
Aug 17 17:39:50 velvet ppp[159]: Phase:  total 2 bytes/sec 
Aug 17 17:39:50 velvet ppp[159]: Phase: NewPhase: Dead 
Aug 17 17:39:57 velvet ppp[159]: Phase: Connected! 
Aug 17 17:47:12 velvet ppp[159]: Phase: Phone: 3329001 
Aug 17 17:47:31 velvet ppp[159]: Phase: NewPhase: Authenticate 
Aug 17 17:47:31 velvet ppp[159]: Phase: NewPhase: Network 
Aug 17 17:47:32 velvet ppp[159]: Link:  myaddr = 209.98.15.105  hisaddr = 209.98.0.97 
Aug 17 17:47:32 velvet ppp[159]: Link: OsLinkup: 209.98.0.97 
Aug 17 17:49:33 velvet ppp[159]: Link: OsLinkdown: 209.98.0.97 
Aug 17 17:49:34 velvet ppp[159]: Phase: Modem: Connect time: 577 secs: 308 octets in, 725 octets out 
Aug 17 17:49:34 velvet ppp[159]: Phase:  total 1 bytes/sec 
Aug 17 17:49:35 velvet ppp[159]: Phase: PPP Terminated (normal). 
Jul 12 13:19:42 velvet ppp[16431]: Phase: Using interface: tun0 
Jul 12 13:19:42 velvet ppp[16431]: Phase: PPP Started. 
Jul 12 13:19:45 velvet ppp[16431]: Phase: Connected! 
Jul 12 13:19:47 velvet ppp[16431]: Phase: Phone: 3329001 
Jul 12 13:19:56 velvet ppp[16431]: Phase: DoChat: Caught signal 2, abort connect 
Jul 12 13:19:56 velvet ppp[16431]: Phase: Modem: Connect time: 11 secs: 0 octets in, 0 octets out 
Jul 12 13:19:56 velvet ppp[16431]: Phase:  total 0 bytes/sec 
Jul 12 13:19:56 velvet ppp[16431]: Phase: Caught signal 2, abort connection 
Jul 12 13:19:56 velvet ppp[16431]: Phase: Disconnected! 
Jul 12 13:19:56 velvet ppp[16431]: Phase: NewPhase: Dead 
Jul 12 13:20:24 velvet ppp[16431]: Phase: Connected! 
Jul 12 13:20:26 velvet ppp[16431]: Phase: Phone: 3329001 
Jul 12 13:20:46 velvet ppp[16431]: Phase: NewPhase: Authenticate 
Jul 12 13:20:46 velvet ppp[16431]: Phase: NewPhase: Network 
Jul 12 13:20:47 velvet ppp[16431]: Link:  myaddr = 209.98.15.150  hisaddr = 209.98.0.97 
Jul 12 13:20:47 velvet ppp[16431]: Link: OsLinkup: 209.98.0.97 
Jul 12 13:21:06 velvet ppp[16431]: Link: OsLinkdown: 209.98.0.97 
Jul 12 13:21:07 velvet ppp[16431]: Phase: Modem: Connect time: 43 secs: 307 octets in, 542 octets out 
Jul 12 13:21:07 velvet ppp[16431]: Phase:  total 19 bytes/sec 
Jul 12 13:21:08 velvet ppp[16431]: Phase: PPP Terminated (normal). 

--------------2AC174F28A5
Content-Type: text/plain; charset=us-ascii; name="Resolv.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Resolv.conf"

nameserver 209.98.98.98
nameserver 137.192.240.5
domain visi.com

--------------2AC174F28A5--


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?35D9AE07.3623>