From owner-freebsd-questions Fri Jan 14 5:44:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from home.enger.org (menger.kgv.edu.hk [152.101.128.99]) by hub.freebsd.org (Postfix) with SMTP id EDE4515632 for ; Fri, 14 Jan 2000 05:44:23 -0800 (PST) (envelope-from ) Received: (qmail 3246 invoked by uid 1001); 14 Jan 2000 13:44:07 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 14 Jan 2000 13:44:07 -0000 Date: Fri, 14 Jan 2000 21:44:07 +0800 (CST) From: Matthew Enger X-Sender: menger@home.enger.org To: freebsd-questions@freebsd.org Subject: PPP Server/Client Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have been trying for the last week without sucess to get my freebsd machine at home to connect to my freebsd server which has a modem attached. I managed to establish a connection using windows 98 to the server but I have so far been unsucessfull in getting freebsd client to connect. I am using FreeBSD 3.4-STABLE on both machines and user-ppp. I have included the server configurations and client configurations below. The client does manage to connect to the server, it get's an ip address but I can't ping anything including the server which I am connected to. If anyone knows why or how to fix it, I would appricate any help that you can provide. from, Matthew Enger menger@dhs.org SERVER: /etc/ppp/ppp.conf default: allow users mengerp jchanp nsherinp set timeout 0 accept dns ttyd2: set ifaddr 152.101.128.241 152.101.128.242 255.255.255.255 enable proxy ttyd3: set ifaddr 152.101.128.241 152.101.128.243 255.255.255.255 enable proxy pap: enable pap set ifaddr 152.101.128.241 152.101.128.243-152.101.128.250 enable proxy enable passwdauth /etc/rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # -- sysinstall generated deltas -- # ifconfig_fxp0="inet 152.101.128.99 broadcast 152.101.128.128 netmask 255.255.255.128" ifconfig_fxp0_alias0="inet 152.101.128.100 broadcast 152.101.128.128 netmask 255.255.255.128" ifconfig_fxp0_alias1="inet 152.101.128.101 broadcast 152.101.128.128 netmask 255.255.255.128" ifconfig_fxp0_alias2="inet 152.101.128.102 broadcast 152.101.128.128 netmask 255.255.255.128" ifconfig_fxp0_alias3="inet 152.101.128.241 broadcast 152.101.128.255 netmask 255.255.255.240" defaultrouter="152.101.128.126" network_interfaces="fxp0 lo0" hostname="home.enger.org" # -- sysinstall generated deltas -- # moused_port="/dev/psm0" moused_enable="YES" # -- sysinstall generated deltas -- # Moused_enable="YES" # -- XNTPD - time -- # xntpd_enable="YES" xntpd_flags="" # -- BIND -- # named_enable="YES" # -- SENDMAIL -- # sendmail_enable="NO" # -- NFS -- # nfs_client_enable="YES" # -- sysinstall generated deltas -- # moused_enable="YES" # -- PPP -- # gateway_enable=YES router_enable=NO forward_sourceroute=YES /etc/ppp/ppp-dialup (script which is the shell of the ppp users) #!/bin/sh IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'` CALLADAS="$IDENT" TTY=`tty` if [ x$IDENT = xdialup ]; then IDENT=`basename $TTY` fi echo "PPP for $CALLADAS on $TTY" echo "Starting PPP for $IDENT" exec /usr/sbin/ppp -direct $IDENT CLIENT: /etc/ppp/ppp.conf default: set device /dev/cuaa0 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 0 set ifaddr 0 0 add default HISADDR enable dns KGV: set phone 2711-9201,, set login "TIMEOUT 5 login:-\\r-login: mengerp word: PASSWORDHERE" set timeout 0 set ifaddr 0 0 add default HISADDR disable chap disable pap rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # -- sysinstall generated deltas -- # ifconfig_ed1="inet 152.101.128.238 broadcast 152.101.128.239 netmask 255.255.255.240" network_interfaces="ed1 auto" hostname="wombat.enger.org" moused_port="/dev/psm0" moused_enable="YES" gateway_enable=YES router_enable=NO forward_sourceroute=YES accept_sourceroute=YES To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message