Changing MAC Address, the Fedora way

Been a month since my last post .. mainly due to lack of idea on what to blog ..

Anyway, today is a bit special.. why?, the crazy IT Management Service of PETRONAS University is doing their crazy operation again .. Hunting down any box with listening port that run services - and confiscate the computers, with, or without the owner's concern .. 2 of my friends got their computers confiscated simply for having IRCd, Httpd and a local Squid cache (to help cache the sites their visited due to the university network is fsckingly slow) running ..

After some data gathering I found out those ITMS guys detect machines physically through MAC address. So, as a precaution, I changed mine.

Changing MAC can easily be done using ifconfig, anyway, here's the elegant way to do it for Fedora or Fedora derivatives users.

The catch is, no NetworkManager please. Turn it off, NetworkManager is not that mature for this stunt yet. Use the traditional all-powerful system-config-network to set ur network settings. Afterward, open /etc/sysconfig/network-scripts/ifcfg-<ethX> and add this line:


then , restart the network service /sbin/service network restart. The change will take effect immediately. Don't forget to set NetworkManager to NOT start on boot and set the network init to start on boot using system-config-services.

Not sure how well this approach can help .. but I hope it'll help a bit ..

For those students out there (especially those who are in ICT field), who are thinking to come and study in Universiti Teknologi PETRONAS, think again before applying, as those darned ITMS will make sure y'all are unable to explore stuff beyond what u learn in course subjects.


Anonymous said…
They'll still see what switch port you're connected to so won't help at all.
KageSenshi said…
yup .. and the way they identify which port i'm connected is through checking what MAC address is connected to that switch port ..
KageSenshi said…
By changing MAC address and stop all activity from my machine, it'll make it a bit harder for them to find where is me .. and if my deduction is right, they already done the scanning and already have a list of MAC addresses to confiscate .. but haven't checked which MAC address connected to which switch port .. as they are doing it phase by phase starting from Village 5 ..
Anonymous said…
It looks like it may be possible to change the mac address and keep using networkmanager with a utilty called macchanger that is available in the fedora repos.

Take a look at the last post on this thread:
Anonymous said…
If you know the IP address range they scan from, block TCP connections from that range... Then they would have to observe the traffic to/from your system to find you.
Balkrishnanitt said…
i am a fedora 9 user and dual boot f9 on a dell vostro 1310 . i deleted ifcfg-lo while playing around. however i did make an exact copy of it in /etc/sysconfig/network-scripts/ however whenever i insert a lan cable the comp starts to respond really late. what should i do about it ? Thanks .

Popular posts from this blog

Tee'ing Python subprocess.Popen output

Consolidated community site infrastructure on Plone

Adding simple popup to Plone frontpage