From owner-freebsd-questions Thu Jan 4 13:41:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA06897 for questions-outgoing; Thu, 4 Jan 1996 13:41:48 -0800 (PST) Received: from zappa.cs.uncc.edu (zappa.cs.uncc.edu [152.15.35.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA06878 for ; Thu, 4 Jan 1996 13:41:38 -0800 (PST) From: jlrobins@zappa.cs.uncc.edu Received: by zappa.cs.uncc.edu (5.x/SMI-SVR4) id AA05294; Thu, 4 Jan 1996 16:32:19 -0500 Message-Id: <9601042132.AA05294@zappa.cs.uncc.edu> Subject: pppd only works right the first time :-( To: questions@freebsd.org Date: Thu, 4 Jan 1996 16:32:18 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Yet another PPP question -- 2.1-stable I have a site that I'm trying to set up as a one line PPP server using pppd. It answers the telephone correctly for shell use. After a reboot, the first call is handled perfectly. It ifconfigs the ppp0 interface, it adds the route, and then proxyarp's for the remote machine. Cool Moe D. When the second call comes in, pppd gets started up and complains with "ioctl(SIOCAIFADDR): Address already exists". No route entry is added. No proxy arp is done. Person on the other end can't see anywhere. Local IP addr: 152.15.35.100 Remote addr: 152.15.35.101 Routing table after successful (first) conection: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 152.15.254.254 UGSc 0 0 ed0 127.0.0.1 127.0.0.1 UH 0 0 lo0 152.15 link#1 UC 0 0 152.15.10.88 0:0:c:17:3b:12 UHLW 0 27 ed0 1140 152.15.32.8 0:0:c0:fc:65:78 UHLW 1 3 ed0 1140 152.15.35.2 8:0:20:1a:b9:36 UHLW 7 323 ed0 1140 152.15.35.5 0:0:c0:fa:65:78 UHLW 3 60 lo0 152.15.35.6 8:0:69:9:2:e4 UHLW 0 208 ed0 1143 152.15.35.101 152.15.35.100 UH 0 0 ppp0 152.15.35.101 0:0:c0:fa:65:78 UHLS2 0 0 ed0 152.15.254.254 link#1 UHLW 1 0 152.15.255.255 link#1 UHLW 0 1 ifconfig ppp0 read fine as well, although I don't have a copy of the output anymore. /etc/ppp/options: crtscts netmask 255.255.255.255 152.15.35.100:152.15.35.101 domain uncc.edu proxyarp lcp-echo-interval 160 lcp-echo-failure 20 modem lock mru 1006 mtu 1006 /etc/ppp/ip-up and ip-down only print something to the console. /etc/sysconfig does not mention ppp0 in the list of interfaces to manipulate, as it seems pppd correctly does the ifconfiging (the first time, anyway). Is there some magic to be done perhaps in /etc/ppp/ip-down? Anyone seen this behavior before? Workaround avail? TIA, James Robinson