ls: cannot access /sys/class/net/eth0/device/: No such file or directory lool@babbage20:~$ ls -l /sys/class/net/eth0/ total 0 -r--r--r-- 1 root root 4096 2009-10-04 14:33 address -r--r--r-- 1 root root 4096 2009-10-04 14:33 addr_len -r--r--r-- 1 root root 4096 2009-10-06 09:26 broadcast -r--r--r-- 1 root root 4096 2009-10-06 09:26 carrier -r--r--r-- 1 root root 4096 2009-10-06 09:26 dev_id -r--r--r-- 1 root root 4096 2009-10-06 09:26 dormant -r--r--r-- 1 root root 4096 2009-10-06 09:26 features -rw-r--r-- 1 root root 4096 2009-10-04 14:33 flags -rw-r--r-- 1 root root 4096 2009-10-06 09:26 ifalias -r--r--r-- 1 root root 4096 2009-10-04 14:33 ifindex -r--r--r-- 1 root root 4096 2009-10-06 09:26 iflink -r--r--r-- 1 root root 4096 2009-10-06 09:26 link_mode -rw-r--r-- 1 root root 4096 2009-10-06 09:26 mtu -r--r--r-- 1 root root 4096 2009-10-06 09:26 operstate drwxr-xr-x 2 root root 0 2009-10-06 09:26 power drwxr-xr-x 2 root root 0 2009-10-06 09:26 statistics lrwxrwxrwx 1 root root 0 2009-10-06 09:26 subsystem -> ../../../../class/net -rw-r--r-- 1 root root 4096 2009-10-06 09:26 tx_queue_len -r--r--r-- 1 root root 4096 2009-10-04 14:33 type -rw-r--r-- 1 root root 4096 2009-10-06 09:26 uevent
ls: cannot access /sys/class/ net/eth0/ device/ : No such file or directory net/eth0/ ./../class/ net
lool@babbage20:~$ ls -l /sys/class/
total 0
-r--r--r-- 1 root root 4096 2009-10-04 14:33 address
-r--r--r-- 1 root root 4096 2009-10-04 14:33 addr_len
-r--r--r-- 1 root root 4096 2009-10-06 09:26 broadcast
-r--r--r-- 1 root root 4096 2009-10-06 09:26 carrier
-r--r--r-- 1 root root 4096 2009-10-06 09:26 dev_id
-r--r--r-- 1 root root 4096 2009-10-06 09:26 dormant
-r--r--r-- 1 root root 4096 2009-10-06 09:26 features
-rw-r--r-- 1 root root 4096 2009-10-04 14:33 flags
-rw-r--r-- 1 root root 4096 2009-10-06 09:26 ifalias
-r--r--r-- 1 root root 4096 2009-10-04 14:33 ifindex
-r--r--r-- 1 root root 4096 2009-10-06 09:26 iflink
-r--r--r-- 1 root root 4096 2009-10-06 09:26 link_mode
-rw-r--r-- 1 root root 4096 2009-10-06 09:26 mtu
-r--r--r-- 1 root root 4096 2009-10-06 09:26 operstate
drwxr-xr-x 2 root root 0 2009-10-06 09:26 power
drwxr-xr-x 2 root root 0 2009-10-06 09:26 statistics
lrwxrwxrwx 1 root root 0 2009-10-06 09:26 subsystem -> ../../.
-rw-r--r-- 1 root root 4096 2009-10-06 09:26 tx_queue_len
-r--r--r-- 1 root root 4096 2009-10-04 14:33 type
-rw-r--r-- 1 root root 4096 2009-10-06 09:26 uevent