PDA

View Full Version : How to set the mac of wireless



erik_bies
04-06-2004, 00:11
Hi.
Is it possible to set the mac of the wireless card?

I wanna use the wl500 in client mode. My provider only allowed 1 mac, and does not want to change it easilly

So what I want to do is to set the mac of the inside wireless card to the predefined mac so i can connect the wl500 instead of my pci wifi card

Oleg
04-06-2004, 09:18
Yes, this is possible. Everything is possible. What you need is to find the right place. :) Probably we should use MAC specified in the config page for WLAN interface instead of WAN.

erik_bies
04-06-2004, 16:46
Yes, this is possible. Everything is possible. What you need is to find the right place. :) Probably we should use MAC specified in the config page for WLAN interface instead of WAN.

:) I was trying to find a 'wl' command that could do this, but unfortunately there did not seem to be one.
a strings "wl" to see if there are any 'secret' commands to set this did not reveal anything...

Technik
04-06-2004, 19:15
:) I was trying to find a 'wl' command that could do this, but unfortunately there did not seem to be one.
a strings "wl" to see if there are any 'secret' commands to set this did not reveal anything...
Try this:
ifconfig eth2 down hw ether aa:bb:cc:dd:ee:ff
ifconfig eth2 up
:)

Oleg
04-06-2004, 19:28
:) I was trying to find a 'wl' command that could do this, but unfortunately there did not seem to be one.
a strings "wl" to see if there are any 'secret' commands to set this did not reveal anything...
Check the top lines of /init/rc.bcm4301

erik_bies
04-06-2004, 22:48
Thanks guys... that did the trick!

WWW
23-09-2005, 04:49
i dont quite understand the command

erik_bies
25-09-2005, 12:36
i dont quite understand the command


Well, go to the terminal screen of your box (with telnet) than execute:

ifconfig eth2 down hw ether aa:bb:cc:dd:ee:ff
ifconfig eth2 up

Replace aa:bb:cc:dd:ee:ff with the MAC address you desire. eth2 is the wireless network card inside your WL500g