LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-14-2004, 10:11 PM   #1
Agna
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
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I found this program... http://www.alobbs.com/modules.php?op...acc&file=index
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
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

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
Electro
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.
 
  


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 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


All times are GMT -5. The time now is 06:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration