[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: change eth0 mac address



#/bin/sh
ifconfig eth0 down
ifconfig eth0 hw ether <new-mac-address> up
route add default gw <your-gw>

----- Original Message ----- From: "Wladimir Krawtschunowski" <wowan@tscheburator.homeip.net>
To: <debian-russian@lists.debian.org>
Sent: Saturday, February 12, 2005 3:51 PM
Subject: Re: change eth0 mac address


Igors Rieksts wrote:
Kak mozno avtomatiteski pomenjatj mac adres dlja setegogo adaptera pri zagruzki sistemi
 v ruchnuju probival:
ifconfig eth0 down
ifconfig eth0 hw ether <mac-address> up
 no sbivalisj setevije nastroiki ip, imeno gateway

А скопировать например это всё в какой-нибудь скрипт и зделать на него
линк в /etc/rcS.d с номером меньше чем networking ?


--
To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Reply to: