I have an old galaxy note 3 and I was looking to use that to replace the radio head unit in my car. I want to have the raspberry pi run the system and the galaxy note would basically be the screen for it.
I saw a tutorial for using a usb tether to accomplish this. link: http://joshuawoehlke.com/android-raspberry-pi-display-over-usb/
The problem I am having is that after I save the code for the usb0 network and reboot, the new usb0 does not show up in ifconfig.
Does anyone know of a different way to set up a usb network interface for a wired usb connection? Or know if something in the tutorial is possibly wrong for my particular pi?
Help much appreciated.
My Pi: Raspberry Pi 2 Model B V1.1 Raspberry Pi 2014
Running Raspbian
edit:
File: /etc/network/interfaces
interfaces(5) file used by ifup(8) and ifdown(8)
Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface usb0 inet static
address 192.168.42.42
netwrok 192.168.42.0
broadcast 192.168.42.255
edit 2: The tablet would be a permanent fixture and does not have data plan.
/etc/network/interfaces
to your question.ifconfig -a
(-a
meaning, all, even if not up or configured) or (better)ip link
and see if there is any USB interface at all mentioned. If so, but it is not calledusb0
, that's the problem, and you may have to delve into something called udev to give the phone a consistent device node name.ip link
with the phone connected would be a good idea.