From owner-freebsd-stable Wed Jun 16 13:29: 1 1999 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (Postfix) with ESMTP id 9E76814E7F for ; Wed, 16 Jun 1999 13:28:49 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id QAA05274; Wed, 16 Jun 1999 16:29:18 -0400 (EDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id QAA02790; Wed, 16 Jun 1999 16:28:46 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id QAA07007; Wed, 16 Jun 1999 16:28:46 -0400 (EDT) Date: Wed, 16 Jun 1999 16:28:46 -0400 (EDT) From: Thomas David Rivers Message-Id: <199906162028.QAA07007@lakes.dignus.com> To: rivers@dignus.com, ru@ucb.crimea.ua Subject: Re: 3.2 SL/IP Install - can't get ifconfig to work... Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <19990616231237.A26665@relay.ucb.crimea.ua> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > I tried doing an "ifconfig sl0 down" under the emergency shell > > on VTY4 - but that didn't seem to change anything; every ifconfig sl0 > > comes back with "ioctl(SIOCAIFADDR): File exists". > > > What does ``ifconfig -a'' show? > > -- > Ruslan Ermilov Sysadmin and DBA of the > ru@ucb.crimea.ua United Commercial Bank, > ru@FreeBSD.org FreeBSD committer, > +380.652.247.647 Simferopol, Ukraine > Well - I went back to find out. First - when you do the network setup (which I assume is the first ifconfig executed) you get the ioctl(SIOCAIFADDR) message. You have to ignore that, go ahead and do a commit to get the shell up on VTY4. Then, after the shell is up, I can do ifconfig -a and see: # ifconfig -a lp0: flags=8810 mtu 1500 tun0: flags=8010 mtu 1500 sl0: flags=c011 mtu 552 inet 10.0.0.98 --> 10.0.0.99 netmask 0xffffff00 ppp0: flags=8010 mtu 1500 lo0: flags=8008 mtu 16384 So - it seems the ifconfig was successful, even though ifconfig claims it failed. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message