Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A software I use gets confused if there is irda0 (or some other uncommon device) in the ifconfig -a output.

What is the easiest way of preventing that device from getting listed?

I'm looking for an answer that doesn't require removing or disabling device physically or permanently and no rebooting as well.

share|improve this question

All network interfaces will be listet in ifconfig -a output. To remove one you would need to unload its corresponding kernel module.

But in your case I`d try to use ifrename to make it "look" like a normal interface. But the better approach would be to fix your br0ken software which seems to choke on device names.

share|improve this answer

To unload it unload the module:

rmmod $(basename $(ls -l /sys/class/net/irda0/device/driver/module |awk '{print $NF}'))
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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