ppp is broken???

Nagy László Zsolt nagylzs at freemail.hu
Mon May 7 12:53:29 UTC 2007


Bob wrote:
> Add these statements to the end of your ppp.conf file.
>
>
>
> disable iface-alias    # Stop adding old IP address 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
>   
I'll try this.
> Post contents of your ppp.conf  and rc.conf files for review for why you
> keep losing your connection.
>   
ppp.conf:

papchap:
# set log Phase Chat LCP IPCP CCP tun command
 set log phase tun command
 set device PPPoE:rl0
 set speed sync
 set mru 1492
 set mtu 1492
 set ctsrts off
 set dial
 set login
 enable lqr
 add default HISADDR
# enable dns # I use my own DNS server (named)
 enable tcpmssfixup
 # non-default below (hack for pptpd)
 set authname ntony at flat.enternet.hu
 set authkey i_am_not_telling_this
 nat enable yes
  nat port tcp 172.16.0.48:3389 51234

rc.conf:

allscreens="80x30"
font8x14="iso02-8x14"
font8x16="iso02-8x16"
font8x8="iso02-8x8"
keymap="hu.iso2.102keys"
keyrate="fast"
scrnmap="iso-8859-1_to_cp437"

gateway_enable="YES"

hostname="not_telling.dyndns.org"
ifconfig_vr0="inet 172.16.0.1  netmask 255.255.240.0"

firewall_enable="YES"
firewall_type="OPEN"
firewall_logging="YES"

# ADSL
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"

named_enable="YES"

kern_securelevel=2
kern_securelevel_enable="NO"

saver="logo"

sshd_enable="YES"
usbd_enable="NO"

moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"

apache2_enable="YES"
apache2ssl_enable="YES"

squid_enable="NO"
mysql_enable="NO"

postgresql_enable="YES"

rpcbind_enable="YES"
nfs_server_enable="YES"
nfs_reserved_port_only="YES"
mountd_flags="-r"
inetd_enable="YES"

dovecot_enable="YES"
gdm_enable="YES"

dhcpd_enable="YES"
dhcpd_ifaces="vr0"

tomcat50_enable="YES"

samba_enable="YES"
slapd_enable="YES"
slapd_flags=' -h "ldap://127.0.0.1/ ldaps://0.0.0.0/"'

#postfix_enable="YES"




More information about the freebsd-questions mailing list