WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Phone USB tethering with tiny core linux  (Read 3778 times)

Offline zacmario

  • Newbie
  • *
  • Posts: 44
Phone USB tethering with tiny core linux
« on: February 18, 2020, 09:16:44 PM »
Sorry if this is the wrong section, I wasn't sure. I'd like to try tiny core 16mb, that requires a LAN connection. In other linux distros hooking my phone to the PC via USB tethering shows up as LAN connection. So does anyone know if it will work the same way?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Phone USB tethering with tiny core linux
« Reply #1 on: February 19, 2020, 04:07:01 AM »
It depends, and you may need to install various things on the TC side (specific to your phone) to get such a connection. So not a quick way to get internet to a bare TC.
The only barriers that can stop you are the ones you create yourself.

Offline zacmario

  • Newbie
  • *
  • Posts: 44
Re: Phone USB tethering with tiny core linux
« Reply #2 on: February 20, 2020, 08:28:27 AM »
Ok thank you.

Offline Santos

  • Full Member
  • ***
  • Posts: 106
Re: Phone USB tethering with tiny core linux
« Reply #3 on: July 14, 2020, 02:02:24 AM »
It's and old thread. But I think I have an answer for it.

With Android, you just need to check the logs on your machine. When you choose the option to tether the Wifi or mobile data of your phone to your computer, on the logs you will see if the actual connection was made and you're going to have a device name, typically is: usb0.

You can check dmesg. And get something like this.

Code: [Select]
usbcore: registered new interface driver cdc_ether
rndis_host 1-4:1.0 usb0: register 'rndis_host' at usb-0000:00:1d.7-4, RNDIS devi
ce,
usbcore: registered new interface driver rndis_host

Once you have you have it., do:

Code: [Select]
sudo udhcpc -i usb0

If problems, check connections on your phone or disconnect usb cable and try again.

This is the usual way I access to the internet with micro core.