How to connect via ssh over wifi to your Pi from desktop computer without attached screen, or keyboard, or even buttons

Having trouble with your GBZ build? Ask your questions here!
zerogeek
Posts: 9
Joined: Mon Aug 01, 2016 8:55 am
Has thanked: 3 times
Been thanked: 4 times

Re: How to connect via ssh over wifi to your Pi from desktop computer without attached screen, or keyboard, or even butt

Post by zerogeek » Tue Feb 20, 2018 9:58 am

I have been trying to get this to work for almost 2 days. I found out today that once I insert the card into the CSO, the "ssh" and "wpa_supplicant.conf" files disappear. I verified that they are still there after ejecting from my computer (OSX 10.13.3, using terminal and vi to make the files) and re-inserting. But once it's booted from the CSO and doesn't connect, I brought it back to the computer and the files are gone.

Ideas/suggestions not only welcome, but urgently desired! :D

User avatar
YaYa
Posts: 1719
Joined: Mon Jun 26, 2017 12:42 pm
Location: brittany - France
Has thanked: 871 times
Been thanked: 688 times
Contact:

Re: How to connect via ssh over wifi to your Pi from desktop computer without attached screen, or keyboard, or even butt

Post by YaYa » Tue Feb 20, 2018 10:53 am

It’s normal that thetly are gone as the system use the ssh file to a tivate ssh, and the wpa file to copy it to the netword configuration section ;)

But if does not work for you then :
- your wifi interface is broken
- your ssid is wrong
- your password is wrong
- your router does not accept connection from the pi

Choose from above lol
Follow me on instagram Image

zerogeek
Posts: 9
Joined: Mon Aug 01, 2016 8:55 am
Has thanked: 3 times
Been thanked: 4 times

Re: How to connect via ssh over wifi to your Pi from desktop computer without attached screen, or keyboard, or even butt

Post by zerogeek » Tue Feb 20, 2018 11:10 am

I set up a guest network with no encryption. I can see the network, but it will not connect. It is running on 2.4GHz 802.11 b/g. I am selecting the network within retropi WiFi, so I can't be selecting the wrong ssid and there is no password to worry about. I have even tried connecting to 2 different routers. UGH, so frustrating.
[EDIT TO ADD:]
I have also confirmed that I can connect to the new guest network with another device and am not out of IP addresses in my network.

zerogeek
Posts: 9
Joined: Mon Aug 01, 2016 8:55 am
Has thanked: 3 times
Been thanked: 4 times

Re: How to connect via ssh over wifi to your Pi from desktop computer without attached screen, or keyboard, or even butt

Post by zerogeek » Tue Feb 20, 2018 11:33 am

SOLVED

After MUCH searching, i ended up with the following for a wpa_supplicant.conf file. Connection works as expected. NOTE that I am connected to my main home network which is WPA2-PSK [AES]. I have not again tried the guest network, so I'm not sure what was happening there.


update_config=1

network={
ssid="replace_with_your_ssid"
psk="replace_with_your_password"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
auth_alg=OPEN
}

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest