SliTaz SliTaz Forum

You are not logged in.

#1 2013-07-03 14:28:44

sixofeight
Member
Registered: 2013-07-02
Posts: 234

CRDA needed

Hello everybody

I am new here,so let me say at first, THANK YOU, to all who made

this wonderful OS possible.

I'm using Slitaz 4 stable, and with reading almost all of the topics

in this forum,I was able to configure everything to my liking.

but one problem is still remaining, and as I am only a user and not a coder

I need some help to get it fixed.

now what is the prob ....in short

here in Germany you can use the wifi-channels 1-13,but all the usb-wifi

you can buy, is interally branded to the Regdomain CN or US, which only allows

channel 1-11.

Unfortunatly the AP to which I have to connect to,often switch to channel 13,

and then I am off, and if so I have to use another OS. :-(

After some googeling I find out what I need, It's called CRDA,

and a regulatory.bin, to get all channels back.

Till now I could not find something like that for my slitaz

So Please is there someone able to help me out ?

Thanks for reading and regards from Berlin/Germany.

Offline

#2 2013-07-03 15:30:40

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: CRDA needed

Hi sixofeight,

Actually, SliTaz have no CRDA and regulatory.bin.

I found web site with info related CRDA. Maybe it helps you: http://wireless.kernel.org/en/developers/Regulatory/CRDA#Using_iw_to_change_regulatory_domains

Install iw package as root:

[c]tazpkg -gi iw[/c]

Try command to read current state:

[c]iw reg get[/c]

Try commant to set regulatory domain for Deutschland:

[c]iw reg set DE[/c]

________

I tried these commands for my country, Ukraine, but they not works. Maybe we need some descriptive files for countries? Need to deep to documentation from that site:

[*]http://wireless.kernel.org/en/developers/Regulatory

[*]http://wireless.kernel.org/en/developers/Regulatory/Database?alpha2=DE

Offline

#3 2013-07-03 15:49:02

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: CRDA needed

Hi Aleksej

I've tried to change the Regdomain-setting with iw before, it doesn't work because it comes to late.the Regdomain settings can only be changed at the moment when your usb-wifi

is detected and configured.

Thanks for the links,I have read them all,this is why I know what is needed.but I don't know anything about coding or compiling packages......It seems I am lost....

----------------------------------------------------------------------------------------

Just to be a little more precise

At the moment you connect your usb-wifi:

cfg80211: Calling CRDA to update world regulatory domain

and if there is no,it will use the branded one.

thats why iw always comes to late.

Offline

#4 2013-07-03 16:49:14

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: CRDA needed

At the moment you connect your usb-wifi:

cfg80211: Calling CRDA to update world regulatory domain

and if there is no,it will use the branded one.

I have a lot of these messages in the console (see my topic wlan garbage in console). So, does it mean that I'm a lucky? Can I configure my wlan "on the fly"?

I prepared package with latest regulatory.bin (see in the attachment), install it.

I tried iw command again, but no luck. Note, I'm like a monkey: I do but can't understand what I do smile

Let's wait mojo, he is our wireless guru.

Offline

#5 2013-07-03 17:21:43

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: CRDA needed

@Aleksej

what's In your other topic looks really strange, as there are many

authenticate, deauthenticated and associate Lines.It looks like

a Loop trying to establish a stable connection with 54:04:a6:8b:f7:f8

Normally it should look like that:

cfg80211: Calling CRDA to update world regulatory domain

[ 7487.580544] cfg80211: World regulatory domain updated:

[ 7487.580557] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[ 7487.580565] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 7487.580571] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[ 7487.580577] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[ 7487.580583] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 7487.580589] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 7488.662364] wlan0: authenticate with 84:c9:b2:d5:95:18

[ 7488.759719] wlan0: send auth to 84:c9:b2:d5:95:18 (try 1/3)

[ 7488.761662] wlan0: authenticated

(thats not the output of slitaz because I have to use channel 13 right now

and here we have a working CRDA too.)

thanks for the wireless regdb, I Think that is the first 1/2 ,but the CRDA-module

is also needed,because this is the udev-helper-tool to use the wireless regdb ;-)

EDIT:

CRDA Authors wrote:

CRDA acts as the udev helper for communication between the kernel and userspace

for regulatory compliance. It relies on nl80211 for communication.

CRDA is intended to be run only through udev communication from the kernel.

Offline

#6 2013-07-07 19:25:46

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: CRDA needed

well, I have to admit, I am a noob....I tried to solve it myself...no success

I have tried to convert a debian(CRDA)-package..(tazpkg convert somewhat.deb)

converting = OK...working = no

I read some more about CRDA and wireless-regdb and how to build packages for slitaz (all Info is in English...understanding...maybe 1/2)

I am getting a headache...giving up....for now

I would be really grateful for any help

regards at all

sixofeight

Offline

#7 2013-08-07 12:52:52

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: CRDA needed

@all

Will we have a CRDA in Slitaz-5?

Offline

#8 2013-08-23 11:48:33

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: CRDA needed

This prob. (missing wlan-channels 12,13 ) is solved.

I found a better usb-wifi:

D-Link DWA-140 B3 USB

Ralink RT5370 ID 2001:3c15 and after installing mojo's driver-packgage:

http://www.mediafire.com/download/17ijwj8dbfvkc2h

(thank's mojo) i have all channels which are allowed here.(Sz 4.0)

Offline

#9 2013-09-05 09:06:20

Guest
Guest

Re: CRDA needed

Glad to see you managed to sort it, even if it meant buying another product. That info could be useful to someone else, so thanks for posting.

#10 2014-12-22 14:36:22

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: CRDA needed

WOW...136 downloads of the wireless-regdb package

does someone got it working?..and if yes, would you please,please tell me how?

(with SliTaz 4)

Thanks

Offline

#11 2019-03-08 16:48:59

centr
Member
Registered: 2019-03-08
Posts: 1

Re: CRDA needed

Hello!

At somebody it turned out to set wireless-regdb?

If yes, that you could not will share the recipe?

Offline

#12 2019-03-11 11:58:41

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: CRDA needed

There is now a package wireless-regdb available in the cooking repository, created with an updated recipe of Aleksej Bobylev.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]