I have same problem. I get error : SIOCGIFFLAGS (no such device )