Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10135 closed defect (wontfix)

Wifi macaddr doesn't work on Compex WP54AG

Reported by: awm1klimes8vladimir@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Backfire 10.03.1 RC5
Keywords: macaddr adm5120 Cc:


I use Compex WP54AG board (ADM5120 LE) which works great with latest Backfire RC5. However, the option macaddr in wifi-iface part of /etc/config/wireless file doesn't work for me - original MAC address of wireless card doesn't change and the log doesn't contain any error message. My device has Atheros-based Compex WLM54AG miniPCI card and uses Madwifi driver.

I studied Madwifi wiki and created a short script which solves my problem (changes the MAC address of wifi interface):

# Changes MAC address of wifi card with Madwifi driver. Uses macchanger and wireless-tools.

WLANMODE="sta" #ap or sta

wlanconfig ath0 destroy
ifconfig wifi0 down
macchanger --mac=$MAC wifi0
ifconfig wifi0 up
wlanconfig ath0 create wlandev wifi0 wlanmode $WLANMODE
/etc/init.d/network restart

Then I went through initscripts of wifi interface in my device and found out that I'm unable to find any error which causes non-functionality of macaddr option. Does anyone know how to fix it? I think there is only a small mistake in the code.

Thank you for your responses. awm

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by nbd

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

I will not put any more effort into fixing madwifi - with ath5k you can easily set the MAC address per virtual interface.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.