From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 54B7D138A1F for ; Wed, 17 Sep 2014 12:32:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21620E0961; Wed, 17 Sep 2014 12:32:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3DDFE0903 for ; Wed, 17 Sep 2014 12:32:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 089DB3402E0 for ; Wed, 17 Sep 2014 12:32:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.666 X-Spam-Level: X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5.5 tests=[AWL=-0.311, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.653, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wrCEW9AjMS8s for ; Wed, 17 Sep 2014 12:32:12 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DCDDA3401E6 for ; Wed, 17 Sep 2014 12:32:11 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XUEOx-0002v7-G4 for gentoo-user@gentoo.org; Wed, 17 Sep 2014 14:32:03 +0200 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Sep 2014 14:32:03 +0200 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Sep 2014 14:32:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: Reverse Tethering - How to? Date: Wed, 17 Sep 2014 12:31:53 +0000 (UTC) Message-ID: References: <1410945876.17613.2@numa-i> <108536650.T1azNxT1uh@andromeda> <1410947172.17613.3@numa-i> <4164351.texlbgRvRi@andromeda> <1410947632.17613.4@numa-i> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1) X-Archives-Salt: a71cb11e-d86f-4b5d-91dc-f9737a610cca X-Archives-Hash: aa5ae7b44e0662e533dcd8f657b63324 Helmut Jarausch igpm.rwth-aachen.de> writes: > > > > > how do I need to configure my Gentoo box to allow for reverse > > > > tethering from my (rooted) Android phone? PPP over usb is the most probable route. PPP is basically TCP/IP (usually over a serial link/prototol_carrier). This might help: "How to set up Android ppp over usb with adb" http://www.xinotes.net/notes/note/1500/ You still ahve to set up NAT ont he linux box, probable with iptalbes. MIcks post looks reasonable, but there may (will) be addtional issues; just flesh them out, one at a time. All of this over a serial (RS232_C) link between the phone and the PC is old stuff and may best to get working first, then migrate it over USB. Also find a good usb_sniffer so you can ensure the bits are bidirectional across the usb ports. Last. There is a "GentRoid" project and I'm quite certain that (gentoo) embeded dude, will be a fantastic resource, if all else fails. Also one of the main devs for Selinux (Russell Coker) is a great help as he has wrote of the early Selinux and put it on an Android phone. It takes him a while to respond, but that info might aid your google searches for solutions too. Use Russell as a last resort. PPP/USB is what you are talking about. USB chips confiturations inside a specific Android phone, might be limited (locked to keep cpu cycles down) so you might also have to find an app that allows you to "change settings" on the usb port on your Android phone. You may have to "root" your Android phone to get this working..... Last, you might have to "tweak" your gentoo linux kernel (usb, ppp, iptables) etc etc. It'd be great when you get it working to put something up on wiki.gentoo.org. good hunting! James PS: my challenge word, via gmane posting, today is "posers" I guess gmane knows today is an *ebuild hackfest day* for me....