This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does this new version support MAC Address Cloaning

My cable provider captures the Mac Address of the PC attached to the Cable Modem. Does this new version support Mac address Cloaning?  


This thread was automatically locked due to age.
Parents
  • Try editing the /etc/itfhw.conf file and rebooting or do an ifdown, ifup on your external interface. I haven't tried this but give it a go. 
  • This worked for me in Astaro ver 3.2.  (I haven't tried it yet in 4.0  because my backup machine is a K6-2, & 4.0 won't work on it yet. But the two files to be modified look to be the same):

    1. Copy /etc/itfhw.conf to a new file in /etc (let's name it macaddr). In macaddr, use Joe to change the mac of eth1 (or the eth card of interest) to the spoof value you need.

    2. Use Joe to edit /sbin/init.d/init_nics (row numbers are approximate):

    a). after row 38 (which reads "ifconfig $nic down...."), and before the first "fi", insert: ifconfig eth1 hw ether XX:XX:XX:XX:XX:XX   (XX:XX:... is the spoof value you need).

    b). after what is now Row 44 (which reads /usr/local/bin/setitfhw.pl...."), and just above the ";;" which terminates (start), insert: cp /etc/macaddr /etc/itfhw.conf.

    NOTE: I'm not sure steps 1. and 2b). are really needed, but this was how I got the spoofed MAC to show up in Webadmin.  If you do these steps, I am pretty sure you will need to stop macaddr being copied to itfhw.conf before you make harware changes that will affect other settings in itfhw.conf, then reconstitute macaddr after the hardware changes are made.

    3. Reboot.  (You probably can reinitialize without rebooting, but not knowing for sure when /etc/itfhw.conf does whatever it does, I always reboot.)  
Reply
  • This worked for me in Astaro ver 3.2.  (I haven't tried it yet in 4.0  because my backup machine is a K6-2, & 4.0 won't work on it yet. But the two files to be modified look to be the same):

    1. Copy /etc/itfhw.conf to a new file in /etc (let's name it macaddr). In macaddr, use Joe to change the mac of eth1 (or the eth card of interest) to the spoof value you need.

    2. Use Joe to edit /sbin/init.d/init_nics (row numbers are approximate):

    a). after row 38 (which reads "ifconfig $nic down...."), and before the first "fi", insert: ifconfig eth1 hw ether XX:XX:XX:XX:XX:XX   (XX:XX:... is the spoof value you need).

    b). after what is now Row 44 (which reads /usr/local/bin/setitfhw.pl...."), and just above the ";;" which terminates (start), insert: cp /etc/macaddr /etc/itfhw.conf.

    NOTE: I'm not sure steps 1. and 2b). are really needed, but this was how I got the spoofed MAC to show up in Webadmin.  If you do these steps, I am pretty sure you will need to stop macaddr being copied to itfhw.conf before you make harware changes that will affect other settings in itfhw.conf, then reconstitute macaddr after the hardware changes are made.

    3. Reboot.  (You probably can reinitialize without rebooting, but not knowing for sure when /etc/itfhw.conf does whatever it does, I always reboot.)  
Children
No Data