man_p
28-02-2007, 20:18
Никак не получается настроить ррр соединение со стороны клиента.
хендбук прочёл, ман тоже почитал. После этого получился такой конфиг :
-------------------------------------------------------rc.conf
# -- Sysinstall generated deltas -- # Mon Apr
# Created : Mon Apr 10 11:09:29 2006
# Enable network daemons for user convenience
# Please make all changes to this file, not to /etc/defaults/rc.conf
# This file now contains just the overrides from /etc/deafaults/rc.conf
linux enable="yes"
moused_enable="yes"
usbd_enable="Yes"
hostname="frame.my.domain"
network_interfaces="lo0"
network_interfaces="lo0 vr0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_vr0="inet 192.168.1.1 netmask 255.255.255.0"
ppp_enable="Yes"
ppp_mode="ddial"
ppp_profile="ISP"
-------------------------------------------------------ppp.conf
######################################################
# PPP Sample Configuration File
# Originally writen by Toshiharu OHNO
# Simplitied 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some example
#
# $ Free BSD : src/etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun comand
set ifaddr 10.0.0.1/0 10.0.0.2/0
# Ensure that "device" references the correct serial port
# For your modem (cuaa0=COM1, cuaa1=COM2)
#
ISP:
set device PPoE:vr0
# edit the next three line and replace the items incaps with
# the values which have been assigned by your ISP
#
set authname ******
set authkey *******
set dial
set login
add default HisADDR
----------------------------------------------------------resolv.conf
nameserver 212.1.105.50
DNS - 212.1.105.50
Default gateway 192.168.15.254
Netmask 255.255.255.255
После перезагрузки - ничего кроме 127.0.0.1 и 192.168.1.1 не пингуется
FreeBSD 5.4
хендбук прочёл, ман тоже почитал. После этого получился такой конфиг :
-------------------------------------------------------rc.conf
# -- Sysinstall generated deltas -- # Mon Apr
# Created : Mon Apr 10 11:09:29 2006
# Enable network daemons for user convenience
# Please make all changes to this file, not to /etc/defaults/rc.conf
# This file now contains just the overrides from /etc/deafaults/rc.conf
linux enable="yes"
moused_enable="yes"
usbd_enable="Yes"
hostname="frame.my.domain"
network_interfaces="lo0"
network_interfaces="lo0 vr0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_vr0="inet 192.168.1.1 netmask 255.255.255.0"
ppp_enable="Yes"
ppp_mode="ddial"
ppp_profile="ISP"
-------------------------------------------------------ppp.conf
######################################################
# PPP Sample Configuration File
# Originally writen by Toshiharu OHNO
# Simplitied 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some example
#
# $ Free BSD : src/etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun comand
set ifaddr 10.0.0.1/0 10.0.0.2/0
# Ensure that "device" references the correct serial port
# For your modem (cuaa0=COM1, cuaa1=COM2)
#
ISP:
set device PPoE:vr0
# edit the next three line and replace the items incaps with
# the values which have been assigned by your ISP
#
set authname ******
set authkey *******
set dial
set login
add default HisADDR
----------------------------------------------------------resolv.conf
nameserver 212.1.105.50
DNS - 212.1.105.50
Default gateway 192.168.15.254
Netmask 255.255.255.255
После перезагрузки - ничего кроме 127.0.0.1 и 192.168.1.1 не пингуется
FreeBSD 5.4