Unable to connect to WiFi: CRDA error

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
JonB
Posts: 34
Joined: Fri Mar 04, 2011 12:17 pm

Unable to connect to WiFi: CRDA error

Post by JonB » Tue Oct 25, 2016 12:01 pm

Hi

Can anyone help me? I cannot connect to WiFi on the Joggler any more. I am seeing errors in dmesg:

cfg80211: Calling CRDA to update world regulatory domain
wlan0: deauthenticated from f8:1e:df:fc:fe:f5 (Reason: 2=PREV_AUTH_NOT_VALID)

I've had a good look round t'Internet but I cannot find a fix that works. It's a brick without wifi.

Any ideas?

Cheers
JonB

PS, Am running SqueezePlayOS v1.59.

Man in a van
Posts: 246
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Unable to connect to WiFi: CRDA error

Post by Man in a van » Tue Oct 25, 2016 3:33 pm

JonB wrote:Hi

Can anyone help me? I cannot connect to WiFi on the Joggler any more. I am seeing errors in dmesg:

cfg80211: Calling CRDA to update world regulatory domain
wlan0: deauthenticated from f8:1e:df:fc:fe:f5 (Reason: 2=PREV_AUTH_NOT_VALID)

I've had a good look round t'Internet but I cannot find a fix that works. It's a brick without wifi.

Any ideas?

Cheers
JonB

PS, Am running SqueezePlayOS v1.59.

Can you connect via ethernet and then re-enable the wlan?

or make a new (seperate) OS, latest version, you don't say internal or external.

Ronnie

User avatar
hawsey
Posts: 1877
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: Unable to connect to WiFi: CRDA error

Post by hawsey » Fri Oct 28, 2016 1:41 pm

A plug in WiFi adapter is supported in SqPlayOs I forget which one but it will be in the thread .
Have you another Joggler you could swap the WiFi adapter with to make sure it's that what is faulty ?
Did it happen after lightening ?
:-)

Sent from my Moto G (4) using Tapatalk
Happy Joggling

User avatar
pete
Posts: 2650
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Unable to connect to WiFi: CRDA error

Post by pete » Tue Nov 01, 2016 10:50 pm

Not seen that error before. I have seen the inside USB O2 Joggler get a bit loosey goosey (well after shipping one) causing issues.

Googling a bit the message you posted is seen with or without a WLAN card.

Do you still see the WLAN device with lsusb?
- Pete

Auto mater

JonB
Posts: 34
Joined: Fri Mar 04, 2011 12:17 pm

Re: Unable to connect to WiFi: CRDA error

Post by JonB » Mon Nov 14, 2016 4:04 pm

Yes, the WLAN card is still visible to the OS, so I think there is no loose connection. It used to work with this SqueezePlay OS version (the latest), then suddenly stopped.

I think CRDA is a standard that ensures WiFi cards conform to the region they are being used in. So, the driver should be asking a CRDA server what region it is in, or something like that. Or maybe it is attempting to authenticate itself with the router? I read up a bit on it, but gave up as it was all needlessly complex. My other Joggler won't connect wirelessly, either. I am surprised no one else is seeing this to be honest!

So far I have tried:
  • fresh install of SqueezePlay OS
  • login via Ethernet and check the wlan card is detected by the OS - it is
  • try to re-enable the wlan card while logged in over ethernet
  • check the spare Joggler (normally connected via lan) to see if it can connect via wifi - it can't)
..all to no avail!

Man in a van
Posts: 246
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Unable to connect to WiFi: CRDA error

Post by Man in a van » Mon Nov 14, 2016 8:55 pm

Jon

How about "turn it off, then turn it on"

Switch off the joggler/s with the shutdown command.

Disconnect the router from the internet and then restart it.

When it's up and running, restart the Joggler without the ethernet cable and go to Network and fill in the log-in details for wireless.

Ronnie

JonB
Posts: 34
Joined: Fri Mar 04, 2011 12:17 pm

Re: Unable to connect to WiFi: CRDA error

Post by JonB » Mon Aug 14, 2017 8:00 pm

Yes of course I have power cycled it...

User avatar
pete
Posts: 2650
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Unable to connect to WiFi: CRDA error

Post by pete » Mon Aug 14, 2017 11:36 pm

Have you tried to boot Buzz's Ubuntu build wireless stuff? Did it work?
- Pete

Auto mater

User avatar
hawsey
Posts: 1877
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: Unable to connect to WiFi: CRDA error

Post by hawsey » Tue Aug 15, 2017 1:43 pm

I always have to connect via ethernet first , then wireless then remove ethernet cable .:-)

Sent from my Moto G (4) using Tapatalk

Happy Joggling

User avatar
pete
Posts: 2650
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Unable to connect to WiFi: CRDA error

Post by pete » Sun Sep 17, 2017 1:02 pm

Here totally redid my Squeezeplayer Openframe 2 wireless connectivity. I did it all via the command line here.

I did update the Squeezeplayer Ubuntu 14.04 initially changing the apt source.list to:

Code: Select all

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://archive.ubuntu.com/ubuntu/ trusty universe
deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse
Using WPA2 - TKIP or AES and still keep my SSID hidden.

Assumption is that wpa_supplicant and iw is installed.

1 - first
nano /etc/network/interfaces

to look like this.

auto wlan0
iface wlan0 inet dhcp
wpa-ssid {ssid}
wpa-psk {password}

2 - next

nano /etc/wpa_supplicant.conf

to look like this:

network={
ssid="wifi_name"
psk="wifi_key"
}

or shortcut it:

wpa_passphrase Your_SSID Your_passwd > /etc/wpa_supplicant.conf

3 - autostart your WiFi connection

Here just did an autostart of:

dhclient wlan0

Works by default on boot just fine.
- Pete

Auto mater

JonB
Posts: 34
Joined: Fri Mar 04, 2011 12:17 pm

Re: Unable to connect to WiFi: CRDA error

Post by JonB » Sat Aug 25, 2018 9:19 pm

Hi Pete

Sorry for the late reply (one year late). I've reflashed with the latest SqueezePlayerOS 303 and amended the /etc/network/interfaces file in your first step. Reboot and it appears to be working, bypassing the SqueezeBox settings completely.

Hurrah!

Now I can dust the Jogglers off and restore them to their rightful places (Kitchen and Study).

Very Happy Camper now!

Cheers
JonB

User avatar
pete
Posts: 2650
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Unable to connect to WiFi: CRDA error

Post by pete » Sun Aug 26, 2018 12:50 am

Good news JonB.

Subsequent to the above decided to update with most current version of Squeezeplayer installation on the Joggler. With that I didn't have to redo the network stuff as it worked fine out of the box with the wireless network Squeezeplayer network configuration menu.
- Pete

Auto mater

JonB
Posts: 34
Joined: Fri Mar 04, 2011 12:17 pm

Re: Unable to connect to WiFi: CRDA error

Post by JonB » Sun Aug 26, 2018 9:41 am

Ah, spoke too soon.

One of them is working. The other refuses to connect wirelessly, not sure why. I can only get into it with an Ethernet cable and ssh. I followed these instructions:

https://unix.stackexchange.com/question ... mmand-line

..and it did connect but on reboot without the Ethernet cable plugged in, nothing. The SqueezePlayer wireless config didn't work for me (and I just retried it).

User avatar
pete
Posts: 2650
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Unable to connect to WiFi: CRDA error

Post by pete » Sun Aug 26, 2018 11:59 am

It could be a bad USB WLAN stick. Maybe try switching them?

Here on one test device installed a SSD USB inside of the Joggler. It is larger than the openboard WLAN stick and glued a small 7 port USB hub on the back of the Joggler and use the WLAN stick on the hub. The USB 2.0 hub is directly wired to the Joggler motherboard for a 3rd USB connection.
- Pete

Auto mater

keynet
Posts: 20
Joined: Mon Apr 10, 2017 10:52 am

Re: Unable to connect to WiFi: CRDA error

Post by keynet » Thu Aug 30, 2018 3:48 pm

It may be that the wireless signal is too weak and it's trying to reinitialise and failing. Sometimes you see odd messages during re-inits that may be unrelated to the actual problem it has. I have various issues with wireless strength due to too many people with conflicting AP's in a nearby tower. I updated the firmware per this viewtopic.php?f=2&t=555&p=27179&hilit=firmware#p27179, though I think it was later updated in PNP 3.6, so I'm now on that version. It seemed to make a little improvement, but sensitivity is still not that great, it's easy enough to swap the firmware file and try - YMMV.

In fact I'd quite like to try a more modern USB adapter but it's not yet such a problem that I want to take my Jogglers apart and try to find/build drivers etc...! The real solution for me would be to switch to 5GHz, and connect my 5GHz base station instead.

User avatar
roobarb!
Posts: 1470
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Unable to connect to WiFi: CRDA error

Post by roobarb! » Sat Sep 01, 2018 9:43 pm

keynet wrote:
Thu Aug 30, 2018 3:48 pm
In fact I'd quite like to try a more modern USB adapter but it's not yet such a problem that I want to take my Jogglers apart and try to find/build drivers etc...! The real solution for me would be to switch to 5GHz, and connect my 5GHz base station instead.
I can highly recommend the Netgear WNDA3200 and it's supported in SQPOSv3. Whip out the old card and antennae, plug this in, you're done.

No idea if it could be made to work under the original OS. It does have the quirk that it starts in mass storage mode (drivers built-in) and needs usbmodeswitch to kick it into wifi mode. Supports 5 GHz nicely.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

jkn
Posts: 96
Joined: Sat Jul 16, 2011 11:18 am

Re: Unable to connect to WiFi: CRDA error

Post by jkn » Tue Sep 25, 2018 5:38 pm

Hi Roobarb
roobarb! wrote:
Sat Sep 01, 2018 9:43 pm
keynet wrote:
Thu Aug 30, 2018 3:48 pm
In fact I'd quite like to try a more modern USB adapter but it's not yet such a problem that I want to take my Jogglers apart and try to find/build drivers etc...! The real solution for me would be to switch to 5GHz, and connect my 5GHz base station instead.
I can highly recommend the Netgear WNDA3200 and it's supported in SQPOSv3. Whip out the old card and antennae, plug this in, you're done.

No idea if it could be made to work under the original OS. It does have the quirk that it starts in mass storage mode (drivers built-in) and needs usbmodeswitch to kick it into wifi mode. Supports 5 GHz nicely.
Is the WNDA3100 (also dual band, I think) also supported in SQPOS V3, can you tell me?

Thanks, Jon N

User avatar
roobarb!
Posts: 1470
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: Unable to connect to WiFi: CRDA error

Post by roobarb! » Tue Sep 25, 2018 10:12 pm

jkn wrote:
Tue Sep 25, 2018 5:38 pm
Is the WNDA3100 (also dual band, I think) also supported in SQPOS V3, can you tell me?
I have no idea, I'm afraid - a lot of Netgear drivers are in the kernel and I included as many wifi and ethernet USB devices as possible, so if there's any kernel support for it at all, it is likely to be there. What I can't promise is that there won't be some quirks - as in, the WNDA3200 shows up a mass storage device first, then needs a kick from a package called usbmodeswitch to flip it into wifi mode. That may also be the case with the WNDA3100, but having never had one, I don't know.

If you already own one, give it a whirl!
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

User avatar
pete
Posts: 2650
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Unable to connect to WiFi: CRDA error

Post by pete » Wed Sep 26, 2018 3:51 pm

Here left the internal WiFi connected and SSH'd to SP, plugged in a generic TP-Link micro USB WiFi Stick and manually installed the drivers for Linux posted on the TP-Link web site.
- Pete

Auto mater

Post Reply