<div dir="ltr"><div class="gmail_extra">Hey Jason,<br></div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Ahhh. wg-quick indeed requires bash, and from what I gather, there<br>
isn't bash on your ROM. You should be able to build that easily from<br>
the AOSP source `mka bash`. This is one of the reasons I first<br>
launched the Android stuff with the local_manifest.xml hack instead of<br>
the standalone tools. I'll have to think about a more general purpose<br>
solution, but for now, I thing the best thing you can do would be to<br>
just add bash. If you're stuck and need help, I can probably build you<br>
a statically linked musl aarch64 bash that will work mostly<br>
everywhere.<br></blockquote><div><br></div><div>you got it, sir! Bash does not ship on the Pixel stock rom! (This is probably true of many Stock Roms).<br></div><div><br></div><div>I'd like to have a stab at building Bash. But I don't have AOSP on my Archlinux box
(I only build the kernel, plus apps in android studio).</div><div>So
that may be an issue, but I can have a look at how AOSP builds bash (so
far, I can't even find the source code for AOSP/bash online
though). <br></div><div><br></div><div>however, I do like your idea; you could save me a step and provide me with bash, if it's not too much trouble for you. Although, shouldn't bash be built against bionic libc not musl?</div><div><br></div><div>Alternatively, if someone is running an Oreo rom for arm64-v8a and/or the Pixel ~ they could post a bash binary - that might work for me.<br></div><div> <span></span><br><span></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
</span>We might wind up wanting that statically compiled bash for the .zip.<br>
Based on your findings above, we can adjust this plan accordingly.<br>
Having the flashable .zip infra seems like a good idea either way.</blockquote><div><br></div><div>Shipping a statically compiled version of bash would be the best solution, for sure. That would cover everybody.<br></div><div><span></span><br><span></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
</span>We don't use this list for commercial providers -- they have their own<br>
private support emails and contact methods -- but I can help you with<br>
the free non-commericial demo server -- <a href="http://demo.wireguard.com" rel="noreferrer" target="_blank">demo.wireguard.com</a>.<br></blockquote><div><br></div><div>I never tried connecting to your server, but next time that is what I will do, first.<br></div><div> <span></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Makes sense. It might make the most sense to just head into #wireguard<br>
on Freenode too, where we can troubleshoot basic how-to things in real<br>
time.<br></blockquote><div><br></div><div>Will do, but I'll need to sort out bash, first.<span></span></div><div><br><span></span><span></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
</span>Oh, wonderful! Don't hesitate to send patches to this list for that stuff.<br>
</blockquote><div> </div><div>Yeah, I've found the WireGuard android app repository and downloaded the
sources. So I will take a look and see if I can't make it play nice with
Oreo on boot. If i can get that working okay, I will send patches for
sure.<br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'll update the <a href="http://demo.wireguard.com" rel="noreferrer" target="_blank">demo.wireguard.com</a> scripts in the repo in a bit to<br>
make them slightly more simple and support v6, like the attached, but<br>
thought you might benefit from this now.<br>
<br>
zx2c4@thinkpad ~ $ ./client.sh > /etc/wireguard/demo.conf<br>
zx2c4@thinkpad ~ $ wg-quick up demo<br>
[#] ip link add demo type wireguard<br>
[#] wg setconf demo /dev/fd/63<br>
[#] ip address add <a href="http://192.168.4.178/32" rel="noreferrer" target="_blank">192.168.4.178/32</a> dev demo<br>
[#] ip link set mtu 1420 dev demo<br>
[#] ip link set demo up<br>
[#] resolvconf -a tun.demo -m 0 -x<br>
[#] wg set x fwmark 51820<br>
[#] ip -4 route add <a href="http://0.0.0.0/0" rel="noreferrer" target="_blank">0.0.0.0/0</a> dev demo table 51820<br>
[#] ip -4 rule add not fwmark 51820 table 51820<br>
[#] ip -4 rule add table main suppress_prefixlength 0<br>
zx2c4@thinkpad ~ $ curl -4 <a href="http://zx2c4.com/ip" rel="noreferrer" target="_blank">zx2c4.com/ip</a><br>
163.172.161.0<br>
<a href="http://demo.wireguard.com" rel="noreferrer" target="_blank">demo.wireguard.com</a><br>
curl/7.56.1<br>
<br>
Please don't run the script more than once or twice or thrice.<br><span class="m_807501156859627476HOEnZb"></span></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Sounds good, Jason. thanks!<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I may not get to this until tomorrow, I'll be away from my computer + no bash on my end yet.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Jordan<br></div></div>