Ethernet shield without connecting it to the router

I'm currently searching about ethernet shield, or anything about saving data to the web. We have a project and I'm just thinking if it is possible. Then I found out about ethernet shield. Another option is using python, pySerial library and MySQLdb library without the use of ethernet shield. But I think it's easier if we will use ethernet shield.

My question is can I just connect the cable to my laptop, not with my router? How will I know the IP address? Or can I assign its own IP address? Where can we save the html file of it or the php file? Sorry I'm really new to this. I just have a very little idea about this ethernet shield.

We do not need an internet access. All we want is just to connect it to web in our laptop.

Any advice?

To connect the Ethernet shield directly to your Laptop you will probably need an Ethernet crossover cable. These are wired differently than ordinary Ethernet cables. The IP address of your shield and the web IP address are all software defined in the arduino sketch.

All we want is just to connect it to web in our laptop.

The web (network is the correct term) does NOT exist in your laptop. The network consists of the router, your laptop, and any other devices connected to router.

Why not learn to do proper networking, since you have the right Arduino hardware, by connecting the Ethernet shield to the router?

Riva:
To connect the Ethernet shield directly to your Laptop you will probably need an Ethernet crossover cable. These are wired differently than ordinary Ethernet cables. The IP address of your shield and the web IP address are all software defined in the arduino sketch.

Thanks for the idea! I'll search more about it.

PaulS:

All we want is just to connect it to web in our laptop.

The web (network is the correct term) does NOT exist in your laptop. The network consists of the router, your laptop, and any other devices connected to router.

Why not learn to do proper networking, since you have the right Arduino hardware, by connecting the Ethernet shield to the router?

Sorry for the wrong term. I just wonder if it is possible without the router. I got the idea from raspberry pi wherein we're able to assign IP address by modifying a text file inside the SD card. We were able to launch the OS installed in rpi thru that IP. I thought there is something like that for Arduino.

I was advised by my classmate about this thing. I'm not good at networking but they said they will help me about that. At the end, we are going to use router. I thank you for the response.

This thread should be closed.

Thank you.

It is possible to assign an IP and the others parameter using only a sketch. You mean without a DHCP not without a router, I believe.
Look at WebServer or Webclient example in the arduino IDE.

There have been some previous discussions of using windows internet connection sharing (ICS) to connect an arduino directly to a pc. To directly do things on the pc via the connected arduino the pc would probably need to be running some sort of server application.

https://www.google.com/search?as_q=windows+ics+&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=http%3A%2F%2Fforum.arduino.cc%2Findex&as_occt=any&safe=images&tbs=&as_filetype=&as_rights=&gws_rd=ssl