can't connect Raspberry PI 3 to my PC through Ethernet Cable Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
kimura
Posts: 12
Joined: Thu Apr 30, 2020 8:14 pm

can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by kimura »

I install DietPI into my Raspberry PI 3 board, everything works fine, I can upgrade the software through the internet.
The issue is that the board can't connect to my PC through the Ethernet cable directly. The PC side shows unidentified network Ethernet.
The board side don't show the internet address using ifconfig. I tried to set static IP address, no lucky.
I modified the /etc/network/interface as below, no lucky
auto eth0
iface eth0 inet dhcp

I also disable the IPv6 , no lucky
Any advise, Thanks in advance
User avatar
Joulinar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by Joulinar »

Hi,

many thanks for your report. Do I understood you right that you connected your DietPi with a direct ethernet cable to your PC?? So it's just 1 direct line between these to machines? No other router on the network?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kimura
Posts: 12
Joined: Thu Apr 30, 2020 8:14 pm

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by kimura »

Thanks you for your reply.
No router, Just directly from the board to PC.
Same board with NOOBS installed, no issue when the board connect to PC
User avatar
Joulinar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by Joulinar »

Did you set static IP on both, your SBC as well as PC? On DietPi this can be done using dietpi-config
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kimura
Posts: 12
Joined: Thu Apr 30, 2020 8:14 pm

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by kimura »

I use dietpi-config to set the default static IP on the board side.
I am sorry I don't know what I should do on PC side and what the SBC means
It will be great helpful if there is doc for this
Please help.
User avatar
Joulinar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by Joulinar »

SBC = Single Board Computer (eg Raspberry Pi)

On your PC you would need to set a static IP as well
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kimura
Posts: 12
Joined: Thu Apr 30, 2020 8:14 pm

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by kimura »

Now Set the static IP on PC side : ----No lucky
Static 192.168.0.1 and mask 255.255.255.0
I can ping this ip at PC side successfully

on the board side:
ping this IP , no response

What should I set on PC set ?
User avatar
Joulinar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by Joulinar »

what did you set on your Board?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kimura
Posts: 12
Joined: Thu Apr 30, 2020 8:14 pm

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by kimura »

192.168.0.100
255.255.255.0
192.168.0.1
8.8.8.8.8.8.4.4
User avatar
Joulinar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: can't connect Raspberry PI 3 to my PC through Ethernet Cable

Post by Joulinar »

and you can ping 192.168.0.100 on your board ?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply