About me

Paolo Iannelli Picture

Paolo Iannelli

Big Daddy at Mega Labs

Location
Amsterdam Area, Netherlands
Industry
Information Technology and Services
Interests
C, Python, Big Data, Scalability, High Availability, Performance
Description
Expert Software Engineer with more than 12 years of experience.
Strong in critical thinking, problem solving and high performance architectures.
Paolo Iannelli Labs Rss

FIX : extconf.rb:1:in `require’: no such file to load — mkmf (LoadError)

Posted on : 31-05-2011 | By : Paolo Iannelli | In : Ruby, Software Development, System Administration

Tags: , , , , , , , ,

0

If you ever run into this error while installing gems :

  • extconf.rb:1:in `require’: no such file to load — mkmf (LoadError)

and you are running Ubuntu/Debian, all you need to do is typing this command :

  • sudo apt-get install ruby1.8-dev

Problem solved !

How to rename network interface in Ubuntu / Debian / SUSE / Linux

Posted on : 25-05-2011 | By : Paolo Iannelli | In : Linux administration, System Administration

Tags: , , , , , , , , , , , , ,

0

To rename a network interface in linux is easy, as long as you know how to do it !

Open the file “/etc/udev/rules.d/70-persistent-net.rules” and look for something like this :

This will be written in a single line, but for displaying reasons I had to split it in 3 lines

If you just want to rename the interface with mac address 00:11:22:33:44:55 to “eth0“, in this case you would just change the name stated in the NAME parameter.

  • NOTE : you don’t have to change the KERNEL parameter.

After doing this, remember also to check your /etc/network/interfaces file to reflect the interface’s name change.

Finally, restart the networking with :

That’s it !