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

Title: C'MON GURUS
Post 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 ?
Title: Re: C'MON GURUS
Post by: Dan Williams on October 16, 2002, 04:00:11 AM
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.
Title: Specified MAC address across reboots
Post by: Damien Curtain on October 16, 2002, 04:25:44 AM
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
Title: Re: Specified MAC address across reboots
Post by: James Douglas on October 16, 2002, 06:57:10 AM
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
Title: Re: C'MON GURUS
Post by: sam on October 19, 2002, 01:26:13 PM
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!!)