coredumperror
Posts: 2
Joined: Mon May 20, 2019 7:04 am

New user having frustrating problems with networking... Please help!

Mon May 20, 2019 7:27 am

I'm an experienced developer, I'm brand new to Raspberry Pi, and I'm running into problems that I have no idea how to diagnose. I'm hoping someone can help me out, but I don't even know what exactly I need to provide to help you guys diagnose my issue. I'll do my best, though.

My first attempt to get my Pi working was by following this tutorial: https://github.com/marcone/teslausb/blo ... Windows.md

I used Etcher to install the latest Raspbian Stretch Lite build onto my 64GB microSD card, which went fine. I see the 'boot' drive when my SD card reader is plugged in, and I can edit the files on it. It's annoying that Windows keeps complaining about the "G:" drive being unformatted, but that's apparently normal?

Anyway, I got to Step 22 just fine, but I would then get the following error:

Code: Select all

PS C:\Users\coredumperror> ssh [email protected]
C:\\WINDOWS\\System32\\OpenSSH\\ssh.exe: Could not resolve hostname raspberrypi.local: No such host is known.
I installed Bonjour and tried again. No dice. I tried figuring out what the IP of the PI is, and ssh'ing directly. Still no dice. I'd get either a timeout error or a "connection refused" error.

So I tried another tutorial: https://www.youtube.com/watch?v=xj3MPmJhAPU

Got just as far, then failed to ssh into raspberrypi.local. Same error.

So I dug out an old HDMI cable, plugged my monitor and keyboard into my Pi, and logged in directly. I then followed the instructions in the second tutorial for what to do once you've SSH'd into the Pi. I edited the wpa_supplicant.conf file appropriately, and then ran "sudo wpa_cli reconfigure".

But that gave an output that was different from the tutorial. It said "Selected interface 'p2p-dev-wlan0'", instead of "Selected interface 'wlan0'". Which I'm guessing is why the wlan0 interface in ifconfig now looks totally different than the tutorial says it should.

Does anyone know what's going on? Is there anything else I can provide to help diagnose this issue?

I'm on the latest version of Windows 10 Enterprise, with all the latest windows updates, in case that makes any difference.

fruitoftheloom
Posts: 19483
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: New user having frustrating problems with networking... Please help!

Mon May 20, 2019 9:08 am

coredumperror wrote:
Mon May 20, 2019 7:27 am
I'm an experienced developer, I'm brand new to Raspberry Pi, and I'm running into problems that I have no idea how to diagnose. I'm hoping someone can help me out, but I don't even know what exactly I need to provide to help you guys diagnose my issue. I'll do my best, though.

My first attempt to get my Pi working was by following this tutorial: https://github.com/marcone/teslausb/blo ... Windows.md

I used Etcher to install the latest Raspbian Stretch Lite build onto my 64GB microSD card, which went fine. I see the 'boot' drive when my SD card reader is plugged in, and I can edit the files on it. It's annoying that Windows keeps complaining about the "G:" drive being unformatted, but that's apparently normal?

Anyway, I got to Step 22 just fine, but I would then get the following error:

Code: Select all

PS C:\Users\coredumperror> ssh [email protected]
C:\\WINDOWS\\System32\\OpenSSH\\ssh.exe: Could not resolve hostname raspberrypi.local: No such host is known.
I installed Bonjour and tried again. No dice. I tried figuring out what the IP of the PI is, and ssh'ing directly. Still no dice. I'd get either a timeout error or a "connection refused" error.

So I tried another tutorial: https://www.youtube.com/watch?v=xj3MPmJhAPU

Got just as far, then failed to ssh into raspberrypi.local. Same error.

So I dug out an old HDMI cable, plugged my monitor and keyboard into my Pi, and logged in directly. I then followed the instructions in the second tutorial for what to do once you've SSH'd into the Pi. I edited the wpa_supplicant.conf file appropriately, and then ran "sudo wpa_cli reconfigure".

But that gave an output that was different from the tutorial. It said "Selected interface 'p2p-dev-wlan0'", instead of "Selected interface 'wlan0'". Which I'm guessing is why the wlan0 interface in ifconfig now looks totally different than the tutorial says it should.

Does anyone know what's going on? Is there anything else I can provide to help diagnose this issue?

I'm on the latest version of Windows 10 Enterprise, with all the latest windows updates, in case that makes any difference.

Best to read official help pages, as much information is out of date:

https://www.raspberrypi.org/documentati ... te-access/


The Official Website is stuffed with lots of good help & advice !

https://www.raspberrypi.org
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Stretch.

coredumperror
Posts: 2
Joined: Mon May 20, 2019 7:04 am

Re: New user having frustrating problems with networking... Please help!

Tue May 21, 2019 6:10 am

fruitoftheloom wrote:
Mon May 20, 2019 9:08 am
Best to read official help pages, as much information is out of date:

https://www.raspberrypi.org/documentati ... te-access/

The Official Website is stuffed with lots of good help & advice !

https://www.raspberrypi.org
I finally discovered the problem, but it wasn't directly from reading those docs. I did learn about the raspi-config program from there, which ended up being useful, but the problem ultimately turned out to be that the RaspberryPi Zero W apparently doesn't support 5 Ghz WiFi. Absolutely nothing I can find on this website, the Amazon page from which I purchased my Pi, or any other documentation I could find mentioned that it doesn't support 5Ghz.

Since I have a dual-band router, I have a 5Ghz and a 2.4 Ghz WiFi network running off it, mostly to let my old Chromecast connect. I was using the 5Ghz SSID, which is why my Pi couldn't connect. Once I switched to the 2.4Ghz SSId, everything went smoothly.

Andyroo
Posts: 2864
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: New user having frustrating problems with networking... Please help!

Tue May 21, 2019 8:44 am

Normally you can ask the Foundation to modify the page by raising a bug on Github BUT the sales pages do not have that option :-( Maybe report your own post to the moderator and ask for an update if they do not see this post?

Looking at the 3B+ it says:
2.4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN, Bluetooth 4.2, BLE
Where as the Zero W just says:
802.11 b/g/n wireless LAN
so I assume the 'n' is only the 2.4Ghz band
Need Pi spray - these things are breeding in my house...

Return to “Networking and servers”