LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09: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, 10: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-07-2009, 11:59 PM   #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, 12:18 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 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
Open Source Consulting | Domain Registration