Koozali.org formerly Contribs.org

C'MON GURUS

James Douglas

C'MON GURUS
« 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 ?

Dan Williams

Re: C'MON GURUS
« Reply #1 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.

Damien Curtain

Specified MAC address across reboots
« Reply #2 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

James Douglas

Re: Specified MAC address across reboots
« Reply #3 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

sam

Re: C'MON GURUS
« Reply #4 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!!)