<div dir="ltr">Inline below ...<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 7:42 PM, cmsv <span dir="ltr"><<a href="mailto:cmsv@wirelesspt.net" target="_blank">cmsv@wirelesspt.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><br>
<br>
On 10/14/2013 05:45 PM, Ben West wrote:<br>
> Hi cmsv,<br>
><br>
> I can confirm that disabling "Remove ipkg/opkg status data files in<br>
> final images" does indeed interfere with sysupgrade's ability to collect<br>
> and preserve relevant config data. I've not found this option to save<br>
> much space in the final squashfs image, at least not enough to justify<br>
> the hassle.<br>
><br>
> Besides that, I've been using wpad-mini for psk2 IBSS-RSN just fine on<br>
> atheros devices and ar71xx devices (specifically UBNT Nanostations and<br>
> TP-Link MR-3020's). This is working for me on AA r36669 and now also AA<br>
> r38347, albeit with the beacon_int patch on the latter, mentioned recent<br>
> threads.<br>
<br>
</div>I confirmed that beacon_int functionality is working.<br>
Can you confirm that wpad-mini is working for adhoc using batman-adv ?<br></blockquote><div><br></div><div>I use olsrd, so no easy way for me to verify batman-adv operation. wpad and wpad-mini do operate independently of routing and addressing schema, although I realize that batman-adv also operates at layer 2.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">><br>
> Also, I do configure /etc/config/wireless using vi, rather than via luci.<br>
><br>
> Space-saving tips:<br>
><br>
</div>> * Enable General Settings -> Optimize for Size in kernel_menuconfig<br>
<div class="im">> (may be enabled by default).<br>
</div>> * Disable IPv6 if you don't need it.<br>
The only reason why i still keep some ipv6 support is due to A.L.F.R.E.D<br>
for batman-adv. The mesh is ipv4 and i wonder how much ipv6 support the<br>
packages need to have to be able to work with A.L.F.R.E.D.<br>
Any feedback is welcome.<br>
<br>
> * Disable USB and autofs4 support if you don't need them.<br>
> * Try wpad-mini instead of wpad.<br>
> * In Global Build Settings, disable "Compile packages with debugging<br>
<div class="im">> info" and "Compile the kernel with Debug FileSystem enabled."<br>
<br>
</div>> * In Advanced Configuration -> Target Options -> Target Optimizations,<br>
<div class="im">> add the flag "-funit-at-a-time" to tell GCC to work harder at size<br>
> optimization.<br>
</div>> * If you need SSL support, i.e. for curl, patch libcurl to use the<br>
<div class="im">> latest version of cyassl or polarssl instead of openssl.<br>
</div>Only for dropbear at the moment. Any alternative?<br></blockquote><div><br></div><div>Dropbear as packaged with AA doesn't have any dependency on openssl:<br><a href="https://dev.openwrt.org/browser/branches/attitude_adjustment/package/dropbear/Makefile">https://dev.openwrt.org/browser/branches/attitude_adjustment/package/dropbear/Makefile</a><br>
<br></div><div>I've been using dropbear just fine w/o openssl. What is the openssl dependency that you require?<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">><br>
><br>
><br>
><br>
> On Sat, Oct 12, 2013 at 11:36 AM, cmsv <<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a><br>
</div><div class="im">> <mailto:<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a>>> wrote:<br>
><br>
><br>
><br>
> On 10/08/2013 05:47 AM, Pau wrote:<br>
> > Another trick is to disable "opkg" since (probably) you are not gonna<br>
> > use it if the flash memory is so small.<br>
><br>
> I have thought about removing opkg but there are some optional packages<br>
> that are provided and quite useful for certain situations. what other<br>
> method could it be used to install a package ?<br>
> wget get can fetch but what is the mechanism that is used by opkg ?<br>
><br>
> for example removing<br>
> [ ] Remove ipkg/opkg status data files in final images<br>
> also helps but seems to break the possibility of installing an upgrade<br>
> package or a package. Am i correct ?<br>
><br>
> I also wondered if it is a good or bad idea to remove:<br>
> [*] Compile the kernel with Debug FileSystem enabled<br>
> > --<br>
> > ./p4u<br>
> ><br>
> ><br>
> > On Tue, Oct 8, 2013 at 11:39 AM, Bastian Bittorf<br>
</div>> <<a href="mailto:bittorf@bluebottle.com">bittorf@bluebottle.com</a> <mailto:<a href="mailto:bittorf@bluebottle.com">bittorf@bluebottle.com</a>>> wrote:<br>
> >> * cmsv <<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a> <mailto:<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a>>><br>
<div><div class="h5">> [08.10.2013 10:45]:<br>
> >>> Total: 169.8 KB<br>
> >>><br>
> >>> Does anyone uses, recommend or know about a smaller equivalent<br>
> script or<br>
> >>> package ?<br>
> >><br>
> >> there are a lot of things where can screw to get your image smaller.<br>
> >><br>
> >> first do this:<br>
> >> disbale debugging stuff in 'make menuconfig'<br>
> >> -> Global build settings<br>
> >> -> [ ] Compile the kernel with symbol table information<br>
> done<br>
> >><br>
> >> (you can even disable wireless-debug for your driver)<br>
> Has been considered.<br>
><br>
> >><br>
> >> additionally, ou can disable printk and swap, which saves ~100k:<br>
> >><br>
> >> make kernel_menuconfig<br>
> >> -> General setup<br>
> >> [ ] Support for paging of anonymous memory (swap)<br>
> done<br>
> >> -> Configure standard kernel features (expert users)<br>
> >> [ ] Enable support for printk<br>
> done<br>
> what exactly is printk most useful for ?<br>
> >><br>
> >> let us know, if it helps. for 4mb routers, the image<br>
> >> should not exceed 3.6mb<br>
> right now and for my testing model:<br>
> 3.8M openwrt-ar71xx-generic-dir-615-c1-squashfs-factory.bin<br>
> 3.2M openwrt-ar71xx-generic-dir-615-c1-squashfs-sysupgrade.bin<br>
> (includes some extra needed packages and scrips)<br>
><br>
> What other things could be removed without hurting the needed<br>
> functionality for a batman-adv atheros only based firmware with an<br>
> average of 400mhz cpu, 32mb ram and 4 mb flash.<br>
><br>
> Although the sysupgrade for my tetsing model is 3.2mb; for other<br>
> brands/models it goes slightly bigger last time i checked.<br>
><br>
> One other package that is using twice the size that it needs to use is<br>
> wpad which i have to use if i want ad-hoc to function with psk<br>
> encryption. I am not able to use the wpad-mini package which is half the<br>
> size of wpad pad due to this:<br>
><br>
> <a href="http://rooter.kyberian.net/tag/adhoc" target="_blank">http://rooter.kyberian.net/tag/adhoc</a><br>
><br>
> and batman-adv is not able to communicate with other nodes if the<br>
> firmware uses wpad-mini.<br>
><br>
> I believe that there might be a patch out there but unsure about it or<br>
> if it has been added to AA.<br>
><br>
><br>
> >><br>
> >> bye, bastian<br>
> >> _______________________________________________<br>
> >> Battlemesh mailing list<br>
</div></div>> >> <a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a> <mailto:<a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a>><br>
<div class="im">> >> <a href="http://ml.ninux.org/mailman/listinfo/battlemesh" target="_blank">http://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
> > _______________________________________________<br>
> > Battlemesh mailing list<br>
</div>> > <a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a> <mailto:<a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a>><br>
<div class="im">> > <a href="http://ml.ninux.org/mailman/listinfo/battlemesh" target="_blank">http://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> openwrt-users mailing list<br>
</div>> <a href="mailto:openwrt-users@lists.openwrt.org">openwrt-users@lists.openwrt.org</a> <mailto:<a href="mailto:openwrt-users@lists.openwrt.org">openwrt-users@lists.openwrt.org</a>><br>
<div class="im">> <a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Ben West<br>
> <a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br>
</div>> <a href="mailto:ben@gowasabi.net">ben@gowasabi.net</a> <mailto:<a href="mailto:ben@gowasabi.net">ben@gowasabi.net</a>><br>
> <a href="tel:314-246-9434" value="+13142469434">314-246-9434</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Ben West<div><a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br><a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a><br>314-246-9434<br>
</div>
</div></div>