in reply to How can I check if the eth? exist

If you use Linux, please have a look at /proc/net/dev. Nice exercise for (very) beginners (open file, parse content, output result).

-- Frank