On 11/28/15 15:15, Jiri B wrote:
On Sat, Nov 28, 2015 at 03:07:15PM -0700, [email protected] wrote:
I'd like to get an internet connection via my android phone (on
tmobile). After connecting the phone via usb and turning on its
tethering option, I see the usb info in dmesg, but when I try to run
the pppd chat script it doesn't get any response from the phone.
Why do you do this? urndis is like ethernet iface, it is you phone
which establishes connection and acts as a gateway for your laptop.
Thanks. It seems the key part I didn't realize was where 'man urndis'
mentions 'man ifconfig', which in turn mentions the hostname.if file:
It seems that I needed to create that file, with one line
saying 'dhcp' in it. Maybe it would have been easier if 'man ifconfig'
said something like: "If a device was not already automatically
created, see 'man hostname.if' for details." So to that point it might
be good now, on the laptop side.
But it disconnects after a couple of minutes, with android saying
something about can't connect to data, but maybe that's something to do
with android and I need to get a later cyanogenmod release and see if
that helps, or something else phone-related. (The data plan works fine
w/ the built-in android browser.)
I probably won't be able to work on this more now, for a while. I'm
sending the reply in case anyone else gets stuck at the same point as I
did.
Thanks for the kind help.
-Luke