I installed net-tools and ifconfig doesn't show usb devices.
Do I need dhcp?
I use networkmanager that has a small built-in one.
dhcpd4 service was failing.
I have a minimal installation with a WM.
Am I missing something?
dinitctl list
[[+] ] boot
[{+} ] getty
[{+} ] loginready (has console)
[{+} ] setup
[{+} ] cleanup
[{+} ] fsck
[{+} ] binfmt
[{+} ] pseudofs
[{+} ] locale
[{+} ] root-rw
[{+} ] mount-all
[{+} ] udevd (pid: 519)
[{+} ] udevd-early
[{+} ] tmpfs
[{+} ] cgroups
[{+} ] tmpfiles-dev
[{+} ] kmod-static-nodes
[{+} ] udev-settle
[{+} ] udev-trigger
[{+} ] cryptsetup
[{+} ] hwclock
[{+} ] net-lo
[{+} ] random-seed
[{+} ] swap
[{+} ] sysctl
[{+} ] sysusers
[{+} ] tmpfiles-setup
[{+} ] vconsole
[{+} ] hostname
[{+} ] mount
[{+} ] misc
[{+} ] modules
[{+} ] network
[{+} ] network-pre
[{+} ] rclocal
[{+} ] dbus (pid: 565)
[{+} ] dbus-pre
[{+} ] logind
[{+} ] elogind (pid: 568)
[{+} ] NetworkManager (pid: 567)
[{+} ] chronyd (pid: 570)
[{+} ] syslog-ng (pid: 554)
[{+} ] sshd (pid: 569)
[{+} ] ssh-keygen
[{+} ] tinydm (pid: 571)
[{+} ] bluetoothd (pid: 566)
[{+} ] tty1 (pid: 607)
[{+} ] tty2 (pid: 603)
[{+} ] tty3 (pid: 605)
[{+} ] tty4 (pid: 606)
[{+} ] tty5 (pid: 604)
[{+} ] tty6 (pid: 608)
Have you specifically enabled usb tethering on the phone?
With my Samsung S5 I have to do this.
When I enable it dmesg shows
[151836.887223] rndis_host 7-1.4:1.0 usb0: unregister 'rndis_host' usb-0000:0a:00.3-1.4, RNDIS device
[151837.225448] usb 7-1.4: new high-speed USB device number 31 using xhci_hcd
And I can use usb0
Don't enable it and no usb0
Edit: Worth noting that it's likely rndis based tethering will cease to work in future kernels. Maybe it's happened already? I'm on an older kernel.
https://www.phoronix.com/news/Linux-Disable-RNDIS-Drivers
On my my phone I have Artix too (ARMtix), there I am missing (one) usb device too.
I am trying to enable usb tethering on my x86_64 Artix device that has 2 usb.
Both devices are having problems with dhcpd4 service.
I can use wifi hotspot.
But sometimes the phone "loses" the modem (it is not shown anymore on nmcli etc.) and I have to reboot it.
A problem of the phone I guess that I had when using other distros too.
After rebooting sometimes I can connect to ARMtix wifi hotspot but no internet.
It is not accessible from x86_64 device, it works only on the phone.
And I have to reboot the phone again.