On Thursday 17 February 2005 14:38, Adrian Coman wrote: > Salut, > > Vreau sa schimb MAC-ul automat la bootare pe un sistem fedora. > Am incercat ca in http://whoozoo.co.uk/mac-spoof-linux.htm , adica: > > (a.) not enable this interface at boot time, by changing the > "BOOTPROTO=" statement in my ifcfg-eth0 file to "*BOOTPROTO=none*" > > (b.) editing the file containing LAST commands to be executed at boot > time (/etc/rc.d/rc.local) to include the command to manually bring up > this interface (as included within the section above): > > *ifconfig eth0 hw ether 31:32:33:34:35:36 > * > > dar nu merge, adica ifconfig raporteaza tot mac-ul adevarat. > > Aveti idee de ce nu merge?
Vezi /usr/share/doc/initscripts-*/sysconfig.txt si scriptul /sbin/ifup. Daca ti-e lene sa citesti atunci seteaza direct in fisierul de configurare al interfetei " MACADDR='noul_mac' ". Adaugarea de comenzi prin /etc/rc.local tine de Slackware poate, in nici un caz nu e "the red hat way". Mihai -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ --- Detalii despre listele noastre de mail: http://www.lug.ro/
