LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot assign a MAC address (https://www.linuxquestions.org/questions/linux-networking-3/cannot-assign-a-mac-address-529951/)

hicksy 02-17-2007 12:28 PM

Cannot assign a MAC address
 
I have got a linksys WMP54G and I am trying to enable it using the command line.

I get an error message whenever I use

iwconfig wlan0 ap [my wireless card's MAC]

I have to do this on another machine as, obviously I have no internet access via linux. So appologies for the lack of copied and pasted terminal dialogues.

Any helpful suggestions please?

Has anyone else used this card with another distribution?

MS3FGX 02-17-2007 02:29 PM

That doesn't assign a MAC to the card in your machine, that forces the card to authenticate with an access point with the given MAC. Is that what you want to do?

hicksy 02-18-2007 12:56 PM

I'm a little backward with the terminology. Is the "access point" the network card in the machine, or the MAC of the router I am trying to connect to?

wildar 02-18-2007 01:05 PM

Quote:

Originally Posted by hicksy
I'm a little backward with the terminology. Is the "access point" the network card in the machine, or the MAC of the router I am trying to connect to?

"access point" is what you are trying to connect to with your wireless device. In your case, the wireless router. Defining the MAC address is useful in environments where there are multiple wireless access points.

MS3FGX 02-18-2007 04:03 PM

To change the MAC of the card in your machine, you would do something like this:

Code:

sudo ifconfig wlan0 hw ether 00:0A:E6:D0:17:93
Replacing the MAC with whatever you wanted. Keep in mind that not all drivers support changing the MAC, however.

hicksy 02-19-2007 01:37 PM

OK, thankyou very much for the replies. I have tried again, I have got as far as getting my card to detect some wireless networks when I scan, but I cannot get any further than that.

If anyone is successfully using a wmp54g with another distro, let me know, otherwise I'm going to have to leave this project alone for a little while.


All times are GMT -5. The time now is 12:18 PM.