solution if there is no access to /proc/net/dev