On 06/28/2016 03:45 AM, Ashwini Sharma wrote: > Hello enh, > > Android's original ifconfig was only showing the ip address for > interface and flags. > > Otherwise ifconfig on other platforms gives out lot of other details. > Does it do so on Android?
What details do you need? I can try to add them. > I interested in how to get the MAC address at the ndk level. As earlier > i saw that SIOCGIFHWADDR is not supported. On bionic, you mean? (It's working fine on ubuntu...) > Is there a way to get the mac address. Does /sys/class/net/eth0/address provide it? > Thanks, > Ashwini Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net