physugcu
Posts: 1
Joined: Wed Aug 19, 2015 7:32 am

Connection to Internet with Wi-Fi sharing over an ethernet

Fri Aug 21, 2015 7:57 am

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!

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

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

Fri Aug 21, 2015 8:26 am

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

Return to “Beginners”