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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-25-2003, 12:07 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 9
Rep:
|
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.
|
|
|
06-25-2003, 12:13 AM
|
#2
|
LQ Newbie
Registered: Jun 2003
Distribution: Knoppix 3.2
Posts: 6
Rep:
|
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-25-2003 at 12:15 AM.
|
|
|
06-25-2003, 12:15 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
06-25-2003, 02:00 AM
|
#4
|
Member
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158
Rep:
|
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.
|
|
|
06-29-2003, 01:13 AM
|
#5
|
LQ Newbie
Registered: Jun 2003
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
07-06-2003, 02:25 AM
|
#6
|
Member
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181
Rep:
|
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...
|
|
|
07-06-2003, 02:44 AM
|
#7
|
Member
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181
Rep:
|
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 03:11 AM.
|
|
|
All times are GMT -5. The time now is 10:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|