Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-14-2004, 10:11 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Suspended in Dusk
Distribution: ubuntu
Posts: 13

Rep: Reputation: 0
I need to change the MAC adress (can't connect to the net)

Ok I finally decide to install linux and everything wet well besides some partitions issues that I already solved. Now I'm trying to get the net to work.
My problem is that I while back I had serious problems with my connection and my ISP gave me a static (fixed) IP address, and that solved the problem. In the process the made me change the MAC address of the NIC on W XP, wich is very simple, and told me not to change it or my IP will change also. I found that If I change the MAC adress from NIC my ISP don't give me service. So now the wuastion is, how can I set up my NIc on linux? (Slackware 9.1) I tried netconfig and DHCP (wich should be the correct option) detects everything but since my MAC address is not the same my IP is diferent and I cant surf the web. I tryed to change it using ifconfigeth0 hw ether <MAC adress> but it doesn't work.
Any Idea? maybe I missed something? thanks in advance
Old 03-14-2004, 10:24 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well the proper way of doing it is :
ifconfig eth0 hw ether 00:aa:22:cc:33:bb

which apparently you say doesn't work ... is there an error ?
or does it just not change ? are you doing it as root ?
Old 03-14-2004, 10:49 PM   #3
Senior Member
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I found this program...
Never used it or heard of it before, so no recomendations on my behalf.

I found one site where someone said the command to be this: ifconfig eth0 hwaddr ether 00:11:22:33:44:55 . Slightly different, but who knows.
Old 03-14-2004, 10:56 PM   #4
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
From the ifconfig man page (under options):

hw class address
Set the hardware address of this interface, if the device driver sup-
ports this operation. The keyword must be followed by the name of the
hardware class and the printable ASCII equivalent of the hardware
address. Hardware classes currently supported include ether (Ethernet),
ax25 (AMPR AX.25), ARCnet and netrom (AMPR NET/ROM).

Hope this helps. From your post, there should be a space between ifconfig and eth0, but that's probably just a typo in the post?
Old 03-15-2004, 02:23 AM   #5
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can not change the MAC address on serveral NICs because they are hardcoded. Few NICs can change their MAC address with out any trouble. Try asking your NIC manufacture if they have an utility to change the MAC address for your NIC.

What Windows XP does it ignores the MAC address of your NIC and uses its software MAC address instead. LINUX does the same way but the module (driver) have to support faking hardware MAC address.

You can get a router that can change its MAC address then you do not have to worry about all the computers on your network.

The IP address is different than the MAC address. The IP address can be changed but the MAC address is the true identity of your computer on the network. Your ISP is incorrect stating that having a different MAX address changes IP address. What they should of said we use the MAC address to make sure that only subscribe owners can have access to our internet service.


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 obtain the MAC adress for your NIC Metablade Linux - Newbie 8 10-11-2005 02:44 PM
changing MAC adress? e1000 Linux - Wireless Networking 3 07-08-2004 06:13 PM
Is it possible to find an IP address from a MAC-adress? TheSpork Linux - Networking 1 06-30-2004 03:48 AM
Getting NIC MAC adress thar Linux - Networking 3 06-29-2004 12:38 AM
Mac and ip adress kater0000 Linux - Networking 15 04-05-2004 07:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration