7.1. Finding a network interface

ABLE will create an interface for every supported device it can find. All IP capable interfaces available on a platform can be listed with the ifconfig command.

>ifconfig -a
dm0       Link encap:Ethernet  HWaddr 00:01:3d:00:01:6a
          inet addr:0.0.0.0  Mask:0.255.255.255
          gateway addr:0.0.0.0  tftpserver:0.0.0.0
          UP MTU:1500  Metric:1

ne0       Link encap:Ethernet  HWaddr 00:01:3d:00:01:6b
          inet addr:0.0.0.0  Mask:0.0.0.0
          gateway addr:0.0.0.0  tftpserver:0.0.0.0
          MTU:1500  Metric:1

>

In this case two interfaces are available dm0 and ne0. Some platforms may have more than one of the same type of interface which will be presented as dm0, dm1, dm2 etc.