Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-13-2008, 04:42 PM
|
#1
|
Member
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396
Rep:
|
ath0 mac address wrong
Hi all, when I boot my computer my wifi card has the correct mac address:
ifconfig | grep -a HW
ath0 Link encap:Ethernet HWaddr 00:15:AF:67:96:24
wifi0 Link encap:UNSPEC HWaddr 00-15-AF-67-96-24-00-00-00-00-00-00-00-00-00-00
Now if I destroy and put ath0 in monitor mode the following happens:
ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode monitor
ifconfig | grep -a HW
ath0 Link encap:UNSPEC HWaddr 06-15-AF-67-96-24-40-E2-00-00-00-00-00-00-00-00
wifi0 Link encap:UNSPEC HWaddr 00-15-AF-67-96-24-00-00-00-00-00-00-00-00-00-00
In managed mode it shows this:
ath0 Link encap:Ethernet HWaddr 06:15:AF:67:96:24
wifi0 Link encap:UNSPEC HWaddr 00-15-AF-67-96-24-00-00-00-00-00-00-00-00-00-00
Notice the weird unholyness, basically it works at boot time and the addy is correct then when I make a change, the mac address is entirely different!
Any ideas on fixing this? I've tried macchanger (works until I reboot) and ifconfig ath0 hw ether blah, also works till I reboot. It's a real pain as I can't connect to anything.
|
|
|
04-15-2008, 03:39 AM
|
#2
|
Member
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396
Original Poster
Rep:
|
Got it...
It needed the -bssid flag at the end of wlanconfig, weird. I'm certain I havent always had to put that :S.
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|