[CentOS] Connecting to internet with USB tethered iphone

Larry Martell larry.martell at gmail.com
Fri Sep 22 22:12:07 UTC 2017


On Fri, Sep 22, 2017 at 1:20 PM, ken <gebser at mousecar.com> wrote:
> On 09/22/2017 11:50 AM, Stephen John Smoogen wrote:
>>
>> On 22 September 2017 at 11:39, Larry Martell <larry.martell at gmail.com>
>> wrote:
>>>
>>> On Fri, Sep 22, 2017 at 11:30 AM Stephen John Smoogen <smooge at gmail.com>
>>> wrote:
>>>
>>>> On 22 September 2017 at 10:33, Larry Martell <larry.martell at gmail.com>
>>>> wrote:
>>>>>
>>>>> I am trying to get a centos 6 system on the internet with a tethered
>>>>> iPhone. I can see the phone with lsusb as bus 001 device 011. A post on
>>>>> stackoverflow said I would need to run "# ip link set usb0 up && dhcpcd
>>>>> usb0"
>>>>>
>>>>> But how do I reference my phone in that command?
>>>>
>>>> I thought that if the phone is in tethering mode that is all you need
>>>> to do. The command is saying setup an 'ethernet' port on the USB and
>>>> to ask for a dhcpd command from it. If the phone allows tethering it
>>>> will be using its USB as an ethernet connection and will see a dhcpd
>>>> connection and will give out an ip address.
>>>
>>>
>>>
>>> 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.
>>>
>> That may be the case with some hardware. A lot of management hardware
>> will appear as a USB network address so you can loop back into the
>> hardware that way. You could try usb1 for the phone to see if that
>> works.
>
>
> When you have the phone plugged in, what does "lsusb" say?

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 0624:0248 Avocent Corp. Virtual Hub
Bus 002 Device 005: ID 04b3:4010 IBM Corp.
Bus 001 Device 011: ID 4c7c:5f30   Apple iPhone 6S



More information about the CentOS mailing list