Как gравильно поменять MAC
Добавлено: 2008-04-25 20:24:19
делаю так в rc.local:
но кажется не самый удачный вариант. Как правильнее?
Код: Выделить всё
ifconfig rl1 link 00:80:48:EA:e7:bf Если проблема не решается сама, значит она неразрешима
https://forum.lissyara.su/
Код: Выделить всё
ifconfig rl1 link 00:80:48:EA:e7:bfКод: Выделить всё
ifconfig_r11="ether 00:80:48:EA:e7:bf"Код: Выделить всё
ifconfig_rl0_alias0="ether 00:04:23:E1:D2:0C"
ifconfig_rl0="inet 212.111.11.111 netmask 255.255.255.0" Код: Выделить всё
ifconfig [-L] [-k] [-m] [-n] interface [create] [address_family] [address
[dest_address]] [parameters]
ifconfig interface destroy
ifconfig -a [-L] [-d] [-m] [-u] [-v] [address_family]
ifconfig -l [-d] [-u] [address_family]
ifconfig [-L] [-d] [-k] [-m] [-u] [-v] [-C]
ifconfig [-g groupname]
Код: Выделить всё
# cat /etc/rc.conf
ifconfig_rl0="inet 212.111.11.111 netmask 255.255.255.0"
# cat /etc/start_if.rl0
ifconfig rl0 ether 00:04:23:e1:d2:0c