From owner-freebsd-net@freebsd.org Thu Oct 22 18:43:20 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35B89A1CD3F for ; Thu, 22 Oct 2015 18:43:20 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC7471D71 for ; Thu, 22 Oct 2015 18:43:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.135.136] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ZpKpQ-0000mR-LZ for freebsd-net@freebsd.org; Thu, 22 Oct 2015 20:43:08 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t9MIh7f7002106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 22 Oct 2015 20:43:07 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t9MIh7a6002105 for freebsd-net@freebsd.org; Thu, 22 Oct 2015 20:43:07 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 22 Oct 2015 20:43:07 +0200 From: Matthias Apitz To: freebsd-net@freebsd.org Subject: Ubuntu-phone BQ as Wifi router to the Internet Message-ID: <20151022184307.GA2044@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.136 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2015 18:43:20 -0000 Hello, I have a mobile phone, a Ubuntu BQ which works really nice as any kind of Linux box, SSH access etc. (not like this Android crap). At the moment I'm using my BQ as a router to the Internet as described here: https://gurucubano.gitbooks.io/bq-aquaris-e-4-5-ubuntu-phone/content/chapter4.html i.e. via USB and tethering: FreeBSD-netbook ---(USB tethering)---> BQ ---(data mobile) ---> Internet I'd like to get rid of the USB cable and I'm thinking about the following: My FreeBSD C720 netbook acts as an AP, the BQ connects, but all the routing and DNS is scripted the way that the traffic from the netbook goes over Wifi to the BQ and from this to Internet; I investigated the option and technical it seems to work once changed routing etc. in the BQ; Any comments? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045