[CentOS] Connecting to internet with USB tethered iphone

Fri Sep 22 22:06:56 UTC 2017
Larry Martell <larry.martell at gmail.com>

On Fri, Sep 22, 2017 at 11:55 AM, J Martin Rushton
<martinrushton56 at btinternet.com> wrote:
>
>
> On 09/22/2017 04:50 PM, Jon Pruente wrote:
>>
>> On Fri, Sep 22, 2017 at 10:39 AM, Larry Martell <larry.martell at gmail.com>
>> wrote:
>>
>>> Seems something else is using usb0 - without the phone connected I see
>>> something on usb0 when running ifconfig. I think it's some internal
>>> network.  I tried running those commands when the phones be was connected
>>> but the system still is not on the internet.
>>
>>
>>
>> Run 'udevadm monitor' with sudo or as root and watch for what /dev entry
>> the phone picks up when it is plugged in. Use that one in your ip or dhcpd
>> commands.

> Or really crudely:
>
> Plug in the phone, wait a minute then issue
> # ls -ltr /dev
> and the last named one should be the phone.

The phone appears as this:

/dev/bus/usb/001/011

How does that translate as something I can pass into the ip command?