In Arch Linux, how can I check if a network device (say eth0) has a carrier signal present?


cat /sys/class/net/eth0/carrier is by far the easiest method.


If you want that information and more in handy little commands:

mii-tool eth0
ethtool eth0

might do the job.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.