Such a setup is far from automatic.
Next time just wire it to the router.
My current network is a wireless laptop and wireless desktop that works together perfectly. I would like to add a new desktop occasionally hard connected to the laptop so the second desktop could be seen and shared through the laptop. Can I do this? Just plugging the cable didn't work and the laptop lost connection to the wireless network.