You are not logged in.

#1 2022-05-20 22:30:42

nolbap26
Member
Registered: 2022-05-20
Posts: 5

[SOLVED] Cannot connect to internet via USB tethering

I'm trying to connect my computer to internet via USB tethering with my Android phone but I couldn't make it to work. I already tried following the instructions on the Android tethering arch wiki page but it didn't work. When I try to connect to the device it shows up on nmtui when I enable tethering on my phone it says this:

Could not activate connection: Connection 'Conexión cableada 2' is not available on device enp9s0f3u1 because device is not available

The logs for dmesg and journalctl -b are these:
'dmesg' output
'journalctl -b' output

Thanks beforehand!

Last edited by nolbap26 (2022-05-21 02:36:27)

Offline

#2 2022-05-20 23:37:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Cannot connect to internet via USB tethering

With the phone connected, and in USB tethering mode, please post the output of ip addr

Edit:  Oh, and welcome to the forums smile

Last edited by ewaller (2022-05-20 23:37:23)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-05-20 23:59:12

nolbap26
Member
Registered: 2022-05-20
Posts: 5

Re: [SOLVED] Cannot connect to internet via USB tethering

output of ip addr

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 18:c0:4d:85:79:c7 brd ff:ff:ff:ff:ff:ff
    altname enp4s0
3: wlp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether f6:e4:fc:47:58:48 brd ff:ff:ff:ff:ff:ff permaddr 98:8d:46:94:e3:50
4: enp9s0f3u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
ewaller wrote:

Edit:  Oh, and welcome to the forums smile

Thanks smile

Last edited by nolbap26 (2022-05-20 23:59:31)

Offline

#4 2022-05-21 00:13:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Cannot connect to internet via USB tethering

Okay, so the device shows up as a NIC,
What happens if you run sudo dhcpcd and run ip addr again.  Does that result in an IP address being assigned to enp9s0f3u1?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2022-05-21 00:25:55

nolbap26
Member
Registered: 2022-05-20
Posts: 5

Re: [SOLVED] Cannot connect to internet via USB tethering

$ sudo dhcpcd
sending commands to dhcpcd process
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 fe80::59b3:b85c:984f:ba19/64 scope link
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 18:c0:4d:85:79:c7 brd ff:ff:ff:ff:ff:ff
    altname enp4s0
3: wlp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 76:07:a6:6f:1d:05 brd ff:ff:ff:ff:ff:ff permaddr 98:8d:46:94:e3:50
4: enp9s0f3u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

Nothing happened sad

Offline

#6 2022-05-21 00:30:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Cannot connect to internet via USB tethering

Okay, let us try sudo ip link set enp9s0f3u1 up


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2022-05-21 00:39:34

nolbap26
Member
Registered: 2022-05-20
Posts: 5

Re: [SOLVED] Cannot connect to internet via USB tethering

 $sudo ip link set enp9s0f3u1 up
RTNETLINK answers: Cannot assign requested address 

Offline

#8 2022-05-21 00:54:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Cannot connect to internet via USB tethering

Rats.  Quickly running out of ideas.

Oh.  Look at the MAC address.  00:00:00:00:00:00
Maybe this is relevant: https://bbs.archlinux.org/viewtopic.php?id=275481


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2022-05-21 02:31:59

nolbap26
Member
Registered: 2022-05-20
Posts: 5

Re: [SOLVED] Cannot connect to internet via USB tethering

Okay so I set up the .rules file and It didn't do anything, and I noticed that had a command in it that assigned the MAC address, so I tried running it in the terminal to see if it had any output and this was it:

$ sudo /sbin/ip link set enp9s0f3u1 address 53:8B:Cf:3E:2C:E4
RTNETLINK answers: Cannot assign requested address

sad

Edit: So just after writing that message I tried to set the same MAC address it assigns to the wireless connection and it worked haha! Thanks a lot for your help, I really appreciate it smile

Last edited by nolbap26 (2022-05-21 02:34:12)

Offline

Board footer

Powered by FluxBB