SaiKiran SaiKiran - 7 months ago 52
Linux Question

How to connect raspberry pi to internet?

Here i have connected my raspberry pi to my laptop using the ethernet cable.
Inside the raspberry pi boot SD card i have opened the file cmdline and added the following information at the end of the file.


Now i have connected my raspberry pi to the laptop using the ethernet cable and used putty to connect to this device by using the ip address and port 22 using SSH.

Everything is working fine , i have accesed the file system.
But now i wanted to access the intenet so i have entered the command

connect:Network in unreachable

How to access to the internet?How to approach this problem?Any suggestions.

Tutorial followed : Youtube link


The feature you need is called "Internet Connection Sharing". From the Network and Sharing Center, select "Change Adapter Settings". Select your Internet connection and pull up its properties page. Click on the "Sharing" tab. Check "Allow other network users to connect through this computer's Internet connection". Select the network interface that connects to the Pi as the interface to share on.