LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-11-2006, 04:05 PM   #1
wason21cn
LQ Newbie
 
Registered: Sep 2006
Location: Germany
Posts: 2

Rep: Reputation: 0
change mac address in kubuntu


I would like to change the mac address of eth0 with the origininal mac address 00:00:00:00:00:00 by

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

after that, run ifconfig -a and display the mac address had changed, but when access internet, alway s with feedback unkown host. Any one know this problems? When ifconfig eth0 down, it is possible change the DNS or something else?
 
Old 09-11-2006, 05:29 PM   #2
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
I'm not sure why you want to change the MAC address of the interface, or what for. But I think you are saying that you can't connect to any website and you get the error "unknown host".

DNS servers are stored in /etc/resolv.conf in the format "nameserver [IP Address]", eg
Code:
nameserver 123.123.123.123
nameserver 213.213.213.213
nameserver 231.231.231.231
you can change them anytime, whether the interface is down or not.
 
Old 09-11-2006, 06:52 PM   #3
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
You can't change the MAC address of a device as it is permanent by design, but you can "spoof" the MAC address reported by the operative system, according to this article at Wikipedia
 
Old 09-12-2006, 12:23 AM   #4
wason21cn
LQ Newbie
 
Registered: Sep 2006
Location: Germany
Posts: 2

Original Poster
Rep: Reputation: 0
clear, thanks guys.
 
  


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 change MAC address cain_eve Linux - Software 11 02-05-2009 01:52 PM
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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:57 PM.

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
Open Source Consulting | Domain Registration