[Commotion-discuss] Commotion installation on Linux laptop

LuigiScop luigi.scopelliti at fastwebnet.it
Sun Jun 9 20:16:58 UTC 2013


Dan,Mikael,Andrew thanks for your suggestions.

At the end It was possible to have the meshing between the 2 
Picostations and my Linux laptop.
Everything is working now.
Here the steps I did.

The first action was to verify if my laptop was supporting ad-hoc mode.
a) With "lsmod" I have  verified that the driver iwlwifi was installed.
b)With "lspci -v" I found the chipset of the wireless device:Intel 
Centrino Advanced-N6200.
It easy to find that the ad-hoc mode is supported.Go to 
http://wireless.kernel.org/en/users/Drivers/iwlwifi

c)I have investigated the second possibilty :if the router was 
supporting the encryption and the nm-mesh-applet not.
So I followed the suggestion of Andrew on Commotion-discuss Digest, Vol 
9, Issue 6,and I tried to connect by olsr

olsrd -d1 -i wlan0 -f /etc/nm-dispatcher-olsrd/commotionwireless.net.conf

and checking the encryption setting on the router and on my laptop(using scan).
I found several inconsistencies between the output of  the router  web page  and the laptop setting.And more ..
I don't want to report all the list of inconsistencies.
So I had the suspect that I was using an old release of the software.
I flashed the router with the available release  on April 2013.
For this trial I used the new ...openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin posted on 24/5/2013.

With this release everything worked at the first attempt.
So it is up to you,now,to explain the main differences between the current  release and the 1 month old one.

Luigi

ps .To answer to Dan,I live in FANO http://www.fano.it/ and I'm try to involve some people to work on this very interesting project supported by Commotion.



>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 05 Jun 2013 15:32:04 -0400
> From: Dan Staples <danstaples at opentechinstitute.org>
> To: commotion-discuss at lists.chambana.net
> Subject: Re: [Commotion-discuss] Commotion installation on Linux
> 	laptop
> Message-ID: <51AF9234.5030407 at opentechinstitute.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Luigi,
>
> Sorry for taking a while to respond. There are two possibilities I can
> think of why you might not be able to mesh with your laptop. The first
> is that your wireless driver on your laptop simply doesn't support
> ad-hoc mode; many do not, including my own laptop. Do you know what
> chipset you are using? It would also help to see the output of "lsmod",
> to see what drivers are loaded. You might want to also consider using a
> USB wifi adapter that is known to do ad-hoc, such as the TL-WN821N:
> http://www.tp-link.us/products/details/?model=TL-WN821N
>
> The second idea is that, if you are using DR1 version of
> Commotion-OpenWRT, then ad-hoc encryption is turned on by default, but
> the nm-mesh-applet software currently does not support encryption. From
> the router, can you give the output of "iwinfo wlan0-1 info"? You will
> see whether encryption is turned on or not.
>
> Dan
>
> On 05/22/2013 09:31 AM, LuigiScop wrote:
>> Hi Dan,
>> I was already registered on the olsrd list and I have forwarded my
>> email also to them.
>> To be honest their answer was to contact you (Commotion).
>>
>> I think that my problem can be checked easily from you.
>>
>> More info about my problem.
>> The Ubuntu is  rel.13.04.
>>
>> This is what I had done.
>> After to run olsrd I tried  to connect my laptop to the Picostation
>> using the mesh network commotionwireless.net.
>>
>> The signal is very good but no connectivity exists .
>>
>> I tried with the ping command from my laptop but the IP address
>> 5.10..... of the picostation is not recognized:unkown IP address.
>>
>> Therfore one of the possible reason of this,I guess, could be the
>> error I have got after thr olsr installation.
>> I have reported it to you in the previous email.
>>
>> On the other side if I use the picostation as AP and the laptop as
>> client everything is working.Also the WDS.
>> Also if I look at the two Picosatation as mesh nodes(see the picture)
>> everything works.
>>
>>
>> To summarize:
>> How can I make to work my 2 picostation and the linux laptop as  part
>> of meshed netowork ?
>>
>> I know that I'm not very precise and accurate, but if I have to do
>> some trials in order you can understand better what i'm doing, let me
>> know.
>>
>> Luigi
>>
>>
>>
>>
>>
>>
>> -----Messaggio originale----- From:
>> commotion-discuss-request at lists.chambana.net
>> Sent: Wednesday, May 22, 2013 2:00 PM
>> To: commotion-discuss at lists.chambana.net
>> Subject: Commotion-discuss Digest, Vol 8, Issue 9
>>
>> Send Commotion-discuss mailing list submissions to
>> commotion-discuss at lists.chambana.net
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.chambana.net/mailman/listinfo/commotion-discuss
>> or, via email, send a message with subject or body 'help' to
>> commotion-discuss-request at lists.chambana.net
>>
>> You can reach the person managing the list at
>> commotion-discuss-owner at lists.chambana.net
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Commotion-discuss digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: Commotion installation on Linux laptop (Dan Staples)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 21 May 2013 15:29:57 -0400
>> From: Dan Staples <danstaples at opentechinstitute.org>
>> To: commotion-discuss at lists.chambana.net
>> Subject: Re: [Commotion-discuss] Commotion installation on Linux
>> laptop
>> Message-ID: <519BCB35.5050200 at opentechinstitute.org>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi Luigi,
>>
>> Someone forwarded your question to the commotion-dev list, and some
>> folks have responded:
>> https://lists.chambana.net/pipermail/commotion-dev/2013-May/001397.html
>>
>> I'd recommend signing up for that list if you haven't yet, as it is
>> where we discuss the more technical aspects of Commotion.
>>
>> cheers,
>> Dan
>>
>> On Mon 20 May 2013 06:52:31 AM EDT, LuigiScop wrote:
>>> I 'm trying to run olsrd on my Linux ubuntu by following the procedure
>>> on https://code.commotionwireless.net/projects/commotion-linux
>>>
>>>
>>>
>>> I get the error:
>>>
>>>
>>>
>>> lscopelliti at lscopelliti-Latitude-E4310:~$ sudo /etc/init.d/olsrd start
>>> Setting mesh on 'wlan0' to channel 5:
>>>
>>>      attaching to 'commotionwireless.net' with BSSID '02:ca:ff:ee:ba:be'
>>>
>>> Turning off NetworkManager wifi control: done Setting up ad-hoc
>>> networking: Error for wireless request "Set Bit Rate"
>>>
>>> (8B20) :
>>>
>>>      SET failed on device wlan0 ; Network is down.
>>>
>>> done
>>>
>>> Setting up IP address: done
>>>
>>> OLSR ad-hoc setup on wlan0 using commotionwireless.net on channel 5
>>> with IP 172.29.135.151
>>>
>>>      ad-hoc Cell BSSID: 00:00:00:00:00:00 olsrd already running, doing
>>> nothing.
>>>
>>>
>>>
>>> Any help?
>>>
>>>
>>>
>>> Thanks.
>>>
>>>
>>>
>>> luigi
>>>
>>>
>>>
>>> _______________________________________________
>>> Commotion-discuss mailing list
>>> Commotion-discuss at lists.chambana.net
>>> https://lists.chambana.net/mailman/listinfo/commotion-discuss
>> -- 
>> Dan Staples
>>
>> Open Technology Institute
>> https://commotionwireless.net
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> Commotion-discuss mailing list
>> Commotion-discuss at lists.chambana.net
>> https://lists.chambana.net/mailman/listinfo/commotion-discuss
>>
>>
>> ------------------------------
>>
>> End of Commotion-discuss Digest, Vol 8, Issue 9
>> ***********************************************
>>
>>
>> _______________________________________________
>> Commotion-discuss mailing list
>> Commotion-discuss at lists.chambana.net
>> https://lists.chambana.net/mailman/listinfo/commotion-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-discuss/attachments/20130609/8d02b664/attachment.html>


More information about the Commotion-discuss mailing list