Date: Wed, 23 Apr 1997 23:29:43 -0700 From: Ken McGlothlen <mcglk@yang.cpac.washington.edu> To: questions@freebsd.org Subject: Dial-on-demand PPP. Message-ID: <199704240629.XAA18781@yang.cpac.washington.edu>
next in thread | raw e-mail | index | archive | help
I have a classic problem which *should* be able to be solved, and for which I seem to have adequate documentation on the www.freebsd.org site, but which just isn't working. I'm trying to connect a localnet to the Internet via PPP. Symptoms: (1) When dialing in with ppp -auto -alias, the connection is made, there's some activity on the line, and then the connection drops. It does try to come up properly when some network activity is initiated by the system, but the connection keeps dropping, and it eventually times out. (2) When dialing in with ppp and doing it manually, it connects properly and stays up, but won't let me ping anything, even when I try to add the routes by hand. Help? Another thing: I want to be able to nameserve the local net without assuming responsibility for the rest of the ISP's machines. Is this doable? Relevant hardware: 200MHz Pentium with 64MB Adaptec 2940 SupraFAXmodem V.32bis on COM1 (/dev/cuaa1) Relevant software: FreeBSD 2.2.1-RELEASE Relevant hosts: ralf (the FreeBSD system): 207.207.72.1 eddie (a WinNT system): 207.207.72.2 questor (a Mac 8500): 207.207.72.3 ISP: ServNet. They have dialin lines that route to one of four potential routes. We'll call these 205.153.153.a, .b, .c, and .d. I have no idea which one I'm gonna hit when I dial in. Relevant lines in /etc/sysconfig: hostname="ralf" defaultdomainname="serv.net" tcp_extensions="YES" network_interfaces="lo0 vx0 ppp0" ifconfig_lo0="inet 127.0.0.1 netmask 0xffffff00" ifconfig_vx0="inet 207.207.72.1 netmask 0xffffff00" ifconfig_ppp0="inet 207.207.72.1 netmask 0xffffff00" static_routes="" defaultrouter="NO" router="NO" routerflags="-q" namedflags="-b /etc/namedb/named.boot" gateway="YES" firewall="NO" /etc/hosts (abridged): 127.0.0.1 localhost.serv.net localhost 207.207.72.1 ralf.serv.net ralf 207.207.72.2 questor.serv.net questor 207.207.72.3 eddie.serv.net eddie /etc/namedb/named.boot (abridged): directory /etc/namedb cache . named.root primary serv.net. pandev.db /etc/namedb/pandev.db (abridged): @ IN SOA serv.net. root.serv.net. ( 970205 ; Serial 3600 ; Refresh 300 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS ralf.serv.net. questor.serv.net. IN A 207.207.72.2 eddie.serv.net. IN A 207.207.72.3 $ORIGIN 72.207.207.IN-ADDR.ARPA IN NS ralf.serv.net. 1 IN PTR ralf.serv.net. 2 IN PTR questor.serv.net. 3 IN PTR eddie.serv.net. $ORIGIN 0.0.127.IN-ADDR.ARPA IN NS ralf.serv.net. 1 IN PTR localhost.serv.net. /etc/ppp/ppp.conf (abridged): default: set device /dev/cuaa1 set speed 38400 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" servnet: set authname ralf set authkey the_wise set phone 8765432 set redial 10 3 set timeout 300 set ifaddr 207.207.72.1/32 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 /etc/ppp/ppp.linkup (abridged): servnet: delete ALL add 0 0 HISADDR MYADDR: add 0 0 HISADDR
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704240629.XAA18781>