October 7, 2016

Sharing Internet from the Laptop to Raspberry Pi #7



Welcome back Guys!!!!

In this post we are going to see about , sharing WiFi Internet connection with Raspberry Pi through LAN/Ethernet from our laptop.

This post is for windows users only

I have a windows 7 system, will explain it through that

Step 1:  Open your "Network & Sharing Centre". In that open  "Change adapter Setting"
     There you can find many network connections  as shown below


In this "Local Area Connection" is the network medium, which we use to connect our raspberry pi through Ethernet cable. Open it and change the "IP Address" to  automatic IP.

Step 2 :  Check your Laptop/PC is has working internet connection. if so, open the properties of your wifi adapter ... in Sharing option change "Enable" sharing.  Also  Change the "Home networking connection"  to  "Local Area Network"



Once you done that , confirm it by clicking "OK"
A window appears asking you to confirm the "IP ADDRESS"; by default your system ip will change to "192.168.137.1"

Step 3: Now change your pi's something like this  "192.168.137.43" or "192.168.137.216" or anything else but the first 3 fields of ip should be same "192.168.137.XXX"
(changing ip address of pi requires a SD card reader . Please see the Post  #2 or click here for reference)

Step 4: Now check whether our Laptop/PC  is connected with PI, Use Windows command Prompt



If there is no loss then ....holaaaaa .... our work is done......
use putty software and open the terminal window and check for internet connection using this command

Here your can use the IP address or you can type "raspberrypi.mshome.net" in the putty's ip address space.   

then use the below code to check...whether it is working or not

>> sudo apt-get update

This is one method, there are many other ways, but i found this is easy

There is another method which makes our system as a proxy server, we will see that in our future posts


thanks for reading
bye
----

Arun

No comments:

Post a Comment