From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 396973B25E for ; Sat, 30 Apr 2016 11:37:03 -0400 (EDT) Received: by mail-oi0-x229.google.com with SMTP id k142so149362524oib.1 for ; Sat, 30 Apr 2016 08:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc :content-transfer-encoding; bh=tditarkg0hKkfdcTUgzs42RyPH/3c9icc4Eh5KeinDw=; b=VMjxtXkSsg0jpc4EH8jeD0ZvAcuOcbG+hFV5Abx5BAZhdMzG+cVoAGkiJzGla3mstC bYSWtCtSeHNb6q9OXuRdZR/+jpsCBSwTOTjz+8jJZkmCaNfRzWmS2s1xBuV/u+endRdU orY/SVCck/ZyWBxSv8Fvv5CEOwXvNKeQmLsJxCVjDeu2/BaU7NxkMNy+WpGXwhZ9sUF7 s8vvG+AmLfFqzc30lM2DHd80g3MZoe0K5IsBmhxeYE1uKK9C4k5lOta8HNDKm6IS3PWs Riv5CCMUdhtrVdTtT2f9ovgLw/qhMRxWUlma3Ux3hpmkod1dmjIviflc6miErXgf79Qm vLCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-transfer-encoding; bh=tditarkg0hKkfdcTUgzs42RyPH/3c9icc4Eh5KeinDw=; b=kd3HMOcCpU7BkPBqU5qXVH2ZitFt5mcsmRm3BhFJbgCsY4Vc1hoP8TrdPSMqJQcgdq 8EdYK3jP0uYGTXWS0IlX/YqzR4GrNt3RZHYymCQjLTpeO94ptTPwDmxKaTtqP1rIJxiF ibq/fFcHhXsrSs7j0V/kz06WdNZG0qWrUUhKBO6waQE8ZBDT85ThtE0bbo4xYOsdAA/q D/lOCL/4qo7jGNeAqNtdOsi1UcE6Bc4mYsXL4V6v0E/JQh1doSrcaybbYtaQuSWD3dQN 59ja3Of0RNOb9ihj/V4MfCce/o9dOf+9XREZiIubMR57DPWMHoBDOFIRNCB3S9PbF9n4 U2eg== X-Gm-Message-State: AOPr4FWh4+GPXJwvaviMT11vlndCFcAb3N7pCmE+pjKrQCrD5t3dzXNHAsZCesoRleicF7HLNC/YBSKFODwsxw== MIME-Version: 1.0 X-Received: by 10.202.185.214 with SMTP id j205mr10455886oif.68.1462030622470; Sat, 30 Apr 2016 08:37:02 -0700 (PDT) Received: by 10.202.78.23 with HTTP; Sat, 30 Apr 2016 08:37:02 -0700 (PDT) Date: Sat, 30 Apr 2016 08:37:02 -0700 Message-ID: From: Dave Taht To: "babel-users@lists.alioth.debian.org" Cc: "cerowrt-devel@lists.bufferbloat.net" , Jason Abele Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Cerowrt-devel] babel over usb networking X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 15:37:03 -0000 Yesterday jason donated a couple "chip" [2] "9 dollar" computers, which come with usb and and wifi. They have impressive specs - 1Ghz cpu, 4GB of onboard flash, 512MB of ram... By default the usb OTG interface emulates serial, but you can flip that to g_ether[4] in /etc/modules and have it come up emulating ethernet instead. You can then configure it and the host via standard methods (dhcp/static ips/haven't got a cross compiler yet to try hnetd) Turns out that the rpi also supports the usb gadget/ethernet conversion[3] ), as does the beaglebone [1], and I haven't checked on the odroids yet. The "chip" gets about 6mbits on wifi, and 90mbits on the g_ether interface. It's based on either buildroot or debian jesse (which has babeld 1.5.1 in it, haven't built a later version). A vision of mine here is to power and send data across a usb bus in the lab and have universal IP connectivity no matter the link layer. A) One day, given that usb-C runs at 40Gbit, and has some support for networking, it would be cool to have stuff that transparently routed through that/did address assignment sanely, when possible. I don't know a lot of details about how it or thunderbolt work in this way.... B) What sort of babel metric or rxcost should a 100Mbit interface announce? (most of the hackerboards have a 100Mbit phy at best) C) Is anyone working on anything with 802.14 (6lopan) connectivity yet? D) systemd in ubuntu 16.04, instead of naming usb interfaces usb0,1,2,3 it comes up with a unique string like: enxd23bf0e38d7c - globbing enx* seems like a sane idea... E) Proof of concept root@chipper:~# ip -6 route 2601:646:4102:c5::823 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 2601:646:4102:c5::/64 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 2601:646:4180:64b::/64 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 fd1c:47e0:fcef::/64 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 fd1c:47e0:fcef::/48 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 fd99::5 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 fd99::23 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 unreachable fd99::24/127 dev lo proto kernel metric 256 error -101 # I added a local static addr fd9f:237b:c8a6:1::5d6 dev wlan0 proto kernel metric 256 expires 52964sec fd9f:237b:c8a6:1::95c via fe80::7ec7:9ff:fede:2bb5 dev wlan0 proto static metric 1024 fd9f:237b:c8a6:1:7ec7:9ff:fede:2bb5 via fe80::281c:3ff:fe59:e29b dev usb0 proto babel metric 1024 fd9f:237b:c8a6:1::/64 dev wlan0 proto ra metric 10 fd9f:237b:c8a6::/48 via fe80::100d:7fff:fe64:c990 dev wlan0 proto ra metr= ic 10 [1] I never figured out how to get a beaglebone up on anything but the default 192.168.7.1 address, so stopped using it. [2] http://docs.getchip.com/#wifi [3] http://pi.gbaman.info/?p=3D699 [4] there is also cdc_ether which is supposed to give you both a usb networking and serial interface. It didn't work the first time I tried it. It would be cool if both worked by default. --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org