Biltron
April 21st, 2017, 03:36 PM
Hello all,
So, I had USB tethering stop working out of nowhere for my Samsung Galaxy and my Lenovo Thinkpad.
Background you will probably want: Ubuntu 14.04.5 LTS, Lenovo T430s laptop, Core i5-3320m (64 bit, obviously), Dual-boot with Windows and Ubuntu on different partitions.
Let me emphasize that USB tethering IS ENABLED ON MY PHONE.
USB tethering worked fine before, and I haven't made any major changes (I recently installed apache2, see my addendum at the bottom of this post regarding the 2 things I tried in case that somehow affected the tethering issue). Let me start with the things I HAVE tried, to eliminate some of the obvious suggestions.
1- I enabled "USB Tethering" under Settings -> Mobile Hotspot and Tethering. I DID connect the phone to the laptop with a USB cable.
2 - I have tried using different USB ports. (I have a port that sometimes doesn't work in MTP mode for some reason, I think the connectors are getting loose)
3 - I tried rolling back libnl-3-200, libnl-genl-3-200, and libnl-route-3-200 as per Hadaka's suggestion in this post: https://ubuntuforums.org/showthread.php?t=2312192
(I downloaded the three files from here: http://packages.ubuntu.com/source/trusty/libnl3, then put them in their own directory and ran sudo dkpg -i *.deb. It claimed to have successfully downgraded each one.) Below is the output of that:
274690
4 - I checked to see if my phone shows up with lsusb. This entry is in there (a good sign):
Bus 003 Device 005: ID 04e8:6863 Samsung Electronics Co., Ltd GT-I9500 [Galaxy S4] / GT-I9250 [Galaxy Nexus] (network tethering)
5 - I ran lspci for funzies, and assumed I should only see USB controllers or any other device that is actually connected to the motherboard. Here is the output:
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
04:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)
I DO NOT see usb0 as a network device when running ifconfig. It lists eth0, lo, and wlan0. Under the network dropdown menu (in the notification area) I see my wireless network, and my neighbors' networks (as usual), and at the top (when I have my phone connected, and USB tethering ENABLED on the phone) is this entry, greyed out:
Ethernet Network (SAMSUNG Android)
disconnected
As I said, this option is THERE, but greyed out. :confused: I'm not sure what else to include, but feel free to ask for anything else that might help you make sense of this nonsense!
Thank you for your time, if you got through this post! I look forward to, and appreciate, any help!
-internick
[ADDENDUM]
I forgot when I first wrote this, that I did recently install apache2 and set it up to let me access my web page (that I am currently playing around with) via localhost. I tried commenting out the 127.0.0.1 <virtual-host-domainname> entry in /etc/hosts, as well as disabling apache2 on startup with update-rc.d -f apache2 remove (Not that these should really affect the usb0 network adapter), but this did not change the situation.
So, I had USB tethering stop working out of nowhere for my Samsung Galaxy and my Lenovo Thinkpad.
Background you will probably want: Ubuntu 14.04.5 LTS, Lenovo T430s laptop, Core i5-3320m (64 bit, obviously), Dual-boot with Windows and Ubuntu on different partitions.
Let me emphasize that USB tethering IS ENABLED ON MY PHONE.
USB tethering worked fine before, and I haven't made any major changes (I recently installed apache2, see my addendum at the bottom of this post regarding the 2 things I tried in case that somehow affected the tethering issue). Let me start with the things I HAVE tried, to eliminate some of the obvious suggestions.
1- I enabled "USB Tethering" under Settings -> Mobile Hotspot and Tethering. I DID connect the phone to the laptop with a USB cable.
2 - I have tried using different USB ports. (I have a port that sometimes doesn't work in MTP mode for some reason, I think the connectors are getting loose)
3 - I tried rolling back libnl-3-200, libnl-genl-3-200, and libnl-route-3-200 as per Hadaka's suggestion in this post: https://ubuntuforums.org/showthread.php?t=2312192
(I downloaded the three files from here: http://packages.ubuntu.com/source/trusty/libnl3, then put them in their own directory and ran sudo dkpg -i *.deb. It claimed to have successfully downgraded each one.) Below is the output of that:
274690
4 - I checked to see if my phone shows up with lsusb. This entry is in there (a good sign):
Bus 003 Device 005: ID 04e8:6863 Samsung Electronics Co., Ltd GT-I9500 [Galaxy S4] / GT-I9250 [Galaxy Nexus] (network tethering)
5 - I ran lspci for funzies, and assumed I should only see USB controllers or any other device that is actually connected to the motherboard. Here is the output:
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
04:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)
I DO NOT see usb0 as a network device when running ifconfig. It lists eth0, lo, and wlan0. Under the network dropdown menu (in the notification area) I see my wireless network, and my neighbors' networks (as usual), and at the top (when I have my phone connected, and USB tethering ENABLED on the phone) is this entry, greyed out:
Ethernet Network (SAMSUNG Android)
disconnected
As I said, this option is THERE, but greyed out. :confused: I'm not sure what else to include, but feel free to ask for anything else that might help you make sense of this nonsense!
Thank you for your time, if you got through this post! I look forward to, and appreciate, any help!
-internick
[ADDENDUM]
I forgot when I first wrote this, that I did recently install apache2 and set it up to let me access my web page (that I am currently playing around with) via localhost. I tried commenting out the 127.0.0.1 <virtual-host-domainname> entry in /etc/hosts, as well as disabling apache2 on startup with update-rc.d -f apache2 remove (Not that these should really affect the usb0 network adapter), but this did not change the situation.