Hi everyone.

I am using a FreeWRT 1.0.2 installed on Linksys WRT54GL 1.0. I have got
a problem with changing MAC address of my WAN interface (eth0.1). I have
tried "ip link set address 00:11:22:33:44:55 eth0.1 up" but it seems not
to work properly. When I am adding to my /etc/network/interfaces file
something like this:
auto eth0.1
iface eth0.1 inet dhcp
  up ip link set eth0.1 down
  up ip link set address 00:11:22:33:44:55 eth0.1 up
  switch-ports 4 5
,it seems that MAC address is changed after sending DHCP request because
I am getting wrong IP address from my ISP. Using "ip link set..."
command with "pre-up" parameter does not work at all.
        When I am trying to restart interfaces manually by using "ifup
-a" command, the WAN interface gets valid IP but after a while it also
gets invalid IP (Yes! It has two IP's).

Any Ideas?

-- 
Przemyslaw Kujawski
[EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to