Date: Sat, 20 Apr 1996 13:16:40 +0200 (SAT) From: Khetan Gajjar <khetan@iafrica.com> To: questions@freebsd.org Subject: PPP on demand. Message-ID: <Pine.BSF.3.91.960420131357.789B-100000@localhost.iafrica.com>
next in thread | raw e-mail | index | archive | help
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: <my passwd>" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960420131357.789B-100000>