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

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Tue, 23 Sep 2014 11:34:15 -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
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 hrev47896.

 {{{
 ~> ifconfig
 loop    Hardware type: Local Loopback, Address: none
         inet addr: 127.0.0.1, Mask: 255.0.0.0
         inet6 addr: ::1, Prefix Length: 128
         MTU: 16384, Metric: 0, up loopback link
         Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Collisions: 0

 /dev/net/ipro1000/0
         Hardware type: Ethernet, Address: 08:00:27:3a:98:07
         Media type: 1 GBit, 1000BASE-T
         inet addr: 192.168.0.6, Bcast: 192.168.0.255, Mask: 255.255.255.0
         MTU: 1500, Metric: 0, up broadcast link auto-configured
         Receive: 61130 packets, 0 errors, 46401139 bytes, 0 mcasts, 0
 dropped
         Transmit: 59534 packets, 0 errors, 6133630 bytes, 0 mcasts, 0
 dropped
         Collisions: 0

 ~> 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 auto-config up
 ifconfig: Could not add interface: General system error
 ~> ifconfig
 loop    Hardware type: Local Loopback, Address: none
         inet addr: 127.0.0.1, Mask: 255.0.0.0
         inet6 addr: ::1, Prefix Length: 128
         MTU: 16384, Metric: 0, up loopback link
         Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Collisions: 0

 ~> ls /dev/net/ipro1000/0
 /dev/net/ipro1000/0
 ~> ifconfig /dev/net/ipro1000/0
 /dev/net/ipro1000/0
         Interface not found!

 ~> ifconfig
 loop    Hardware type: Local Loopback, Address: none
         inet addr: 127.0.0.1, Mask: 255.0.0.0
         inet6 addr: ::1, Prefix Length: 128
         MTU: 16384, Metric: 0, up loopback link
         Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Collisions: 0
 }}}

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

Other related posts: