LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-21-2005, 05:13 AM   #1
cain_eve
Member
 
Registered: Nov 2004
Posts: 93

Rep: Reputation: 15
how to change MAC address


Hi all,

I am wondering how to change the MAC address of my ethernet adaptor(eth0) under Linux. Since the LAN's IP address need register in my college, and I want to use my laptop in Lab. I think the way to do it is to change my MAC to the Lab computer's.


Waiting for your help

Wang zheng
 
Old 03-21-2005, 05:21 AM   #2
tavixor
Member
 
Registered: Feb 2004
Distribution: Slackware 10.1
Posts: 32

Rep: Reputation: 16
try this http://www.alobbs.com/modules.php?op...acc&file=index
or
Code:
ifconfig [interface name] hw ether [new MAC address]

Last edited by tavixor; 03-21-2005 at 05:25 AM.
 
Old 03-21-2005, 05:51 AM   #3
cain_eve
Member
 
Registered: Nov 2004
Posts: 93

Original Poster
Rep: Reputation: 15
thank you and I will try If I have any problem go through it hope you can give some instructions

cain
 
Old 10-28-2005, 03:29 PM   #4
weirdo1
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
How to change MAC

My dear sir,

There are a number of free utilities on the internet that present a way to change your MAC address on the internet. Any competent search on yahoo, google, etc will reveal sources of these utilities. Macshift comes to mind as one title of such a software.

On the alternative, a hardware-based solution that involves burning a new MAC address in the eeprom of your adapter is available, information is at http://www.sdadapters.com

Good luck

Weirdo
 
Old 12-07-2005, 01:41 PM   #5
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
How would these solutions work on a laptop that is dual-booting WinXP and Slackware? I ask because our dorm networks here will not allow a single MAC address to use more than one OS on the system. I.E., since when I registered my computer on campus this year it was with Windows (decided to add Linux a few weeks into term,) the network will not let me on if I try to connect in Linux, since they have my MAC address as a Windows machine.

I understand, I guess, WHY they have it set up like that, but I think this "spoofing" or whatever doesn't violate the INTENT of the policy. (And if ITS decides to give me trouble, which they shouldn't unless they're REALLY bored up there, I'll tell 'em just that.)

Thanks!
 
Old 12-07-2005, 03:40 PM   #6
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
Quote:
Originally Posted by JesusFreak84
How would these solutions work on a laptop that is dual-booting WinXP and Slackware? I ask because our dorm networks here will not allow a single MAC address to use more than one OS on the system. I.E., since when I registered my computer on campus this year it was with Windows (decided to add Linux a few weeks into term,) the network will not let me on if I try to connect in Linux, since they have my MAC address as a Windows machine.

I understand, I guess, WHY they have it set up like that, but I think this "spoofing" or whatever doesn't violate the INTENT of the policy. (And if ITS decides to give me trouble, which they shouldn't unless they're REALLY bored up there, I'll tell 'em just that.)

Thanks!
Sounds like an odd policy.... any idea how they are enforcing it? With what software?
 
Old 12-07-2005, 03:58 PM   #7
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
Not a clue, but one of my dormmate's boyfriend goes to another college nearby and can alternate the two OSs no problem, but when she tried the same arrangement (set up by him) the Linux couldn't connect.

I think if I even asked how ITS was enforcing the policy, they'd have to kill me. I think the purpose behind it is to make sure someone ELSE isn't trying to fake my MAC address to do stuff and get me in trouble...if that makes any sense...

Must...return...to...homework....NOOO!!!
 
Old 12-07-2005, 11:06 PM   #8
weirdo1
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
no good

That policy is no good if it discriminates against linux and computer sci majors generally! Did you try speaking with the sysadmin explaining why you need two registrations? Also, why isn't your MAC address the same in linux as it is in Windows, the MAC is read from the chip on the NIC by both OS'es and should be the same, no?

Weirdo
 
Old 12-07-2005, 11:25 PM   #9
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
It IS the same--I need to "spoof" or somehow convince the network that I'm not the computer I am.

Most CIS majors I know here use Windows or don't live on campus. =-P Not an option for me, since I'm a couple states away.

ITS doesn't budge on jack squat. I used to be a chat operator in an IRC chat on a Catholic server, but IRC ports here are blocked and ITS refused to unblock even just accessing that one server. =-\
 
Old 10-25-2007, 12:50 AM   #10
Stingerlt
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Smile hey

I was searching for the same thing... :-)

*Linux

To change your MAC address in Linux (and most *nix system) is easy as pie. All it takes is two easy to script commands:


ifconfig eth0 down hw ether 00:00:00:00:00:01

ifconfig eth0 up
 
Old 02-05-2009, 10:54 AM   #11
Millard_rick
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Thumbs up Thanks

You are saving our hospital a lot of money because, the vendor of my equipment will not let me just change my nic card, and they would force me to change out the entire host at a cost of ~$20,000.00. All of the options are tied to the mac address and the system would not be usable without these options.
 
Old 02-05-2009, 01:52 PM   #12
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by Millard_rick View Post
You are saving our hospital a lot of money because, the vendor of my equipment will not let me just change my nic card, and they would force me to change out the entire host at a cost of ~$20,000.00. All of the options are tied to the mac address and the system would not be usable without these options.
Wait,wait,wait a moment.I really want to know more about your problem with this vendor.Will you tell me what vendor is that and what's the name of your hospital and where is it?Also,does everything work now the way you think it should,because there are more ways to change mac address and more ways to deal with this vendor.
 
  


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
to change outgoing mac and ip address korenje Linux - Networking 3 12-31-2005 12:41 AM
change mac address possible? kahn Linux - Networking 4 04-22-2005 04:43 AM
Change MAC address (hwaddr) permanently clandestine Ubuntu 1 04-18-2005 01:17 PM
MAC address change? w9q Linux - Networking 3 09-10-2004 02:42 AM
MAC address change not working mehargags Slackware 4 03-21-2004 11:08 AM


All times are GMT -5. The time now is 06:35 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration