Not able to do USB Tethering on Ubuntu 16.04

24,246

Solution 1

I found this post which was helpful https://ubuntuforums.org/showthread.php?t=2359171

ifconfig -a

lists the network interfaces. Mine was listed as "enp0s20f0u2".

Then I did sudo apt-get install macchanger. There was a prompt for which I selected "No".

Then I ran sudo macchanger -b -a enp0s20f0u2. After this the output was:

 Ignoring --bia option that can only be used with --random
 Current MAC:   00:00:00:00:00:00 (XEROX CORPORATION)
 Permanent MAC: 00:00:00:00:00:00 (XEROX CORPORATION)
 New MAC:       00:11:a5:16:14:29 (Fortuna Electronic Corp.)

This seemed to solve the issue

Solution 2

Check for all available networks interfaces

ifconfig -a

Then for respective network interface use

ifconfig *name of network interface* up
Share:
24,246

Related videos on Youtube

Pranay Aryal
Author by

Pranay Aryal

Updated on September 18, 2022

Comments

  • Pranay Aryal
    Pranay Aryal over 1 year

    I was trying to USB tether my Samsung Galaxy S7 to use home wifi on my desktop which has Ubuntu 16.04. When I turn 'USB tethering' on, I was not able to connect to any device.

  • Pranay Aryal
    Pranay Aryal about 6 years
    Yes, one should try your answer before trying mine. Thanks.
  • Pranay Aryal
    Pranay Aryal over 5 years
    @cipricus did you use sudo?
  • Cido
    Cido over 5 years
    yes. but the prolem was with my phone in fact, now fixed.