From aidanr67 at gmail.com Tue Aug 2 15:51:45 2016 From: aidanr67 at gmail.com (Aidan Roberts) Date: Tue, 2 Aug 2016 17:51:45 +0200 Subject: [Commotion-discuss] pptp package Message-ID: <32fd86ca-c80d-5020-a83f-d3ce3da4e4fa@gmail.com> Hey, Does anyone know what happened to the "ppp-mod-pptp" package? When I try setup a pptp connection on the WAN interface Commotion tells me I need that package but it's nowhere to be found in the packages lists. Is there an alternative package I could use? Thanks in advance. Aidan From star at nikksno.io Sun Aug 14 23:22:41 2016 From: star at nikksno.io (Nicolas North) Date: Mon, 15 Aug 2016 01:22:41 +0200 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> Message-ID: <417898210fbfe925a8292e72a804fe56@nikksno.io> Hi there! I'm starting a mesh network project here in Milano, Italia, where I live, and I already have 40 nodes up and running both outside and inside peoples' houses, with both commotion and a pure openwrt + olsrd setup as described on the Metamesh website. I intend to switch to a 100% commotion network because of some potentially show stopping issues I'm encountering on Tplink routers with Metamesh's setup [I'm doing something wrong I'm sure - more details below]. I WOULD IMMENSELY APPRECIATE ANY HELP IN GETTING COMMOTION COMPILED FOR THE TP-LINK TL-WR1043N/ND V3 AND IF POSSIBLE THE TP-LINK ARCHER C7 V2 [WHICH IS DUAL BAND AC SO I ONLY HAVE TWO OF THEM AS A TEST FOR NOW]. In the past I was able to compile openwrt on a linux vm with a lot of trial and error but was never able to access the command line config menu for the commotion compiler. I also ran into svn tutorials for commotion but only ever found git repos. Also I don't know the specs to compile for my speficic hardware, are those available on the owrt toh? How can I avoid using the trunk version of openwrt if there's no stable version listed for the WR1043N/ND v3? I have very little experience with software compilation so any help would be fantastic. I've had a very lengthy back and forth conversation that started here on the list and then went private with Josh and Ben and Adam over at Metamesh who have all been extremely nice and helpful and I thank them if the project is where it is today. But now I need your help in ensuring this doesn't all just collapse in front of us because of these issues. For the record, Metamesh is amazing, Adam, has been great, and I'm sure their setup works, and I'm doing something wrong, but after reading Josh's message about the future of commotion, I want all my nodes on commotion for the future of the project. ANY HELP IS OF VITAL IMPORTANTANCE FOR OUR PROJECT. ABOUT 100 PEOPLE ARE WAITING FOR THIS TO WORK EVERY DAY. PLEASE HELP. THANK YOU VERY MUCH IN ADVANCE. Nicolas -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at gowasabi.net Mon Aug 15 18:50:46 2016 From: ben at gowasabi.net (Ben West) Date: Mon, 15 Aug 2016 13:50:46 -0500 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: <417898210fbfe925a8292e72a804fe56@nikksno.io> References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> <417898210fbfe925a8292e72a804fe56@nikksno.io> Message-ID: I've compiled OpenWRT trunk r49379 for the TL-WR1043N v3. My understanding is that a trunk version is required for this device, i.e. can't flash it with BB or CC. >From prior experience compiling Commotion atop r3xxxx-era OpenWRT, I'd anticipate these specific difficulties: - Compiling Commotion's luci packages atop recent OpenWRT trunk. I think there is significant enough delta in the OpenWRT luci repo that current revisions won't compile cleanly with Commotion. - Compiling Commotion's olsr packages atop olsrd v0.9, which is now the version packaged with OpenWRT trunk. Similar situation. - Dealing with Commotion libcyassl dependencies, since that package appears to be gradually phasing out in favor of libpolarssl as lightweight alternative to libopenssl. Please note I can't offer availability in addressing these barriers to a clean compile, just sharing experience to help guide others. On Sun, Aug 14, 2016 at 6:22 PM, Nicolas North wrote: > Hi there! > > I'm starting a mesh network project here in Milano, Italia, where I > live, and I already have 40 nodes up and running both outside and inside > peoples' houses, with both commotion and a pure openwrt + olsrd setup as > described on the Metamesh website. I intend to switch to a 100% > commotion network because of some potentially show stopping issues I'm > encountering on Tplink routers with Metamesh's setup [I'm doing something > wrong I'm sure - more details below]. > > *I would immensely appreciate any help in getting commotion compiled for > the TP-Link TL-WR1043N/ND v3 and if possible the TP-Link Archer c7 v2 > [which is dual band AC so I only have two of them as a test for now].* > > In the past I was able to compile openwrt on a linux > vm with a lot of trial and error but was never able to access the > command line config menu for the commotion compiler. I also ran into svn > tutorials for commotion but only ever found git repos. Also I don't know > the specs to compile for my speficic hardware, are those available on > the owrt toh? How can I avoid using the trunk version of openwrt if > there's no stable version listed for the WR1043N/ND v3? I have very little > experience with software compilation so > any help would be fantastic. > > I've had a very lengthy back and forth conversation that started here on > the list and then went private with Josh and Ben and Adam over at > Metamesh who have all been extremely nice and helpful and I thank them > if the project is where it is today. But now I need your help in > ensuring this doesn't all just collapse in front of us because of these > issues. For the record, Metamesh is amazing, Adam, has been great, and > I'm sure their setup works, and I'm doing something wrong, but after > reading Josh's message about the future of commotion, I want all my > nodes on commotion for the future of the project. > > *Any help is of vital importantance for our project. About 100 people are* > * waiting for this to work every day. Please help. Thank you very much in > advance.* > > > Nicolas > > _______________________________________________ > Commotion-discuss mailing list > Commotion-discuss at lists.chambana.net > https://lists.chambana.net/mailman/listinfo/commotion-discuss > > -- Ben West ben at gowasabi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From star at nikksno.io Mon Aug 15 19:30:11 2016 From: star at nikksno.io (Nicolas North) Date: Mon, 15 Aug 2016 21:30:11 +0200 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> <417898210fbfe925a8292e72a804fe56@nikksno.io> Message-ID: Hi again Ben! Thank you so much for your reply Ok I see. However we might have a glimpse of hope with this little suggestion I found on the TOH: HOW TO FLASH CHAOS CALMER (15.05) INTO THE V3 VERSION WITH THE V2 OPENWRT FACTORY FILE Since there is another TP-Link software installed on the V3 version of the router which does not accept the firmware file for the V2 version it is not possible to install CC on it. But there is a little trick to install it anyways. * Download the V2 version:https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory.bin * Change with an Hex editor the version number in the header of the file from 02 to 03 and save the file. It is located in byte 43. [2] command-line version for linux: echo -e "\003" | dd seek=67 bs=1 count=1 conv=notrunc of=firmware_file.bin * Rename the file to "wr1043v3_tp_recovery.bin" and flash it via tftp how described above Would this trick solve the issue even for the commotion firmware? If so, how would I compile it? Thank you so much! Fingers crossed! :) Nicolas On 2016-08-15 20:50, Ben West wrote: > I've compiled OpenWRT trunk r49379 for the TL-WR1043N v3. My > understanding is that a trunk version is required for this device, > i.e. can't flash it with BB or CC. > > From prior experience compiling Commotion atop r3xxxx-era OpenWRT, I'd > anticipate these specific difficulties: > > - Compiling Commotion's luci packages atop recent OpenWRT trunk. I > think there is significant enough delta in the OpenWRT luci repo that > current revisions won't compile cleanly with Commotion. > - Compiling Commotion's olsr packages atop olsrd v0.9, which is now > the version packaged with OpenWRT trunk. Similar situation. > - Dealing with Commotion libcyassl dependencies, since that package > appears to be gradually phasing out in favor of libpolarssl as > lightweight alternative to libopenssl. > > Please note I can't offer availability in addressing these barriers to > a clean compile, just sharing experience to help guide others. > > On Sun, Aug 14, 2016 at 6:22 PM, Nicolas North > wrote: > >> Hi there! >> >> I'm starting a mesh network project here in Milano, Italia, where I >> live, and I already have 40 nodes up and running both outside and >> inside >> peoples' houses, with both commotion and a pure openwrt + olsrd >> setup as >> described on the Metamesh website. I intend to switch to a 100% >> commotion network because of some potentially show stopping issues >> I'm >> encountering on Tplink routers with Metamesh's setup [I'm doing >> something wrong I'm sure - more details below]. >> >> I WOULD IMMENSELY APPRECIATE ANY HELP IN GETTING COMMOTION COMPILED >> FOR THE TP-LINK TL-WR1043N/ND V3 AND IF POSSIBLE THE TP-LINK ARCHER >> C7 V2 [WHICH IS DUAL BAND AC SO I ONLY HAVE TWO OF THEM AS A TEST >> FOR NOW]. >> >> In the past I was able to compile openwrt on a linux >> vm with a lot of trial and error but was never able to access the >> command line config menu for the commotion compiler. I also ran into >> svn >> tutorials for commotion but only ever found git repos. Also I don't >> know >> the specs to compile for my speficic hardware, are those available >> on >> the owrt toh? How can I avoid using the trunk version of openwrt if >> there's no stable version listed for the WR1043N/ND v3? I have very >> little experience with software compilation so >> any help would be fantastic. >> >> I've had a very lengthy back and forth conversation that started >> here on >> the list and then went private with Josh and Ben and Adam over at >> Metamesh who have all been extremely nice and helpful and I thank >> them >> if the project is where it is today. But now I need your help in >> ensuring this doesn't all just collapse in front of us because of >> these >> issues. For the record, Metamesh is amazing, Adam, has been great, >> and >> I'm sure their setup works, and I'm doing something wrong, but after >> reading Josh's message about the future of commotion, I want all my >> nodes on commotion for the future of the project. >> >> ANY HELP IS OF VITAL IMPORTANTANCE FOR OUR PROJECT. ABOUT 100 PEOPLE >> ARE >> WAITING FOR THIS TO WORK EVERY DAY. PLEASE HELP. THANK YOU VERY >> MUCH IN ADVANCE. >> >> Nicolas >> _______________________________________________ >> Commotion-discuss mailing list >> Commotion-discuss at lists.chambana.net >> https://lists.chambana.net/mailman/listinfo/commotion-discuss [1 [1]] > > -- > > Ben West > ben at gowasabi.net > > Links: > ------ > [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss Links: ------ [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss [2] https://wiki.openwrt.org/_detail/media/tplink/tl-wr1043/tl-wr1043nd_version_nr_in_bin_header.jpg?id=toh%3Atp-link%3Atl-wr1043nd -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at gowasabi.net Mon Aug 15 19:40:09 2016 From: ben at gowasabi.net (Ben West) Date: Mon, 15 Aug 2016 14:40:09 -0500 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> <417898210fbfe925a8292e72a804fe56@nikksno.io> Message-ID: Well, what appears to confirm some of what you report is that my TL-WR1043ND v3 reports its compiled image to be that shared between v2 and v3: root at OpenWrt:~# cat /tmp/sysinfo/model TP-Link TL-WR1043N/ND v3 root at OpenWrt:~# cat /tmp/sysinfo/board_name tl-wr1043nd-v2 Ideally the TFTP recovery will remain operational if the image you flash doesn't boot, i.e. letting you un-brick it if necessary. On Mon, Aug 15, 2016 at 2:30 PM, Nicolas North wrote: > Hi again Ben! > > Thank you so much for your reply > > Ok I see. However we might have a glimpse of hope with this little > suggestion I found on the TOH: > How to flash Chaos Calmer (15.05) into the V3 version with the V2 OpenWRT > factory file > > Since there is another TP-Link software installed on the V3 version of the > router which does not accept the firmware file for the V2 version it is not > possible to install CC on it. > But there is a little trick to install it anyways. > > 1. Download the V2 version:https://downloads. > openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15. > 05-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory.bin > > 2. Change with an Hex editor the version number in the header of the > file from 02 to 03 and save the file. It is located in byte 43. > > > command-line version for linux: > > echo -e "\003" | dd seek=67 bs=1 count=1 conv=notrunc of=firmware_file.bin > > 3. Rename the file to "wr1043v3_tp_recovery.bin" and flash it via tftp > how described above > > Would this trick solve the issue even for the commotion firmware? If > so, how would I compile it? > > Thank you so much! Fingers crossed! :) > > > Nicolas > > > > On 2016-08-15 20:50, Ben West wrote: > > I've compiled OpenWRT trunk r49379 for the TL-WR1043N v3. My > understanding is that a trunk version is required for this device, > i.e. can't flash it with BB or CC. > > From prior experience compiling Commotion atop r3xxxx-era OpenWRT, I'd > anticipate these specific difficulties: > > - Compiling Commotion's luci packages atop recent OpenWRT trunk. I > think there is significant enough delta in the OpenWRT luci repo that > current revisions won't compile cleanly with Commotion. > - Compiling Commotion's olsr packages atop olsrd v0.9, which is now > the version packaged with OpenWRT trunk. Similar situation. > - Dealing with Commotion libcyassl dependencies, since that package > appears to be gradually phasing out in favor of libpolarssl as > lightweight alternative to libopenssl. > > Please note I can't offer availability in addressing these barriers to > a clean compile, just sharing experience to help guide others. > > On Sun, Aug 14, 2016 at 6:22 PM, Nicolas North > wrote: > > Hi there! > > I'm starting a mesh network project here in Milano, Italia, where I > live, and I already have 40 nodes up and running both outside and > inside > peoples' houses, with both commotion and a pure openwrt + olsrd > setup as > described on the Metamesh website. I intend to switch to a 100% > commotion network because of some potentially show stopping issues > I'm > encountering on Tplink routers with Metamesh's setup [I'm doing > something wrong I'm sure - more details below]. > > I WOULD IMMENSELY APPRECIATE ANY HELP IN GETTING COMMOTION COMPILED > FOR THE TP-LINK TL-WR1043N/ND V3 AND IF POSSIBLE THE TP-LINK ARCHER > C7 V2 [WHICH IS DUAL BAND AC SO I ONLY HAVE TWO OF THEM AS A TEST > FOR NOW]. > > > In the past I was able to compile openwrt on a linux > vm with a lot of trial and error but was never able to access the > command line config menu for the commotion compiler. I also ran into > svn > tutorials for commotion but only ever found git repos. Also I don't > know > the specs to compile for my speficic hardware, are those available > on > the owrt toh? How can I avoid using the trunk version of openwrt if > there's no stable version listed for the WR1043N/ND v3? I have very > little experience with software compilation so > any help would be fantastic. > > I've had a very lengthy back and forth conversation that started > here on > the list and then went private with Josh and Ben and Adam over at > Metamesh who have all been extremely nice and helpful and I thank > them > if the project is where it is today. But now I need your help in > ensuring this doesn't all just collapse in front of us because of > these > issues. For the record, Metamesh is amazing, Adam, has been great, > and > I'm sure their setup works, and I'm doing something wrong, but after > reading Josh's message about the future of commotion, I want all my > nodes on commotion for the future of the project. > > ANY HELP IS OF VITAL IMPORTANTANCE FOR OUR PROJECT. ABOUT 100 PEOPLE > ARE > WAITING FOR THIS TO WORK EVERY DAY. PLEASE HELP. THANK YOU VERY > MUCH IN ADVANCE. > > Nicolas > _______________________________________________ > Commotion-discuss mailing list > Commotion-discuss at lists.chambana.net > https://lists.chambana.net/mailman/listinfo/commotion-discuss [1 > ] > > > -- > > Ben West > ben at gowasabi.net > > > Links: > ------ > [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss > > -- Ben West ben at gowasabi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From star at nikksno.io Mon Aug 15 23:31:00 2016 From: star at nikksno.io (Nicolas North) Date: Tue, 16 Aug 2016 01:31:00 +0200 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> <417898210fbfe925a8292e72a804fe56@nikksno.io> Message-ID: Ok that sounds like excellent news. Thank you for verifying this on your router. So how can I compile commotion for it? I've been able to compile pure owrt cc in the past for a picostation as a test but I wasn't able to do the same with commotion as I never found the pseudo-grafical menu for device specific variables such as wireless card type, etc, and only ever found an svn tutorial on your website but I've only found the git repos. That's all I've been able to do. How can I get the final cw firmware image to flash on the tplink? At what point do I apply the v2/v3 hex trick? Thank you so much again! On 2016-08-15 21:40, Ben West wrote: > Well, what appears to confirm some of what you report is that my > TL-WR1043ND v3 reports its compiled image to be that shared between v2 > and v3: > > root at OpenWrt:~# cat /tmp/sysinfo/model > TP-Link TL-WR1043N/ND v3 > root at OpenWrt:~# cat /tmp/sysinfo/board_name > tl-wr1043nd-v2 > > Ideally the TFTP recovery will remain operational if the image you > flash doesn't boot, i.e. letting you un-brick it if necessary. > > On Mon, Aug 15, 2016 at 2:30 PM, Nicolas North > wrote: > >> Hi again Ben! >> >> Thank you so much for your reply >> >> Ok I see. However we might have a glimpse of hope with this little >> suggestion I found on the TOH: >> >> HOW TO FLASH CHAOS CALMER (15.05) INTO THE V3 VERSION WITH THE V2 >> OPENWRT FACTORY FILE >> >> Since there is another TP-Link software installed on the V3 version >> of the router which does not accept the firmware file for the V2 >> version it is not possible to install CC on it. >> But there is a little trick to install it anyways. >> >> * >> Download the V2 > version:https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory.bin > >> [1 [1]] >> >> * >> Change with an Hex editor the version number in the header of the >> file from 02 to 03 and save the file. It is located in byte 43. >> [2] >> command-line version for linux: >> >> echo -e "\003" | dd seek=67 bs=1 count=1 conv=notrunc >> of=firmware_file.bin >> * >> Rename the file to "wr1043v3_tp_recovery.bin" and flash it via tftp >> how described above >> >> Would this trick solve the issue even for the commotion firmware? If >> so, how would I compile it? >> >> Thank you so much! Fingers crossed! :) >> >> Nicolas >> >> On 2016-08-15 20:50, Ben West wrote: >> >> I've compiled OpenWRT trunk r49379 for the TL-WR1043N v3. My >> understanding is that a trunk version is required for this device, >> i.e. can't flash it with BB or CC. >> >> From prior experience compiling Commotion atop r3xxxx-era OpenWRT, >> I'd >> anticipate these specific difficulties: >> >> - Compiling Commotion's luci packages atop recent OpenWRT trunk. I >> think there is significant enough delta in the OpenWRT luci repo >> that >> current revisions won't compile cleanly with Commotion. >> - Compiling Commotion's olsr packages atop olsrd v0.9, which is now >> the version packaged with OpenWRT trunk. Similar situation. >> - Dealing with Commotion libcyassl dependencies, since that package >> appears to be gradually phasing out in favor of libpolarssl as >> lightweight alternative to libopenssl. >> >> Please note I can't offer availability in addressing these barriers >> to >> a clean compile, just sharing experience to help guide others. >> >> On Sun, Aug 14, 2016 at 6:22 PM, Nicolas North >> wrote: >> >> Hi there! >> >> I'm starting a mesh network project here in Milano, Italia, where I >> live, and I already have 40 nodes up and running both outside and >> inside >> peoples' houses, with both commotion and a pure openwrt + olsrd >> setup as >> described on the Metamesh website. I intend to switch to a 100% >> commotion network because of some potentially show stopping issues >> I'm >> encountering on Tplink routers with Metamesh's setup [I'm doing >> something wrong I'm sure - more details below]. >> >> I WOULD IMMENSELY APPRECIATE ANY HELP IN GETTING COMMOTION COMPILED >> FOR THE TP-LINK TL-WR1043N/ND V3 AND IF POSSIBLE THE TP-LINK ARCHER >> C7 V2 [WHICH IS DUAL BAND AC SO I ONLY HAVE TWO OF THEM AS A TEST >> FOR NOW]. >> >> In the past I was able to compile openwrt on a linux >> vm with a lot of trial and error but was never able to access the >> command line config menu for the commotion compiler. I also ran into >> svn >> tutorials for commotion but only ever found git repos. Also I don't >> know >> the specs to compile for my speficic hardware, are those available >> on >> the owrt toh? How can I avoid using the trunk version of openwrt if >> there's no stable version listed for the WR1043N/ND v3? I have very >> little experience with software compilation so >> any help would be fantastic. >> >> I've had a very lengthy back and forth conversation that started >> here on >> the list and then went private with Josh and Ben and Adam over at >> Metamesh who have all been extremely nice and helpful and I thank >> them >> if the project is where it is today. But now I need your help in >> ensuring this doesn't all just collapse in front of us because of >> these >> issues. For the record, Metamesh is amazing, Adam, has been great, >> and >> I'm sure their setup works, and I'm doing something wrong, but after >> reading Josh's message about the future of commotion, I want all my >> nodes on commotion for the future of the project. >> >> ANY HELP IS OF VITAL IMPORTANTANCE FOR OUR PROJECT. ABOUT 100 >> PEOPLE >> ARE >> WAITING FOR THIS TO WORK EVERY DAY. PLEASE HELP. THANK YOU VERY >> MUCH IN ADVANCE. >> >> Nicolas >> _______________________________________________ >> Commotion-discuss mailing list >> Commotion-discuss at lists.chambana.net >> https://lists.chambana.net/mailman/listinfo/commotion-discuss [3 [1]] [1 >> [3]] >> -- >> >> Ben West >> ben at gowasabi.net >> >> Links: >> ------ >> [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss >> [3 [1]] > > -- > > Ben West > ben at gowasabi.net > > Links: > ------ > [1 [1]] > https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory.bin > [2] > https://wiki.openwrt.org/_detail/media/tplink/tl-wr1043/tl-wr1043nd_version_nr_in_bin_header.jpg?id=toh%3Atp-link%3Atl-wr1043nd > [3] https://lists.chambana.net/mailman/listinfo/commotion-discuss Links: ------ [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at gowasabi.net Tue Aug 16 18:19:18 2016 From: ben at gowasabi.net (Ben West) Date: Tue, 16 Aug 2016 13:19:18 -0500 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> <417898210fbfe925a8292e72a804fe56@nikksno.io> Message-ID: Commotion exists as a collection of custom packages overlaid atop the OpenWRT BB build environment. You can see how its build environment comes together in the CMakeLists.txt file in this repo: https://github.com/opentechinstitute/commotion-router This repo is provides pointers to more repos containing the individual custom packages integrated into Commotion: https://github.com/opentechinstitute/commotion-feed I'm uncertain about progress made towards compiling over CC. The latter detail may be something Adam @ Meta Mesh could answer to better. Getting Commotion to compile atop OpenWRT DD, aka trunk, would require lots of edits to Makefiles, patchsets to source files, etc etc. No graphical menuconfig available for this. Also, some Commotion-specific packages may just not compile (thinking of the olsrd-mdp package specifically, off the top of my head), and have to be excluded. Do note that Josh King had earlier mentioned interest in rebasing Commotion atop current generation OpenWRT, i.e. precisely what you're asking about. I gather this will be a work-in-progress for some time. On Mon, Aug 15, 2016 at 6:31 PM, Nicolas North wrote: > Ok that sounds like excellent news. Thank you for verifying this on your > router. So how can I compile commotion for it? I've been able to compile > pure owrt cc in the past for a picostation as a test but I wasn't able to > do the same with commotion as I never found the pseudo-grafical menu for > device specific variables such as wireless card type, etc, and only ever > found an svn tutorial on your website but I've only found the git repos. > That's all I've been able to do. How can I get the final cw firmware image > to flash on the tplink? At what point do I apply the v2/v3 hex trick? > > Thank you so much again! > > On 2016-08-15 21:40, Ben West wrote: > > Well, what appears to confirm some of what you report is that my > TL-WR1043ND v3 reports its compiled image to be that shared between v2 > and v3: > > root at OpenWrt:~# cat /tmp/sysinfo/model > TP-Link TL-WR1043N/ND v3 > root at OpenWrt:~# cat /tmp/sysinfo/board_name > tl-wr1043nd-v2 > > Ideally the TFTP recovery will remain operational if the image you > flash doesn't boot, i.e. letting you un-brick it if necessary. > > On Mon, Aug 15, 2016 at 2:30 PM, Nicolas North > wrote: > > Hi again Ben! > > Thank you so much for your reply > > Ok I see. However we might have a glimpse of hope with this little > suggestion I found on the TOH: > > HOW TO FLASH CHAOS CALMER (15.05) INTO THE V3 VERSION WITH THE V2 > OPENWRT FACTORY FILE > > Since there is another TP-Link software installed on the V3 version > of the router which does not accept the firmware file for the V2 > version it is not possible to install CC on it. > But there is a little trick to install it anyways. > > * > Download the V2 > > version:https://downloads.openwrt.org/chaos_calmer/15.05/ > ar71xx/generic/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v2- > squashfs-factory.bin > > [1 ] > > * > Change with an Hex editor the version number in the header of the > file from 02 to 03 and save the file. It is located in byte 43. > [2] > command-line version for linux: > > echo -e "\003" | dd seek=67 bs=1 count=1 conv=notrunc > of=firmware_file.bin > * > > Rename the file to "wr1043v3_tp_recovery.bin" and flash it via tftp > how described above > > Would this trick solve the issue even for the commotion firmware? If > so, how would I compile it? > > Thank you so much! Fingers crossed! :) > > Nicolas > > On 2016-08-15 20:50, Ben West wrote: > > I've compiled OpenWRT trunk r49379 for the TL-WR1043N v3. My > understanding is that a trunk version is required for this device, > i.e. can't flash it with BB or CC. > > From prior experience compiling Commotion atop r3xxxx-era OpenWRT, > I'd > anticipate these specific difficulties: > > - Compiling Commotion's luci packages atop recent OpenWRT trunk. I > think there is significant enough delta in the OpenWRT luci repo > that > current revisions won't compile cleanly with Commotion. > - Compiling Commotion's olsr packages atop olsrd v0.9, which is now > the version packaged with OpenWRT trunk. Similar situation. > - Dealing with Commotion libcyassl dependencies, since that package > appears to be gradually phasing out in favor of libpolarssl as > lightweight alternative to libopenssl. > > Please note I can't offer availability in addressing these barriers > to > a clean compile, just sharing experience to help guide others. > > On Sun, Aug 14, 2016 at 6:22 PM, Nicolas North > wrote: > > Hi there! > > I'm starting a mesh network project here in Milano, Italia, where I > live, and I already have 40 nodes up and running both outside and > inside > peoples' houses, with both commotion and a pure openwrt + olsrd > setup as > described on the Metamesh website. I intend to switch to a 100% > commotion network because of some potentially show stopping issues > I'm > encountering on Tplink routers with Metamesh's setup [I'm doing > something wrong I'm sure - more details below]. > > I WOULD IMMENSELY APPRECIATE ANY HELP IN GETTING COMMOTION COMPILED > FOR THE TP-LINK TL-WR1043N/ND V3 AND IF POSSIBLE THE TP-LINK ARCHER > C7 V2 [WHICH IS DUAL BAND AC SO I ONLY HAVE TWO OF THEM AS A TEST > FOR NOW]. > > In the past I was able to compile openwrt on a linux > vm with a lot of trial and error but was never able to access the > command line config menu for the commotion compiler. I also ran into > svn > tutorials for commotion but only ever found git repos. Also I don't > know > the specs to compile for my speficic hardware, are those available > on > the owrt toh? How can I avoid using the trunk version of openwrt if > there's no stable version listed for the WR1043N/ND v3? I have very > little experience with software compilation so > any help would be fantastic. > > I've had a very lengthy back and forth conversation that started > here on > the list and then went private with Josh and Ben and Adam over at > Metamesh who have all been extremely nice and helpful and I thank > them > if the project is where it is today. But now I need your help in > ensuring this doesn't all just collapse in front of us because of > these > issues. For the record, Metamesh is amazing, Adam, has been great, > and > I'm sure their setup works, and I'm doing something wrong, but after > reading Josh's message about the future of commotion, I want all my > nodes on commotion for the future of the project. > > ANY HELP IS OF VITAL IMPORTANTANCE FOR OUR PROJECT. ABOUT 100 > PEOPLE > ARE > WAITING FOR THIS TO WORK EVERY DAY. PLEASE HELP. THANK YOU VERY > MUCH IN ADVANCE. > > Nicolas > _______________________________________________ > Commotion-discuss mailing list > Commotion-discuss at lists.chambana.net > https://lists.chambana.net/mailman/listinfo/commotion-discuss [3 > ] [1 > [3]] > -- > > Ben West > ben at gowasabi.net > > Links: > ------ > [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss > [3 ] > > > -- > > Ben West > ben at gowasabi.net > > > Links: > ------ > [1 ] > https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/gene > ric/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory.bin > [2] > https://wiki.openwrt.org/_detail/media/tplink/tl-wr1043/tl- > wr1043nd_version_nr_in_bin_header.jpg?id=toh%3Atp-link%3Atl-wr1043nd > [3] https://lists.chambana.net/mailman/listinfo/commotion-discuss > > -- Ben West ben at gowasabi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jking at chambana.net Wed Aug 17 01:13:46 2016 From: jking at chambana.net (Josh King) Date: Tue, 16 Aug 2016 21:13:46 -0400 Subject: [Commotion-discuss] Help compiling for TL-WR1043N/ND v3 In-Reply-To: References: <44313c73-093f-4231-bff7-652bafb027a7@nikksno.io> <1466455125.1261.14.camel@chambana.net> <8ca1efb9-96d3-4ce7-995d-aa73b2174e2c@nikksno.io> <1468432840.1811.35.camel@chambana.net> <6c50ccb0-26f3-4a39-810e-82da013ea480@nikksno.io> <417898210fbfe925a8292e72a804fe56@nikksno.io> Message-ID: <1471396426.6523.8.camel@chambana.net> I spent a couple hours today on this problem of rebasing on CC, and it's definitely going to be somewhat tricky, though I haven't even gotten to the issue of specific problems with packages. The CMake build system is based on downloading the precompiled OpenWRT imagebuilder and SDK and using those. That has the advantage of being relatively self-contained and stable, and fast as the toolchain is already in place. However, the SDK has the problem of being somewhat "leaky." So many of the packages (talking base OpenWRT stuff, not the Commotion packages) end up trying to use system utilities to compile stuff, rather than utilities actually included in the SDK toolchain. So for instance, my compile of some core package (expat, I believe) is bombing out because my system has a newer version of Gettext than was used to create the autotools input files! I'm tempted to go back to a simpler build script based on the full buildroot. In any event, I'll clean up and push some fixes tomorrow so that it can be targeted against Chaos Calmer (though that's a ways from necessarily having a working image) and see if I can get around the packaging issues. I may also see about building from a LEDE snapshot in the off chance that some of these issues have been fixed. On Tue, 2016-08-16 at 13:19 -0500, Ben West wrote: > Commotion exists as a collection of custom packages overlaid atop the OpenWRT BB build > environment.  You can see how its build environment comes together in the CMakeLists.txt file in > this repo: > https://github.com/opentechinstitute/commotion-router > > This repo is provides pointers to more repos containing the individual custom packages integrated > into Commotion: > https://github.com/opentechinstitute/commotion-feed > > I'm uncertain about progress made towards compiling over CC.  The latter detail may be something > Adam @ Meta Mesh could answer to better. > > Getting Commotion to compile atop OpenWRT DD, aka trunk, would require lots of edits to Makefiles, > patchsets to source files, etc etc.  No graphical menuconfig available for this.  Also, some > Commotion-specific packages may just not compile (thinking of the olsrd-mdp package specifically, > off the top of my head), and have to be excluded. > > Do note that Josh King had earlier mentioned interest in rebasing Commotion atop current > generation OpenWRT, i.e. precisely what you're asking about.  I gather this will be a work-in- > progress for some time. > > > On Mon, Aug 15, 2016 at 6:31 PM, Nicolas North wrote: > > Ok that sounds like excellent news. Thank you for verifying this on your router. So how can I > > compile commotion for it? I've been able to compile pure owrt cc in the past for a picostation > > as a test but I wasn't able to do the same with commotion as I never found the pseudo-grafical > > menu for device specific variables such as wireless card type, etc, and only ever found an svn > > tutorial on your website but I've only found the git repos. That's all I've been able to do. How > > can I get the final cw firmware image to flash on the tplink? At what point do I apply the v2/v3 > > hex trick? > > Thank you so much again! > >   > > > Well, what appears to confirm some of what you report is that my > > > TL-WR1043ND v3 reports its compiled image to be that shared between v2 > > > and v3: > > > > > > root at OpenWrt:~# cat /tmp/sysinfo/model  > > > TP-Link TL-WR1043N/ND v3 > > > root at OpenWrt:~# cat /tmp/sysinfo/board_name  > > > tl-wr1043nd-v2 > > > > > > Ideally the TFTP recovery will remain operational if the image you > > > flash doesn't boot, i.e. letting you un-brick it if necessary. > > > > > > On Mon, Aug 15, 2016 at 2:30 PM, Nicolas North > > > wrote: > > > > > > > Hi again Ben! > > > > > > > > Thank you so much for your reply > > > > > > > > Ok I see. However we might have a glimpse of hope with this little > > > > suggestion I found on the TOH: > > > > > > > > HOW TO FLASH CHAOS CALMER (15.05) INTO THE V3 VERSION WITH THE V2 > > > > OPENWRT FACTORY FILE > > > > > > > > Since there is another TP-Link software installed on the V3 version > > > > of the router which does not accept the firmware file for the V2 > > > > version it is not possible to install CC on it. > > > > But there is a little trick to install it anyways. > > > > > > > > * > > > > Download the V2 > > >  version:https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx- > > > generic-tl-wr1043nd-v2-squashfs-factory.bin > > > [1] > > > > > > * > > > Change with an Hex editor the version number in the header of the > > > file from 02 to 03 and save the file. It is located in byte 43. > > > [2] > > > command-line version for linux: > > > > > > echo -e "\003" | dd seek=67 bs=1 count=1 conv=notrunc > > > of=firmware_file.bin > > > * > > > > > > Rename the file to "wr1043v3_tp_recovery.bin" and flash it via tftp > > > how described above > > > > > > Would this trick solve the issue even for the commotion firmware? If > > > so, how would I compile it? > > > > > > Thank you so much! Fingers crossed! :) > > > > > > Nicolas > > > > > > On 2016-08-15 20:50, Ben West wrote: > > > > > > I've compiled OpenWRT trunk r49379 for the TL-WR1043N v3.  My > > > understanding is that a trunk version is required for this device, > > > i.e. can't flash it with BB or CC. > > > > > > From prior experience compiling Commotion atop r3xxxx-era OpenWRT, > > > I'd > > > anticipate these specific difficulties: > > > > > > - Compiling Commotion's luci packages atop recent OpenWRT trunk.  I > > > think there is significant enough delta in the OpenWRT luci repo > > > that > > > current revisions won't compile cleanly with Commotion. > > > - Compiling Commotion's olsr packages atop olsrd v0.9, which is now > > > the version packaged with OpenWRT trunk.  Similar situation. > > > - Dealing with Commotion libcyassl dependencies, since that package > > > appears to be gradually phasing out in favor of libpolarssl as > > > lightweight alternative to libopenssl. > > > > > > Please note I can't offer availability in addressing these barriers > > > to > > > a clean compile, just sharing experience to help guide others. > > > > > > On Sun, Aug 14, 2016 at 6:22 PM, Nicolas North > > > wrote: > > > > > > Hi there! > > > > > > I'm starting a mesh network project here in Milano, Italia, where I > > > live, and I already have 40 nodes up and running both outside and > > > inside > > > peoples' houses, with both commotion and a pure openwrt + olsrd > > > setup as > > > described on the Metamesh website. I intend to switch to a 100% > > > commotion network because of some potentially show stopping issues > > > I'm > > > encountering on Tplink routers with Metamesh's setup [I'm doing > > > something wrong I'm sure - more details below]. > > > > > > I WOULD IMMENSELY APPRECIATE ANY HELP IN GETTING COMMOTION COMPILED > > > FOR THE TP-LINK TL-WR1043N/ND V3 AND IF POSSIBLE THE TP-LINK ARCHER > > > C7 V2 [WHICH IS DUAL BAND AC SO I ONLY HAVE TWO OF THEM AS A TEST > > > FOR NOW]. > > > > > > In the past I was able to compile openwrt on a linux > > > vm with a lot of trial and error but was never able to access the > > > command line config menu for the commotion compiler. I also ran into > > > svn > > > tutorials for commotion but only ever found git repos. Also I don't > > > know > > > the specs to compile for my speficic hardware, are those available > > > on > > > the owrt toh? How can I avoid using the trunk version of openwrt if > > > there's no stable version listed for the WR1043N/ND v3? I have very > > > little experience with software compilation so > > > any help would be fantastic. > > > > > > I've had a very lengthy back and forth conversation that started > > > here on > > > the list and then went private with Josh and Ben and Adam over at > > > Metamesh who have all been extremely nice and helpful and I thank > > > them > > > if the project is where it is today. But now I need your help in > > > ensuring this doesn't all just collapse in front of us because of > > > these > > > issues. For the record, Metamesh is amazing, Adam, has been great, > > > and > > > I'm sure their setup works, and I'm doing something wrong, but after > > > reading Josh's message about the future of commotion, I want all my > > > nodes on commotion for the future of the project. > > > > > > ANY HELP IS OF VITAL IMPORTANTANCE FOR OUR PROJECT. ABOUT 100 > > > PEOPLE > > > ARE > > > WAITING FOR THIS TO WORK EVERY DAY. PLEASE HELP. THANK YOU VERY > > > MUCH IN ADVANCE. > > > > > > Nicolas > > > _______________________________________________ > > > Commotion-discuss mailing list > > > Commotion-discuss at lists.chambana.net > > > https://lists.chambana.net/mailman/listinfo/commotion-discuss [3] [1 > > > [3]] > > > -- > > > > > > Ben West > > > ben at gowasabi.net > > > > > > Links: > > > ------ > > > [1] https://lists.chambana.net/mailman/listinfo/commotion-discuss > > > [3] > >   > > --  > > > > Ben West > > ben at gowasabi.net > >   > > > > Links: > > ------ > > [1] > > https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx-generic-tl- > > wr1043nd-v2-squashfs-factory.bin > > [2] > > https://wiki.openwrt.org/_detail/media/tplink/tl-wr1043/tl-wr1043nd_version_nr_in_bin_header.jpg > > ?id=toh%3Atp-link%3Atl-wr1043nd > > [3] https://lists.chambana.net/mailman/listinfo/commotion-discuss > > > > > _______________________________________________ > Commotion-discuss mailing list > Commotion-discuss at lists.chambana.net > https://lists.chambana.net/mailman/listinfo/commotion-discuss -- Josh King PGP Fingerprint: 8269 ED6F EA3B 7D78 F074 1E99 2FDA 4DA1 69AE 4999 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: From jking at chambana.net Thu Aug 25 20:04:00 2016 From: jking at chambana.net (Josh King) Date: Thu, 25 Aug 2016 16:04:00 -0400 Subject: [Commotion-discuss] pptp package In-Reply-To: <32fd86ca-c80d-5020-a83f-d3ce3da4e4fa@gmail.com> References: <32fd86ca-c80d-5020-a83f-d3ce3da4e4fa@gmail.com> Message-ID: <1472155440.2768.26.camel@chambana.net> Hey Aidan, The reason that pptp isn't installed is that there was an overall push with Commotion to try and make the images as small as possible, so anything that wasn't essential to our core use cases was stripped out. The idea was to try and get the images to fit on devices with only 4MB of flash storage. Ultimately, even OpenWRT has largely abandoned devices with that little storage, so while we'll still try and keep images small in the future we won't be quite so aggressive with stripping things out. You should be able to install the default OpenWRT package by changing the Commotion repository URL in /etc/opkg.conf from the Commotion repo to https://downloads.openwrt.org/attitude_adjustment/12.09 /ar71xx/generic/packages/. Then you can install it with 'opkg install' or through the GUI. On Tue, 2016-08-02 at 17:51 +0200, Aidan Roberts wrote: > Hey, > > Does anyone know what happened to the "ppp-mod-pptp" package? When I try > setup a pptp connection on the WAN interface Commotion tells me I need > that package but it's nowhere to be found in the packages lists. Is > there an alternative package I could use? > > > Thanks in advance. > > Aidan > > _______________________________________________ > Commotion-discuss mailing list > Commotion-discuss at lists.chambana.net > https://lists.chambana.net/mailman/listinfo/commotion-discuss -- Josh King PGP Fingerprint: 8269 ED6F EA3B 7D78 F074 1E99 2FDA 4DA1 69AE 4999 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: This is a digitally signed message part URL: