Before my commit 1e85e41d1b70b10a67cdf438b8894f24076e2743 the channel
settings are not set in meshd-nl80211, with the compat 2013-02-22, because
the interface is up (see
https://github.com/cozybit/authsae/commit/1e85e41d1b70b10a67cdf438b8894f2407
6e2743). 

Sequence before my commit to enable secure mesh with HT mode
        /sbin/wifi down
        iw phy0 interface add wlan0 type mp
              iw wlan0 set channel 36 HT20
              ifconfig wlan0 up
              meshd-nl80211 -c /etc/meshd.cfg

Sequence after my commit to enable secure mesh with HT mode
        /sbin/wifi down
        iw phy0 interface add mesh0 type mp
        ifconfig mesh0 up
        mesh-nl80211 -c /etc/authsae.cfg  


Cedric Voncken 

De : Yeoh Chun-Yeow [mailto:[email protected]] 
Envoyé : jeudi 18 avril 2013 15:58
À : voncken
Cc : [email protected]
Objet : Re: Authsae + htmode crash

Hi, Cedric

As far as I know, I have not set the channel or HT mode using the iw. The
phy mode and channel are based on the configuration file in authsae.cfg.
(from authsae.sample.cfg in config folder).

So it would be:
/sbin/wifi down
iw phy0 interface add mesh0 type mp
ifconfig mesh0 up
mesh-nl80211 -c /etc/authsae.cfg  

Am I understand you correctly?

----
Chun-Yeow
On Thu, Apr 18, 2013 at 8:34 PM, voncken <[email protected]> wrote:
        I think which I have understood why you don't have the crash
        If you do
                I run wifi down (to delete all wifi iface) I run
                iw phy0 interface add wlan0 type mp
                ifconfig wlan0 up
                meshd-nl80211 -c /etc/meshd.cfg
        with meshd-nl80211 before commit
1e85e41d1b70b10a67cdf438b8894f24076e2743, the HT mode is not enable with
this sequence.

        Before this commit the correct sequence is
                iw phy0 interface add wlan0 type mp
                iw wlan0 set channel 36 HT20
                ifconfig wlan0 up
                meshd-nl80211 -c /etc/meshd.cfg
Sorry for my mistake
To fix this crash  I have sent a patch yestarday on the linux wireless
maillin list.

Could you confirm the crash and the fix ?

Cedric Voncken


-----Message d'origine-----
De : [email protected]
[mailto:[email protected]] De la part de voncken
Envoyé : mardi 16 avril 2013 09:55
À : [email protected]
Objet : RE: Authsae + htmode crash

I power up my first device,
I run wifi down (to delete all wifi iface) I run
        iw phy0 interface add wlan0 type mp
        ifconfig wlan0 up
        meshd-nl80211 -c /etc/meshd.cfg
I repeat the same sequence on the second product, and the second product
reboot because a kernel panic occurred.
In my first mail, I have posted my config file.
Have you the same default?

Cedric Voncken

De : [email protected]
[mailto:[email protected]] De la part de Yeoh Chun-Yeow
Envoyé : mardi 16 avril 2013 02:35 À : [email protected] Objet :
Re: Authsae + htmode crash


I understand why the HT mode is not set by meshd. It cannot set the channel
information when the interface has joined a mesh network.
The interface join the mesh network automatically, if the mesh_id is set in
'iw  $phy interface add' command (during ifconfig $ifname up process).

I suggest that you disable the radio first by setting "disabled" to 1. Then
only executing the command. Don't put the mesh_id at the back of interface
as what done by the mac80211.sh.

---
Chun-Yeow


_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to