Author Topic: COuld anyone tell how to manually change MAC address?  (Read 3437 times)

Anonymous

  • Guest
COuld anyone tell how to manually change MAC address?
« on: March 15, 2004, 03:49:48 pm »
how to change Mac address through OZ 3.3.6pre1 console? How (ie show command lines)? thanks

holck

  • Newbie
  • *
  • Posts: 34
    • View Profile
COuld anyone tell how to manually change MAC address?
« Reply #1 on: March 15, 2004, 04:29:21 pm »
As far as I know, the Mac address is hard coded into the network adapter, each adapter having a globally unique address.
SL760, tkcROM, ASUS WiFi

Anonymous

  • Guest
COuld anyone tell how to manually change MAC address?
« Reply #2 on: March 15, 2004, 04:43:28 pm »
Hmmm... That\'s an odd request.

What need would anyone have to change their mac addr?

grey_moon

  • Full Member
  • ***
  • Posts: 100
    • View Profile
COuld anyone tell how to manually change MAC address?
« Reply #3 on: March 15, 2004, 04:55:54 pm »
no idea on a z, but check out how heartbeat works that will prbly give u a clue
and why would u use it? well it\'ll allow u to bypass mac filtering on wifi access points
SL_5600 with Sharp ROM 1.32 - Windows XP Pro
AmbiCom 802.11b CF WL1100C, Pretec CompactBT Bluetooth CF, Hagiwara 256MB SD Card
Expansys Black Chairmans Case, ShirtPocket Battery Extender, ShirtPocket Retractable USB Sync/Charger

catachresis

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://
COuld anyone tell how to manually change MAC address?
« Reply #4 on: March 15, 2004, 05:02:49 pm »
Note: some newer motherboards allow you to assign MAC address manually in bios.

brycenut

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • http://
COuld anyone tell how to manually change MAC address?
« Reply #5 on: March 15, 2004, 05:09:07 pm »
There\'s other valid reasons also, such as when MAC addresses conflict, despite the fact that they\'re supposed to be globally unique (yes, I\'ve seen a batch with all the same MAC).  Also, if you\'re on a wifi access point that you have legit access to, but have changed your card, it\'s sometimes easier to change your MAC than jump through the hoops of re-registering.

Anyway, to do it, you can either use the ifconfig command, or macchanger.  Macchanger is available as a Debian ARM package, and does work on the Z. I think I had to manually untar and install it, but I\'m not sure anymore.

Or, even easier, you can use the following.
Code: [Select]
ifconfig eth0 hw ether DE:AD:BE:EF:00:00 substituting for the appropriate interface, and the desired MAC address, in hexadecimal.

Both ways of changing are software-based, and won\'t persist over a reboot or removal/insertion cycle.  In other words, you aren\'t changing the hard-coded MAC, more like \"spoofing\" the MAC.

(For Windows users, there\'s a program called SMAC that will do the same thing.)

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
COuld anyone tell how to manually change MAC address?
« Reply #6 on: March 15, 2004, 05:14:00 pm »
In Linux, the ifconfig command is typically used for changing Mac address, although I don\'t know if the version supplied with OZ supports it.  From a write-up on Wellenreiter, I understand that it calls ifconfig for changing the Mac addr (to avoid detection), so I suspect that it works.

For the other two posters above... Yes, the Mac address is normally hardcoded into the NIC, but many cards, especially 802.11 ones, allow it to be changed on-the-fly.  There are a couple of reasons that a user might wish to do so:  obviously, one is to avoid activity being traced back to the real card, or to gain access to a network that is otherwise Mac address restricted.  However, another common and legitimate reason is if a modem, such as a DSL or Cable box, is tied to a particular Mac address.  You can temporarily assign the Mac address to another device to allow that device to connect through your existing Cable or DSL modem.

EDIT: I hate it when someone else posts an answer while I\'m busy composing mine  :wink:  Oh, well... Since I\'ve already started my reply, I\'ll go ahead & post it anyway.