When trying to reset the arduino, it doesnt work like the hard reset button.

So I have a Mega2560 with an Ethernet shield. I am working on a project where I have to connect to a camera through the ethernet cable. Sometimes it connects and sometimes it does not. So I had tried using both the reset pin and software to reset the board. For some reason this doesn't work, when I press the actual button on the board, the system will reset every time and eventually connect to the camera. I need to be able to reset the arduino through software because i will not be able to access the board easily once the project is finished.

I need to be able to reset the arduino through software because i will not be able to access the board easily once the project is finished.

You can't always do that.
What are you resting? The arduino or the Ethernet shield. If it is the latter then you might have to rig up one of the arduino outputs to act as a hardware reset for the board.

Well im not to sure, basically im trying to connect to a insight 1000 camera through ethernet but sometimes it gets stuck in a loop and I have to reset the board. I didnt know you could reset one or the other but what ever works so I can be able to connect to the camera every time.