LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-07-2009, 10:26 PM   #1
kexpert
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 5.1.19.6

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, 11:05 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

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

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

Quote:
Originally Posted by jstephens84 View Post
just use the ifconfig command
Code:
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, 01:18 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
You will find a more thorough discussion of MAC spoofing in this article: http://www.mydigitallife.info/2008/0...nix-and-linux/
 
  


Reply


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 12:00 PM
OpenBSD: Adding a "lladdr" command to netstart to change MAC address at boot Voltar *BSD 2 04-14-2006 01:41 AM
command line address book program oneferna Linux - Software 3 02-12-2006 03:24 PM
change mac address possible? kahn Linux - Networking 4 04-22-2005 05:43 AM
MAC address change? w9q Linux - Networking 3 09-10-2004 03:42 AM


All times are GMT -5. The time now is 10:29 PM.

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