<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">&lt;<a href="mailto:cmsv@wirelesspt.net" target="_blank">cmsv@wirelesspt.net</a>&gt;</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>
&gt; Hi cmsv,<br>
&gt;<br>
&gt; I can confirm that disabling &quot;Remove ipkg/opkg status data files in<br>
&gt; final images&quot; does indeed interfere with sysupgrade&#39;s ability to collect<br>
&gt; and preserve relevant config data.  I&#39;ve not found this option to save<br>
&gt; much space in the final squashfs image, at least not enough to justify<br>
&gt; the hassle.<br>
&gt;<br>
&gt; Besides that, I&#39;ve been using wpad-mini for psk2 IBSS-RSN just fine on<br>
&gt; atheros devices and ar71xx devices (specifically UBNT Nanostations and<br>
&gt; TP-Link MR-3020&#39;s).  This is working for me on AA r36669 and now also AA<br>
&gt; r38347, albeit with the beacon_int patch on the latter, mentioned recent<br>
&gt; 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">&gt;<br>
&gt; Also, I do configure /etc/config/wireless using vi, rather than via luci.<br>
&gt;<br>
&gt; Space-saving tips:<br>
&gt;<br>
</div>&gt;   * Enable General Settings -&gt; Optimize for Size in kernel_menuconfig<br>
<div class="im">&gt;     (may be enabled by default).<br>
</div>&gt;   * Disable IPv6 if you don&#39;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>
&gt;   * Disable USB and autofs4 support if you don&#39;t need them.<br>
&gt;   * Try wpad-mini instead of wpad.<br>
&gt;   * In Global Build Settings, disable &quot;Compile packages with debugging<br>
<div class="im">&gt;     info&quot; and &quot;Compile the kernel with Debug FileSystem enabled.&quot;<br>
<br>
</div>&gt;   * In Advanced Configuration -&gt; Target Options -&gt; Target Optimizations,<br>
<div class="im">&gt;     add the flag &quot;-funit-at-a-time&quot; to tell GCC to work harder at size<br>
&gt;     optimization.<br>
</div>&gt;   * If you need SSL support, i.e. for curl, patch libcurl to use the<br>
<div class="im">&gt;     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&#39;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&#39;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">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Oct 12, 2013 at 11:36 AM, cmsv &lt;<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On 10/08/2013 05:47 AM, Pau wrote:<br>
&gt;     &gt; Another trick is to disable &quot;opkg&quot; since (probably) you are not gonna<br>
&gt;     &gt; use it if the flash memory is so small.<br>
&gt;<br>
&gt;     I have thought about removing opkg but there are some optional packages<br>
&gt;     that are provided and quite useful for certain situations. what other<br>
&gt;     method could it be used to install a package ?<br>
&gt;     wget get can fetch but what is the mechanism that is used by opkg ?<br>
&gt;<br>
&gt;     for example removing<br>
&gt;     [ ] Remove ipkg/opkg status data files in final images<br>
&gt;     also helps but seems to break the possibility of installing an upgrade<br>
&gt;     package or a package. Am i correct ?<br>
&gt;<br>
&gt;     I also wondered if it is a good or bad idea to remove:<br>
&gt;     [*] Compile the kernel with Debug FileSystem enabled<br>
&gt;     &gt; --<br>
&gt;     &gt; ./p4u<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; On Tue, Oct 8, 2013 at 11:39 AM, Bastian Bittorf<br>
</div>&gt;     &lt;<a href="mailto:bittorf@bluebottle.com">bittorf@bluebottle.com</a> &lt;mailto:<a href="mailto:bittorf@bluebottle.com">bittorf@bluebottle.com</a>&gt;&gt; wrote:<br>
&gt;     &gt;&gt; * cmsv &lt;<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a> &lt;mailto:<a href="mailto:cmsv@wirelesspt.net">cmsv@wirelesspt.net</a>&gt;&gt;<br>
<div><div class="h5">&gt;     [08.10.2013 10:45]:<br>
&gt;     &gt;&gt;&gt; Total: 169.8 KB<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Does anyone uses, recommend or know about a smaller equivalent<br>
&gt;     script or<br>
&gt;     &gt;&gt;&gt; package ?<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; there are a lot of things where can screw to get your image smaller.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; first do this:<br>
&gt;     &gt;&gt; disbale debugging stuff in &#39;make menuconfig&#39;<br>
&gt;     &gt;&gt; -&gt; Global build settings<br>
&gt;     &gt;&gt; -&gt; [ ] Compile the kernel with symbol table information<br>
&gt;     done<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (you can even disable wireless-debug for your driver)<br>
&gt;     Has been considered.<br>
&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; additionally, ou can disable printk and swap, which saves ~100k:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; make kernel_menuconfig<br>
&gt;     &gt;&gt; -&gt; General setup<br>
&gt;     &gt;&gt; [ ] Support for paging of anonymous memory (swap)<br>
&gt;     done<br>
&gt;     &gt;&gt; -&gt; Configure standard kernel features (expert users)<br>
&gt;     &gt;&gt; [ ] Enable support for printk<br>
&gt;     done<br>
&gt;     what exactly is printk most useful for ?<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; let us know, if it helps. for 4mb routers, the image<br>
&gt;     &gt;&gt; should not exceed 3.6mb<br>
&gt;     right now and for my testing model:<br>
&gt;     3.8M openwrt-ar71xx-generic-dir-615-c1-squashfs-factory.bin<br>
&gt;     3.2M openwrt-ar71xx-generic-dir-615-c1-squashfs-sysupgrade.bin<br>
&gt;     (includes some extra needed packages and scrips)<br>
&gt;<br>
&gt;     What other things could be removed without hurting the needed<br>
&gt;     functionality for a batman-adv atheros only based firmware with an<br>
&gt;     average of 400mhz cpu, 32mb ram and 4 mb flash.<br>
&gt;<br>
&gt;     Although the sysupgrade for my tetsing model is 3.2mb; for other<br>
&gt;     brands/models it goes slightly bigger last time i checked.<br>
&gt;<br>
&gt;     One other package that is using twice the size that it needs to use is<br>
&gt;     wpad which i have to use if i want ad-hoc to function with psk<br>
&gt;     encryption. I am not able to use the wpad-mini package which is half the<br>
&gt;     size of wpad pad due to this:<br>
&gt;<br>
&gt;     <a href="http://rooter.kyberian.net/tag/adhoc" target="_blank">http://rooter.kyberian.net/tag/adhoc</a><br>
&gt;<br>
&gt;     and batman-adv is not able to communicate with other nodes if the<br>
&gt;     firmware uses wpad-mini.<br>
&gt;<br>
&gt;     I believe that there might be a patch out there but unsure about it or<br>
&gt;     if it has been added to AA.<br>
&gt;<br>
&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; bye, bastian<br>
&gt;     &gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt; Battlemesh mailing list<br>
</div></div>&gt;     &gt;&gt; <a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a> &lt;mailto:<a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a>&gt;<br>
<div class="im">&gt;     &gt;&gt; <a href="http://ml.ninux.org/mailman/listinfo/battlemesh" target="_blank">http://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Battlemesh mailing list<br>
</div>&gt;     &gt; <a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a> &lt;mailto:<a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a>&gt;<br>
<div class="im">&gt;     &gt; <a href="http://ml.ninux.org/mailman/listinfo/battlemesh" target="_blank">http://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     openwrt-users mailing list<br>
</div>&gt;     <a href="mailto:openwrt-users@lists.openwrt.org">openwrt-users@lists.openwrt.org</a> &lt;mailto:<a href="mailto:openwrt-users@lists.openwrt.org">openwrt-users@lists.openwrt.org</a>&gt;<br>
<div class="im">&gt;     <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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Ben West<br>
&gt; <a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br>
</div>&gt; <a href="mailto:ben@gowasabi.net">ben@gowasabi.net</a> &lt;mailto:<a href="mailto:ben@gowasabi.net">ben@gowasabi.net</a>&gt;<br>
&gt; <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>