Results 1 to 3 of 3

Thread: [SOLVED] Changing MAC-address Question

  1. #1
    Join Date
    Jul 2006
    Location
    25% on the net
    Beans
    63
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    [SOLVED] Changing MAC-address Question

    Hi

    It's a little embarrassing asking this question after working almost 2 years with Linux but if I change my MAC-address in a terminal using the command: "ifconfig [interface name] hw ether [new MAC address]"

    Will this change my MAC-address permanently or will it be back the old one as soon as I reboot ubuntu?

  2. #2
    Join Date
    Nov 2005
    Beans
    209

    Re: Changing MAC-address Question

    Your command will not be permanent.
    To tackle this I used macchanger (it is in the repositories). You can start it via /etc/rc.local. E.g you can put the command below in /etc/rc.local (just above exit), make the file executable, it will run for all users on boot.

    macchanger -m 00:00:00:00:00:00 wlan0

    The 'zeros' represent your mac address, wlan0 is in this case a wireless card.

  3. #3
    Join Date
    Jul 2006
    Location
    25% on the net
    Beans
    63
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Changing MAC-address Question

    Thanks, for the information

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •