I suddenly need a wired connection for a job starting very soon but it won’t be hooked up for quite some time. I have my neighborswifi password though. Iknow this is a longshot, but would I be able to use my laptop to change a wireless connection into a wired connection?
It’s an older desktop Mac managed by the company. My laptop is an HP omen 15 with arch Linux on it


Basically what you want is to turn the linux laptop into a router. Thats doable. I believe Ars did an article on a similar build a couple years ago.
And here it is: https://arstechnica.com/gadgets/2016/04/the-ars-guide-to-building-a-linux-router-from-scratch/
It’s an old build based on an almost 10 year old version of Ubuntu, but quickly glancing through it, I didn’t see anything completely out of date. Version numbers will have changed and perhaps some package names will have changed but it will give you a starting point for further research. You won’t want to cargo cult this build.
I think the main difference is that your internet would be coming in from the wifi interface and going out the ethernet interface rather than the other way around.