Date: Wed, 5 Jan 2000 12:32:47 +0100 From: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> To: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: isp0 - File exists, routes? Message-ID: <20000105123247.A52536@gil.physik.rwth-aachen.de> 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 %2B0100 References: <200001051103.MAA52490@gil.physik.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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=<myauthname> myauthsecret=<geheim> > 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 <conf-req id=0x29 len=14 zz-zz-zz-zz-zz-zz-zz-zz-zz-zz- Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(req-sent): <conf-req id=0 x1 len=25 zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz> 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 <conf-rej id=0x1 len=17 zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz-zz> Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(req-sent): <conf-rej id=0 x29 len=8 zz-zz-zz-zz> 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 <term-req id=0x2a len=4> Jan 5 12:28:52 isdn-kukulies /kernel: Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(closing): <conf-req id=0x 2 len=12 zz-zz-zz-zz-zz-zz-zz-zz> Jan 5 12:28:52 isdn-kukulies /kernel: isp0: lcp input(closing): <term-ack id=0x (I don't know if the hex bytes contained any secret password stuff or so so I erazed it) > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000105123247.A52536>