Kamaradovi shorela deska s int.sitovkou a potreboval by zjistit MAC adresu te sitovky...
Jde to nalezt nekde v registrech?
Ted uz jede na jine desce.
Dik za info.
Printable View
Kamaradovi shorela deska s int.sitovkou a potreboval by zjistit MAC adresu te sitovky...
Jde to nalezt nekde v registrech?
Ted uz jede na jine desce.
Dik za info.
V registrech netuším, ale 100% je to nalepený na té desce. Nevím ale jestli to tohle pomůže...
Windows 2000/XP/Vista: The Hard Way alebo tu
In XP you can use the regedit to edit the registry from a GUI or the reg command to edit it from the console, I'll be using regedit. Information on all your NICs can be found the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\ Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\ . Under this key you will find a bunch of sub keys labeled as 0000, 00001, 0002 and so forth. We can assume any MAC address we want by finding the key that controls the NIC we want to change, putting in a string value called "NetworkAddress" and setting it to the MAC address we want to use formatted as a twelve digit hex number (example: 000000000001). To find out which key is which we can search through them for the value "DriverDesc" until we find the one that matches the NIC we wish to alter. After you set "NetworkAddress" to the address you want just restart the NIC by disabling it then enabling it (or in the case of PCMCIA cards, just eject and reinsert). You can confirm the MAC address change by using the "getmac" or "ipconfig /all" commands.
toto sem chtel postnout take, ale nebyl sem si jist, jestli tam ten key zustane, kdyz sitovka chcipne, tudiz neni v systemu detekovana.
HKEY_LOCAL_MACHINE
\SYSTEM
\CurrentControlSet
\Control
\Class
\{4D36E972-E325-11CE-BFC1-08002BE10318}
Zjištění MAC adresy staré síťovky je prakticky nemožné. V registrech se tato hodnota neuchovává, jedině že by ji někdo ručně měnil. Pak by byla uvedena právě v položce "NetworkAddress". Jinak se ale načítá ovladačem přímo z HW, takže není nutné ji někam zaznamenávat.
Pokud zjišťuješ adresu kvůli providerovi, vykašlal bych se na to a nahlásil mu MAC síťovky nové.
/etc/udev/rules.d/70-persistent-net.rules
a nebyla by napr. v logu na druhe strane - napr. v logu dhcp serveru ?
Pokud je logovan.
Ale tady to vypada na blokaci mac adres a z postupu reseni to nevypada, ze by chtel jednat s poskytovatelem, coz by asi v tomto pripade musel.
Proto by bylo urcite jednodussi nahlasit novou mac.
Ono ale dost záleží proč a k jakému účelu je MAC potřeba.
Pokud skolabovala deska a potřebuje původní MAC prostě proto, že stará nejde zapnout (pořád se bavíme o MB ;) ), je obvykle nejjednodušší mrknout na tu původní. Jestli ovšem neskončila už třeba v popelnici... Provider taky nemusí být jediný důvod. Někdy se podle MAC adres nastavuje třeba firewall, apod. Takže dokud to tady Mikeee neřekne, připadnou mi další debaty zbytečné :)
Vzhledem k tomu, že se Mikeee ještě nevyjádřil, tak bych byl klidný...