Connect to a Raspberry Pi Zero W via USB - No Mini HDMI Cable Needed

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 402

  • @fantasaicproductions7612
    @fantasaicproductions7612 7 ปีที่แล้ว +40

    OMG YES THIS TOOK ME LIKE 50 VIDEOS TO FIND THE RIGHT ONE AND NOW IT FINALLY WORKS THANK YOU SO MUCH!!! IT WAS THE BOUJOUR THAT SAVED ME

  • @iandawson7920
    @iandawson7920 5 ปีที่แล้ว +17

    A suggestion to make this even better: explain why each of the config changes/additions are required. This will increase both achievement(which you already have) with understanding. For bonus points include where/how you found the different techniques/commands soothers can do the same 👍

  • @anthonyhologounis
    @anthonyhologounis 2 ปีที่แล้ว +2

    I found this and it is perfect. The only thing I had to do different was to reboot the pi zero w to get the wireless to come up. Excellent work!

  • @blacktowers11
    @blacktowers11 6 ปีที่แล้ว +38

    Wasn't seeing the Pi Zero in the network list and couldn't ssh into it. Turns out there's a timing issue where Windows gives up trying before the Pi boots. Solution, separate power source for the Pi. I plugged in the Pi power port to one usb port of my laptop, and let it boot, then plugged the data port into another usb port, and magic, it appears in the network list and I can ssh into it no problem.

    • @jrM5492
      @jrM5492 6 ปีที่แล้ว +3

      followed your tips, it worked. then next day it didn't work again. host does not exist

    • @evancain8202
      @evancain8202 6 ปีที่แล้ว

      Flush the DNS. You can do this by opening command prompt and typing in "ipconfig /flushdns" and try again. This should fix it.

    • @manojkl1323
      @manojkl1323 6 ปีที่แล้ว +1

      Updating the driver for that connected port worked for me:)

    • @janiceking5200
      @janiceking5200 5 ปีที่แล้ว

      Evan Cain didn’t work for me ;(

    • @janiceking5200
      @janiceking5200 5 ปีที่แล้ว

      Evan Cain it says host doesn’t exist

  • @alexandervoth5722
    @alexandervoth5722 2 ปีที่แล้ว

    Thank you!!! The first tutorial after many of tutorials, which don´t have all the information's and steps! Particular for beginners - a success! Keep going!

  • @mohammadmoinulhaq2501
    @mohammadmoinulhaq2501 5 ปีที่แล้ว

    it wasn't getting access to wi-fi until I changed network credentials through "sudo raspi-config" command, then it asked me the name of my country I am using the Pi at, after that I entered the credentials and Wollah! it works like a charm... Thanks all of you..

  • @Tony-rl2fr
    @Tony-rl2fr 5 ปีที่แล้ว +3

    Hey, great video and info. Thank you. However... yes, here it comes... since Apple quit supporting Bonjour on Windows a while back, Bonjour ‘on WINDOWS’ is a known security risk. It is still supported on Mac, just not for Windows. So my point being that once you get your Pi configured for whatever you’re going to use it for (pi-hole, for example) you should uninstall Bonjour when you’re done. Cheers.

  • @danielnadeau5741
    @danielnadeau5741 4 ปีที่แล้ว

    I know this is a really old video and you might not even see this comment, but I would very highly suggest explaining what the edits to the text files actually do. You did for the ssh file, but not for the text added to the other two files. Thanks for the video!

  • @Vvdtnl
    @Vvdtnl 4 ปีที่แล้ว +1

    Hey dude you saved the day. I spent whole evening yesterday trying to ssh into the Zero, your video helped me solve the issue in like 5 minutes tops!

    • @katamus
      @katamus 4 ปีที่แล้ว +1

      how did you make the ssh file into a file, because everytime I try to do it, the file just stays as a text document

    • @shaneorourke110
      @shaneorourke110 3 ปีที่แล้ว

      @@katamus Did you figure it out? Are you on windows or Linux?

    • @katamus
      @katamus 3 ปีที่แล้ว +1

      @@shaneorourke110 its been a while but I think I just save, and in the drop down menu on windows file, change it to any file, then put .ssh at the end of the file name

    • @shaneorourke110
      @shaneorourke110 3 ปีที่แล้ว

      @@katamus I don't think that's right mate. The file should have no extension. Just named SSH

    • @sovietcrab1876
      @sovietcrab1876 2 ปีที่แล้ว

      ​ this is because your file explorer hides the file extension. You need to go to File>Options>View and untoggle hide extensions for known file types

  • @MichalMonday
    @MichalMonday 6 ปีที่แล้ว +3

    It worked perfectly when I did it like a year ago, today I also had to open /etc/network/interfaces and add:
    auto wlan0
    iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    And reboot

  • @hottroddinn
    @hottroddinn 6 ปีที่แล้ว

    Here are somethings which I discovered while trying to setup my Raspberry pi zero W
    1. Followed all steps perfectly as shown in the video and also reading comments, but it wouldn't connect to the internet
    2. Eventually, connected HDMI to TV and found that the boot up was fairly slow and wasn't sure why but still decided to reflash with Raspbian Stretch(GUI)
    3. Connected a USB dongle for my Microsoft Keyboard 850(mouse and keyboard combo) and rebooted this time with Raspbian stretch and it was good to see both keyboard and mouse work!
    4. Remember this is designed to connect only to 2.4GHz and 5GHz is not seen by the pi. Wifi could see all the access points around me but wouldn't connect even after entering the right PSK. Disabling, rebooting multiple times didn't help either.
    5. Set these things manually locale, keyboard language, timezone and internet setting for country. This helped to connect the pi to wifi.
    6. Once connected, the wifi icon display is equivalent to "connecting..." seen on most devices / operating systems, but it actually means it's already connected. Realized only after about 5 minutes and pinging multiple domains.
    I will probably disable X on the server after I'm happy with the overall performance for few days.
    Hope this helps someone who might be struggling.

  • @ldandco
    @ldandco 7 ปีที่แล้ว +10

    And that intro : "Awesome!"

  • @apriloliver
    @apriloliver 4 ปีที่แล้ว +1

    Thank you! This helped a lot. For some reason my Pi Zero W wasn't connecting with HDMI, and I didn't know how to SSH into it without it being connected to wifi.

  • @TylerSandberg
    @TylerSandberg 4 ปีที่แล้ว

    I was struggling to get mine setup headless until I followed your directions. Well done, thanks. I'll echo that once in via ssh, configuration with raspi-config is an easy way to go.

  • @srellestech8723
    @srellestech8723 2 ปีที่แล้ว

    Super Helpful Video! I wonder how long it takes to boot and then be seen by your computer?

  • @hqav1783
    @hqav1783 5 ปีที่แล้ว +6

    Protip for persons that stucked in 3:10: If you changed host name before, you should use it instead of "raspberrypi" ;)

  • @ashleypotts1835
    @ashleypotts1835 6 ปีที่แล้ว

    worked first time, i was up all night trying before i watched this, thanks

  • @theborne
    @theborne 4 ปีที่แล้ว

    Worked for me...thanks! I followed every step, only thing is on the mac you have to type ssh prior to the command

  • @roboticai2663
    @roboticai2663 7 ปีที่แล้ว

    Legend, worked on the Pi Zero (no wifi) first time....Many Thanks

    • @merp_q9764
      @merp_q9764 3 ปีที่แล้ว

      Is there anything different from the video
      or can i have your contact for asking something i cant fix

  • @PinkShades
    @PinkShades 5 ปีที่แล้ว

    If you want to be able to connect to the Raspberry Pi (or any Debian system) via its host name, install the llmnrd package (via "apt-get install llmnrd"). This daemon will basically send the same packets that other Windows computers use to declare themselves on the network and it's much better than installing Bonjour or editing the hosts file. Just remember to also use "hostname raspberry" or whatever, then reboot your Pi. This will allow you to connect to your Raspberry Pi and use things like Samba without using its IP address.

  • @CesarQuinteros
    @CesarQuinteros 7 ปีที่แล้ว

    Thanks man this video had everything I needed to connect my Pi Zero. I was kinda frustrated before this because of lack of ports but that's the point of the zero.

  • @gogomac
    @gogomac 7 ปีที่แล้ว

    All the steps run from OSX.
    Create the ssh file with Textedit and then delete the .rtf extension by right-clicking Finder on the ssh name and choosing "get information" there is deleted .rtf and saved.
    I already have management via USB - >> ssh. Additional I was successful and already connected to WiFi in my home.
    Thanks again

  • @gogomac
    @gogomac 7 ปีที่แล้ว +4

    God bless you my brother, I had several weeks without understanding how to do this procedure.
    I connect perfectly, thanks to your tutorial
    Wonderful!!

  • @koesie1977
    @koesie1977 7 ปีที่แล้ว +1

    I just created the wpa_supplicant.conf file in the root of the boot partition with the details as you showed.
    Rasbian will pick it up and connect to your wifi network. And off course the ssh file so you can ssh into the machine.

  • @mr.architect3464
    @mr.architect3464 4 ปีที่แล้ว

    You are a lifesaver! Thank you very much.
    It is strange that this method is not available at the official RSPI site...I mean they all repeat the same stuff that doesn't work...
    If you want to avoid installing Bonjour, then you should type in putty:
    raspberrypi.local
    port 22
    Connect and then use default login: pi and password: raspberry
    after that, you are connected and you should change default raspberry password
    When I type pi@raspberrypi.local I get an error, but if I type raspberrypi.local, then you will be asked for login and password and everything works...
    REspEcT Bro!

  • @cameronw.4369
    @cameronw.4369 7 ปีที่แล้ว

    worked great! tried another method and that did't work.. so glad i found this!!

  • @abhijitkumbhar2393
    @abhijitkumbhar2393 7 ปีที่แล้ว

    You are awesome man, worked in first attempt after trying many other methods !!!!!!!!!

  • @TobyRobb
    @TobyRobb 7 ปีที่แล้ว

    Thanks, nice explanation. I did have to boot my zero on USB power first then wait a while before plugging it in to my PC. But after that SSH worked great.

  • @madhukeshnp
    @madhukeshnp 5 ปีที่แล้ว

    Simple n efficient n effective way of putting things across.
    Please make a video on port forwarding raspberry pi zero w and use Blynk from out side the LAN.
    THANK YOU IN ADVANCE

  • @m.rr.c.1570
    @m.rr.c.1570 ปีที่แล้ว

    Thank you very much only your solution worked out of all the videos in TH-cam
    😇

  • @frankpaxton233
    @frankpaxton233 6 ปีที่แล้ว

    OK. I've putty'd in. It works. What I want to do is use the gigabit internet on my desktop on the pi - rather than the wifi.
    I already have WiFi on the Pi 0 w working. So I don't need to do THAT... I need to ENABLE the pi 0 w to USE the gigabit Ethernet on my desktop. Can you show me how to do THAT. I realize I can wire in an Ethernet cable to the PI but I'd rather just go through the connection you've just helped me set up. Also I realize I can not get gigabit speeds through this type of connection...I'd be happy with whatever it can deliver. Thanks.

  • @ketonokeif4465
    @ketonokeif4465 6 ปีที่แล้ว

    Thank you so much! I've had a Pi Zero in my PC bag forever cuz I never had time to ,or couldn't, mess with it. This solution worked. However, it seems Putty doesn't want to connect to the Pi if I'm connected to wifi and try to ssh into Pi via usb/ethernet. Suggestions?

  • @WayneRigley
    @WayneRigley 6 ปีที่แล้ว

    well im about 89 videos in now to see if there is any way to get the wifi module working on my new pi zero. im just about to toss it into the garbage .. but now i found this so ill deff give this a try.. keep you posted..

  • @timothyeichstaedt8952
    @timothyeichstaedt8952 5 ปีที่แล้ว

    Couldnt make file without txt extension, but I used a file that was the same format needed, being somewhere in my programs. Copied to sd card then deleted the info in the file with notepad++ and changed name. Update, works

  • @eric8092
    @eric8092 ปีที่แล้ว

    cool tutorial, thanks so much according to this can connect to home wifi, but iPhone hotspots can't, do you know how to connect to iPhone hotspot?

  • @To17mi03
    @To17mi03 7 ปีที่แล้ว

    Cheers Jon,
    I'd been banging my head against a wall for hours trying to set-up headless.

    • @zAbdullahKhan
      @zAbdullahKhan 4 ปีที่แล้ว

      My Raspberry Pi Zero doesn't appear in the networks list. What could possibly be the reason?

  • @super_caprice2416
    @super_caprice2416 4 ปีที่แล้ว +6

    why doesnt this work for me? my pc is not recognising the raspberrypi in network connections pls help!

    • @jonathangerard745
      @jonathangerard745 3 ปีที่แล้ว

      same here... Windows 10 recognizes it as a Serial device. I tried manually installing drivers but no luck.

  • @russellauger2908
    @russellauger2908 6 ปีที่แล้ว

    Access via usb worked great. Wireless access to the config file failed, aka ... accessing it via the wireless by modifying the supplicant file. It does work if you use putty to access the setup menu or type the command $: sudo raspi-config and then access the network menu and install the network and password. The problem seems to be an update that moves the sensitive password and web access files. BTW. You can then use ifconfig wlan0 to see the host ip and login or create an array of hosts as needed. PS the use of GPIO numbers using PIN numbers appears to be a concern when using Broadcom and WiPi

  • @RandomPickles
    @RandomPickles 2 ปีที่แล้ว

    Does this work for the 2nd version?

  • @MrBobWareham
    @MrBobWareham 4 ปีที่แล้ว +1

    Thanks for the video it was very interesting but I gave up in the end as I can't get it to work even with bonjour and all the messing about the Pi Zero w would not show up anywhere I cant see it on my router network or angry IP scanner or windows
    10 network I even tried another scanner on my Andriod phone but nothing I tried my power supply from my Raspberry pi 3b but nothing I see the green light flicker and then go solid green but that is it I give up but thanks

    • @WhyDud3
      @WhyDud3 2 ปีที่แล้ว

      same

  • @kalicci
    @kalicci 7 ปีที่แล้ว

    thanks for the tutorail. will it work with thre raspbian full version or just the lite one?

  • @easyelectronicsru
    @easyelectronicsru 7 ปีที่แล้ว

    Use paragon extfs for windows for direct edit /etc/wpa_supplicant/wpa_supplicant.conf on flash in windows and add ssh file to boot. Thats all.

  • @mitchwilliams6132
    @mitchwilliams6132 4 ปีที่แล้ว

    Thank you so much! Still having issues but 90% of the way there in 6 mins!

  • @narnasqueneth
    @narnasqueneth 4 ปีที่แล้ว

    successfully followed the tutorial- you have my sub and like, sir! Now to get it set up as a NAS!

    • @narnasqueneth
      @narnasqueneth 4 ปีที่แล้ว

      @Antonius Vivinn I was going to do a video on this but I first wanted to apply a heatsink and thermal paste to regulate temperature. I unfortunately short circuited something and fried the pi zero. But I did complete a Nas project with Pi4

  • @timothyeichstaedt8952
    @timothyeichstaedt8952 5 ปีที่แล้ว +2

    Can you make this video but for the retropie instead. Was able to use for raspbian but need it for the retropie os instead.

  • @felipemonsalvez7914
    @felipemonsalvez7914 5 ปีที่แล้ว +3

    Just tried with 3 different raspi's (zero W) and 3 different versions of raspbian (2017-4-10, 2018-11-13, 2019-04-09) on windows 10 notebook. None of that werk, just got an USB serial device connected but no network conections. First conecting the pi to power to give it time to reboot and then conecting to pc but nothing happens :/ start thinking this is all false

    • @TechWizTime
      @TechWizTime  5 ปีที่แล้ว

      It really does work. In the next few weeks I'll be redoing this tutorial for my new website raspberrypiprojects.com so I'll post here once it's up so you can try it. Just incase anything major has changed in between then and now.

  • @harrypachinko
    @harrypachinko 7 ปีที่แล้ว

    Great video. I just wish I could get my new rPI Zero W to be recognized. All OS's work but WiFi and Bluetooth don't come up... No matter what I try. Here in the US, I went to Best Buy to try and pickup a micro/mini USB to transfer data to my Mac so I could try your procedure but, they told me that it wouldn't work and would be a conflict due to a driver issue. They told me there was no resolve but yet, I watch your explanation it it all seems so simple... What am I missing? What is the EXACT cable needed to make your technique happen with the Zero W? Thanks in advance to anyone who can help out the newbie. 😉

    • @vincemomot9456
      @vincemomot9456 3 ปีที่แล้ว

      I ran into the same problem today, apparently, you need an RNDIS driver on the device, it's not your cable that's broken most likely

  • @misaalanshori
    @misaalanshori 5 ปีที่แล้ว +1

    I'm ordering a raspberry pi zero w and do you have a video on creating a wifi hotspot on the pi and connecting to it to ssh?

  • @alexanderquinn3177
    @alexanderquinn3177 3 หลายเดือนก่อน

    Instructions worked for me, but I had to install raspbian_lite-2017-04-10 . It would be nice for there to be updated tutorials on how to do this with the newer versions of raspberry pi OS. Also, might help to know that the default pwd for user "pi" is raspberry"

  • @geekPlayground
    @geekPlayground 5 ปีที่แล้ว +2

    Hi,
    Thanks for the video. Will this work on the non-wireless PI zero ?
    After doing all steps, I don't get the rpi in the adapters section as you did.
    Anyone with the same problem ?
    Thanks in advance

  • @LundMr1
    @LundMr1 7 ปีที่แล้ว

    Dat intro. Perfect.

  • @rowanfelicite4960
    @rowanfelicite4960 5 ปีที่แล้ว +2

    Thank you so much, sir. That's a great piece of work

  • @shellcode4892
    @shellcode4892 7 ปีที่แล้ว +12

    This is outdated and is a terrible way to set up headless mode. All you need to do is format the SD card, install the OS image to the SD card, make the ssh file, and make a file named "wpa_supplicant.conf" with the contents of the file being:
    country=US
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    network={
    ssid="your_real_wifi_ssid"
    scan_ssid=1
    psk="your_real_password"
    key_mgmt=WPA-PSK
    }
    Save and boot up your Raspberry Pi. Wait about 40 seconds, and check your routers LAN clients list. You should see one named raspberrypi and the local IP address next to it. Just SSH using that IP and if you're successful it will save the settings automatically. This works for the latest Raspbian Stretch image as well, if you have an issue with Stretch, all you need to do is make another network below it with fake info and it will connect to the real one. So the file would look like this instead:
    country=US
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    network={
    ssid="your_real_wifi_ssid"
    scan_ssid=1
    psk="your_real_password"
    key_mgmt=WPA-PSK
    }
    network={
    ssid="fake_wifi_ssid"
    scan_ssid=1
    psk="fake_wifi_password"
    key_mgmt=WPA-PSK
    }

    • @spidercrackscreen8627
      @spidercrackscreen8627 6 ปีที่แล้ว

      THANK YOU VERY MUCH!!

    • @Alice-D-23
      @Alice-D-23 6 ปีที่แล้ว

      Hi how do you connect by ssh on the ip? i managed to connect to the pi on the ip but with the wrong user, can you give me an example to connect by ssh and ip with the user pi@raspberrypi.local ?
      THX

    • @michellea5435
      @michellea5435 6 ปีที่แล้ว

      AHH! i'm going nuts. I have tried this and other methods and i still can't ssh into the zero w. Do you have any other tips?

    • @michellea5435
      @michellea5435 6 ปีที่แล้ว

      it took me a full day, but I figured out the problem was with the .conf information I was using because we use AES. if anyone else is having this problem, use this in the .conf file.
      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
      update_config=1
      network={
      ssid="myssid"
      psk="mypasskey"
      proto=RSN
      key_mgmt=WPA-PSK
      pairwise=CCMP
      auth_alg=OPEN
      }

    • @Ed19601
      @Ed19601 6 ปีที่แล้ว

      Shellcode mi

  • @jeffrussert448
    @jeffrussert448 5 ปีที่แล้ว

    Thanks! Everything worked great!
    I wasn't able to find the IP address from the pi, so I found that through my router.

    • @zAbdullahKhan
      @zAbdullahKhan 4 ปีที่แล้ว

      My Raspberry Pi Zero doesn't appear in the networks list. What could possibly be the reason?

    • @jc64333
      @jc64333 4 ปีที่แล้ว

      @@zAbdullahKhan I am having the same problem, were you able to figure it out?

  • @WVRetreat
    @WVRetreat 6 ปีที่แล้ว +4

    I could not connect and tried everything. Installing Bonjour fixed it. I would like to know why Bonjour is needed for this. It doesn't make much sense.
    Another thing to note is that when you image your SD card, you will get two partitions and Windows will mount each separately. The first partition is readable in Windows, but the second is not. This is completely normal. Leave the second partition alone. If Windows asks if it can format it, then tell it not to. I am using Windows 10 Professional.

    • @evancain8202
      @evancain8202 6 ปีที่แล้ว

      I think the reason it works is because Bonjour flushes the DNS list. I'm not certain about this but I found another fix to the same problem involving flushing the DNS so it seems highly possible that this is the case

  • @marklimbrick
    @marklimbrick 5 ปีที่แล้ว

    Really excellent video! I ordered a basic zero and camera, just for uav timelapse. The forums left me thinking it's not going to be possible without a whole load more gear, and way too complicated. Can you please help with how I get the zero to stop being a camera when I want to transfer the folder of images to the laptop? I'd have to interrupt or pause it somehow?

  • @UpcycleElectronics
    @UpcycleElectronics 6 ปีที่แล้ว +2

    OMG!!! That intro! Sub'd! I don't need to even watch the vid to know. I really needed that. Thx

  • @muhammadumairanwar1337
    @muhammadumairanwar1337 7 ปีที่แล้ว

    Thanks @TechWizTime. It was really helpful, worked for me.

  • @ronniehuntsville5100
    @ronniehuntsville5100 5 หลายเดือนก่อน

    Does it work at all!

  • @TechWizTime
    @TechWizTime  6 ปีที่แล้ว +1

    Grab your *Raspberry Pi Zero* from *Amazon* ► geni.us/NMWrzmW or *eBay* ► geni.us/2VqbGuT
    If you need memory cards, I recommend *Samsung Micro SD Cards* from *Amazon* ► geni.us/hTOi or *eBay* ► geni.us/PcGu
    Or, click Read more under this for other *PI ESSENTIALS* below!
    ★ ★ *Raspberry Pi 3 Power Supply* ★ ★
    Amazon ► geni.us/SC5wNc
    eBay ► geni.us/g4jMj
    ★ ★ *Wireless Keyboard & Mouse* ★ ★
    Amazon ► geni.us/xa0O
    eBay ► geni.us/vnl9i
    ★ ★ *8BitDo Controllers & Gamepads* ★ ★
    Amazon ► geni.us/2E9IZF
    eBay ► geni.us/GaTr
    ★ ★ *Raspberry Pi 3 B + Case* ★ ★
    Amazon ► geni.us/qslsedS
    eBay ► geni.us/TcgdU
    ★ ★ *Kingston USB 3 Reader* ★ ★
    Amazon ► geni.us/UltUPy
    eBay ► geni.us/7OGxZ
    ★ ★ *Samsung Micro SD Memory Cards* ★ ★
    Amazon ► geni.us/hTOi
    eBay ► geni.us/PcGu

    • @kashmirha
      @kashmirha 5 ปีที่แล้ว

      Why Raspberry Pi Zero W? Is "Raspberry Pi Zero" not enough in some way?

  • @hunkydoodle2374
    @hunkydoodle2374 4 ปีที่แล้ว

    Would this also work for a raspberry pi 4? I would like to be able to use one portably with my laptop.

  • @hawleyw6
    @hawleyw6 7 ปีที่แล้ว

    Do you need to undo the edits which you made to enable the pi as an Ethernet gadget in order to make the pi behave "normally" (after you've setup wifi)?

  • @shanebeasley8191
    @shanebeasley8191 7 ปีที่แล้ว

    Will I need to do this for octopi? My pi zero W came today, gonna install octopi on it tomorrow is there anything I need to know compared to when I installed it on my pi 3?

  • @mahlonkarpaiya252
    @mahlonkarpaiya252 3 ปีที่แล้ว

    can i output over usb and hdmi at the same time? or even spi and usb. I want a view finder on my pi zerocam

  • @nurakhyarnordin3985
    @nurakhyarnordin3985 5 ปีที่แล้ว +4

    i'm having a problem whenever i try to reconfigure the wpa_cli... it display "Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory

    • @mikes2051
      @mikes2051 5 ปีที่แล้ว +1

      I had the same issue and this solved it:
      follow the steps in the video to ssh into the pi, then follow tmbg1985's comment to sudo raspi-config and set the network creds and pword there. then go back and do sudo wpa_cli reconfigure and ifconfig wlan0
      So:
      1. ssh into pi
      2. sudo raspi-config
      3. set netword creds
      4. sudo wpa_cli reconfigure
      5. ifconfig wlan0

  • @kazemzahedi1047
    @kazemzahedi1047 5 ปีที่แล้ว +1

    Hi Thanks, for your video. I need to program my RPi Zero W to control GPIO's
    Do I do that through the command line or ant better application like Notepad ++
    Once programming is done I will need to control GPIO's through WiFi
    Any suggestions?? or any advice
    Thanks again, KZEM FROM CANADA

  • @MrDowntemp0
    @MrDowntemp0 6 ปีที่แล้ว +1

    is it possible to share internet with the PC? That way the PC can use a wired connection, and the Pi can access debian repos over that save wired connection, tunneled through ssh over usb? Then you could use a pi zero (not the w)

  • @ForwardEngineering
    @ForwardEngineering 3 ปีที่แล้ว +1

    I triple checked everything but I don't get the device showing up under network adapters, have confirmed Bonjur is latest.

  • @christiang2066
    @christiang2066 7 ปีที่แล้ว +1

    Such a good video! Super helpful and easy to understand. You sir, have got yourself a new subscriber.

  • @AtindriyaDas
    @AtindriyaDas 4 หลายเดือนก่อน +1

    Thanks very much!

  • @LifeByKpop
    @LifeByKpop 6 ปีที่แล้ว

    Nice video. Do you know where to get an RNDIS Gadget driver for Windows 10? Not sure it even exists anymore.

  • @divyayandey396
    @divyayandey396 3 ปีที่แล้ว +1

    I made all changes in config and cmdline, but the device doesn't show up in network connections. What's the way out?

    • @jahoppey
      @jahoppey 3 ปีที่แล้ว

      Same here, I guess too much has changed in the raspbian OS in the last 4 years.

  • @b16crxt
    @b16crxt 6 ปีที่แล้ว

    in Jessie (because I couldn't get stretch to work for some reason) I have this in the cmdline.txt file. Where do I insert your text? At the end, after rootwait?
    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=e2224e05-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
    EDIT: Yes pasting it after rootwait with the different script still works. I am getting a file doesnt exist error when running the wifi reconfigure command though. Setting up this pi-hole looked so much easier in videos and how-to's....
    EDIT2: sudo wpa_cli reconfigure worked after rebooting.

  • @CrazyCoupleDIY
    @CrazyCoupleDIY 5 ปีที่แล้ว +1

    You are a champion

  • @Bonjour-World
    @Bonjour-World 7 ปีที่แล้ว

    Excellent ... but what about a demo using Linux Computer (notice I made no obscene remarks about that other operating system you have shown).

  • @LifeByKpop
    @LifeByKpop 6 ปีที่แล้ว

    I did get this working. But do you know a way to pipe the audio from the R-Pi ZW through the USB so it comes out the PC speakers?

  • @erwickdsouza
    @erwickdsouza 5 ปีที่แล้ว

    Super helpful, thanks mate.

  • @Aerox90
    @Aerox90 4 ปีที่แล้ว

    Is it possible to set up the Pi Zero W as a wireless router with its own SSID name - thus both acting as the host and a user of its own local wi-fi network. Then let other devices discover and connect directly to the Pi by selecting its SSID from the list of wireless networks?
    (So neither the Pi nor the other device would both need to be on a network provided by an additional third router, like the home-network for example?

    • @Aerox90
      @Aerox90 4 ปีที่แล้ว

      Basically: i want to be able to connect a batterypowered device equipped with a display wirelessly to a batterypowered Raspberry Pi - while being outdoors in the middle of nowhere, far away from nearest civilization!
      (And without using my phone as hotspot)

  • @nemliveproductions
    @nemliveproductions 5 ปีที่แล้ว +2

    You CANNOT use raspberrypi.local to ssh into it if you have another machine with that hostname on the network.

  • @bennguyen1313
    @bennguyen1313 5 ปีที่แล้ว

    I'm running a Pi Zero W (Jessie) that already works with SSH over ethernet. On the Pi side, how could I check if SSH over USB is also already enabled (or enable it if not already)?
    On the PC/Windows side, I use MobaXterm for SSH'ing via ethernet.. what kind of software/drivers would I need to SSH to the PI via USB?

  • @JohnasMusic
    @JohnasMusic 5 ปีที่แล้ว +2

    HELP!!!! I followed and did everything as shown in the video but I keep receiving "Host does not exist" message although I have Bonjour installed

    • @zainuddin3638
      @zainuddin3638 5 ปีที่แล้ว

      Did you get pi in your network adopter folder?

    • @fouedbendaya5431
      @fouedbendaya5431 5 ปีที่แล้ว

      @@zainuddin3638 i haven't got the pi in network , i don't know why

  • @jackp2088
    @jackp2088 3 ปีที่แล้ว

    thank you, gonna save bucks using this, really helpful :)

  • @dloc116
    @dloc116 7 ปีที่แล้ว

    Can I set up the wifi like you showed with out ssh?

  • @harrycui6114
    @harrycui6114 7 ปีที่แล้ว

    will it work if I connect it through a USB hub, not directly into the PC?

  • @animadoarts5123
    @animadoarts5123 4 ปีที่แล้ว

    ok i got connected using vnc and putty...and my pi0W and laptop are connected to same network....................
    but if i go somewhere where there is a different wifi...then? As my pi0W will have the previous wifi credentials

  • @kuldeepgoswami
    @kuldeepgoswami 7 ปีที่แล้ว

    Thanks a lot! it worked for me, the crucial step was to install Bonjour. I wonder why it is not mentioned anywhere else or even other tutorial video do not mention it.
    and off course usb cable was another catch
    only the last step didn't work wpa_cli reconfigure failed with this message (Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory) could you please let me know what could be wrong?

  • @brynnmacflynn
    @brynnmacflynn 7 ปีที่แล้ว

    Thank you, this tutorial was super helpful!

  • @amuralii
    @amuralii 6 ปีที่แล้ว

    Excellent tutorial. It worked.

  • @ayeapprove
    @ayeapprove 6 ปีที่แล้ว

    Can't seem to boot my Pi Zero W in any way. I tried a miniHDMI cable and noob - that only gave me a flickering screen. Changed the power adapter and image and it's not booting into anything. Changed the wifi settings to connect to my network and created the SSH file - doesn't seem to run in headless mode. Now I tried your method and it doesn't show up in the network overview. Halp?

  • @sunnysamson605
    @sunnysamson605 6 ปีที่แล้ว

    Dear Sir, please do other vedio for raspberry pi zero connecting crt old TV without using HDMI to Av convertor?

  • @9b_vajra4
    @9b_vajra4 4 ปีที่แล้ว +1

    Can I still use it with an hdmi and keyboard when I Already upload it like that
    Plz reply I really need help
    I really want my raspberry pi 0 to be a desktop and a portable

    • @toasterbath1395
      @toasterbath1395 3 ปีที่แล้ว

      😞☹️😣😩😠😓🤔🤥😇😂🙃🧐🤪😌😅🙃😉🙃🥲 that’s you not stop wining yes u can you just need adapters

  • @tylerhibler5267
    @tylerhibler5267 3 ปีที่แล้ว

    I can't seem to find cmdline in the image files. Might it have a different name?

  • @anuswadh
    @anuswadh 4 ปีที่แล้ว

    Thanks a lot for the tutorial.

  • @Aaron-zq2qd
    @Aaron-zq2qd 3 ปีที่แล้ว

    What if do this method but connect my raspberry pi to a TV with a hdmi adapter?

  • @trmittal24
    @trmittal24 7 ปีที่แล้ว +1

    An excellent video! I have connected my pi to WiFi
    However, I have a problem. I can't find a datasheet of Rpi Zero W online. I wanted to know about the GPIO pins. Can you help?

    • @TechWizTime
      @TechWizTime  7 ปีที่แล้ว

      The GPIO pins are the same configuration as the other Raspberry Pi models so look for the Pi 3 GPIO pinout and you will see what each pin can do.

    • @trmittal24
      @trmittal24 7 ปีที่แล้ว +1

      Cool, thanks a lot!

    • @trmittal24
      @trmittal24 7 ปีที่แล้ว

      Is there any other way to power the Pi than the micro-USB ports? I wanted to use it in an independent circuitry.

    • @iankirk3537
      @iankirk3537 7 ปีที่แล้ว

      Tarun Mittal:- Pi can be powered through GPIO pins but this bypasses the protection fuse. The Pi Zero has little pads for pogo-pins, which go to the USB port.

    • @kekwrose
      @kekwrose 7 ปีที่แล้ว

      pinout.xyz

  • @tommys3167
    @tommys3167 7 ปีที่แล้ว +1

    I finally made it to the end to set up the Wifi but I get the error of "p2p-dev-wlan0" after inputting my SSID and PSK. :(
    Does anyone know what i should do to remedy this problem?
    Thank you in advance!

  • @xlpizza007
    @xlpizza007 5 ปีที่แล้ว +6

    Help please. I'm on a Windows 10 PC, installed Bonjour. RPi shows up in network connections. I use the host name pi@raspberrypi.local. Host does not exist. :(

    • @MusaView
      @MusaView 5 ปีที่แล้ว +2

      same problem here. Please help

    • @sashacoe25
      @sashacoe25 5 ปีที่แล้ว

      @@MusaView If you have the ip address then use that in putty instead of local host.

    • @notjackk
      @notjackk 4 ปีที่แล้ว

      sashacoe25 How do you find the IP address?

  • @taherehmehrjerdy4411
    @taherehmehrjerdy4411 3 ปีที่แล้ว

    Hello , I use raspberry pi 0 , when I put sudo wpa_cli reconfigure
    I get Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
    please could you tell me why do I get this error?

  • @manojkumarmahalik6206
    @manojkumarmahalik6206 4 ปีที่แล้ว

    It is working. Thank you sir

  • @saikatd9037
    @saikatd9037 3 ปีที่แล้ว

    Can u install Alexa or google home in raspberry pi 0 w?