Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm having a problem with macchanger.

Whenever I try to run the command macchanger -r eth1, I get the following error:

ERROR: Can't change MAC: interface up or not permission: Too many open files in system

I'm running this command as root, and the ulimit is set to unlimited.

What can I do to avoid this error?

share|improve this question
    
On what operating system (if Linux, what distribution)? Does ifconfig hw ether uu:vv:ww:xx:yy:zz work? –  Gilles Nov 8 '11 at 23:01
    
I'm using Linux (Fedora 15), and the ifconfig and ip commands give the same Too many open files in system error. –  Phen Nov 9 '11 at 9:51
    
is ulimit -n set to unlimited? check with ulimit -a –  Alexej Magura Dec 5 '13 at 18:34

1 Answer 1

Everything in Linux is a file (even a small process like macchanger). Therefore if you already have lots of processes running, its very possible that you've reached the limit of files your system can manage.

Here's a good article on Linux scalability

share|improve this answer

Your Answer

 
discard

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.