[haiku-bugs] Re: [Haiku] #11276: [ifconfig] can't add interface back after deletion

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Tue, 23 Sep 2014 14:14:30 -0000

#11276: [ifconfig] can't add interface back after deletion
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  nobody
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Network & Internet  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by jackburton):

 Replying to [comment:2 diver]:
 > I'm not sure. in #9594:
 >
 > {{{
 > ~> ifconfig del /dev/net/ipro1000/0
 > ~> ifconfig /dev/net/ipro1000/0 up
 > ifconfig: Could not add interface: General system error
 >
 > ~> ifconfig /dev/net/ipro1000/0
 > /dev/net/ipro1000/0
 >         Hardware type: Ethernet, Address: 08:00:27:b8:ae:41
 >         MTU: 0, Metric: 0
 > }}}
 >
 > ...and this here:
 >
 > {{{
 > ~> ifconfig /dev/net/ipro1000/0
 > /dev/net/ipro1000/0
 >         Interface not found!
 > }}}

 It's definitely a duplicate.
 The reason you get different output is because we changed ifconfig to spit
 out an "Interface not found!" message if you call it on a non-existing
 interface.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11276#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: