Skip navigation

Lion WiFi Connection Problem

666705 Views 2,660 Replies Latest reply: Apr 17, 2014 2:11 PM by ElJefeGrande RSS
  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 14, 2013 1:39 PM (in response to gphonei)

    hi, few minutes ago the system had an unusual interruption, meaning that after few minutes it came back by itself. I'm already surprised because it happened after three days, even though there has been some slowdown. Anyway I stopped the log and quite a few files have been created. Tried to open some, but it seems that there are no applications to open them. I tried to choose open office to open the last log, but I couldn't understand anything about what it's written in there. What should I do and how to read it? can you  help me? thanks a lot

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 14, 2013 6:46 PM (in response to renzofromroma)

    You should get a file that is a compress "tar" archive.  If you double click it, it should create a directory/folder.  Inside of that folder you should be able to find a wifi log file which will have information about when/why the disconnection occured.  Let me know if that is not what you see.

  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 15, 2013 8:00 AM (in response to gphonei)

    here is the list of files in that folder:

    com.apple.IPConfiguration.bootp

    com.apple.IPConfiguration.DHCPv6

    opendirectoryd.log

    syslog.asl

    system.log.0.bz2

    system.log.1.bz2

    system.log.2.bz2

    system.log.3.bz2

    system.log.4.bz2

    system.log.5.bz2

    system.log.6.bz2

    system.log.7.bz2

    It seems to me that the wi-fi log are those .....bz2 and they are in reverse order, that is

    log.7 is the oldest and log.0 the more recent, it is almost 6 MB, but I don't understand much of what is written in there.

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 16, 2013 6:36 AM (in response to renzofromroma)

    Make sure you turned on the wifi debugging too.   After selecting "Turn on Debug Logs", click continue, and then at the top, is a "tree" UI component.  Click on the |> symbol to open that tree.  Select "Wi-Fi Logging" and "DHCP".  I get the following files out, then, when I select a different access point, and tell it to generate the report.

     

    com.apple.IPConfiguration.DHCPv6

    com.apple.IPConfiguration.bootp

    diagnostic-report.log

    link-events.log

    link-info.log

    link-traffic.log

    opendirectoryd.log

    scan-log.plist

    service-discovery.log

    service-resolution.log

    spindump.txt

    syslog.asl

    system.log.0.bz2

    system.log.1.bz2

    system.log.2.bz2

    system.log.3.bz2

    system.log.4.bz2

    system.log.5.bz2

    system.log.6.bz2

    system.log.7.bz2

    system_profiler.spx

    wifi.log

    wifi.log.0.bz2

    wifi.log.1.bz2

    wifi.log.2.bz2

    wifi.log.3.bz2

     

    Look in wifi.log, when a disconnect occcurs, or when you can't connect, to see what messages from "airportd" and "configd" say.  It can be a bit of a long winded read to get through them, but some of the obvious messages say things like

     

    Sat Feb 16 08:26:56.698 <airportd[26187]> associate: INFO: airportd associate: network=<CWNetwork: 0x7fcdca4670d0> [ssid=gallery, bssid=00:26:f2:5d:ac:cc, security=WPA Personal, rssi=-42, channel=<CWChannel: 0x7fcdca42a940> [channelNumber=6(2GHz), channelWidth={20MHz}], ibss=0], is8021X=0, remember=1

     

    Which indicate when the "association" happened, so you can find these, and read before or after to see what happened to cause the association to have to be reestablished, or what broken the association after it was established.

  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 17, 2013 3:49 AM (in response to gphonei)

    gphonei wrote:

     

    and then at the top, is a "tree" UI component.  Click on the |> symbol to open that tree.  Select "Wi-Fi Logging" and "DHCP". 

    Schermata 2013-02-17 alle 12.35.28.png

    this is what I've checked

     

    Schermata 2013-02-17 alle 12.45.36.png

     

    and this is what I get, I don't see any wi-fi logs. I think I have checked what you said.

    what am I doing wrong?

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 18, 2013 5:28 AM (in response to renzofromroma)

    renzofromroma wrote:

     

    gphonei wrote:

     

    and then at the top, is a "tree" UI component.  Click on the |> symbol to open that tree.  Select "Wi-Fi Logging" and "DHCP". 

    Schermata 2013-02-17 alle 12.35.28.png

    this is what I've checked

     

    Schermata 2013-02-17 alle 12.45.36.png

     

    and this is what I get, I don't see any wi-fi logs. I think I have checked what you said.

    what am I doing wrong?

    Are you using an administrative user account?  I am not sure why you are seeing different behavior than what I see!  You are running OS-X 10.8.2 right?

  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 18, 2013 10:46 AM (in response to gphonei)

    I am the administrator and I'm using 10.8.2 I have no idea why this log is different from yours. Plus, while I just clicked "replay" to your post the connection went down , so I activated immediately this log and after few seconds stopped it to see something. I opened the system log0 but it ends at 17 midnight. Maybe to have a log it needs to stay on for sometime? Now the connection is on again. next time.....maybe

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 18, 2013 6:21 PM (in response to renzofromroma)

    renzofromroma wrote:

     

    I am the administrator and I'm using 10.8.2 I have no idea why this log is different from yours. Plus, while I just clicked "replay" to your post the connection went down , so I activated immediately this log and after few seconds stopped it to see something. I opened the system log0 but it ends at 17 midnight. Maybe to have a log it needs to stay on for sometime? Now the connection is on again. next time.....maybe

    Okay, there is some additonal information for older versions of the OS at the university of Pennsylvania web site: http://prowiki.isc.upenn.edu/wiki/Enabling_Advanced_Logging_for_Wireless_in_Mac_ OS_X.  Look in /var/log for any wifi.log files that might be there.  It could be a "bug" where the name of the log file is generated with a locale specific name, but the toolset doesn't look for the right name.

  • freediverx01 Level 1 Level 1 (40 points)
    Currently Being Moderated
    Feb 19, 2013 11:48 AM (in response to Vognbygger)

    A reboot fixed the issue for me...

  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 22, 2013 2:50 PM (in response to gphonei)

    I executed that command, but the first one "sudo su -" ask me a password that I don't know which one it is, I have no admin password. Nevertheless I did the second command and now seems that the wi-fi log is coming out. (I could say that apple doesn't work when it should and it does when it shouldn't) First problem: I almost don't understand anything written in there; second: logs start always some time back and it seems to end yesterday. Now to re-start from the beginning I would like to delete all the logs and have only the minute that I will activate them. Can you please tell me where should I go to delete all logs? thanks.

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 23, 2013 7:58 AM (in response to renzofromroma)

    The log files without the numbers on the ends, are the ones that you need to be looking in for recent entries.  If you open a terminal window, and type

     

    open /var/log

     

    and hit return, a finder window will open, and you can switch to the list view, and then click on the "Date Modified" header to sort on that, and then you'll see all of the most recent log file updates at the top/bottom of the list, depending on how many times you click the header (it toggles between sort orders).

     

    You can then right click on the "wifi.log" file, select "Open With->", and go to "TextEdit.app" if shown, and if not select "Other..." and navigate to the "Applications" folder and select it there.

     

    Now you can scroll up and down and search through it.

  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 25, 2013 3:57 PM (in response to gphonei)

    Thanks for the tip. It seems that the wi-fi log is always activated because in that directory I found a log just created without my activation. Now, as I said, the problem is understanding what is written in these logs, on the one I mentioned I found this:

     

    Feb 26 00:30:01 MacBook-Pro-di-renzo newsyslog[4309]: logfile turned over

    Tue Feb 26 00:39:01.550 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:39:01.550 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:39:06.553 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:39:06.553 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:41:14.616 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:41:14.616 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:41:24.619 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:41:24.619 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:41:32.623 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:41:32.623 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:41:38.627 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:41:38.627 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:42:15.641 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:42:15.641 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:42:23.647 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:42:23.647 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:42:39.657 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:42:39.658 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:42:44.662 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:42:44.662 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:42:49.665 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:42:49.665 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:42:54.677 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:42:54.677 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-52>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:07.680 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:07.680 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:12.683 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:12.683 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-51>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:17.690 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:17.690 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:22.688 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:22.688 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-51>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:31.690 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:31.690 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:37.695 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:37.695 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:42.694 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:42.694 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>

    Tue Feb 26 00:43:47.700 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:43:47.700 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-50>, Last Opp Roam RSSI <-49>

     

     

    Maybe this is nothing or it's important, I don't know. And then why should I care about this such complicated debugging stuff, apple can not pretend that people has to go inside their code this way. I'm having problem now with mbp, iphone, ipad and miniipad; it's a mess. Next days I will change my internet provider with a tv-cable company that delivers internet signal trough the cable. I will connect their modem with my airport express, thus eliminating the actual router. Hopefully it will work better,  what a shame.

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 25, 2013 6:40 PM (in response to renzofromroma)

    renzofromroma wrote:

     

    Thanks for the tip. It seems that the wi-fi log is always activated because in that directory I found a log just created without my activation. Now, as I said, the problem is understanding what is written in these logs, on the one I mentioned I found this:

     

    Feb 26 00:30:01 MacBook-Pro-di-renzo newsyslog[4309]: logfile turned over

    Tue Feb 26 00:39:01.550 <configd[18]> _bsd_80211_event_callback: LINK_QUALITY (en1)

    Tue Feb 26 00:39:01.550 <configd[18]> __AirPortOpportunisticRoamTriggerRSSI: <en1> Opportunistic Roam : Current RSSI <-49>, Last Opp Roam RSSI <-49>]

     

    Maybe this is nothing or it's important, I don't know. And then why should I care about this such complicated debugging stuff, apple can not pretend that people has to go inside their code this way. I'm having problem now with mbp, iphone, ipad and miniipad; it's a mess.

    What you see here, is the "Received Signal Strength Indication".  In RF, this value is good when it is above -80.  The value of -49 is "loud and clear", as long as the "noise floor" is at least 15dbm below.  So, -49 - 15 is -64, and your noise floor needs to be at least below that.  When multiple routers are using the same channel, and the other router is not below this level, then it will create interference.  This is all about how RF works, and Apple or any other computer/router vendor will all see the same problems.  Certain hardware and software variations can create some varations in behavior, but overall, this is why WiFi is not "magical".  It only works in environments where the RF signal can be clearly received to be decoded correctly.  The environment around you creates the issues, not the hardware.  The ability of the software to "adapt" to bad situations is usually reflected in its "automatic channel selection" features.  The problem is that, if that is not "randomized" or doesn't use some fairly flexible "rate of change" controls, multiple routers can just create a cyclic failure scenario where each reacts to the other, changing channels only to end up on top of the other which then causes two or more to change channels again. That can make things turn into a "mess".

    Next days I will change my internet provider with a tv-cable company that delivers internet signal trough the cable. I will connect their modem with my airport express, thus eliminating the actual router. Hopefully it will work better,  what a shame.

    Let us know how that goes.  I bet something will change, hopefully for the better.

  • renzofromroma Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 27, 2013 2:48 PM (in response to gphonei)

    While waiting for the new cable-provider-modem I purchased a small mobile wi-fi. I've noticed that if this device is very close to my MBP the signal is around - 33 and -49dbm. If it is in another room, a distance of about 7 meters, the signal goes to -76 dbm and above.

    For example, now the mobile-router is far from where I am and this is what the system information tells me:

     

    my network name is "CapitanMiki" and the signal is at -76 and noise is at -85

    Schermata 2013-02-27 alle 23.15.35.png

     

    Now it's close to the MBP (ten cm.) and this is the new situation

     

    Schermata 2013-02-27 alle 23.34.30.png

     

    as you can see the signal is at -33 and noise is at -86. All the others network around me, but one, have signal and noise with lower numbers then mine.

    So far I can tell that when it is close to the computer there are connection-drops; but it is too early to say what happens when it is far because I just discovered this phenomenon. Are these the same numbers that you explained talking about RSSI? And which situation is better, with a signal at -33 or -76? In other words, a lower number means a better signal or is it the opposite?

  • gphonei Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 27, 2013 4:57 PM (in response to renzofromroma)

    renzofromroma wrote:

     

    While waiting for the new cable-provider-modem I purchased a small mobile wi-fi. I've noticed that if this device is very close to my MBP the signal is around - 33 and -49dbm. If it is in another room, a distance of about 7 meters, the signal goes to -76 dbm and above.

    For example, now the mobile-router is far from where I am and this is what the system information tells me:

     

    ...

     

     

    So far I can tell that when it is close to the computer there are connection-drops; but it is too early to say what happens when it is far because I just discovered this phenomenon. Are these the same numbers that you explained talking about RSSI? And which situation is better, with a signal at -33 or -76? In other words, a lower number means a better signal or is it the opposite?

    The larger the number (towards 0 or positive), the stronger the signal is.  A noise floor about -85 or so, is still quite a bit of noise.  Understanding where it is coming from could help.  If you have other electronics nearby, try moving them out of the way, or turning them off to see if one of them is a major contributor (look for the noise floor to drop at least 5).  Below -90 would be ideal.   My RSSI is -65 and my noise floor is -88.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (80)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.