Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What's your Airport Card Country code?

I live in Brazil, and bought my 17" MBP from Canada in June, and my airport Country Code right now is ZW (Zimbabwe). When i'm at college, it jumps to US. And at home, it changes to ZW. This is a problem as in some countries some frequencies are now allowed. I have the 10.6.1 SL.

It's seems that either I have a faulty Airport Card, or Snow Leopard changes the card locale depending which routers are available for connection.

So, I wanted to know if anyone is seeing somethig weird as I am in the Airport Country Code.

Here's what I see in my info. The problem is that I can't use Wireless N in this country code.

Software Versions:
Menu Extra: 6.0 (600.22)
configd plug-in: 6.0 (600.27)
System Profiler: 6.0 (600.9)
Network Preference: 6.0 (600.22)
AirPort Utility: 5.4.2 (542.23)
IO80211 Family: 3.0 (300.20)
Interfaces:
en1:
Card Type: AirPort Extreme (0x14E4, 0x8D)
Firmware Version: Broadcom BCM43xx 1.0 (5.10.91.19)
Locale: FCC
Country Code: ZW
Supported PHY Modes: 802.11 a/b/g
Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake On Wireless: Supported
Status: Connected


To check this out, it's under

About This Mac/

More Info.../

Airport/

17" 2.88 Ghz MBP 5.2 500GB 5.4K Hitachi, Mac OS X (10.5.7)

Posted on Sep 30, 2009 6:25 PM

Reply
32 replies

Oct 26, 2009 9:01 AM in response to andre.mengatti

Hey there. Definitely something up with Snow Leopard, country codes and airport wireless N 5GHz. I have 3 macs and 3 airport routers across the house, which have been working for years without issue wirelessly. Since the upgrade to Snow Leopard, my Macbook, and only my Macbook started not being able to connect or see the 5GHz network. My Macbook Pro and Mac Pro have no issues connecting or seeing the 5GHz network. It's not related to weak signal as I've tested the Macbook sitting next to the Airport Extreme. Interestingly there was no problem with 2.4GHz.

So I thought it might have been a coincidental breakdown of the 5GHz N antenna on the airport card in the Macbook post Snow Leopard upgrade.

Then I noticed a few posts on the net about Country Codes, Airport and Snow Leopard. This has never been an issue for me before. The Country Code is set at FR on my Macbook which is incorrect. Apparently this is set by Snow Leopard in response to routers available.

As you are aware some channels are not usable in some countries.

So I changed my Airport Extreme channel from Automatic to a fixed channel (36), and instantly the problem has been solved.

So something has changed with Snow Leopard, Country Codes and Airport, which only affects some Macs. Ugh

At least my problem was solved, hope this helps

Oct 26, 2009 2:06 PM in response to gasboy

For what it's worth, both our Macbooks here in Madrid (Spain) have the country code FR (France?). I don't know how it was before upgrading to 10.6.1...

The older black one has occasional loss of WiFi but seems to recover if I disconnect/reconnect the airport. I put in a new location which helped to start with. It is now back on auto.

My new MBP has no problem.

We have a Belkin N router. It seems that all our neighbours are still on g and use different channels. We are also the only ones using WPA2 personal.

Does this information help?

One other thing, the computer is unable to set the Time Zone automatically in Date/Time preferences. I don't know why not...

Message was edited by: putnik

Message was edited by: putnik

Oct 26, 2009 8:14 PM in response to andre.mengatti

andre.mengatti wrote:
It's seems that either I have a faulty Airport Card, or Snow Leopard changes the card locale depending which routers are available for connection.


That's exactly what it does.

When an AirPort interface is turned on, it listens for 802.11d beacon packets, and those contain what is called a regulatory domain field.

The AirPort driver uses the first valid regdomain setting it sees.

So for example Andre's issue is that there's someone (illegally) using a router intended for sale in Zimbabwe in his neighborhood.

Likewise, at college, someone is improperly using a US router.

Unfortunately, there's not a really good way around this.

Oct 27, 2009 12:45 AM in response to Dogcow-Moof

I looked at my router settings and cannot see any "regulatory domain field" to check if the incorrect country code is in my router or if the computer is latching onto a neighbour's.

Is there a way to tell what router the beacon latches on to (they are all listed in the System Profiler)?
Does it relate to the lack of ability to find the correct time zone in the Date/Time preferences?
Should I report this as an error to Apple or Belkin?
Is it important?

Message was edited by: putnik

Oct 27, 2009 6:43 AM in response to Dogcow-Moof

Thank you for your reply

Sorry I'm quite new to Macs. Can you tell me how to look at the "dmesg buffer".

It occurs to me that I bought the Belkin N1 router at Carrefour in Madrid which is a huge supermarket chain based in France. It may well be that it started life the other side of the Pyrenees.

It seems important to know if Belkin need to change my router country code or if Apple needs to get my computer to latch onto my router and not my neighbour's.

Could this affect WiFi connectivity?

You did not answer my question about the effect of this on the computer's ability to automatically change the Time Zone in Date/Time Preferences.

Thanks for any clarification.

Message was edited by: putnik

Oct 28, 2009 1:14 AM in response to Dogcow-Moof

Both my computers are normally showing they are in France (FR).

I still do not know how to check my own router's Regulatory Domain directly from the 802.11d log (mesg buffer) so I turned it off to test other routers in the neighbourhood.

I then joined several other of the many insecure networks visible at my house. Each time, the Country Code changed to Spain (ES). This would indicate to me that I do not have a "Dominant French Neighbour" and that the error is in my own router.

In this case I do not have a problem with Apple but will contact Belkin instead.

Oct 29, 2009 5:45 PM in response to putnik

The thing about this is that it would be rather difficult for Mac OS X to get this "wrong" and just happen to say, set FR rather than AU.

In particular, 802.11d beacon packets contain the country code information as a three-letter character sequence containing the ISO 3166-alpha2 code element denoting the router's country of authorized operation followed by either a space, the letter "I" for indoor environments, or the letter "O" for outdoor environments.

The AirPort code is closed source, so I can't say for sure what it's doing, but you'd have to code the driver in a rather interesting way to get "FR" from the string "AU," or perhaps "ZW" from "BR"… 😟

Oct 30, 2009 1:32 AM in response to Dogcow-Moof

So in Brazil, Australia and Spain we all have immigrant neighbours with powerful routers or have bought our's from a dodgy street trader...

This is only a wireless n problem and I would guess a coding error is returning incorrect strings to the computer or an absence of information is causing it to default to a particular value.

Since it is happening all around the world I don't think it is a router problem either unless they have something in common (like maybe a batch of routers were coded for France but subsequently shipped to Spain and Australia etc). But then it is happening on many different makes of router.

This still seems to be an Apple problem.

What's your Airport Card Country code?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.