Hello everybody, I am trying to read the mac adders from my Network Interface Card, i noticed this option is supported since rtnet-0.9.10. I tried the following: ret = rt_dev_ioctl(Sock, SIOCGIFHWADDR, &readMAC); if (ret < 0) { rt_dev_close(Sock); rtapi_print_msg(RTAPI_MSG_ERR, "Read MAC error %d\n", ret); return -1; } else { rtapi_print_msg(RTAPI_MSG_ERR, "Read MAC OK\n"); } It return error -19. Does any body know what is the meaning of this error number? I also tried the SIOCGIFINDEX, but it returns the same error. I am using RTAI.Does anybody have an idea what could be the problem? Best RegardsKlemen
------------------------------------------------------------------------------
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users