EFW Support

Support => General Support => Topic started by: nva on Sunday 11 May 2008, 01:31:46 am



Title: Spoof MAC(red interface)+DHCP+PPPoe
Post by: nva on Sunday 11 May 2008, 01:31:46 am
My ISP gives me two ip address. One via dhcp for access to the LAN. The second through PPPoe for access to the Internet. And I want to change before this mac address on the network card. Help me please up them.

In other systems based on red hat need i edit script /etc/syscontrol/networks/ifcfg-eth? But here it is not  :(


Title: Re: Spoof MAC(red interface)+DHCP+PPPoe
Post by: sunblast on Monday 12 May 2008, 03:03:06 am
Check out /etc/ppp. You will see two scripts named ip-up and ip-down. These are called by pppd when it changes its state. Also ppp calls on two other scripts ip-pre-up and ip-pre-down. So just create a script in /etc/ppp with the name ip-pre-up that changes your mac address and you should be set. don't forget to make the script executable.