Thank you for your reply. Taking your advice that this might be because of the firewall, I’ve checked my iMac noticing that it didn’t have the firewall on, however, I tried connecting the iPad to MacBook while also turning off firewall as well.
Immediately after connecting to MacBook, the MacBook system report detecting iPad in recovery mode and asked to confirm recovery and restoring iPad. I proceeded, the system download IOS version 16.7. Once completed, it reports attempting to restore iPad with IOS 16.7.
The system ran for a while, after which it report the same unknown error 4042.
I’ve searched the internet and found that this problem with system reporting unknown error 4042 after upgrading IOS happened to many people on various IOS version.
Their solutions were different. Some say it was the battery problem, and after visiting Apple repairs, changing battery, the problem was fixed. Other said, it related to the home touch button, and the repair disconnect Home Touch button and the iPad became functioning again.
I suspect at this point that it may be because of the newer version of IOS manage hardware differently, or requires different hardware, and older models of iPad may not have necessary component to accommodate new version of IOS. In any case, I will try one a couple of more time, or wait until the battery depleted and attempt recovery again.
I am now afraid of updating newer version of any Apple equipments. In the past I upgraded MacBooks, two of them, to newer version as noticed by the system and two of my MacBooks crashed. I took it to Apple authorized repairs, and they change hard drives and both MacBook becomes functioning again. It also happened to my iMac that once I replace hard drive the iMac also works again.
I think Apple should be more responsible and more prudent on any new update.
With this newer version of IOS, I’ve noticed that once the IOS 17 was released, the next day there was an update of IOS 17.0.1. I suspect some oversights that needs immediate upgrade, and I also think that my problems aren’t unique. Apple should take responsibility on crashing Apple Equipments.