OpenIntelWireless / itlwm

Intel Wi-Fi Drivers for macOS
https://OpenIntelWireless.github.io/itlwm/
GNU General Public License v2.0
6.74k stars 643 forks source link

Connectivity Issues with AC 9560 and Mac Recovery #901

Closed turnsy closed 3 months ago

turnsy commented 11 months ago

Have You Read Our Docs Yes

Are You Reporting A Bug I might be

Environment

Description Using a Lenovo ThinkPad T490s and Monterey, cannot connect to a Wi-Fi in mac recovery mode despite them being listed in the Wi-Fi menu. Eventually one of a few things happen if I try to connect to a network:

  1. It tells me to move closer to the router
  2. It repeatedly prompts me for the wifi password
  3. It says "Your Mac successfully joined the Wi-Fi network, but cannot reach Internet"

Both AirportItlwm and IO80211Family are running as reflected in Kextstat command, securebootmodel is set to default and I am forcing IO80211Family to load in my config. Am I missing a BIOS setting for networks or some other Kext? First hackintosh, this is the only snag :( I also attached my config as a hail mary. config.plist.txt

The SAME issues arising with Big Sur and Ventura, so I know it's not dependent on that.

Bug Report Archive I can't do this, I'm stuck in recovery; If there is a way to get this from recovery please let me know.

Kext Download Source https://github.com/OpenIntelWireless/itlwm/releases/tag/v2.2.0, not custom built

zxystd commented 11 months ago

What's the Wi-Fi setting? Are you sure the password is correct? By the way, you can also get the itlwm running log in recovery mode.

turnsy commented 11 months ago

What do you mean by whats the wifi setting? and yes I am sure, and have checked with 3 different networks so it must not be that. How do I get the log in recovery mode?

Thanks for the reply btw!

zxystd commented 11 months ago

What do you mean by whats the wifi setting?

wifi setting is like this: image

How do I get the log in recovery mode?

https://openintelwireless.github.io/itlwm/Troubleshooting.html#runtime-logs

turnsy commented 11 months ago

I'm assuming that screenshot is from Linux, since I have windows I attached what I think you're looking for from my two networks; please let me know if I'm wrong.

wifi1 wifi2

Also, the terminal in recovery mode did not recognize the sudo command and said "location not found" when I inputted /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport debug +AllUserland +AllDriver +AllVendor. As a workaround, I called dmesg | grep -E "itlwm|Airport|IO80211|EAPOL" and attached a picture of the logs below as well. I understand that is unorthodox, so please let me know if you want me to do something different! image_67151873 image_67159809

turnsy commented 11 months ago

I just found the wifi setting you were talking about:

802.11a/b/g Wireless Mode: Dual Band 802.11.a/b/g 802.11n/ac Wireless Mode: 802.11ac ARP offload for WoWLAN: Enabled Channel Width for 2.4GHz: Auto Channel Width for 5GHz: Auto Fat Channel Intolerant: Disabled GTK rekeying forWoWLAN: Enabled MIMO Power Save Mode: Auto SMPS Mixed Mode Protection: RTS/CTS Enabled NS offload for WoWLAN: Enabled Packet Coalescing: Enabled Preferred Band: No Preference Roaming Agressiveness: Medium Sleep on WoWLAN Disconnect: Disabled Throughput Booster: Disabled Transmit Power: Highest U-APSD support: Disabled Wake on Magic Packet: Enabled Wake on Pattern Match: Enabled

turnsy commented 11 months ago

Update: Was able to "connect" to my hotspot network, but it didn't actually connect and had the exclamation mark on the wifi symbol. See below: unnamed

I was also able to finally get the log FILE from this occurrence, and that is also attached below. Log_itlwm.log

Thank you!!

turnsy commented 11 months ago

An update to things I tried to rule them out:

Still just prompting for password over and over. Hoping there's a fix for this for others with same issue!

zxystd commented 11 months ago

image Tested with Ventura recovery and it works fine(and some people had confirmed that), I don't know what's wrong there, but it is most likely not the driver issue.

Does it works fine on macOS(not recovery)?

turnsy commented 11 months ago

Managed to get Ventura installed with offline installer. Still same problem in macOS, shows available networks but when I try to connect it is repeatedly prompting for password even though it's correct. Is there any other logs I could provide you to investigate further?

zxystd commented 11 months ago

From the log it seems that scaning is not always working, sometimes it is stuck at somewhere, and never return. Have you tried another's EFI for testing?

zxystd commented 11 months ago

And can you try to connect to an Open Wi-Fi?

turnsy commented 11 months ago

Yes, tried EFIs built by me for Ventura, Monterey, BigSur, and Catalina; Have also tried prebuilt ones by the community, for example: https://github.com/Newtonjobs/T490s-Hackintosh

It seems specific to my laptop, since others with the same model were able to connect without issue. I do not have access to open wifi at the moment, but I can try that later today.

turnsy commented 11 months ago

This might not be related at all, but iPhone USB tethering works fine. Eating up my data fast though

zxystd commented 11 months ago

You can downgrade to v2.1.0 or v2.0.0, since we had upgrade 9xxx firmware to -46 version, maybe there have something compatible issue. If it not help, maybe the active scanning affect that, will post you a mod version to test later.

zxystd commented 11 months ago

hmmm, you are on Ventura now, maybe you can download a Monterey recovery OS?

turnsy commented 11 months ago

Thank you for the planned mod version! And would downgrading to Monterey help?

zxystd commented 11 months ago

a Monterey recovery OS is enough, you can test connection on there.

turnsy commented 11 months ago

Ok great. Will set that up.

zxystd commented 11 months ago

Ventura.zip This is a mod version which disabled the active scanning feature.

turnsy commented 11 months ago

Screenshot 2023-07-26 at 2 34 59 PM

Attempted with new mod version, same result. Constant pop up like this

andreszerocross commented 9 months ago

@zxystd i have same experienced. My notebook is Lenovo T490 not T490S. But using same wifi adapter, Intel AC 9560 (PCI Product ID: 8086:9DF0 Subsystem 00308086) / 100% same Wifi modul.

  1. Use 2.1.0, 2.2.0 or 2.3.0 Airportitlwm.kext. I can't connect to any wifi. I remove password of wifi, but still can't connect. it showing popup about diagnostic because fail to connect. Ventura and sonoma is same
  2. Same like OP, i can't connect in Recovery too
  3. Using itlwm.kext from 2.1.0, 2.2.0 and 2.3.0 + heliport is still same. I can't connect. Try to turn off wifi and turn on again, then it connect but no internet connection, after few sec it will disconnect again from wifi.

If you need more information, i very happy to help

zxystd commented 9 months ago

@andreszerocross Follow the guide to collect runtime log. https://openintelwireless.github.io/itlwm/Troubleshooting.html#runtime-logs

andreszerocross commented 9 months ago

@andreszerocross Follow the guide to collect runtime log. https://openintelwireless.github.io/itlwm/Troubleshooting.html#runtime-logs

I got error message in terminal when running 1st command, and log result from command and Heliport + Airportitlwm is same. I didn't run diagnostic with itlwm.kext yet. Screenshot 2023-10-07 at 22 22 15

bugreport_22022.zip

andreszerocross commented 9 months ago

And for the information, this AC9560 can't detect SSID for channel 149 (5GHz, 80MHz).

andreszerocross commented 9 months ago

Sorry, i use 'itlwm_cc=US -novht -noht40" as boot-arg before. This is bug report without those boot arg.

bugreport_60717.zip

zxystd commented 9 months ago

@andreszerocross Seems that the scanning is not responding, don't know why, is it works on Linux?

andreszerocross commented 9 months ago

@andreszerocross Seems that the scanning is not responding, don't know why, is it works on Linux?

Yes, i just try with Ubuntu and it works fine. I check the firmware. The firmware is same like your repository (9000-46)

zxystd commented 9 months ago

@andreszerocross I increased the log level, so I can see the executing code path, please try and collect the log again. Ventura.zip

andreszerocross commented 9 months ago

@andreszerocross I increased the log level, so I can see the executing code path, please try and collect the log again. Ventura.zip

Kext is not loaded. bugreport_18595.zip

andreszerocross commented 9 months ago

@andreszerocross I increased the log level, so I can see the executing code path, please try and collect the log again. Ventura.zip

Sorry, i shutdown the notebook then boot again and now kext is loaded. Here is the bugreport bugreport_64353.zip

zxystd commented 9 months ago

Ventura.zip @andreszerocross Please try this one.

andreszerocross commented 9 months ago

Ventura.zip @andreszerocross Please try this one.

  1. Kext is loaded but no SSID is detected, i wait for 1 minutes and still no SSID is detected
  2. I turn off the wifi then turn on again, now SSID is detected and i try to connect to one of SSID. But problem is still same. I try to connect to SSID without password and there is pop up message about "THe wifi network "SSID Name" could not be joined. Bla bla bla"

Here is the bugreports files bugreport_21218.zip

andreszerocross commented 9 months ago

Ventura.zip @andreszerocross Please try this one.

Any clue?

zxystd commented 8 months ago

@andreszerocross I don't know if OpenBSD have the same problem(itlwm is based on it), can you try OpenBSD live system to see if the card have the same problem?

andreszerocross commented 8 months ago

@andreszerocross I don't know if OpenBSD have the same problem(itlwm is based on it), can you try OpenBSD live system to see if the card have the same problem?

I try to use FreeBSD (i am not familiar with this OS). I can connect to the SSID 5GHZ with channel 149. But i can't connect to internet and got no ip. But in my mikrotik it's already connect. Screenshot 2023-10-14 at 16 28 17

IMG_3571

zxystd commented 8 months ago

@andreszerocross itlwm is based on OpenBSD, FreeBSD only support 11abg, not the same driver... what I want to see is whether the original OpenBSD code can support your card.

https://www.openbsd.org/ OpenBSD can be more simple to install compared with FreeBSD.

zxystd commented 3 months ago

inactive and no more people report the same issue. closed.