Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-07-2009, 09:26 PM   #1
LQ Newbie
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0
Unhappy CentOS command-line Program to Randomly change my MAC address?

OS: CentOS 5.3 Enterprise Server
Red Hat Nash Version

I need to find a command-line program to randomly change my MAC address.

Can anyone please direct me to the right place and how to install it.

I know on Ubuntu there is a program called 'macchanger'.

And on Windows another one called 'macshift'.

I just can't find one for CentOS 5.3 Enterprise Edition.

Any help would be greatly appreciated.

Thank You
Old 11-07-2009, 10:05 PM   #2
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
just use the ifconfig command
ifconfig eth0 down hw ether 00:00:00:00:00:01
ifconfig eth0 up
Old 11-07-2009, 11:59 PM   #3
LQ Newbie
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Unhappy Unfortunately, that doesn't work?

Originally Posted by jstephens84 View Post
just use the ifconfig command
ifconfig eth0 down hw ether 00:00:00:00:00:01
ifconfig eth0 up

It changes my MAC address except I do not have internet anymore.
Old 11-08-2009, 12:18 AM   #4
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,893

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You will find a more thorough discussion of MAC spoofing in this article:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Randomly changing MAC address? sancho Linux - Hardware 4 11-24-2007 11:00 AM
OpenBSD: Adding a "lladdr" command to netstart to change MAC address at boot Voltar *BSD 2 04-14-2006 12:41 AM
command line address book program oneferna Linux - Software 3 02-12-2006 02:24 PM
change mac address possible? kahn Linux - Networking 4 04-22-2005 04:43 AM
MAC address change? w9q Linux - Networking 3 09-10-2004 02:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration