Date: Mon, 30 Mar 2015 12:00:58 +0200 From: Matthias Apitz <guru@unixarea.de> To: Oliver Grawert <ogra@ubuntu.com> Cc: ubuntu-phone@lists.launchpad.net, freebsd-usb@freebsd.org Subject: Re: [Ubuntu-phone] Ethernet through USB Message-ID: <20150330100058.GA17416@c720-r276659> In-Reply-To: <1427705237.3870.9.camel@anubis> References: <20150330083458.GA2632@c720-r276659> <1427705237.3870.9.camel@anubis>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, March 30, 2015 a las 10:47:17AM +0200, Oliver Grawert escribió: > for networking the bq supports tethering via a usb device (run the > following in the terminal app or via adb): > > android-gadget-service enable rndis > > that will create an usb0 network device on a linux,PC not sure what BSD > does with it though :) Hi, in the phone I set handcrafted an IP in the interface: # sudo ifconfig ndis0 inet 10.0.1.1 and on the FreeBSD side I set: # ifconfig ue0 inet 10.0.1.2 # ifconfig ue0 up # ifconfig ue0 ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 2a:df:f9:2e:72:86 inet 10.0.1.2 netmask 0xff000000 broadcast 10.255.255.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> and SSH is fine too as: $ ssh phablet@10.0.1.1 The authenticity of host '10.0.1.1 (10.0.1.1)' can't be established. RSA key fingerprint is 05:64:ba:0b:02:bb:e1:ab:6e:93:90:f0:01:e4:5f:b9. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '10.0.1.1' (RSA) to the list of known hosts. Welcome to Ubuntu Utopic Unicorn (development branch) (GNU/Linux 3.4.67 armv7l) > I fill figure out how to permanently set this IP addr inside the Ubuntu, maybe an DHCP-server on the host side is to much. Thanks for your help, Oliver and Hans matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150330100058.GA17416>