hello my router is UPVEL UR-344AN4G and has SSH access and installed on router BusyBox so i connected actually the lan and wan mac address is stored on etc/mac.conf here how config looks
WAN_MAC=F8:23:C0:24:21:23
LAN_MAC=F8:23:C0:24:21:23
so i modified LAN_MAC it but after router reboot its return back to its default i looked up dir usr/script/ether_mac.sh i believe this is file that returns back to its default here code from it
CONFFILE=/etc/mac.conf
if [ -f $CONFFILE ]; then
chmod 777 $CONFFILE
. $CONFFILE
fi
if [ "$LAN_MAC" != "" ]; then
/sbin/ifconfig br0 hw ether $LAN_MAC
fi
tried to modify this with command echo "" > ether_mac.sh but returns
cannot create ether_mac.sh: Read-only file system
WAN_MAC=F8:23:C0:24:21:23
LAN_MAC=F8:23:C0:24:21:23
so i modified LAN_MAC it but after router reboot its return back to its default i looked up dir usr/script/ether_mac.sh i believe this is file that returns back to its default here code from it
CONFFILE=/etc/mac.conf
if [ -f $CONFFILE ]; then
chmod 777 $CONFFILE
. $CONFFILE
fi
if [ "$LAN_MAC" != "" ]; then
/sbin/ifconfig br0 hw ether $LAN_MAC
fi
tried to modify this with command echo "" > ether_mac.sh but returns
cannot create ether_mac.sh: Read-only file system