the 5GHz Dongle from the shop arrived today and I’m trying to connect to my 5Ghz wifi network and it is failing after the Password entry in the guy and also form command line.
I made sure that the dongle works from windows 10 and can connect to my 5GHz network just fine.
In OSMC, I can see my 2,4 GHz and 5 Ghz wifi just fine. But if I try to connect to either of them, I get connection failed after I have enetered the password.
I’m on a Raspberry Pi 1 and intsalled the 7.2017 image via official installer to a 16GB sd card.
My Edimax 2GHz dongle works just fine in the setup.
I followed the other posts regarding wifi issues and couldn’T solve the issue.
I have tryed different wifi encyrptions settings up to no encryption at all. I double checked that I’m enetring the password correct and also that my router allows new devices.
Yes it is powered by an Iphone charger. I’ve been using it for years now. The lagging starts with the 5ghz dongle attached. The edimax 2ghz dongle does not cause any lags.
The 5Ghz dongle will use a fair bit more power than some of the cheaper 2.4Ghz nano dongles.
An iPhone charger isn’t suitable for a Raspberry Pi and sooner or later you will experience problems.
Ok I got a stronger Powersupply now and the lagging is gone. I still get Connection failed though.
All Nearby Wifis are listed, but after password entry i get connection failed.
And now I cant log into ssh:
I get error:
18:03:05.114 Server version: SSH-2.0-OpenSSH_6.7p1 Raspbian-5+deb8u3
18:03:05.114 First key exchange started.
18:03:05.137 The SSH2 session has terminated with error. Reason: FlowSocketReader: Error receiving bytes. Windows error 10054: An existing connection was forcibly closed by the remote host.
I realised that my router shows the osmc device as connected if i disable any encryption, eventough the webui shows that the connection failed. There is no data exchange though. If I have encryption enebale, even my router wouldnt list the device as connected,
Sep 28 19:02:02 osmc sshd[460]: error: key_load_public: invalid format
Sep 28 19:02:02 osmc sshd[460]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Sep 28 19:02:02 osmc sshd[460]: fatal: No supported key exchange algorithms [preauth]
Sep 28 19:02:03 osmc sshd[462]: error: key_load_public: invalid format
Sep 28 19:02:03 osmc sshd[462]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
Sep 28 19:02:03 osmc sshd[462]: error: key_load_public: invalid format
Sep 28 19:02:03 osmc sshd[462]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Sep 28 19:02:03 osmc sshd[462]: error: key_load_public: invalid format
Sep 28 19:02:03 osmc sshd[462]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Strange. That could suggest some corruption (which can occur if you use an underpowered PSU).
Re. 5Ghz issue: I assume you have separate networks for 5Ghz and 2.4Ghz (ideal). What channel is the 5Ghz on? You might find better luck using 36; and you might need to tweak the connection settings slightly.
OK I went back to build 2016.8 ,which I had been running without any issues for a year know. In that build, the wifi only recognizes 5GHz networks, and also tells me connection failed after I enter the password.
Yes the build is old, but it is working for me so I try not to change it. Everytime I try to update something, I end up wasting hours to get my system back up and running. SO I rarely update. I installed the latets build, thinking it would be better working out of the box with the new dongle and it would be good to take the opportunity to update it. It did cost me some hours of troublehoosting now.
I didn’t select channel 36 couse there are already some networks using that channel. Getting the 5ghz dongle was actually to avoid all those crowded channels. I will tryout other channels and hope to find one that is empty.
BTW: On windows 10, i also had to switch the region settings in the driver settings to be able to connect to my 5ghz network. Initally it wouldn’t allow me to connect either.
Are there similiar settings I can tweak to allow also higher channels?