Page 2 of 2

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 4:40 am
by VeteranGamer
fraggle wrote:
Mon Nov 20, 2017 4:33 am

Linux doesn't work by having to "see" an interface to configure a connection.
maybe i misunderstood what you stated.....

but you gave no mention of these methods (one of them already being stated by me)

from what you stated, it looked like (and that's based on the very little info you gave in the first place) that you were suggesting to configure via the Retropie menu which would require a wifi dongle connected
and no mention of actually adding anything to the boot (in the form of a wpa_supplicant or wifikeyfile)......

but maybe i got it wrong (my bad)....


.

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 5:07 am
by fraggle
VeteranGamer wrote:
Mon Nov 20, 2017 4:40 am

maybe i misunderstood what you stated.....
Sorry that's what I meant by...

1) configure your pi to use wifi before you remove the keyboard.

The retropie method you suggested is great because it has a menu and is simple.

But yeah there are a lot of ways you could do this - most depending on if you can read the file system on the SSD or not.

One other great way is to create a SoftAP via HOSTAPD on the PI - then connect to the network you have created.
Although this is a bit more complex it actually offers the most portable solution (as the device has its own network, rather than it connecting to others).

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 5:39 am
by moooarcuuuus
Another way is a serial connection (RxTx pins).

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 9:46 am
by mattmikemo
Thanks for the responses guys! I appreciate it a lot!

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 12:25 pm
by mattmikemo
fraggle wrote:
Mon Nov 20, 2017 4:33 am
VeteranGamer wrote:
Mon Nov 20, 2017 12:08 am

that may not work out.....
if you don't have a WiFi dongle connected, you wont have anything to configure (it wont see/find anything to configure)
You can configure the settings prior to any NIC being present - you don't have to tie connection details to any specific interface.

You just need to add the name of your wireless network (SSID) and your password - for example using wpa_supplicant
https://www.raspberrypi.org/documentati ... ess-cli.md

Or using retropie's in built method..."Connecting to Wifi Without a Keyboard" as you posted - doesn't require any NIC be present.
https://github.com/RetroPie/RetroPie-Se ... a-keyboard

Linux doesn't work by having to "see" an interface to configure a connection.
If I use the wpa_supplicant method, will my pi 2 automatically connect to wifi after reboot? So after I enable ssh on pi and configure wifi via wpa_supplicant, I should be done needing the keyboard, correct?

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 2:14 pm
by YaYa
Follow my guide, very easy to setup in headless mode.

http://sudomod.com/forum/viewtopic.php?f=45&t=3567

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 9:00 pm
by mattmikemo
YaYa wrote:
Mon Nov 20, 2017 2:14 pm
Follow my guide, very easy to setup in headless mode.

http://sudomod.com/forum/viewtopic.php?f=45&t=3567
Thanks I appreciate the help! When I try to login in with SSH, it's giving me an error "Connection refused". I followed all of the steps in your guide and my wifi dongle is plugged in on the pi.

Re: Please Help - What are my options?

Posted: Mon Nov 20, 2017 11:45 pm
by YaYa
It’s sounds like you have missed the activation of the ssh.
You need to place a blank file called ssh directly on the boot’s root within windows or whatever system, and then put the sd card into the pi and boot normally.

Re: Please Help - What are my options?

Posted: Tue Nov 21, 2017 4:09 am
by VeteranGamer
mattmikemo wrote:
Mon Nov 20, 2017 9:00 pm
YaYa wrote:
Mon Nov 20, 2017 2:14 pm
Follow my guide, very easy to setup in headless mode.

http://sudomod.com/forum/viewtopic.php?f=45&t=3567
Thanks I appreciate the help! When I try to login in with SSH, it's giving me an error "Connection refused". I followed all of the steps in your guide and my wifi dongle is plugged in on the pi.
i don't what else to say.....

Image

http://sudomod.com/forum/viewtopic.php? ... 649#p50518


if you don't know how to enable SSH

Select Raspi config in the Retropie menu

and once in there select interfacing options, then you'll have the option to enable/disable SSH

Image


if everything is enabled, and your Raspberry Pi is connected to the internet....

then make sure that both the Raspberry Pi and your laptop/pc are actually both on the same network
one way of checking this (not guaranteed) is to look at your network on you laptop/pc, if connected you should set Retropie....


.

Re: Please Help - What are my options?

Posted: Tue Nov 21, 2017 9:08 am
by mattmikemo
I've already enabled SSH on the pi... It was literally the first thing I did.

I've just decided to buy a pi 3 and use that for the software since I was already planning on doing another build with a pi 3