LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2007, 12:28 PM   #1
hicksy
LQ Newbie
 
Registered: Feb 2007
Location: Sheffield, United Kingdom
Distribution: Ubuntu 10.10
Posts: 7

Rep: Reputation: 0
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?
 
Old 02-17-2007, 02:29 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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?
 
Old 02-18-2007, 12:56 PM   #3
hicksy
LQ Newbie
 
Registered: Feb 2007
Location: Sheffield, United Kingdom
Distribution: Ubuntu 10.10
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 02-18-2007, 01:05 PM   #4
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
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.
 
Old 02-18-2007, 04:03 PM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 02-19-2007, 01:37 PM   #6
hicksy
LQ Newbie
 
Registered: Feb 2007
Location: Sheffield, United Kingdom
Distribution: Ubuntu 10.10
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to assign dhcp address? hank43 Linux - Networking 1 09-10-2006 02:46 AM
dhcpcd wlan0 doesn't assign ip address dnaEnhanced Slackware 1 02-01-2006 02:34 PM
Configure DHCP server to assign IP using mac addr mayaLinux Linux - Networking 4 12-07-2005 05:00 PM
Can not assign IP address jtir Solaris / OpenSolaris 1 09-28-2005 03:37 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration