LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Removing spoofed MAC (https://www.linuxquestions.org/questions/linux-networking-3/removing-spoofed-mac-476307/)

cooljimwhy 08-22-2006 01:46 PM

Removing spoofed MAC
 
I feel pretty dumb asking this question, but I tried searching and nothing was found. Anyway, once I've spoofed my MAC via
Code:

ifconfig eth0 hw ether xxxxxxxxxxxx
but now I'd like to 'remove' the spoof and get the address back to factory. Sure I could look on the card itself, but I'm sure there's an easier way.

Thanks so much

-Jim

KenJackson 08-22-2006 10:04 PM

According to the wiki:
Quote:

This just changes it in the software drivers, not the actual MAC address on the hardware (so it has to be done after every boot).
Have you rebooted since you spoofed?

Alternately, do you have a line in /etc/sysconfig/network-scripts/ifcfg-eth0, or equivalent like this. It may be spoofing after every reboot--so delete it if it's there.

HWADDR=xx:xx:xx:xx:xx:xx


All times are GMT -5. The time now is 08:38 PM.