be a bit more lenient with files

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
a bit of network interfaces abstraction

Signed-off-by: Jan Dvořák <mordae@anilinux.org>