Cannot access internet via usb tethering on KDE 5 Leap 42.1 form Samsung Galaxy Note 5

I install KDE_5_on_Leap_42.1_openSUSE_by_kolAflash.x86_64-0.1.1.iso on my usb to try opensuse kde plasma 5.
But I cannot connect to the internet via usb tethering with Samsung Galaxy Note 5

Plug my phone and enable usb tethering >>> nothing happen
Restart NetworkManager >>> found the usb tethering but still doesn’t connect.
Some more code

Thanks

http://s7.postimg.org/8dufxs8av/example.jpg](http://postimg.org/image/8dufxs8av/)
http://s7.postimg.org/kgzrlcjd3/example2.jpg](http://postimg.org/image/kgzrlcjd3/)
http://s9.postimg.org/md7q5b3jf/example3.jpg](http://postimg.org/image/md7q5b3jf/)

  1. Do you have tethering enabled on your Samsung?
    http://www.samsung.com/ca/support/skp/faq/1088375

  2. Do you have USB debugging enabled (sometimes required to enable 2 way communications over USB)? Not mentioned in the above link so may not be necessary but is required on devices which don’t have a built-in tethering configuration.

  3. Is your carrier blocking?

TSU

Sorry I forgot to add more information.I did this in the past, I can usb tether on linux mint 17.3, debian 8.3.0 kde, kubuntu 15.10 and ubuntu 15.10 just fine. I am replying this post tethering with linux mint 17.3. So I think the problem is on opensuse kde.

I didn’t enable usb debugging or carrier blocking.

The photos you uploaded show NetworkManager reporting that the ‘usb0’ connection is active. When this is the case, what is reported by the following

ip addr
ip route
grep -i "name" /etc/resolv.conf

Maybe observing the NetworkManager messages could be useful for diagnostic purposes. Open a terminal and sun

sudo journalctl -u NetworkManager

then try tethering and capture output.

http://s24.postimg.org/yccagnnsx/2016_02_01_23_36_21.jpg](http://postimg.org/image/yccagnnsx/)

Here

http://s24.postimg.org/yccagnnsx/2016_02_01_23_36_21.jpg](http://postimg.org/image/yccagnnsx/)

Here

Okay, so you have a valid IP address (192.168.42.198) and default route configured (so you have internet connectivity)

# ip route
default via 192.168.42.129 dev usb0  proto static  metric 100 
192.168.42.0/24 dev usb0  proto kernel  scope link  src 192.168.42.198  metric 100

but you have no namserver assigned.

Thanks.But I still cannot connect to internet via firefox. So how do I assigned namserver?

You could add one manually in the connection definition you have for Network Manager I guess. Edit the connection as necessary. There are many valid name servers you could use eg an openDNS server 208.67.222.222 or a Google DNS server 8.8.8.8

To add on the fly, you could do

sudo echo "nameserver 208.67.222.222" > /etc/resolv.conf

On 02/01/2016 03:56 PM, deano ferrari wrote:
>
> Kevin_Tee;2751938 Wrote:
>> Thanks.But I still cannot connect to internet via firefox. So how do I
>> assigned namserver?
> You could add one manually in the connection definition you have for
> Network Manager I guess. Edit the connection as necessary. There are
> many valid name servers you could use eg an openDNS server
> 208.67.222.222 or a Google DNS server 8.8.8.8
>
> To add on the fly, you could do
>
> Code:
> --------------------
> sudo echo “nameserver 208.67.222.222” > /etc/resolv.conf
> --------------------
>
>

Deano,

Please use two > characters so that people are only adding to the
content and not completely over writing the file.


Ken
linux since 1994
S.u.S.E./openSUSE since 1996

Yes, I’m aware of the ‘>>’ operator, but don’t see any advantage with doing that. One could also edit the file with an editor if preferred. If the file is removed, it is recreated the very next time the network is started anyway, so easy to return to default if required.

Thank you!!! It works now I can connect to the internet. But then I have a question, why can’t it fix itself, or at least tell some error. This is not difficult to fix at all.

From a quick search, it would seem to be a quirk that some users experience when tethering via Android devices (nothing to do with openSUSE as such). Maybe some issue with the phone’s DNS server

For example

http://android.stackexchange.com/questions/45884/android-tethering-dns-problem
https://code.google.com/p/android/issues/detail?id=82545

I’ll leave you to research that further yourself.