LinuxQuestions.org
Help answer threads with 0 replies.
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 06-24-2003, 11:07 PM   #1
ghalen
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
MAC Address


Where can I go to change the MAC Address of my network card under Mandrake 9.1? Is it even possible? The system it's on dual boots to Windows XP, and I can do it there.
 
Old 06-24-2003, 11:13 PM   #2
sky260
LQ Newbie
 
Registered: Jun 2003
Distribution: Knoppix 3.2
Posts: 6

Rep: Reputation: 0
Hello,

I thought that the MAC address couldn't be changed, as it contains the ID of the manufacturer and the ID of the card.

How did you manage to do it in Windows ?

Last edited by sky260; 06-24-2003 at 11:15 PM.
 
Old 06-24-2003, 11:15 PM   #3
ghalen
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
NO

Most of the time this is true, but I found a F=MA card that allows you to do so under Windows XP, or 2000. I assume I can also do this under Linux.
 
Old 06-25-2003, 01:00 AM   #4
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
As far as I know, the MAC addresses is hard coded into the the NIC by the manufacturer and usually can not be changed. Why anyone would want to anyway? Normally only a layer 3 IP address is changed and the layer 2 MAC address stays the same.
 
Old 06-29-2003, 12:13 AM   #5
ghalen
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
wrong

I'm using a F=MA lap-32 pcmcia network card. Under the properties window I can change the mac address of the card when using Windows XP, or 2000. I'm a service tech for an ISP. I won't go into the details of why, but I will say it's quit usefull.
 
Old 07-06-2003, 01:25 AM   #6
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
problem: non-usb cable modem, unlike matching usb enabled version, has no MAC in it. it reports to cable company whatever MAC from the NIC it's hooked to. if you hook up a different NIC or try to use a different machine, it doesn't get on the net. USB version has the MAC because the USB part is an integrated ethernet adapter.

A D-Link router and probably others can 'clone' the MAC that it finds behind it, to make such a modem think it's still connected to the same thing and thus the cable co still identifies you.

in WinXP i punched in the MAC from the stupid inline USB adapter they gave with the modem, and it gets right on. In linux it's not happening. That's why it's important, because USB ethernet sucks.

btw, we don't want to alter the card to rewrite its MAC, we only want the OS to act as if its MAC is not what it is ---such as when dhcpcd requests an IP, providing the MAC for the iface is how they know you from someone who's been disconnected. I'll keep looking...
 
Old 07-06-2003, 01:44 AM   #7
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
i got it

http://www.voy.com/41165/1/2324.html

RH instructions are at that link...
ifconfig can set it, we Slackers will be patching rc.inet1

update: verified it works, added this to rc.inet1, right after first "if" block in eth0 section, immediately before /sbin/dhcpcd command:

Code:
ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX    # desired MAC
comes right up.

Last edited by xcon; 07-06-2003 at 02:11 AM.
 
  


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
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
How to know MAC address ( Machine address)?? vanhelsing Linux - Networking 3 08-12-2004 09:30 AM

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

All times are GMT -5. The time now is 12:00 AM.

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