Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 16:28:46 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        rivers@dignus.com, ru@ucb.crimea.ua
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: 3.2 SL/IP Install - can't get ifconfig to work...
Message-ID:  <199906162028.QAA07007@lakes.dignus.com>
In-Reply-To: <19990616231237.A26665@relay.ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> >  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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
  tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
  sl0: flags=c011<UP,POINTOPOINT,LINK2,MULTICAST> mtu 552
          inet 10.0.0.98 --> 10.0.0.99 netmask 0xffffff00
  ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
  lo0: flags=8008<LOOPBACK,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906162028.QAA07007>