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?
On 22 September 2017 at 10:33, Larry Martell larry.martell@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@centos.org https://lists.centos.org/mailman/listinfo/centos
On Fri, Sep 22, 2017 at 11:30 AM Stephen John Smoogen smooge@gmail.com wrote:
On 22 September 2017 at 10:33, Larry Martell larry.martell@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 Fri, Sep 22, 2017 at 10:39 AM, Larry Martell larry.martell@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.
On 09/22/2017 04:50 PM, Jon Pruente wrote:
On Fri, Sep 22, 2017 at 10:39 AM, Larry Martell larry.martell@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. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Or really crudely:
Plug in the phone, wait a minute then issue # ls -ltr /dev and the last named one should be the phone.
On Fri, Sep 22, 2017 at 11:55 AM, J Martin Rushton martinrushton56@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@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?
On Fri, Sep 22, 2017 at 11:50 AM, Jon Pruente jpruente@riskanalytics.com wrote:
On Fri, Sep 22, 2017 at 10:39 AM, Larry Martell larry.martell@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.
Unfortunately I am not at the site any more. I will have to try that next time I am there. Thanks!
On 22 September 2017 at 11:39, Larry Martell larry.martell@gmail.com wrote:
On Fri, Sep 22, 2017 at 11:30 AM Stephen John Smoogen smooge@gmail.com wrote:
On 22 September 2017 at 10:33, Larry Martell larry.martell@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.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 09/22/2017 11:50 AM, Stephen John Smoogen wrote:
On 22 September 2017 at 11:39, Larry Martell larry.martell@gmail.com wrote:
On Fri, Sep 22, 2017 at 11:30 AM Stephen John Smoogen smooge@gmail.com wrote:
On 22 September 2017 at 10:33, Larry Martell larry.martell@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?
On Fri, Sep 22, 2017 at 1:20 PM, ken gebser@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@gmail.com wrote:
On Fri, Sep 22, 2017 at 11:30 AM Stephen John Smoogen smooge@gmail.com wrote:
On 22 September 2017 at 10:33, Larry Martell larry.martell@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
On Fri, Sep 22, 2017 at 11:50 AM, Stephen John Smoogen smooge@gmail.com wrote:
On 22 September 2017 at 11:39, Larry Martell larry.martell@gmail.com wrote:
On Fri, Sep 22, 2017 at 11:30 AM Stephen John Smoogen smooge@gmail.com wrote:
On 22 September 2017 at 10:33, Larry Martell larry.martell@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.
I did try that - I got no such device or something like that.
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.
On Fri, Sep 22, 2017 at 12:06 PM, Yan Li elliot.li.tech@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.
On 09/22/2017 03:07 PM, Larry Martell wrote:
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.
I see. We all have to make use of what we have.
Another option is to add a USB wifi dongle, such as https://www.amazon.com/Edimax-EW-7811Un-150Mbps-Raspberry-Supports/dp/B003MT...
$7.99 including shipping and it is pretty plug-and-play.
On Sat, Sep 23, 2017 at 1:07 PM, Yan Li elliot.li.tech@gmail.com wrote:
On 09/22/2017 03:07 PM, Larry Martell wrote:
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.
I see. We all have to make use of what we have.
Another option is to add a USB wifi dongle, such as https://www.amazon.com/Edimax-EW-7811Un-150Mbps-Raspberry-Supports/dp/B003MT...
$7.99 including shipping and it is pretty plug-and-play.
One of the comments says you need to be connected to the internet to install the drivers. That would not work for me.
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@centos.org https://lists.centos.org/mailman/listinfo/centos
On Sat, Sep 23, 2017 at 1:22 PM, Andrew Holway andrew.holway@gmail.com wrote:
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! :)
-10 for not bothering to read my message where I said the machine has no wifi.
TIL that android supports ethernet.... I wonder...
https://www.davebennett.tech/connect-android-to-ethernet/
On 24 September 2017 at 09:53, Andrew Holway andrew.holway@gmail.com wrote:
+1 for just using wifi! :)
-10 for not bothering to read my message where I said the machine has no wifi.
sassy