Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Feb 1999 20:35:39 +1100
From:      Alex <panadol@hotkey.net.au>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp - gateway trouble on freebsd 2.2.2 machine 
Message-ID:  <199902060934.UAA21508@rosebud-psvr.vic.hotkey.net.au>

next in thread | raw e-mail | index | archive | help
Hi..

im having troubles with my freebsd system (ver 2.2.2) acting as a gateway
for my lan the trouble i think lies in my ppp.* setups i can get a
connection to my isp but once im connect i cant get any data flow at all
not even from the console 
this system has a totaly dynimic ip setup hence no ips are set they are to
be probed out by the system
any help would be much appricated 


also im running a mini dns server (for the lan) and when i go to connect
(vi telnet or any port) over the lan to it, it will wait for up to 3-5
minutes then prompt the login then once the login has been done it will
wait again for a few minutes and then bring u to the command prompt (in a
telnet case) as soon as i disable the dns in rc.conf the waiting is not
longer a problem proving this is dns related is there any rason why this
waiting occours and how could it be resolved i know it has to look it up
but this time seems a tad to long and there is very little machine load 
 

here are a copy of the ppp.conf and ppp.linkup files

any help would be very much appricated

thanks

Alex


############################################################
# PPP Configuration File ('/etc/ppp/ppp.conf')
#
# Default settings; These are always executed always when PPP
# is invoked and apply to all system configurations.
############################################################
default:                                                          
 set device /dev/cuaa1                                            
 set speed 115200                                                 
 disable pred1                                                    
 deny pred1                                                       
 disable lqr                                                      
 deny lqr                                                         
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK
ATDT\\T TIMEOUT 60 CONNECT"
 set redial 1.1 100                                               
 set reconnect 1 100                                              
#                                                                 
#                                                                 
############################################################      
#
# Invoke with "ppp interactive"
#
############################################################
interactive:
 set authname ppp
 set authkey ppp
 set phone 12345678
 set timeout 72000
 set openmode active
 accept chap
#
#
############################################################
#
# Invoke with: "ppp -auto demand"
#
# Also "/etc/start_if.tun0" is setup to invoke ppp -auto demand On boot
#
############################################################
demand:
 set authname ppp
 set authkey ppp
 set phone 12345678
 set timeout 72000
 set openmode active
 accept chap
 set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
 add 0 0 127.2.2.2
 ############################################################


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


#########################################################################
# PPP Link Up File ('/etc/ppp/ppp.linkup')
#
#  This file is checked after PPP establishes a network connection.
#
#  This file is searched in the following order.
#
#  1) First, the IP address assigned to us is searched and
#     the associated command(s) are executed.
#
#  2) If the IP Address is not found, then the label name specified at
#     PPP startup time is searched and the associated command(s)
#     are executed.
#
#  3) If neither of the above are found then commands under the label
#     'MYADDR:' are executed.
#
#########################################################################
#
# This section is used for the "demand" configuration in
#   /etc/ppp/ppp.conf:
demand:
 delete ALL
 add 0 0 HISADDR
#
# All other configurations in /etc/ppp/ppp.conf use this:
#
MYADDR:
 add 0 0 HISADDR
######################################################################




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?199902060934.UAA21508>