Ethernet Shield

I know how to setup the ethernet shield on my local network. What do I need to be able to share a page with the world? (Like you could access it from your house)
I know I need a domain name and the shield, but do I need to call my ISP or anything?

Most home routers support port forwarding. Outside ip/port number to Inside ip/port number.

How it works is if a connection is made to your home routers outside ip/port number the packet is forwarded to a inside ip/port.

Usually you don't need to contact ISP unless you want a static outside ip address.

Just be sure to configure Arduino to use your router as it's Default Gateway.

baum:
but do I need to call my ISP or anything?

Legally, you're probably required to, and you're probably also not allowed to set up the page, anyway: your "home service" contract probably has a "no servers allowed" clause. Your ISP doesn't want you sucking up the entire neighborhood's upload bandwidth serving up porn for profit. Especially not if they're also in the business of selling high-priced "commercial" connections.

As a practical matter, they're almost certainly not going to care if your Arduino is serving up a 200-byte page of temperature readings a few dozen times per day. Almost certainly: there's always the chance that you have the misfortune of dealing with some real (bleeps) who delight in having power over their customers. And even otherwise-tolerant ISPs might get upset if you start getting many thousands of hits per day.

Assuming you're not that unlucky, you can get by without registering a domain name: there are "dynamic DNS" organizations set up for people like you who will assign you a machine name within their domain, and let you update the DNS record as your IP address changes. I haven't done it, myself, so I can't offer any recommendations about which to use. But a google search for "dynamic DNS" should get you some links to praise and horror stories from users, and to practical how-to information.

Thanks! Maybe I'll stick to my home network.

Thanks! Maybe I'll stick to my home network.

I would not make that decision just based on speculation. If your server is used for private non commercial purposes or use excessive bandwidth (ISPs usually limit your up/down bandwidth), then they probably won't care. There are many server based applications in use today like pc anywhere and home automation programs that are server based.

There are two issues. One is letting the outside world know your IP address. The other is routing traffic from your router to the arduino.

If you are just a residential customer, most likely you have a dynamic IP address, which means every time your router connects it has a different IP address. There are services that allow you to assign a name to your router even if you have dynamic IP. Perhaps the best known such service is DynDNS. Google it. In order for DnyDNS to work you have to send it your IP address periodically. That's simple enough that an arduino could do it, directions are here: My Dyn Account

Issue 2 is routing traffic through your router. What you want is called "port forwarding." Your ISP has to allow this, and your router has to allow it. Verizon allows it for me, and they hate everything, so odds are your ISP allows it. The idea is you tell your router if it receives any traffic on a certain port it should forward it to a certain IP address on your network. You give the router the IP address of your Arduino. To connect to a specific port on the router, put it after a colon in the address bar of your router. Like this:
http://www.myaddress.com:8888

Where 8888 is the port.

Normally your router is at 192.168.1.1, see if you can connect with your browser and poke around lookingn for info on port forwarding.

I have found countless instructions for getting such a thing to work, but I have an Apple Airport. And you all may be well aware how "closed-source" apple is. I'm not sure how much of this stuff I can actually do... But thanks anyway! I'll update this post if I get anything working.

The Airport is a router but it's not the one you need to mess with. How does your internet enter the building? Is it DSL, cable? Where the wire comes in there should be a box. Sometimes it's called a modem but it's a modem/router. That's where you need to set up your port forwarding.

When you initialize ethernet on your Arduino, do you have to set the default gateway? If not, it uses 192.168.1.1 by default. Point your browser to http://192.168.1.1 and see what it tells you.

If I had apache installed, I would see the apache splash screen. Now I get nothing. My internet comes through a cable into a modem, but I have NO IDEA how to change settings on the router :frowning:

My internet comes through a cable into a modem, but I have NO IDEA how to change settings on the router

The easiest solution may be to go to walmart and get a netgear 614 router for $40 and put the apple airport away.

baum:
If I had apache installed, I would see the apache splash screen. Now I get nothing.

This makes no sense at all. Connecting to 192.168.1.1 I would expect either a router setup screen or an unable to connect message.

baum:
My internet comes through a cable into a modem, but I have NO IDEA how to change settings on the router :frowning:

Does the modem have writing on the outside? Like perhaps manufacturer and model number? Something you can google to get instructions?

=(

Ye restrictions imposed upon yours truly:

In addition to the prohibitions outlined in the Acceptable Use Policy, the following restrictions apply:
Optimum Online:
Users may not run any type of server on the system. This includes but is not limited to FTP, IRC, SMTP, POP, HTTP, SOCKS, SQUID, DNS or any multi-user forums;
Users may not register or point a domain, sub-domain, or hostname to any Optimum Online IP address. Moreover, Users may not have traffic redirected to the Optimum Online Service;
Users may not resell, share, or otherwise distribute the Service or any portion thereof to any third party without the written consent of Cablevision. For example, Subscriber may not provide Internet access to others through Optimum WiFi, a dial up connection, wireless access or host shell accounts over the Internet, provide e-mail or news service, or send a news feed.
Users may not copy, distribute or sublicense any software provided by Cablevision, except that Subscriber may make one copy of each software program for back up or archival purposes only;

from

Look at 3rd line.

Maybe someone needs a new ISP.