LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 11-07-2009, 10:26 PM   #1
kexpert
LQ Newbie
 
Registered: Nov 2009
Posts: 12
Thanked: 0
Unhappy CentOS command-line Program to Randomly change my MAC address?


[Log in to get rid of this advertisement]
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
linuxcentos kexpert is offline  
Tag This Post ,
Reply With Quote
Old 11-07-2009, 11:05 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: Lab Server - FreeBSD 7.2 Laptop - Linux Mint
Posts: 1,857
Thanked: 35
just use the ifconfig command
Code:
ifconfig eth0 down hw ether 00:00:00:00:00:01
ifconfig eth0 up
linuxmint jstephens84 is offline     Reply With Quote
Old 11-08-2009, 12:59 AM   #3
kexpert
LQ Newbie
 
Registered: Nov 2009
Posts: 12
Thanked: 0

Original Poster
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.
linuxcentos kexpert is offline     Reply With Quote
Old 11-08-2009, 01:18 AM   #4
bigrigdriver
Senior Member
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: openSUSE 10.3 Debian 4.0
Posts: 4,654
Thanked: 13
You will find a more thorough discussion of MAC spoofing in this article: http://www.mydigitallife.info/2008/0...nix-and-linux/
linux bigrigdriver is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 07:49 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration