Closed dmfaber1 closed 3 years ago
So I figured it out... Just an issue with Windows not showing the boot partition in explorer. It is there, and the boot partition is FAT32, so it can be viewed. The main partition that is showing up is the OS partition that cannot be viewed. So here is what you need to do:
Open up the windows Disk Management tool, Start Menu -> Create and Format Hard Disk Partitions
Locate the disk that represents the SD card. For me it was Disk 4. If I scroll down I can see blocks representing the partitions on the SD card. Right click on the one that says boot and select explore.
Now you can do the steps to create the ssh file and the wpa_supplicant.conf file for wifi.
File Explorer shows the boot drive (D:) (containing several .dat, .elf, *.dtb files), and the SDHC drive (E:), and only complains about the E drive not being formatted
I don't think we finished step 3. I downloaded Ubuntu 18.04 LTS, but when I launch it, I get an error: "The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again". On the web page it says the next step is "Create a user account and password for your new Linux distribution". I never got that far on Sunday.
I believe I need to finish #3 before running the steps under:
https://www.raspberrypi.org/documentation/configuration/wireless/headless.md
I believe I completed #6. Using GitBash, I Generated a new SSH key, Added SSH key to the ssh-agent, created a C:\Users\faber.bashrc file using NotePad, and added code from the link: https://docs.github.com/en/github/authenticating-to-github/working-with-ssh-key-passphrases for "Auto-launching ssh-agent on Git for Windows". My passphrase is faberke611. When I ran GitBash again it created a .bash_profile file.
When I sign into GitHub on my own, I get to: https://github.com/faberke611?tab=projects, and it says I have no projects. When I go to the link you sent, I get to: https://github.com/dmfaber1/TunerPi , but it also says I'm signed in as faberke611. Is there a way to link the TunerPi project to my login?
Dad
On Sun, Jan 17, 2021 at 11:53 AM dmfaber1 notifications@github.com wrote:
So I figured it out... Just an issue with Windows not showing the boot partition in explorer. It is there, and the boot partition is FAT32, so it can be viewed. The main partition that is showing up is the OS partition that cannot be viewed. So here is what you need to do:
Open up the windows Disk Management tool, Start Menu -> Create and Format Hard Disk Partitions
Locate the disk that represents the SD card. For me it was Disk 4. If I scroll down I can see blocks representing the partitions on the SD card. Right click on the one that says boot and select explore.
Now you can do the steps to create the ssh file and the wpa_supplicant.conf file for wifi.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dmfaber1/TunerPi/issues/2#issuecomment-761851886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPTULS55EBDKROCLA4AYRTS2MPZLANCNFSM4WACE2OA .
So something with how you set up the Windows Subsystem for Linux isn't working. Really, you don't need this. I like it a lot because I'm a Linux user, and it is super powerful, but really we are just trying to get you an easy to use SSH client. Git bash can be used to do this, and you already have it installed, so I think that is the best route.
So I invited you to the TunerPi project, so it if you accept, it should show up under your projects. It is owned by me, so it will always say dmfaber1/TunerPi.
But yeah, if you follow the instructions on the two raspberrypi.org/documentation links to create the ssh file and the wpa_supplicant.conf file for wifi, you should be all good to ssh into the raspberry pi using git bash.
Hopefully if everything works correctly, when you plug in the raspberry pi, it should automatically connect to wifi and be ready to connect to. May need to give it several minutes after powering on, but you should be able to connect using the default login info. So if you open up git bash:
ssh pi@raspberrypi
Then connect with password:
raspberry
Then not a lot you need to worry about doing right away yet, but you can do things like list root filesystem:
ls /
Or update all the linux packages in raspbian:
sudo apt update
sudo apt upgrade
test, test
On Sun, Jan 24, 2021 at 6:27 PM dmfaber1 notifications@github.com wrote:
But yeah, if you follow the instructions on the two raspberrypi.org/documentation links to create the ssh file and the wpa_supplicant.conf file for wifi, you should be all good to ssh into the raspberry pi using git bash.
Hopefully if everything works correctly, when you plug in the raspberry pi, it should automatically connect to wifi and be ready to connect to. May need to give it several minutes after powering on, but you should be able to connect using the default login info. So if you open up git bash:
ssh pi@raspberrypi Then connect with password: raspberry
Then not a lot you need to worry about doing right away yet, but you can do things like list root filesystem:
ls /
Or update all the linux packages in raspbian:
sudo apt update sudo apt upgrade
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dmfaber1/TunerPi/issues/2#issuecomment-766469270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPTULUGE2ZNFYSSLA2PRF3S3S3IJANCNFSM4WACE2OA .
Looks like I can respond to dmfaber1/TunerPi email in my gmail, or I can add comments in GitHub. I'm guessing the later is better. I'll start just adding comments and questions on GitHub
I believe I need to finish #3 before running the steps under:
Hopefully if everything works correctly, when you plug in the raspberry pi, it should automatically connect to wifi and be ready to connect to. May need to give it several minutes after powering on, but you should be able to connect using the default login info. So if you open up git bash:
ssh pi@raspberrypi
Then connect with password:
raspberry
Then not a lot you need to worry about doing right away yet, but you can do things like list root filesystem:
ls /
Or update all the linux packages in raspbian:
sudo apt update sudo apt upgrade
SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD card from another computer.
You will need to define a wpa_supplicant.conf file for your particular wireless network. Put this file in the boot folder,
wpa_supplicant.conf file example:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=<Insert 2 letter ISO 3166-1 country code here>
network={
ssid="
Work I did on Feb 10
files.zip contain the 4 files I Mentioned
Been trying to think of other ways to move forward, and it may be just easiest to wait until you are back home and I come visit. It is just really hard to diagnose/troubleshoot with the bad internet and no remote desktop. The only other thing I can think of until we get connetion to the raspberry pi is just general python learning. THis looked pretty good: https://python.land/python-tutorial
Sounds like you have successfully completed this issue!
https://www.raspberrypi.org/documentation/configuration/wireless/headless.md
https://www.raspberrypi.org/documentation/remote-access/ssh/
https://desertbot.io/blog/headless-pi-zero-w-wifi-setup-windows