Page 1 of 1

Connection to Internet with Wi-Fi sharing over an ethernet

Posted: Fri Aug 21, 2015 7:57 am
by physugcu
Hello Raspberry Piers:

I am new to Raspberry Pi. I am trying to connect my Pi to the internet via my laptop which is connected to a Wi-Fi hotspot.
The Pi and laptop are connected through SSH connection. However, initial efforts were not successful. Below are my IP configuration and a brief description of What I've done. Any suggestion?


My window laptop Ethernet adapter local area connection IP 169.254.39.6
The IP of the Pi: 169.254.39.9

The following modification to the cmdline.txt was made: I add the IP address ip=169.254.39.9::169.254.39.6 to the end of the file.
This command was supposed to enable the wifi sharing.

The status of Wi-Fi network to which my laptop was connected was shared.


Thanks!

Re: Connection to Internet with Wi-Fi sharing over an ethern

Posted: Fri Aug 21, 2015 8:26 am
by KLL
when i try i needed in
sudo nano /etc/network/interfaces add

Code: Select all

dns-nameservers 8.8.8.8 8.8.4.4
to get the
sudo apt-get update
running