How to connect raspberry pi to internet? : <p>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.</p>

<pre><code>ip=169.254.1.1
</code></pre>

<p>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 169.254.1.1 and port 22 using SSH.</p>

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

<pre><code>ping 8.8.8.8
connect:Network in unreachable
</code></pre>

<p>How to access to the internet?How to approach this problem?Any suggestions.</p>

<p>Tutorial followed : <a href="https://www.youtube.com/watch?v=Ioih6MHNNqc" rel="nofollow">Youtube link</a></p>
