Change Network Card Address (MAC)


Mengubah alamat MAC kartu jaringan. MAC = Media Access Control

Install di Debian

#apt-get install macchanger

Install di Ubuntu

sudo apt-get install macchanger

Cek MAC kartu jaringan dengan perintah

ifconfig

eth0 Link encap:Ethernet HWaddr 00:0C:29:A8:D0:FA
inet addr:172.20.22.35 Bcast:172.20.22.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fea8:d0fa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7690 errors:0 dropped:0 overruns:0 frame:0
TX packets:6399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4284579 (4.0 MiB) TX bytes:876317 (855.7 KiB)
Interrupt:177 Base address:0×1080

Dari info diatas mac nya 00:0C:29:A8:D0:FA

Trus jika ingin mengubahnya, matikan dulu service jaringan yang ada dengan perintah sebagai berikut

Debian

#/etc/init.d/networking stop

Ubuntu

sudo /etc/init.d/networking stop

Contoh penggunaannya kaya gini

macchanger [options] device

Contoh

# macchanger eth1

Current MAC: 00:09:a5:eb:23:f7 (Hansung Eletronic Industries Development Co., Ltd)
Faked MAC: 00:09:a5:eb:23:f8 (Hansung Eletronic Industries Development Co., Ltd)

# macchanger --endding eth1

Current MAC: 00:09:a5:eb:23:f8 (Hansung Eletronic Industries Development Co., Ltd)
Faked MAC: 00:09:a5:6f:31:23 (Hansung Eletronic Industries Development Co., Ltd)

# macchanger --another eth1

Current MAC: 00:09:a5:6f:31:23 (Hansung Eletronic Industries Development Co., Ltd)
Faked MAC: 00:11:18:5b:3a:1f (Blx Ic Design Corp., Ltd.)

# macchanger -A eth1

Current MAC: 00:06:5b:f6:f3:48 (Dell Computer Corp.)
Faked MAC: 00:0d:11:93:0c:4f (Dentsply – Gendex)

# macchanger -r eth1

Current MAC: 00:0d:11:93:0c:4f (Dentsply – Gendex)
Faked MAC: 3c:f1:89:f9:1f:ce (unknown)

# macchanger --mac=01:23:45:67:89:AB eth1

Current MAC: 00:40:96:43:87:65 [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 01:23:45:67:89:ab (unknown)

# ./macchanger --list=Cray

Misc MACs:
Num MAC Vendor
— — ——
065 – 00:00:7d – Cray Research Superservers,Inc
068 – 00:00:80 – Cray Communications (formerly Dowty Network Services)
317 – 00:40:a6 – Cray Research Inc.

Ini opsi yang disediakan oleh macchanger

-h, -help

Show summary of options.

-V, -version

Show version of program.

-e, -endding

Don’t change the vendor bytes.

-a, -another

Set random vendor MAC of the same kind.

-A Set random vendor MAC of any kind.

-r, -random

Untuk men-set MAC secara acak.

-l, -list[=keyword]

Menampilkan nama vendor

-m, --mac XX:XX:XX:XX:XX:XX

Untuk set MAC ke XX:XX:XX:XX:XX:XX

Setelah selesai, silahkan start lagi service jaringannya

Debian

#/etc/init.d/networking start

Ubuntu

sudo /etc/init.d/networking start

contoh lainnya seperti ini:

=

It is possible to change the mac address with the ifconfig command as well, but without most of the features of MAC changer.
Just write eg.: ifconfig eth1 hw ether 01:23:45:67:89:ab

=

And this is easier??? then:

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

=

It is also possible to set this in you /etc/network/interfaces, so it stays active even after reboot. I don’t see much point in this software?

/etc/network/interfaces
—–
auto eth0
iface eth0 inet dhcp
hwaddress ether 01:23:45:67:89:AB
—–

=

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: