Skip to content

SaadAhmedSalim/Raspberry-Pi-4-Network-Connection-Issues-Fixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Raspberry-Pi-4-Network-Connection-Issues-Fixed

Hello Everyone!

Today I will discuss about the common problem that we faced when we want to connect raspberry to a network (Wireless or Wired).

That means You can connect your pi without a monitor or cable thing!

There will be lots of videos and documentation about these problems but not with proper solutions!

Before looking my solutions, I want to make a clear statement that you have to enable your pi ssh and vnc. After that anywhere you go, just with your pi and laptop, you can control your pi through laptop without a monitor or cable.

Here is my advice for you guys but you need some tools for that !

REQUIREMENTS:

1. Windows operating system based Laptop or PC

2. Wireless router

3. Ethernet cable 

4. Putty + VNC (Download these software)

5. Raspberry PI with power cable.

For these solution I have used Raspberry Pi 4 (1GB).

Steps:

  1. Connect Ethernet cable's one head in Raspberry pi port and other head in the router.

  2. Power up the pi source and Check your router main page. (Example: my router is tp-link so my address is 192.168.0.1)

  3. Log in your router.

  4. There will be a option called DHCP.

  5. Here, you will find your host name: raspberry pi with an ip address.

  6. Turn on Putty and put that ip address in the gap, port is same 22.

  7. It will connect automatically, (If there is an security alert message shown, just click YES)

Notes: Some cases it wants user name and password.

So, username is pi and password is raspberry

If you want to change password manually ,

So the first thing to do is change the password. This can be done via the raspi-config application, or from the command line.

sudo raspi-config

Select option 2, and follow the instructions to change the password.

In fact, all raspi-config does is start up the command line passwd application, which you can do from the command line. Simply type in your new password and confirm it.

passwd

  1. Then open VNC, put the address in that (e.x: mine was 192.168.0.106)

  2. It will show your pi environment.

Note:

Using putty you can do terminal code in pi. It's easy and smooth way to learn pi.

How to make a WIRELESS Connection

I have seen many were trying terminal and maximum cases, they failed, as there are lots of dependencies. Mine is simple and easy. I hope it will work for all!

Launch PI terminal (ctrl + alt+ T)

sudo raspi-config

select network option

add your wifi name

add your password

ENJOY WIRELESS MODE

Note: Remember! All these things must have to do under wired connections!

IN MY CASE THERE WAS A RESOLUTION ISSUE

I fixed that too.

For that

There are many solutions:

Launch pi terminal. If you use putty you can do there too.

sudo raspi-config

There will be so many option. For PI-4, click on ADVANCED SETTINGS

select resolution

There will be your desire size, just pick one.

Reboot the PI. Problem Solved!

Further details will be uploaded soon.

Releases

No releases published

Packages

No packages published

Languages