Modify

Opened 4 years ago

Closed 4 years ago

#15794 closed defect (not_a_bug)

MAC-adresses are not changable for virtual interfaces with brcm wl-driver

Reported by: anonymous Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: VIRTUAL WLAN INTERFACE MAC ADDRESS BRCM WL Cc:

Description

On WRT610nV1 with actual trunk the macaddr is not changed or accepted for virtual interfaces. The command is completly ignored for main and virtual interfaces:

normaly the virtual interfaces must be +1 or minimum the same as the master-interface. In this case wl0 and wl1 is correct, wl0-1 become the mac from the second physical interface and only the wl1-1 become the next free mac-address!

The order in the config don´t change anything. manual settings are completly ignored!

root@develope:~# nvram show | grep 00:
et0macaddr=00:23:69:3B:2C:DE
pci/1/1/macaddr=00:23:69:3B:2C:F0
pci/1/2/macaddr=00:23:69:3B:2C:F1

root@develope:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:23:69:3B:2C:DE
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:76 errors:0 dropped:11 overruns:0 frame:0
          TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7100 (6.9 KiB)  TX bytes:7398 (7.2 KiB)

br-lan2   Link encap:Ethernet  HWaddr 00:23:69:3B:2C:F5
          inet addr:192.168.10.1  Bcast:192.168.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: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)

eth0      Link encap:Ethernet  HWaddr 00:23:69:3B:2C:DE
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7928 (7.7 KiB)  TX bytes:7740 (7.5 KiB)
          Interrupt:4

eth0.1    Link encap:Ethernet  HWaddr 00:23:69:3B:2C:DE
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6868 (6.7 KiB)  TX bytes:7686 (7.5 KiB)

eth0.5    Link encap:Ethernet  HWaddr 00:23:69:3B:2C:DE
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:672 errors:0 dropped:0 overruns:0 frame:0
          TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42308 (41.3 KiB)  TX bytes:42308 (41.3 KiB)

wl0       Link encap:Ethernet  HWaddr 00:23:69:3B:2C:F0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:518
          TX packets:0 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:6

wl0-1     Link encap:Ethernet  HWaddr 02:23:69:3B:2C:F1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:518
          TX packets:0 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl1       Link encap:Ethernet  HWaddr 00:23:69:3B:2C:F1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:6 Base address:0x4000

wl1-1     Link encap:Ethernet  HWaddr 02:23:69:3B:2C:F2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@develope:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          7fff.0023693b2cde       no              eth0.1
                                                        wl0
                                                        wl1
br-lan2         7fff.0023693b2cf5       no              eth0.5
                                                        wl0-1
                                                        wl1-1

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by nlh

I would suggest you try changing the mac address for pci/1/2 in nvram to

pci/1/2/macaddr=00:23:69:3C:2C:F0

With your current values, there will be overlap between the two radios, which might not be handled properly.

Changing the mac of the main interface works fine on E3000 (uci set wireless.wl0.macaddr=00:11:22:33:44:55; uci commit wireless). Setting the macaddr of virtual interfaces is not currently supported.

comment:2 Changed 4 years ago by anonymous

thx. it works now, was my mistake. have overseen the first digit on the mac adresses

comment:3 Changed 4 years ago by nbd

  • Resolution set to not_a_bug
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.