Larry Martell
2017-Sep-22 14:33 UTC
[CentOS] Connecting to internet with USB tethered iphone
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?
Stephen John Smoogen
2017-Sep-22 15:29 UTC
[CentOS] Connecting to internet with USB tethered iphone
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.> _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos-- Stephen J Smoogen.
Larry Martell
2017-Sep-22 15:39 UTC
[CentOS] Connecting to internet with USB tethered iphone
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.> >
On 09/22/2017 07:33 AM, Larry Martell 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"I always found that USB tethering is flaky and hard to set up. So I use wifi tethering whenever possible. Just my $.02. -- Yan Li
Larry Martell
2017-Sep-22 22:07 UTC
[CentOS] Connecting to internet with USB tethered iphone
On Fri, Sep 22, 2017 at 12:06 PM, Yan Li <elliot.li.tech at gmail.com> wrote:> On 09/22/2017 07:33 AM, Larry Martell 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" > > I always found that USB tethering is flaky and hard to set up. So I use > wifi tethering whenever possible. Just my $.02.If this machine had wifi I would not need to use my phone.
Andrew Holway
2017-Sep-23 17:22 UTC
[CentOS] Connecting to internet with USB tethered iphone
> > I always found that USB tethering is flaky and hard to set up. So I use > wifi tethering whenever possible. Just my $.02. >+1 for just using wifi! :)> > -- > Yan Li > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >