You are not logged in.
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
With the phone connected, and in USB tethering mode, please post the output of ip addr
Edit: Oh, and welcome to the forums
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
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
Edit: Oh, and welcome to the forums
Thanks
Last edited by nolbap26 (2022-05-20 23:59:31)
Offline
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
$ 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
Offline
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
$sudo ip link set enp9s0f3u1 up
RTNETLINK answers: Cannot assign requested address
Offline
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
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
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
Last edited by nolbap26 (2022-05-21 02:34:12)
Offline