You are not logged in.
hey guys, I have tried to connect my usb ethernet adapter but unfortunately it has no connection at all. I have installed usb_modeswitch but doesn't had done any configuration or command with it to try to solve, I just don't know what to do, and I guess that isn't a driver problem right, if it is detected and appears on sys/class/net and stuff. Thx in advance. (シ_ _)シ
Here are some logs.
ls sys/class/net >
kaneda@heaven:~$ ls /sys/class/net/
enp0s20f0u1c2 enp3s0 lo wlp2s0
dmesg >
[ 821.821729] usb 1-1: new high-speed USB device number 6 using xhci_hcd
[ 821.962574] usb 1-1: New USB device found, idVendor=0fe6, idProduct=9900, bcdDevice=20.00
[ 821.962579] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 821.962581] usb 1-1: Product: 10/100M LAN
[ 821.962583] usb 1-1: Manufacturer: CoreChips
[ 821.962584] usb 1-1: SerialNumber: 00E0813236ED
[ 821.965428] cdc_ether 1-1:2.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 00:e0:81:32:36:ed
[ 821.971394] cdc_ether 1-1:2.0 enp0s20f0u1c2: renamed from eth0
lsub >
Bus 001 Device 006: ID 0fe6:9900 ICS Advent 10/100M LAN
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0fe6 ICS Advent
idProduct 0x9900
bcdDevice 20.00
iManufacturer 1 CoreChips
iProduct 2 10/100M LAN
iSerial 3 00E0813236ED
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0050
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
Bus 001 Device 006: ID 0fe6:9900 ICS Advent 10/100M LAN
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0fe6 ICS Advent
idProduct 0x9900
bcdDevice 20.00
iManufacturer 1 CoreChips
iProduct 2 10/100M LAN
iSerial 3 00E0813236ED
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0050
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0
iInterface 5
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Ethernet:
iMacAddress 3 (??)
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Last edited by young_kaneda (2022-11-08 23:29:50)
Offline
Offline
?? which part of it ?? I have no problem with wifi and already tried to use dhcpd to get an address for the adapter interface but still yet not internet connection? Are any other things there that I should know to solve the problem?
Offline
Check the connection
To troubleshoot a network connection, go through the following conditions and ensure that you meet them:
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Scimmia wrote:?? which part of it ?? I have no problem with wifi and already tried to use dhcpd to get an address for the adapter interface but still yet not internet connection? Are any other things there that I should know to solve the problem?
Well you had told us nothing about doing any kind of configuration, so...
If you actually used dhcpd instead of dhcpcd, that could be your problem.
Offline
ip a
ethtool enp0s20f0u1c2
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Online
ethtool >
kaneda@heaven:~$ sudo ethtool enp0s20f0u1c2
Settings for enp0s20f0u1c2:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Half
Auto-negotiation: off
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
journalctl > https://0x0.st/oEZi.txt
ip address show >
4: enp0s20f0u1c2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:e0:81:32:36:ed brd ff:ff:ff:ff:ff:ff
inet 192.168.1.19/24 brd 192.168.1.255 scope global dynamic noprefixroute enp0s20f0u1c2
valid_lft 10696sec preferred_lft 10696sec
inet6 2804:29b8:508c:3cf2:df97:cdbd:7562:8ebd/64 scope global dynamic noprefixroute
valid_lft 259197sec preferred_lft 172797sec
inet6 fe80::c4e4:2a24:2fed:e38a/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Offline
Actually here is the log for dhcpcd.
kaneda@heaven:~$ sudo dhcpcd enp0s20f0u1c2
dhcpcd-9.4.1 starting
DUID 00:04:4c:4c:45:44:00:32:30:10:80:4d:c4:c0:4f:53:4c:32
dhcp6_openudp: Address already in use
ps_inet_listenin6: Address already in use
ps_root_recvmsg: Address already in use
enp0s20f0u1c2: IAID 81:32:36:ed
enp0s20f0u1c2: soliciting an IPv6 router
enp0s20f0u1c2: soliciting a DHCP lease
enp0s20f0u1c2: offered 192.168.1.19 from 192.168.1.1
enp0s20f0u1c2: leased 192.168.1.19 for 10800 seconds
enp0s20f0u1c2: adding route to 192.168.1.0/24
enp0s20f0u1c2: adding default route via 192.168.1.1
forked to background, child pid 425851
btw I use NetworkManager for wireless, don't know if it can occur any conflict. Even when everything looking fine with dhcpcd I get no connection at all.
Offline
don't know if it can occur any conflict
Yes.
But also everything you posted says that you've a lease and a route on enp0s20f0u1c2
You've networkmanager, systemd-networkd and dhcpcd (but only on wlp2s0) running.
=> Pick one, stop and disable the others (eg. NM can handle all your connections)
Then explain what makes you believe that the ethernet dongle " has no connection at all" - because that's not correct at all.
Online
Well you're correct, after looking better, the problem is, the Network is not unreachable anymore, but when I send a ping, or try to browser, it begins to load forever, if I don't got an IP the ping would just stop and said that could not reach the network, I will do what you said, remove the others, and see what happens.
Offline
Unfortunately, I removed all services instead NetworkManager and still with problem, even with an address leased, I tried a ping and all received only packets loss
kaneda@heaven:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 12174ms
Last edited by young_kaneda (2022-11-05 22:46:49)
Offline
What did you do to remove the services exactly? You need to both 'stop' and 'disable' them and then restart the NetworkManager service. Can you ping an IP in your LAN e.g. 192.168.1.1?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
What did you do to remove the services exactly? You need to both 'stop' and 'disable' them and then restart the NetworkManager service. Can you ping an IP in your LAN e.g. 192.168.1.1?
I’m not on the device right now, but I suppose that yes I can, about the other services, sorry how I expressed myself, but I just done what you had said, stop and disabled. Maybe this could be some problem with DNS?
Offline
You're trying to ping an IP directly, so there's no domain name to resolve. So DNS shouldn't be relevant, I don't think?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
You're trying to ping an IP directly, so there's no domain name to resolve. So DNS shouldn't be relevant, I don't think?
About trying to ping google dns, or browsing anything.
Offline
When you're back on the device and preferably after a reboot:
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
ip a
ip r
ping -c1 _gateway
ping -c1 2001:4860:4860::8888 # googles IPv6 DNS server
This is not a DNS issue for the reason cfr pointed out. There's no DNS in "ping 8.8.8.8"
Online
Had to disable wifi since it connects automatically.
kaneda@heaven:~$ sudo nmcli radio wifi off
[sudo] password for kaneda:
kaneda@heaven:~$ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service | bluetooth.target.wants
dbus-org.bluez.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service | system
dbus-org.freedesktop.timesync1.service | system
fstrim.timer | timers.target.wants
getty@tty1.service | getty.target.wants
NetworkManager.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
p11-kit-server.socket | sockets.target.wants
pipewire-pulse.socket | sockets.target.wants
pipewire-session-manager.service | user
pipewire.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
systemd-resolved.service | sysinit.target.wants
systemd-timesyncd.service | sysinit.target.wants
wireplumber.service | pipewire.service.wants
kaneda@heaven:~$ ip a
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: enp0s20f0u1c2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 00:e0:81:32:36:ed brd ff:ff:ff:ff:ff:ff
inet 192.168.1.19/24 brd 192.168.1.255 scope global dynamic noprefixroute enp0s20f0u1c2
valid_lft 10755sec preferred_lft 10755sec
inet6 2804:29b8:508c:3cf2:a967:63fd:c80a:a9b1/64 scope global dynamic noprefixroute
valid_lft 259199sec preferred_lft 172799sec
inet6 fe80::1e45:516d:f4b4:1c60/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether d0:94:66:9f:0e:a8 brd ff:ff:ff:ff:ff:ff
4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 42:ec:79:df:38:59 brd ff:ff:ff:ff:ff:ff permaddr d4:6a:6a:f9:73:71
kaneda@heaven:~$ ip r
default via 192.168.1.1 dev enp0s20f0u1c2 proto dhcp src 192.168.1.19 metric 20100
192.168.1.0/24 dev enp0s20f0u1c2 proto kernel scope link src 192.168.1.19 metric 100
kaneda@heaven:~$ ping -c1 _gateway
PING _gateway(_gateway (fe80::ea01:8dff:fe20:4e58%enp0s20f0u1c2)) 56 data bytes
64 bytes from _gateway (fe80::ea01:8dff:fe20:4e58%enp0s20f0u1c2): icmp_seq=1 ttl=64 time=0.507 ms
--- _gateway ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.507/0.507/0.507/0.000 ms
kaneda@heaven:~$ ping -c1 2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) 56 data bytes
--- 2001:4860:4860::8888 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
Offline
You've carrier, lease and a route and can ping the _gateway (via IPv6)
ping -c1 -4 _gateway
ping -c1 2001:4860:4860::8888%enp0s20f0u1c2
Last edited by seth (2022-11-06 12:26:18)
Online
kaneda@heaven:~$ ping -c1 -4 _gateway
PING (192.168.1.1) 56(84) bytes of data.
^C64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.744 ms
--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.744/0.744/0.744/0.000 ms
kaneda@heaven:~$ ping -c1 2001:4860:4860::8888%enp0s20f0u1c2
ping: 2001:4860:4860::8888%enp0s20f0u1c2: Name or service not known
Here the logs for what you asked
Offline
https://wiki.archlinux.org/title/IPv6#Disable_IPv6 - "ipv6.disable=1"
Online
https://wiki.archlinux.org/title/IPv6#Disable_IPv6 - "ipv6.disable=1"
Ok now I have no inet6 entry
6: enp0s20f0u2c2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:e0:81:32:36:ed brd ff:ff:ff:ff:ff:ff
inet 192.168.1.19/24 brd 192.168.1.255 scope global dynamic noprefixroute enp0s20f0u2c2
valid_lft 10316sec preferred_lft 10316se
but yet could not browse any page, or ping any host.
kaneda@heaven:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6088ms
Offline
ping -c1 _gateway
still works?
The traffic apparently gets dropped in the router or a firewall in the LAN.
Sanity check: does *any* device behind that router have internet connection?
Does the router have internet connection?
Log into the router and try to ping 8.8.8.8 from there…
Online
ping -c1 _gateway
still works?
The traffic apparently gets dropped in the router or a firewall in the LAN.Sanity check: does *any* device behind that router have internet connection?
Does the router have internet connection?
Log into the router and try to ping 8.8.8.8 from there…
Yep, I can still ping the gateway.
Sanity check: Yes all of them work, but they are all wireless connections, maybe is something with wired connections on the router? I will try to log into thw router and see.
Edit: For some reason it just started to work after a reboot, tbh I changed the router port that I connected the cable, and now, it just works, I will mark this as solved, THX A LOT for the patience seth, you are a hero.
Last edited by young_kaneda (2022-11-07 21:31:06)
Offline
young_kaneda, You can mark a thread solved by going to your first post and editing it. When you edit the first post in the thread, you have the option to edit the title. Simply do that and prepend [SOLVED]
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline