Problems with Ethernet configuration

Hello all,

I've been trying to get my Arduino Ethernet Shield working for the past week now and have made zero progress. I'm about ready to punch a hole in my computer screen right now, but I thought I'd see if anyone here can help me.

I've got my Mac (2007 dinosaur) configured to share the WiFi over the ethernet port. I'm using the same computer to code, by the way. All I know is that it works. I've found my Ethernet shield's IP, and figured out how to change it if I want to.

So here's my problem: I can't figure out the damn address thing. I know what my Shield's mac and IP is, and I know the subnet, but what in the @#&% is the gateway address and where in the @#$% do I find it?

I've literally turned my computer upside down trying to find it. (You know, to see if gravity applies to things in my file directory. Apparently it doesn't.)

Same problem with "EthernetServer". What is it, why is it, and can't I just delete it and move on??

And this is how I know there is a problem, whatever it may be. I open Chrome, type in the IP for my shield, and
Kablam!
It loads a page saying something along the lines of "Apache webnet software successfully loaded. Not the page you expected? Contact the site admin to resolve this issue."

I changed the Shield IP.
Upload.
Open Chrome, put in IP.
Bang!
"Apache webnet software successfully loaded. Not the page you expected? Contact the site admin to resolve this issue."

Over, and over, and over, and over, and over, and over, and over, and over again. Trying to find the gateway/server address and failing each time.

So anyway, anybody got ideas? I'm really tired of mucking around in the treacle that is a tech-related google search when I'm actually just trying to get information.

-D.E.

It loads a page saying something along the lines of "Apache webnet software successfully loaded. Not the page you expected? Contact the site admin to resolve this issue."

This is a response from an Apache server. The ethernet shield does not run Apache. Maybe you should post your code and you network setup. Sounds like the IP you are trying to access is assigned to your PC.

I'm just running the "ChatServer" code from the Examples in the Arduino IDE. I have tried a few other fancier codes for servo control, but to no avail. All I changed are the mac, subnet, gateway (I used the IP for my router, should I change it to something else?), and IP addresses. I didn't fiddle with the "EthernetServer" line, but I think it might need changing. (Why is it there and what does it do?)

My Network is set up as follows:

Fiber Optic cable from wall to router -> Router converts to WiFi (encrypted with WPA2 password) -> Mac picks up WiFi -> Mac converts to Ethernet (not sure if still encrypted) -> Shield uses Ethernet

I have also tried a direct connection to the router. When I try the code and run from there, I get "Oops. Google could not load this page. Retry?" (I'm now using the default IP that the shield came with).

I think the WPA2 encryption might be my problem, but I have no idea how to get around it using the Ethernet shield, and I am also not able to turn it off (that would disrupt and compromise the rest of my network, repeaters, and computers, creating a big headache).

-D.E.

p.s. If it's not apparent by now, I know absolutely nothing when it comes to ethernet, wifi, and encryption. Sure, I can set up a network, but that's because I know how to read instruction manuals (which my shield very conveniently came without).