Using Laptop as a Router for Ethernet Shield

Hello guys,

I am working on a Home Automation project that involves controlling some LEDs through internet. For this, I need to give Arduino access to internet. I will be using Ethernet shield for that. MY laptop has internet access using a USB WIFI Dongle, which connects to USB port of laptop.

My question is: Can I connect my Ethernet shield to my laptop LAN socket such that my laptop can work as a router. (My laptop will be attached to an internet USB dongle).

PS. I found a similar thread(Using Laptop as a Router for Ethernet Shield - General Discussion - Arduino Forum) but it was not helpful.

Please let me know about this.

Thank you.

It sounds like you are getting your internet via cellular.

You need to check with your provider whether the let you do tethering.

If you have a windows OS then there is a good chance you can just turn on ICS (internet connection sharing) without having to worry about tethering.

You are not clear about if its a regular USB WiFi dongle or a cellular dongle.
I have an older laptop here that uses a dongle for just WiFi

The thread you referred to is quite old so yes its not much good to you.

Here is a link that might be of more use.

Hello, I am using Windows 8 and USB WiFi dongle. My USB WiFi dongle connect to laptop(via USB) as an Ethernet Connection(Ethernet 3 in the attached schreenshot). Here is the screenshot for better understanding:

I will repeat the question. Can I connect the Ethernet shield cable to my laptop Ethernet port to connect Arduino to internet?

Thanks

OK so its a 4G wireless device eg. cellular.

My answer remains the same.

Did you check out ICS from the link i provided ?

It allows you to use your laptop as a gateway. (not an actual router).

umerjamil:
Hello, I am using Windows 8 and USB WiFi dongle.

You do not have USB wifi dongle. If it was, you would also have a router and therefore you would not have to ask this question.

Ballscrewbob:
If you have a windows OS then there is a good chance you can just turn on ICS (internet connection sharing) without having to worry about tethering.

You are not clear about if its a regular USB WiFi dongle or a cellular dongle.
I have an older laptop here that uses a dongle for just WiFi

The thread you referred to is quite old so yes its not much good to you.

Here is a link that might be of more use.

It works. Thanks @Ballscrewbob