Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: James Douglas on October 16, 2002, 03:46:16 AM
-
Author: James Douglas (jdouglas_AT_empowwwer.com)
Date: 10-14-02 22:16
hey all. great product and even more amazing community!
My probem is that my ISP uses MAC based security and my current router allows for mac address cloning so its a non issue currently. Im ready to switch over to e-smith and the command:
ifconfig eth1 hw XX:XX:XX:XX:XX:XX
works correctly to change the address but when I reboot e-smith box my external interface is back to the standard hw address. How can I make this change permanent ?
-
My ISP uses MAC Authentication as well.
What I have done, is registered the MAC of that card with the ISP through the Web interface, before switching over and it works great.
The ISP we use, by default allows to MACS to be registered as well.
Don't know if thathelps, but it works here in Albert on Telus.
-
James Douglas wrote:
>
> Author: James Douglas (jdouglas_AT_empowwwer.com)
> Date: 10-14-02 22:16
>
> hey all. great product and even more amazing community!
>
> My probem is that my ISP uses MAC based security and my
> current router allows for mac address cloning so its a non
> issue currently. Im ready to switch over to e-smith and the
> command:
>
> ifconfig eth1 hw XX:XX:XX:XX:XX:XX
>
> works correctly to change the address but when I reboot
> e-smith box my external interface is back to the standard hw
> address. How can I make this change permanent ?
You could try....
make a file called:
/etc/e-smith/templates/etc/sysconfig/network-scripts/ifcfg-eth1/40address
and in that file add:
MACADDR=XX:XX:XX:XX:XX:XX
obviously replace XX:XX:XX:XX:XX:XX with the mac address you wish to use.
then expand the template
/sbin/e-smith/expand-template /etc/sysconfig/network-scripts/ifcfg-eth1
And restart your networking
--
Damien
-
Damien thx again for your assistance, worked perfectly for me.
Heres his suggestion:
echo "MACADDR=XX:XX:XX:XX:XX:XX" > /etc/e-smith/templates/etc/sysconfig/network-scripts/ifcfg-eth1/40address
then expand the template
/sbin/e-smith/expand-template /etc/sysconfig/network-scripts/ifcfg-eth1
And restart your networking
-
Try putting your line at the end of
/etc/rc.d/rc.local
this is the equivalent of the win autoexec.bat file.
(BTW I'm no guru!!)