Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 04-17-2005, 08:16 PM   #1
LQ Newbie
Registered: Jul 2004
Location: eth0
Distribution: Fedora Core 2 -> Ubuntu (Hoary)
Posts: 10

Rep: Reputation: 0
Change MAC address (hwaddr) permanently

I'd like to change my mac address more permanently than through

$ifconfig eth0 hwaddr ether AA:BB:CC:DD:EE:FF

In Fedora you had to tweak /etc/sysconfig/networks-scripts in order to do that... but where are they located in ubuntu? I have done a lot of googling but haven't come up with something useful yet.

Now I have to change this every time I log in, that I think shouldn't be necessary.

Also, the

$ifconfig eth0 down/up

doesn't work as supposed to. I have to go graphical in order to get the new hwaddr to work, or else I can't connect. What's this?
Old 04-18-2005, 01:17 PM   #2
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
See "man interfaces" ....specifically the "up" and "pre-up" options for /etc/network/interfaces


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 > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08: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