From owner-freebsd-questions Sat Apr 20 06:39:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA13158 for questions-outgoing; Sat, 20 Apr 1996 06:39:31 -0700 (PDT) Received: from localhost.iafrica.com (chain.iafrica.com [196.7.74.174]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA13130 for ; Sat, 20 Apr 1996 06:39:23 -0700 (PDT) Received: (from khetan@localhost) by localhost.iafrica.com (8.6.12/8.6.12) id NAA00804; Sat, 20 Apr 1996 13:16:41 +0200 Date: Sat, 20 Apr 1996 13:16:40 +0200 (SAT) From: Khetan Gajjar To: questions@freebsd.org Subject: PPP on demand. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. I have a static IP address (196.7.74.174) and am dialling into my ISP. The problem is that when I specify ppp -auto chain it starts dialling for reasons I do not understand (i.e. I do nothing, and it starts dialling). Any ideas ? I include extracts of sysconfig, ppp.conf and ppp.linkup. ---ppp.conf--- default: set device /dev/cuaa0 set speed 38400 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 10 \"\" AT&f1e0&a3&b1&c1&d2&h1&k3&r2s7=90s6=3 OK-AT-OK \\dATDP\\T TIMEOUT 90 CONNECT" chain: set phone 6836822 set login "TIMEOUT 5 login:-\\r-login: Pkhetan word: " set timeout 600 set ifaddr 196.7.74.174 0 add 0 255.255.255.0 0 ---ppp.conf--- ---ppp.linkup--- MYADDR: add 0 0 HISADDR ---ppp.linkup--- ---sysconfig--- # Set to the name of your host - this is pretty important! hostname="chain.iafrica.com" # Set to the NIS domainname of your host, or NO if none defaultdomainname=NO # # Some broken implementations can't handle the RFC 1323 and RFC 1644 # TCP options. If TCP connections randomly hang, try disabling this, # and bug the vendor of the losing equipment. # tcp_extensions=YES # # Set to the list of network devices on this host. You must have an # ifconfig_${network_interface} line for each interface listed here. # for example: # # network_interfaces="ed0 sl0 lo0" # ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00" # ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00" # #network_interfaces="cuaa0 lo0" network_interfaces="tun0 lo0" #ifconfig_cuaa0="inet 196.7.74.174 0 netmask 255.255.255.0" ifconfig_tun0="inet 196.7.74.174 0 netmask 255.255.255.0" ifconfig_lo0="inet localhost" # # Set to the list of route add lines for this host. You must have a # route_${static_routes} line for each static route listed here. # #static_routes="multicast loopback" #route_multicast="0 -netmask 0xf0000000 -interface ${hostname}" route_loopback="${hostname} localhost" ---sysconfig--- --- Khetan Gajjar Visit at http://www.iafrica.com/~khetan/ Pipex-Internet Africa Operations help@iafrica.com or 0800-030-002