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, g...@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)
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to