Hi, anyone out there a Linux god?
I'm having some trouble with a set top box IPTV player.
I want to change the MAC address (not spoof it using ifconfig) and I have finally found a function which the player uses to get the address from the HW.
Here's an example of the function used:
And here's the function itself:
My question is - how do I modify the function to return a different MAC address? (I want to input my own).
I'm having some trouble with a set top box IPTV player.
I want to change the MAC address (not spoof it using ifconfig) and I have finally found a function which the player uses to get the address from the HW.
Here's an example of the function used:
MAC=`/home/default/rdir.cgi MACAddress`
And here's the function itself:
MACAddress)
#return STB MAC Address
fw_printenv ethaddr 2>/dev/null | awk ' { if( index($0,"ethaddr=") ) { p
;;
My question is - how do I modify the function to return a different MAC address? (I want to input my own).