>Добрый день!
>при попытке сменить mac адрес:
>ifconfig rl0 hw ether 00:00:11:11:22:22
>выдает:
>ifconfig: hw: bad value
>если набрать ifconfig rl0 ether 00:00:11:11:22:22 (т.ею без hw)
>mac адрес меняется, но после перезагрузки восстанавливается обратно.
>Что-то я не так делаю, помогите советом. Спасибо. man ifconfig - где вы там видели hw?
The link-level (``link'') address is specified as a series of
colon-separated hex digits. This can be used to e.g. set a new
MAC address on an ethernet interface, though the mechanism used
is not ethernet-specific. If the interface is already up when
this option is used, it will be briefly brought down and then
brought back up again in order to ensure that the receive filter
in the underlying ethernet hardware is properly reprogrammed.
address_family
Specify the address family which affects interpretation of the
remaining parameters. Since an interface can receive transmis-
sions in differing protocols with different naming schemes, spec-
ifying the address family is recommended. The address or proto-
col families currently supported are ``inet'', ``inet6'',
``atalk'', ``ipx'', and ``link''. The default is ``inet''.
``ether'' and ``lladdr'' are synonyms for ``link''.
в остальном: man rc и man rc.conf
If the /etc/start_if.<interface> file is present, it is read
and executed by the sh(1) interpreter before configuring the
interface as specified in the ifconfig_<interface> and
ifconfig_<interface>_alias<n> variables.
итого два варианта, rc.conf:
ifconfig_em0="inet ... netmask ..."
ifconfig_em0_alias0="ether ..."
другой вариант скрипт /etc/start_if.em0 - вписывай туда все что хочешь.