How to Connect to a Raspberry Pi Directly with an Ethernet Cable

  Переглядів 550,488

Circuit Basics

Circuit Basics

8 років тому

How to Connect to a Raspberry Pi Directly with an Ethernet Cable
Ethernet is the fastest and most reliable way to connect to your Pi. You can set this up in just a few steps and never get disconnected from network time outs or low bandwidth on your network. You can access your Pi without even being on a network. If you travel with your Pi, all you need is a laptop and an ethernet cable to connect to your Pi!
See the full tutorial here: www.circuitbasics.com/how-to-...
Check out the Circuit Basics blog for articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects! www.circuitbasics.com
Facebook: / circuitbasic
Twitter: / circuitbasics
Instagram: / circuitbasics

КОМЕНТАРІ: 147
@MikeBSc
@MikeBSc 4 роки тому
So....in order to connect to the pie over direct ethernet connection, you have to already have network access to it? Is there any way to connect directly to it without a network?
@rayfairall4126
@rayfairall4126 7 років тому
Thanks, worked perfectly on my two Raspberry Pi 3's.
@jenskapmeyer2579
@jenskapmeyer2579 7 років тому
thanks a lot for your tutorial !
@TheMandarG
@TheMandarG 7 років тому
used this tutorial. love it. thanks.
@user-ns3jr3jd6u
@user-ns3jr3jd6u 2 роки тому
This worked for me! Thanks! I have a Pi 2
@raymondchiu7582
@raymondchiu7582 7 років тому
Is there an advantage using ethernet over a PL2303 serial over USB connection? I would expect higher speeds with ethernet, however will the incremental speed make a difference in a text console environment?
@rajatchauhan5501
@rajatchauhan5501 6 років тому
thanks bro this helped me
@svb9002
@svb9002 8 років тому
Also do i have to edit the command text file with the IP= text? Or should it not have any ip= at the end? thank you.
@graphia6858
@graphia6858 6 років тому
handy thanks! ^^
@jorgesolorzano2615
@jorgesolorzano2615 2 роки тому
I've received my Raspberry Pi 400 yesterday. My ethernet connection does not work out of the box I am new to Linux. This tutorial would fix my ethernet issue? any thoughts? I am trying to get connected to the internet via ethernet! Awesome tutorial! thanks!
@svb9002
@svb9002 8 років тому
1 - Should the laptop be connected via a crossover cable as well as the Pi? Or should the laptop be on wifi only for this?
@reginaldb.maducdoc1458
@reginaldb.maducdoc1458 8 років тому
thanks it work...
@Brandon_Moves_You
@Brandon_Moves_You Місяць тому
This video helped me alot. How do I know that the raspberry pi 4 is directly connected to PC. I'm using mine for steam link, and since doing this the speeds are much better but there's still occasional latency. I didn't think there would be ANY latency connected directly to PC with ethernet.
@charliemiller3884
@charliemiller3884 6 років тому
I have created an instrumentation control app on my RPi3 that runs as an xTerm. When I use Putty on my Windows desktop to run the app, all the line drawing characters are shown a garbage characters and the function keys don't work. I have tried a bunch of config changes in Putty with no success. Any suggestions as to what to change? Either in Windows or in my RPI3 app?
@simplesyntax2341
@simplesyntax2341 6 років тому
Thanks a million time
@reddinghiphop1
@reddinghiphop1 7 років тому
Thanks !
@nemorotatory
@nemorotatory 6 років тому
if in windows can't ping "raspberrypi.local" try install Bonjour Print services for Window v2.0.2. The "raspbeerypi.local" command work for me after installing Bonjour
@svb9002
@svb9002 8 років тому
The Etherenet cable should also be plug directly from the Pi to the laptop and not be in the router?
@ziyedhamrouni886
@ziyedhamrouni886 8 років тому
can you teach us how to use openCv with raspbian and picamera ou usb cam ?
@akashraut3581
@akashraut3581 6 років тому
do i need a cross over Ethernet cable or a standard Ethernet cable ??
@muyiwaishola3196
@muyiwaishola3196 7 років тому
hello, i do i resolve multiple ip addresses showing as Raspberry pi Foundation (Manufacturer)
@someshwars3362
@someshwars3362 3 роки тому
Can we do the same with desktops instead of laptops?
@milescook670
@milescook670 3 роки тому
Would this work with nanopi neo 2?
@Alex-tp4jj
@Alex-tp4jj 8 років тому
I only have Local Area Connection and Wi-Fi options displayed on the network screen. Is there a way to fix that?
@adibvun6340
@adibvun6340 7 років тому
i have the same issue! help
@aquibnadaf
@aquibnadaf 7 років тому
dude, how do i know my host name/ IP address to connect to RPi via putty in the 1st place.
@Circuitbasics
@Circuitbasics 7 років тому
+Aquib Rifath Nadaf scan your local network with an IP scanner like Advanced IP Scanner - www.advanced-ip-scanner.com/?.ILx7q_x5Rr2EIgDYGQo5WA.0&A%2F%2Fwww.google.com%2F
@Scotianwraps
@Scotianwraps 7 років тому
I tried this, I cant find my pi ip address to get into putty.....When I connect via Ethernet it comes up as unidentified network???
@mrbobjrsrv
@mrbobjrsrv 7 років тому
Type into PuTTY "raspberrypi.local" for the hostname and make sure Port 22 is typed. The default login is "pi" and the default password is "raspberry"
@amfm4087
@amfm4087 7 років тому
it doesnt work
@sidney7180
@sidney7180 7 років тому
worked for me thanks!
@akshayfaritkhane649
@akshayfaritkhane649 3 роки тому
thanks bro
@canrijo4617
@canrijo4617 7 років тому
plz say me why im getting network error and connection timeout
@svb9002
@svb9002 8 років тому
D'oh i am a newbie Pi owner and want to know how to connect my pi to my laptop screen. Your guide is ok, but you are already connected with your Pi. I downloaded putty. BUT 3:36 you say "open the Pi" how can i open the pi if it is not connected to my computer?Also with the new pi 2. There is no log in, i do not have to enter a password or username. Please HELP thank you.
@hanyaosan1953
@hanyaosan1953 8 років тому
+S Gale (SGHD) you right, i can't connect too
@matthewc1386
@matthewc1386 8 років тому
How did you get it to work?
@WilliamMcNett
@WilliamMcNett 6 років тому
How did you use PuTTY to login to the Pi???? That's why I'm here.
@featherfawkes4330
@featherfawkes4330 3 роки тому
I know I'm a bit late, but I think anyone else coming here for help might find this useful. You can login to the pi using putty by putting in raspberrypi as the host name
@cringebunny5886
@cringebunny5886 5 років тому
hey it is possible connect raspberry pi b+ only via usb? i don't want connect raspberry pi Ethernet cable
@akashpradhan7036
@akashpradhan7036 7 років тому
incomplete please add the inbetween steps of how the ip and auto config ip was used and where did the .10 in static ip came from when .6 was saved?
@mrbobjrsrv
@mrbobjrsrv 7 років тому
Guys, for all of you who are still stuck setting up the Raspberry Pi for the first time: PuTTY SSH Hostname: "raspberrypi.local" Port: 22 Default login: "pi" Default password: "raspberry" Then you can get access to the command line :)
@DavidGillooly
@DavidGillooly 7 років тому
I tied raspberrypi.local but say Unable to open connection to raspberrypi.local Host does not exist I have raspberry pi 3
@andrewkudi
@andrewkudi 7 років тому
it was helpful for me to enable option "Enable/disable remote command line access to your Pi using SSH" www.raspberrypi.org/documentation/configuration/raspi-config.md
@cmelton.photography
@cmelton.photography 7 років тому
mrbobjrsrv OH MY GOSH!!!!!!! THANKS SOOOOOOOOOOOOOO MUCH!!!!!! I replaced the [raspberrypi].local with my host name and it worked, thanks soooooo much...
@Ken-rn2nw
@Ken-rn2nw 6 років тому
bro i found recovery.mshome.net instead of raspberrypi.mshome.net what should i do?
@umdpru
@umdpru 6 років тому
raspberry.local isn't connecting to the Pi either...
@kaustubhdave11
@kaustubhdave11 8 років тому
Works good while just connecting with the pc, but cannot access internet from Rpi as shown at 8:35. I am connected to the laptop via Wi-Fi and attached RPi via Ethernet cable. Any help would be appreciated.
@Circuitbasics
@Circuitbasics 8 років тому
Great, glad to hear you got it working!
@SquirrelFromGradLife
@SquirrelFromGradLife 8 років тому
+Kaustubh Dave If you connect to your RP via Ethernet then you should use a crossover cable and not a standard patch cable. On a crossover cable the receive and send pins are switched or else both network cards send and receive using the same pins on the cable. Connecting through WIFI negates that issue. You can also connect through a switch, hub or router using a regular patch cable but the point here was just using one network cable. Finally if you use your PC as a hub for connecting to the internet then you should enable internet sharing on your PC.
@kaustubhdave11
@kaustubhdave11 8 років тому
SquirrelFromGradLife Yup, just one network cable, so maybe I should consider for the "enable internet sharing " option. Thanks anyway!
@SquirrelFromGradLife
@SquirrelFromGradLife 8 років тому
Kaustubh Dave You still need a crossover cable for a direct ethernet connection between your PC and the RP and yes you must enable internet sharing on your PC if it's connected to the internet in order for the RP to connect via your PC.
@goumiriisrachahrazed2
@goumiriisrachahrazed2 6 років тому
Hello It worked in the first time then in my second time trying to connect it kept giving me network timeout on both putty and vnc viewer and i cant even ping to my pi What is wrong ??
@NayburhoodSnipa
@NayburhoodSnipa 5 років тому
cat /etc/resolv.conf dose not work for me. When I enter that command the terminal just opens a new command line. I tried adding sudo in front to no avail.
@SouravKumar-iw8xh
@SouravKumar-iw8xh 6 років тому
i'm trying to connect my laptop to rassberri with just lan cable and without router because i don't have one. so i just configured static ip in both the devices and tried to setup network between them.it appears that network have been establised but when i try to ping(to check whether they are able to communicate or not) my windows laptop from rassberri pie then it is not able to ping but when i ping my rassberri pie from laptop it ping successfully.My real problem is actually that i am not able to ssh from the laptop to rassperri pie through ethernet .the description about pinging i gave just because i thought it will be related to same problem because of which i cannot ssh from laptop to rassberri pie,and that the ping description may help you to find the solution to my problem..please help me to fix my problem,and be able to access my rassberri from laptop
@henriknergaard3144
@henriknergaard3144 5 років тому
If you do not know your RPi's ip address download Advanced IP Scanner or a simillar tool. Connect your pi to your computer with ethernet cable and power up your pi. Open Advanced IP Scanner and press the button with a C on it . Then press Scan and your pi will show in the list below with the IP address included.
@Westsailor
@Westsailor 5 років тому
So I have my Pi connected to my laptop. My network & sharing tells me I'm connected to an 'unidentified network' via LAN but Advanced IP scanner isn't detecting the Pi
@anilsarode6164
@anilsarode6164 4 роки тому
In your video, I assumed or I am sure the system is connected to both Wifi and Ethernet. The Ethernet IP is 169.254.81.7 and Wireless IP is 10.0.0.2 respectively to the system. So you can access the pi using Putty by using the IP 10.0.0.14 assigned by the Wifi router.
@voxvox6063
@voxvox6063 2 роки тому
How can I see me
@jesuschristusrettetallein4205
@jesuschristusrettetallein4205 Рік тому
@@voxvox6063 its called a mirror
@owenpheasey4285
@owenpheasey4285 7 років тому
how do i find the gateway of my pi? I have no monitor for the pi
@imsarthakmondal
@imsarthakmondal 4 роки тому
Sir what will I do if my ethernet port is not available?? Please help
@email16v
@email16v 6 років тому
I still can't get my pi 3 WiFi to work and I'm with IT! Smh
@miteshpatel3428
@miteshpatel3428 7 років тому
hi I use raspberry pi 3 and I connect through a tplink router bit after 1 day working fine now it not connect and shows error "connection time out " and also "connection refused "..please help me and now in my router does not show up of raspberry pi in DHCP client list and I also scan but in both case I not find my raspberry pi ip
@Ken-rn2nw
@Ken-rn2nw 6 років тому
for me i found recovery.mshome.net instead of raspberrypi.mshome.net what should i do?
@CaptainNuki
@CaptainNuki 7 років тому
Everyone who is having problems connecting!!!! Set raspberry to dynamic ip
@SufiShahHamidJalali
@SufiShahHamidJalali 8 років тому
Thanks for the great video. Do you have any tutorial on how to connect directly from laptop to RPi for the first time. This video showed that you already had putty configured. I have brand new RPi and want to connect to it from my laptop for the first time. Any guidance will be much appreciated.
@Circuitbasics
@Circuitbasics 8 років тому
Hi, yes I do... This article (there's a video in the article too) will show you how to set up the Pi in headless mode without a monitor or keyboard for the first time. This should be what you're looking for I think: www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/
@SufiShahHamidJalali
@SufiShahHamidJalali 8 років тому
+Circuit Basics Thanks budy.
@SufiShahHamidJalali
@SufiShahHamidJalali 8 років тому
Circuit Basics My raspberry Pi network file shows a new keword instead of dhcp it shows manual. How can I set that up?? I think it is the updated version I couldn't find any tutorial for it. Can you help in this case?
@wafaaalnassan9875
@wafaaalnassan9875 2 роки тому
What is the IP captured at 3.25
@tamilafali1122
@tamilafali1122 8 років тому
hi, i want to configure my wifi lan and you didn't say from were should i get the ip address
@5074pokemon
@5074pokemon 7 років тому
Tamila Fali yeah
@svb9002
@svb9002 8 років тому
Ethernet IP address. On your screen it says "autoconfiguration IPv4 Address" But when i check mine it only says "IPv4 Address" Why? Is this the same?
@takr5530
@takr5530 6 років тому
DAMN!!! you sound like tony stark
@vaibahvsingh1169
@vaibahvsingh1169 6 років тому
How to know what password to type ..while opening pi in putty.. Iam giving pi raspberry But it's writting access denied.... What to do ?
@canrijo4617
@canrijo4617 7 років тому
can we change ip adress of ethernet
@SquirrelFromGradLife
@SquirrelFromGradLife 8 років тому
You need a crossover ethernet cable for that to work.
@Circuitbasics
@Circuitbasics 8 років тому
No need for a crossover cable, any old Ethernet cable will work
@2010dburrows
@2010dburrows 6 років тому
When i downloaded putty i got putty key generator not putty configuration
@mr.es1857
@mr.es1857 5 років тому
WARNING THIS HAPPENED TO ME : This so cool but if i set up the two interfaces wlan0 and eth0 it occures that when i got to sudo apt-get install xrdp it ocurres a problem aparently with the web page... well i really don't know i'm a noob but i coulden't download the remote protocol so i looked in a forum an i saw a comment that was sayaing to disable one of the to interfaces in /etc/dhcpcd.conf and i did and it worked for me.
@caidenbritton5481
@caidenbritton5481 6 років тому
i cant connect to putty..
@nurasyiqinhamzah5758
@nurasyiqinhamzah5758 6 років тому
i cant even login because the ethernet already unidentifies before it starts booting. anyone please help
@shibinraja
@shibinraja 7 років тому
when I enter 10.0.0.14 in putty it shows connection time out
@Cowboy8625
@Cowboy8625 6 років тому
Csavier Kahlo so how do I find what I need for mine?
@Cowboy8625
@Cowboy8625 6 років тому
Csavier Kahlo I did man, it says timed out. I have enabled SSH for sure. I haven't got a clue what I did wrong.
@ironsm4sh
@ironsm4sh 5 років тому
it is not in the video, as seen by my and confirmed by the OP himself on this page.
@ryanpitcher64
@ryanpitcher64 5 років тому
so, i followed each step verbatim and now whenever i try to enter ssh i get a "session timed out" error and now i can't connect to my pi at all through my laptop when before the video i could at least connect wirelessly... im new to this so i have no clue what to do now...
@xasmaniusvolk8416
@xasmaniusvolk8416 6 років тому
Wow the right bottom corner tells me that u re one of the UNPUXHost.exe victims.
@xasmaniusvolk8416
@xasmaniusvolk8416 6 років тому
(Windows 10 logo)
@nissimcohen6811
@nissimcohen6811 6 років тому
Thank you for your very informative tutorial. I believe,I followed all your steps but I still cannot find my PI IP address. I formatted my SD card ; I copied the file 2017-09-07-raspbian-stretch-lite.img into SDcard ; I created and copied an empty file called SSH . ;I connected my laptop (Win 10) to pi via a straight network cable. I tried to set my laptop Ethernet adapter to a static IP address 192.168.137.1 ( enable sharing ) but I still cannot find my pi IP address; I would appreciate if you could advise me how to find my pi IP address
@Primal_Directive
@Primal_Directive 6 років тому
www.raspberrypi.org/learning/software-guide/quickstart/
@happyhippr
@happyhippr 7 років тому
this tutorial is useless.. if im i dont already know how to "connect to my raspberry pi via Ethernet" why would you expect that i know how to use putty, or access the "gateway". The tutorial becomes usesless after that point.
@giantkilleroverunity
@giantkilleroverunity 6 років тому
You nailed it here. I have a pi rj45'd to my laptop that is wireless to a router. Thats all. Now the simple question for the umpteenth gabillion time is: How do I connect the pi to the wireless network that the laptop is on?
@OpieOG
@OpieOG 6 років тому
giantkilleroverunity you have to use a cross over cable, fair warning the are cashy
@AndersJackson
@AndersJackson 6 років тому
Joe Kolb both the Pc and RPi detects if it has a cross over Ethernet cable or not. So no need to have a cross over cable.
@AndersJackson
@AndersJackson 6 років тому
giantkilleroverunity the thing is that the RPi is connetcted to the wired connection to your Pc. No need to connect the RPi to the WiFi. After you connected to the RPi you can set it up for WiFi. But you need to connect to the RPi first to enter AP name and password to the RPi for it to be able to connect to WiFi.
@innocent.a1816
@innocent.a1816 5 років тому
SOMEONE PLEASE HELP IT JUST SAYS ERROR NETWORK REFUSED
@oeb41
@oeb41 3 роки тому
i can ping it but cant connect to it...
@imsarthakmondal
@imsarthakmondal 4 роки тому
Sir please tell it's urgent
@qmoennoe
@qmoennoe 7 років тому
it dont works for me
@Westsailor
@Westsailor 5 років тому
please clean up the audio. It sounds like you're using some processing that makes audio almost unintelligable
@lexdesmets9365
@lexdesmets9365 3 роки тому
LOL
@mihnearomanovschi1444
@mihnearomanovschi1444 7 років тому
This was useless. I did what you said in the video but for some reason it defined it wrong and now I am not able to acces the internet from the pi
@mihnearomanovschi1444
@mihnearomanovschi1444 7 років тому
Is there a way to revert back to the old ip?
@CoderSprint
@CoderSprint 6 років тому
ukposts.info/have/v-deo/j3KdjKx-rqGLwmw.html Follow this easy tutorial :)
@hemanga.amesara1688
@hemanga.amesara1688 6 років тому
Hiii It's don't show autoconfiguration IPv4 Address Why...?
@h7opolo
@h7opolo 2 роки тому
type ipconfig /all
@nidaleeh
@nidaleeh 4 роки тому
Never make a guide, ever again.
@prokillergrape5823
@prokillergrape5823 7 років тому
Umm you just called windows 10 windows 8
@Abc-sl1nf
@Abc-sl1nf 6 років тому
You failed to say what Ip address to put into Putty?? Your screen shows ipv4 10:0:0:6 then you enter a completely different one for Putty. If you're going to show people, You might want to explain yourself better. Going to a different tutorial!
@Cowboy8625
@Cowboy8625 6 років тому
Abc did you figure it out
@theshuttel
@theshuttel 5 років тому
This way need internet?(PLEASE SAY NO!!!)
@321mydestiny
@321mydestiny 6 років тому
That's too much work it's easier just to connect to the Wi-Fi I rather just connect the damn Internet right into the pie and be good to go to butttt it's more complicated than that.
@darshanpatel37
@darshanpatel37 7 років тому
Why don' t you people open your mouth enough to speak !!!
@MaleRybyTakyRyby
@MaleRybyTakyRyby 7 років тому
Where you find an IP address of your RaPi? You find just an autoconfiguration. The numbers 10.0.0.14 were nowhere. :(
@riza4086
@riza4086 7 років тому
lol I was running into that same problem for a week. If you still have not resolved it reply back.
@MaleRybyTakyRyby
@MaleRybyTakyRyby 7 років тому
Yes I still didn't run it this way. It work to me just over a router.
@Abc-sl1nf
@Abc-sl1nf 6 років тому
Definitely don't put anymore tutorials!! save us time and frustration!! Stick to Legos
@sharana890
@sharana890 6 років тому
Dude slow down first of all how do you find raspberry ip?
@tanbirsohail
@tanbirsohail 7 років тому
There are much simpler ways to achieve what you are doing.
@diannerose8599
@diannerose8599 7 років тому
what ?
@bakunincervantes4372
@bakunincervantes4372 7 років тому
Hi, well if so why not tell us?
@gachingoy
@gachingoy 5 років тому
@@bakunincervantes4372 he doesnt know shit thats why dont trust these kind of trolls
@ronen124
@ronen124 8 років тому
linux based...(-:
@MadawaskaObservatory
@MadawaskaObservatory 2 роки тому
your going toooooooooooooooooo fast
@Brian-nz6ns
@Brian-nz6ns 5 років тому
TIP = you can't "connect to a raspberry pi directly with an Ethernet cable" if you don't have an OS installed on it, SSH enabled, and know the IP address of the raspberry pi... this noob just shows you how to set a static IP using SSH
@riteshpatel6823
@riteshpatel6823 3 роки тому
why do you feel shame to add voice?
@globalist1990
@globalist1990 3 роки тому
Ffs, how is anyone dropping any working os for Linux or this crap...
@iamrlk69
@iamrlk69 7 років тому
That was a waste of time! I don't get it! What did you do? I guess I'm an idiot! I thought you were going run your Raspberry Pi from your windows computer! If so why could you have shown that?
@jamesbaillies6812
@jamesbaillies6812 3 роки тому
ditto and please take this guide down. it does not work anymore.
@dannychenski687
@dannychenski687 4 роки тому
Don't waste your time, these meticulous and long steps can be done in a shorter, easier video. I know that a lot of these addresses will look the same, but it's not working anymore, screw this video
Raspberry Pi 4 Getting Started
24:54
Crosstalk Solutions
Переглядів 2,3 млн
Raspberry PI - How to connect with Laptop using Direct Network Link
7:09
You’ve Never Seen A Race Like This 🚀
00:21
Red Bull
Переглядів 39 млн
NO NO NO YES! (40 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:27
PANDA BOI
Переглядів 81 млн
How to connect Raspberry PI to LAPTOP using Ethernet cable
8:44
Saravanan AL
Переглядів 690 тис.
How to Connect Two Computer Systems and share files with an Ethernet / LAN Cable
11:55
Solve it with Speedtech
Переглядів 59 тис.
Connecting to Wi-Fi and Using SSH - Raspberry Pi for Developers
6:24
Sam Meech-Ward
Переглядів 38 тис.
How to connect Raspberry PI to LAPTOP with LAN cable
7:14
Cap Trong Nam - How To
Переглядів 230 тис.
How to connect to your Raspberry Pi via SSH - PuTTY & WinSCP
7:31
Teaching Tech
Переглядів 49 тис.
The Worst Product I've Ever Reviewed... For Now
25:04
Marques Brownlee
Переглядів 7 млн
Робот зарядка на 65W🤖
0:36
serg1us
Переглядів 1,6 млн
NOTHING PHONE 2A - НЕОБЫЧЕН ВО ВСЕМ!
30:39
DimaViper
Переглядів 52 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 562 тис.