From owner-freebsd-current Wed Nov 19 10:34:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA09084 for current-outgoing; Wed, 19 Nov 1997 10:34:42 -0800 (PST) (envelope-from owner-freebsd-current) Received: from ns.computer.net (root@ns.computer.net [207.50.192.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA09077 for ; Wed, 19 Nov 1997 10:34:39 -0800 (PST) (envelope-from jcondon@computer.net) Received: from computer.net (pville-int-term3.computer.net [207.50.192.152]) by ns.computer.net (8.8.8/8.8.5) with ESMTP id NAA12886 for ; Wed, 19 Nov 1997 13:35:16 -0500 (EST) Message-ID: <3473310C.EEF454E2@computer.net> Date: Wed, 19 Nov 1997 13:33:48 -0500 From: jcondon X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: "freebsd-current@FreeBSD.ORG" Subject: ppp pmdemand dials when I dont want it to Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Been wrestling with this for about a week. Started running 2.2.2 and did a fresh reinstall to 2.2.5. All seems to work fine except it dials and apperently does DNS lookups for apperently no reason. I have removed the -q option on Sendmail, and disabled Sendmail altogether. When I unplug the ethernet cable from the Win95 machine, or dialup via its own modem / DUN it doesn't cause the UNIX box to dial in. However when the Win95 is plugged into the ethernet and running nothing more then explorer and systay it will dial in with in 15 mins usually sooner. I did notice that if I dial in with the Win95 box and do NOTHING it sends about 250 bytes a min and receives about 15K. Could this have something to do with it? Also at 2am it runs whatever events are installed be default and this too (without win95 box on ethernet cable) cause the Unix box to dial in. The network is setup as flows. 10.0.0.1 Freebsd machine called quake.computer.net 10.0.0.2 Win95 machine called pent200.computer.net 10.0.0.3 Win95 machine not yet on the network 207.50.192.4 Primary DNS at my ISP 207.50.194.7 Secondary DNS at my ISP 207.50.192.1 Gateway (not in ANY of my configs is this part of the problem?) My dialup account dynamically assigns ip can get static if needed. Windows 95 side... Under network tcp/ip properties for the NIC. Assigned ip 10.0.0.2 gateway 10.0.0.1 dns primary 207.50.192.4 dns secondary 207.50.194.7 host pent200 domain computer.net domainsuffix computer.net I also have dialup adapter and tcp/ip for that. Server assigned ip Here is part of the /etc/ppp.log file where it dials in doing nameserver lookups (near as I can tell). Nov 19 03:46:27 quake ppp[180]: tun0: TCP/IP: OUT UDP: 10.0.0.2:137 ---> 207.50.192.4:53 Nov 19 03:46:27 quake ppp[180]: tun0: Chat: Dial attempt 1 of 1 Nov 19 03:46:27 quake ppp[180]: tun0: Chat: Expecting Nov 19 03:46:27 quake ppp[180]: tun0: Chat: sending: ATE1Q0^M Nov 19 03:46:27 quake ppp[180]: tun0: Chat: Expecting OK-AT-OK Nov 19 03:46:27 quake ppp[180]: tun0: Chat: Wait for (5): OK --> OK Nov 19 03:46:27 quake ppp[180]: tun0: Connect: ATE1Q0^M^M Nov 19 03:46:27 quake ppp[180]: tun0: Connect: OK Here is my current /etc/ppp/ppp.conf file (comments removed to save space) default: set device /dev/cuaa1 set speed 115200 set log Phase Chat Connect Carrier LCP IPCP CCP TCP/IP tun deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 60 CONNECT" pmdemand: set phone 555-1212 set login "TIMEOUT 5 ogin: username word: password" Here is my current /etc/rc.conf (again comments removed) swapfile="NO" # Set to name of swapfile if aux swapfile desired. apm_enable="NO" # Set to YES if you want APM enabled. pccard_enable="NO" # Set to YES if you want to configure PCCARD devices. pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address. pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. ### Basic network options: ### hostname="quake.computer.net" # Set this! nisdomainname="NO" # Set to NIS domain if using NIS (or NO). firewall_enable="NO" # Set to YES to enable firewall functionality firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall) firewall_quiet="NO" # Set to YES to suppress rule display tcp_extensions="YES" # Allow RFC1323 & RFC1644 extensions (or NO). network_interfaces="ed1 lo0 tn0" # List of network interfaces (lo0 is loopback). ifconfig_ed1="inet 10.0.0.1 netmask 255.255.255.0" ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_tun0= ### Network daemon (miscellaneous) & NFS options: ### syslogd_enable="YES" # Run syslog daemon (or NO). syslogd_flags="" # Flags to syslogd (if enabled). inetd_enable="YES" # Run the network daemon displatcher (or NO). inetd_flags="" # Optional flags to inetd. named_enable="NO" # Run named, the DNS server (or NO). named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled). Here is my current /etc/ppp/ppp.linkup (comments removed) 10.0.0.1: add 10.0.0.0 0 HISADDR iij-demand: delete ALL add 0 0 HISADDR MYADDR: delete 0 add 0 0 HISADDR pmdemand: delete ALL add 0 0 HISADDR add MYADDR 255.255.255.255 127.0.0.1 # !bg /etc/ppp/ppp.etherup.pmdemand Is this problem something funky with my WIN95 Dun? (Running ISDN patched DUN) Or is something wrong with my Unix setup? Thanks for any insight you could provide. Jim Condon