Próbowałem zmienić MAC w laptopie na ten ze starego komputera o tak:
Kod: Zaznacz cały
ifconfig eth1 down 
ifconfig eth1 hw ether NOWY_MAC	
ifconfig eth1 upKod: Zaznacz cały
iface eth0 inet dhcp
hwaddress ether NOWY_MACKod: Zaznacz cały
auto eth1
hwaddress ether NOWY_MACKod: Zaznacz cały
iface eth1 inet static
pre-up /etc/network/change_mac
address 10.0.0.12
netmask 255.0.0.0
gateway 10.0.0.1Kod: Zaznacz cały
#!/bin/sh
/sbin/ifconfig eth1 hw ether NOWY_MAC
exit 0lspci | grep Ethernet:
Kod: Zaznacz cały
06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet (rev 10)Kod: Zaznacz cały
nameserver 194.204.159.1
nameserver 194.204.152.34Kod: Zaznacz cały
eth1      Link encap:Ethernet  HWaddr STARY_LUB_NOWY_MAC
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:193 Base address:0xc400