14
Goal: Connect the Raspberry Pi to Internet

Connect the raspberry pi to internet without extra HDMI monitor

Embed Size (px)

Citation preview

Page 1: Connect the raspberry pi to internet without extra HDMI monitor

Goal: Connect the Raspberry Pi to Internet

Page 2: Connect the raspberry pi to internet without extra HDMI monitor

But ...●We don’t have a HDMI monitor

●We don’t have a USB Wifi adapter

●We don’t even know the IP address assigned by the DHCP to the Ethernet port of the Raspberry Pi

Page 3: Connect the raspberry pi to internet without extra HDMI monitor

Fortunately ;)We have an accessible Wifi network

We have an Ethernet cable

Many free and Open source programs to solve the Internet connection issue

Page 4: Connect the raspberry pi to internet without extra HDMI monitor

Our network looks like ..

Page 5: Connect the raspberry pi to internet without extra HDMI monitor

Find the IP address (Step 1)Record the IP address and the subnet mask of the Ethernet port of the Laptop

Page 6: Connect the raspberry pi to internet without extra HDMI monitor

Find the IP address (Step 2)Configure Advanced IP Scanner to scan all the networking devices connected to the Laptop with one of the addresses specified in the interval

Page 7: Connect the raspberry pi to internet without extra HDMI monitor

Take the control with SSHUse PuTTY: Fill the IP address field then hit enter key or press open button

Page 8: Connect the raspberry pi to internet without extra HDMI monitor

Assign a static IP address to eth0Use shell prompt to edit /etc/dhcpcd.conf file.

Append the IP address, netmask and default gateway that suit your router configuration:

In my case the router IP is 192.168.1.1 so I should type something like:interface eth0static ip_address=192.168.1.55/24static routers=192.168.1.1static domain_name_servers=192.168.1.1

Page 9: Connect the raspberry pi to internet without extra HDMI monitor

Assign a static IP address to eth0

Page 10: Connect the raspberry pi to internet without extra HDMI monitor

Specify a static IP address for Ethernet port of Laptop

Page 11: Connect the raspberry pi to internet without extra HDMI monitor

Create a bridgeBridge Wifi adapter and Ethernet port on windows 10

Page 12: Connect the raspberry pi to internet without extra HDMI monitor

!! Internet connection is lost on Laptop

Connection should be lost at this point but the Raspberry Pi is already connected to Internet.

Check it out using command $ping 8.8.8.8

Page 13: Connect the raspberry pi to internet without extra HDMI monitor

Configure the bridge to regain Internet connection on Laptop

Page 14: Connect the raspberry pi to internet without extra HDMI monitor

Resources and referenceshttp://www.omnisecu.com/

https://support.microsoft.com/en-us/kb/164015

http://www.windowscentral.com/how-set-and-manage-network-bridge-connection-windows-10

http://www.advanced-ip-scanner.com/

http://www.putty.org/

https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update