Wi-Fi Connection Issues

Raspberry Pi related support

Wi-Fi Connection Issues

Postby disco-very » 19 Aug 2016, 16:04

Raspberry Pi 3
Hifiberry Amp+
RuneAudio_rpi2_rp3_0.4-beta_20160321_2GB

Bought the Pi 3 and Hifiberry, put it together, downloaded the Runeaudio .img, wrote it to SD, plugged it in, fired it up.

Pi is connected to the network via LAN cable with HDMI out to monitor.

Everything works as it should, can connect to the UI via a browser on my PC and via the Android app via Wi-Fi on my HTC phone.

However, the Pi will not connect to my Wi-Fi

I can enter the SSID and password, both copy/pasted and manually, and the UI can see my router and report signal strength.

I press connect and : Status: X no network connected.

I have 2 phones, three tablets and two TVs connected to my Wi-Fi no problem.

I have no problem someone shouting 'user error' either, wouldn't be the first time :)

Now stuck, any suggestions? Thank you in advance :)
disco-very
 
Posts: 8
Joined: 19 Aug 2016, 15:37

Re: Wi-Fi Connection Issues

Postby disco-very » 19 Aug 2016, 20:16

Well, I installed volumio and that connected to my LAN first time, I was able to operate the Pi over wifi via my tablet and phone proving that the Pi 3 isn't faulty and neither is my router/wi-fi.

I'll reinstall runeaudio in the am, start over and see where I get.

BTW I did rtfm and stfw but runeaudio isn't saving my wifi settings and isn't connecting to my router :(
disco-very
 
Posts: 8
Joined: 19 Aug 2016, 15:37

Re: Wi-Fi Connection Issues

Postby hondagx35 » 19 Aug 2016, 22:32

Hi disco-very,

please try this:

- on the network page click on the wlan0 entry
- wait until the scan has finished
- click on your routers SSID
- enter passphrase (do not hit enter)
- scroll down to DHCP/static and select static
- scroll down and check if there are field marked red
- if so, enter 0.0.0.0 (the field should be turn green)
- go back up and select again DHCP
- click save

Sometimes these fields do not have default values and so saving is not possible.
We have to fix this with next release.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Wi-Fi Connection Issues

Postby disco-very » 20 Aug 2016, 07:47

Thank you for your answer Frank, I'll try that later and let you know how I get on.
disco-very
 
Posts: 8
Joined: 19 Aug 2016, 15:37

Re: Wi-Fi Connection Issues

Postby disco-very » 20 Aug 2016, 13:41

hondagx35 wrote:- on the network page click on the wlan0 entry - OK
- wait until the scan has finished - OK
- click on your routers SSID - OK
- enter passphrase (do not hit enter) - OK
- scroll down to DHCP/static and select static - OK
- scroll down and check if there are field marked red - Not Red, ip does read 0.0.0.0
- if so, enter 0.0.0.0 (the field should be turn green) - Not Green
- go back up and select again DHCP- OK
- click save- OK


Did that, the Pi sees my hidden SSID but still does not connect.

hondagx35 wrote:Sometimes these field do have default values and so saving is not possible.
We have to fix this with next release.Frank


The netmask and gateway fields are pre-populated 192.168.1.254 so it looks like I won't be able to use runeaudio headless over wi-fi?

Reason I ask is that my Pi/Runeaudio setup will be installed in a flightcase with 2 x 8" 3 way speakers for use off grid and at parties etc.

And I don't have a LAN socket on my phone ;)

Any idea when this issue will be addressed?

Thanks for your help Frank.
disco-very
 
Posts: 8
Joined: 19 Aug 2016, 15:37

Re: Wi-Fi Connection Issues

Postby hondagx35 » 20 Aug 2016, 14:06

Hi disco-very,

Did that, the Pi sees my hidden SSID but still does not connect.

This is not possible, if it is hidden it can't be seen by any device!?

Reason I ask is that my Pi/Runeaudio setup will be installed in a flightcase with 2 x 8" 3 way speakers for use off grid and at parties etc.

Are you trying to connect to your phones tethered WiFi?
Please read this, maybe it is what you are searching for.

so it looks like I won't be able to use runeaudio headless over wi-fi?

I think you misinterpreted my post. Running Rune headless over WiFi works fine.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Wi-Fi Connection Issues

Postby disco-very » 20 Aug 2016, 19:46

hondagx35 wrote:Hi disco-very,

Did that, the Pi sees my hidden SSID but still does not connect.

This is not possible, if it is hidden it can't be seen by any device!?


When I enter my wifi's ssid, pi/runeaudio can see the router, until I do, no, it can't because broadcast ssid is disabled.

hondagx35 wrote:
Reason I ask is that my Pi/Runeaudio setup will be installed in a flightcase with 2 x 8" 3 way speakers for use off grid and at parties etc.

Are you trying to connect to your phones tethered WiFi?


Not at the moment, would be nice for spotify although off grid? 4G is unlikely :)

hondagx35 wrote:
so it looks like I won't be able to use runeaudio headless over wi-fi?

Running Rune headless over WiFi works fine


Headless, yeah, tail less? Not so good!

I'll re-read the docs, again, probably user error, greybeard, wouldn't be the first time :)

But atm the pi can't connect to my wifi and my wifi / phone / tablet can't see the pi, when running runeaudio

Everything else works as expected.
disco-very
 
Posts: 8
Joined: 19 Aug 2016, 15:37

Re: Wi-Fi Connection Issues

Postby hondagx35 » 20 Aug 2016, 21:03

Hi disco-very,

ok i think now i know what you are trying and what your problem is.

Please make your SSID visible and retry to connect.
If this works, you can hide your SSID again.
Now you have to edit your wifi profile (/etc/netctl/YourSSID)
and add this line:
Code: Select all
'scan_ssid=1'

so it looks like:
Code: Select all
Description='wlan0 connection'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="YourSSID"'
    'scan_ssid=1'
    'psk="'YourPassphrase"'
    'key_mgmt=WPA-PSK'
    'proto=WPA'
    'group=TKIP'
    'pairwise=TKIP'
    'priority=3'
)


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Wi-Fi Connection Issues

Postby disco-very » 24 Aug 2016, 09:24

paul0731@gmail.com wrote:It would only work for me after I sshed into the machine, manually deleted all the bad profiles, and manually created a profile.

So, if your ssid contains any special characters. You should probably just manually create your profile until this is fixed.


Thank you for confirming this is an ongoing problem with Runeaudio and not user error.

WORKAROUND:

I was trying to connect to the Raspi3 running Runeaudio via wi-fi directly, that is not via a router/eth1.

I've since discovered that Raspi3 running Runeaudio still has some wi-fi issues as detailed in this thread and others.

I created a wi-fi hotspot on my HTC One M7 running Cyanogenmod and the Raspi3 running Runeaudio connected to it immediately as expected.

No idea why but it would suggest (as above) an issue with special characters in my SSID

I then connected another phone to the HTC wi-fi hotspot and was able to connect to and control Runeaudio.

This is not an elegant solution but it is a working solution.

I'll probably end up installing Raspbian, set the Pi3 up as a hotspot and take it from there.
disco-very
 
Posts: 8
Joined: 19 Aug 2016, 15:37

Re: Wi-Fi Connection Issues

Postby hondagx35 » 24 Aug 2016, 10:36

Hi disco-very,

Thank you for confirming this is an ongoing problem with Runeaudio and not user error.

RuneAudio is OpenSource, so anybody is invited to help.

I have multiple installations here and at friends places, all rune without issues (WiFi).
If you like to get Rune improved and to work with all kind of obscure SSIDs please provide more information.

To get the best possible support, please specify your hardware and RuneAudio version. Collecting debug info is also suggested.


And please provide type and brand from your router.
Please also tell us the used SSID.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 17 guests