From owner-freebsd-isdn Wed Jan 5 3:32:49 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id 957F515165 for ; Wed, 5 Jan 2000 03:32:46 -0800 (PST) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id MAA12497 for ; Wed, 5 Jan 2000 12:32:45 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id MAA12832 for ; Wed, 5 Jan 2000 12:32:48 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id MAA52579; Wed, 5 Jan 2000 12:32:47 +0100 (CET) Date: Wed, 5 Jan 2000 12:32:47 +0100 From: Christoph Kukulies To: Christoph Kukulies Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: isp0 - File exists, routes? Message-ID: <20000105123247.A52536@gil.physik.rwth-aachen.de> References: <200001051103.MAA52490@gil.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200001051103.MAA52490@gil.physik.rwth-aachen.de>; from kuku@gilberto.physik.RWTH-Aachen.DE on Wed, Jan 05, 2000 at 12:03:39PM +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jan 05, 2000 at 12:03:39PM +0100, Christoph Kukulies wrote: > 3.3-RELEASE, sppp > > Due to a current downtime at the university I'm forced to use a different > access point, ISDN sppp (they have an Ascend router I believe) - at the moment > I'm cut off and have only access via modem. > > I'm trying to set up the connection via this little script: > (I don't know the IP addresses beforehand ) > > ifconfig isp0 down > ifconfig isp0 link1 0.0.0.0 0.0.0.1 netmask 0xffffff00 debug OK, while experimenting in the meantime I found that I probably don't need the addresses in the sppp arguments line. > spppcontrol isp0 authproto=chap myauthname= myauthsecret= > ifconfig isp0 up > > When I'm doing this I'm getting the following: > > ifconfig: ioctl (SIOCAIFADDR): File exists > And: > > # netstat -rn > Routing tables > > > Internet: > Destination Gateway Flags Refs Use Netif Expire > 0.0.0.1 default UH 0 0 isp0 > 127.0.0.1 127.0.0.1 UH 10 1328 lo0 > > ... > > First: Why do I get ifconfig: ioctl (SIOCAIFADDR): File exists > ? > > Second: Why do I get this weird route - it should be (if at all): I tried: route add default -interface isp0 and this seems to work at last in the sense that i4b now is dialing out every 2 seconds and charging one unit :-( Here is the lcp dialog from /var/log/messages: Jan 5 12:28:46 isdn-kukulies /kernel: isp0: lcp close(initial) Jan 5 12:28:51 isdn-kukulies /kernel: isp0: lcp open(initial) Jan 5 12:28:51 isdn-kukulies /kernel: isp0: phase establish Jan 5 12:28:52 isdn-kukulies /kernel: isp0: Up event Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp up(starting) Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp output Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp parse opts: mru auth-proto 0 x11 [rej] 0x13 [rej] send conf-rej Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp output Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(req-sent): Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp rej opts: auth-proto [access d enied] Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp close(req-sent) Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp output Jan 5 12:28:52 isdn-kukulies /kernel: Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(closing): Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(closing): > Destination Gateway > default 0.0.0.1 > > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message