after the ppp, nothing doen'n work...
fbsd_user
fbsd_user at a1poweruser.com
Wed Aug 13 17:28:17 PDT 2003
I tried to send this email directly to you but your ISP email server
bounced it.
Add this to your rc.conf file to auto start user ppp at boot time
####################################################################
##########
# /etc/rc.conf
# Please make all changes to this file, not to
/etc/defaults/rc.conf.
# This file now contains just the overrides to
/etc/defaults/rc.conf.
#
# JJB 11/15/01
####################################################################
##########
gateway_enable="YES" # Activate this host to be a
gateway.
hostname="baltnet.ru"
# Activate user ppp auto start at boot time
ppp_enable="YES" # Start User ppp task
ppp_mode="ddial" # ddial, auto, background
ppp_profile="dialisp" # section in ppp.conf to exec
# if you have PC's on LAN behind your FBSD box then uncomment next
statements
#ppp_nat="YES" # turn off user ppp nat feature
USE THIS PPP.CONF INSTEAD OF THE ONE YOU ARE USING NOW. Replace
login id and password with your own.
####################################################################
##########
# /etc/ppp/ppp.conf File for dial out modem to ISP
# Written by Joe Barbish 12/10/2001
#
####################################################################
#########
default:
set log Phase Chat LCP IPCP CCP tun command #use for testing
#set log Phase tun #use to avoid excessive
log sizes
set speed 115200 # connection speed
set timeout 0 # no idle time out, will not disconnect
disable pred1 deflate lqr # compression features & line quality
reporting
deny pred1 deflate lqr # compression features & line quality
reporting
dialisp:
set device /dev/cuaa1
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40
CONNECT"
set phone 144 # only use this phone number
set authname barbish2
set authkey bobxxxx
set redial 10 4 # if busy redial 4 times with 10 second pause
# get dynamic IP address from ISP.
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
enable dns # Gets the ISP's DNS IP address & places them
# in resolv.conf for reference by FBSD box.
disable iface-alias # Stop adding old IP addr as alias when ppp
# redials because line was lost. These old
ips
# showed using ifconfig -a on tun0.
iface clear # Remove all previous IP address
add default HISADDR # Add a (sticky) default route (Mandatory)
After making these changes, clear out, empty /var/log/ppp.log file
before rebooting your pc.
If it still does not work, post these files. Only test one time so
ppp.log only contains log messages of one test.
/var/run/dmesg.boot
/var/log/ppp.log
/etc/rc.conf
/etc/ppp/ppp.conf
I need the complete contents of the above files to debug problem.
Read all about user ppp command and configuration options at this
link.
http://www.freebsd.org/cgi/man.cgi?query=ppp&apropos=0&sektion=0&man
path=FreeBSD+4.8-RELEASE&format=html
More information about the freebsd-questions
mailing list