Greetings, I haven't been using OpenWRT/Kamikaze for very long, but I'm not a linux newbie. I'm having a hard time figuring the right way to change the MAC address of WAN on my WRT-54GL.
Most of the documentation out there must pertain to WhiteRussian because nothing seems to apply anymore. Most docs say to use an nvram parameter wan_hwaddr to set it, but it seems to have no effect.
ifconfig shows this:
br-lan Link encap:Ethernet HWaddr 00:1D:7E:DC:31:44
inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5257 (5.1 KiB) TX bytes:12708 (12.4 KiB)
eth0 Link encap:Ethernet HWaddr 00:1D:7E:DC:31:44
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3383 errors:0 dropped:0 overruns:0 frame:0
TX packets:3894 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361769 (353.2 KiB) TX bytes:685028 (668.9 KiB)
Interrupt:4
eth0.0 Link encap:Ethernet HWaddr 00:1D:7E:DC:31:44
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3395 errors:0 dropped:0 overruns:0 frame:0
TX packets:3500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:301917 (294.8 KiB) TX bytes:535915 (523.3 KiB)
eth0.1 Link encap:Ethernet HWaddr 00:1D:7E:DC:31:44
inet addr:10.10.10.10 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:405 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:133245 (130.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wl0 Link encap:Ethernet HWaddr 00:1D:7E:DC:31:46
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:195
TX packets:0 errors:119 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:2 Base address:0x5000
I have set 10.10.10.10 as the WAN address static for now, for testing. The webif set the address on eth0.1 - isn't that a virtual interface? The MAC is the same as all the others. Do I need to do something to specify the correct WAN interface? What is it called? All of the documentation I've seen online shows vlan0 as being wan or something, and that interface does not exist.
Any points in the right direction would be greatly appreciated.