I've been researching this problem. Looking at wifi_server.py, I see these lines
Code:
data += 'allow-hotplug usb0\n'
data += 'iface usb0 inet static\n'
data += 'address 192.168.42.100\n'
data += 'netmask 255.255.255.0\n'
The other interfaces, like eth, are set with "iface eth0 inet dhcp".
Is there a reason why the usb interface is declared as static?
Okay, this fixed it for me. In wifi_server.py
change:
data += 'allow-hotplug usb0\n'
data += 'iface usb0 inet static\n'
data += 'address 192.168.42.100\n'
data += 'netmask 255.255.255.0\n'
to:
data += 'allow-hotplug usb0\n'
data += 'iface usb0 inet dhcp\n'
#data += 'iface usb0 inet static\n'
#data += 'address 192.168.42.100\n'
#data += 'netmask 255.255.255.0\n'
data += 'dns-nameservers 8.8.8.8 8.8.4.4\n'
Then reboot. You'll have to set your phone to USB tethering in order for the Openplotter AP page to recognize it as a valid internet interface.