Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jan on January 20, 2002, 03:52:13 PM
-
How can I fake the MAC adress on the external interface ? My ISP needs this adress for access control. I want to try the e-smith system but do not want to swap my ethernet cards. On my old router (Freesco) I can use
ifconfig $INTNAME0 hw ether 00:80:AD:83:8A:55
ifconfig $INTNAME0 up
but in e-smith it seems one has to make changes in config files but where ??.
Thanks
Jan
-
This is so weird, I was just about to ask exactly the same question....
A friend of mine has taken my advice and moved from SmoothWall to E-Smith and used to have:
ifconfig -i eth2 hw ether 00e09872e436
in /etc/rc.d/rc.netaddress.up just before it sent out it's DHCP request but I'm damned if I can figure out where to put it on the E-Smith...
Any help on this would be greatly appreciated...
-
Ummm...I been doing some digging and I think it needs to go somewhere in /sbin/ifup before it sets up the interface, still not sure exactly where, though...
G.
-
in /etc/sysconfig/network-scripts/ifcfg-eth?
MACADDR=blabla
Don't forget to set in your templates.
-
Cheers chap, yer a star :)
/etc/e-smith/templates/etc/sysconfig/network-scripts/ifcfg-/template-begin
seems to be the right place, pop it in the line before the first curly bracket and Bob's your mother's brother, as they say...
Gary
-
Thanks ! Gonna try this soon. Now my baby boy born monday needs my attention !
see ya soon in this forum
-
Congratulations to you and your partner, Jan! I hope your child is healthy and well...
And good luck with sorting out the MAC address...
Gary