I'm not able to connect to Internet using the eth0 network interface produced by the pugable usb to eth adapter
0
votes
1
answer
625
views
Let's make a jump in the past,coming back to the network configuration of the old ARM Chromebook model xe303c12. Today I've bought the "pugable usb to ethernet adapter" and yes,I think that it may work out of the box. Infact I can see that when plugged in,Linux is able to create the network adapter,called "enx8cae4cd6c871" (renamed to eth0) and the device is listed between the dmesg messages :
# dmesg | grep eth0
[1.416705] ax88179_178a 4-1:1.0 eth0: register 'ax88179_178a' at usb-xhci-hcd.1.auto-1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 8c:ae:4c:d6:c8:71
[3.773464] ax88179_178a 4-1:1.0 enx8cae4cd6c871: renamed from eth0
this is the /etc/NetworkManager/system-connections/Ethernet-eth0.nmconnection :
[connection]
id=Ethernet
uuid=cef595d5-43d9-4ae3-b5d4-55920ebdee39
type=ethernet
interface-name=eth0
[ethernet]
mac-address=8C:AE:4C:D6:C8:71
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
[proxy]
Do you see some mistakes ? this is how looks eth0 :
enx8cae4cd6c871: flags=4099 mtu 1500
ether 8c:ae:4c:d6:c8:71 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I tried :
# dhclient enx8cae4cd6c871
but an IP is not assigned and I'm not connected to the Internet using that adapter.
It makes no difference to add this to /etc/network/interfaces or not :
auto lo
iface lo inet loopback
auto eth0 (or enx8cae4cd6c871)
iface eth0 (or enx8cae4cd6c871) inet dhcp
you may consider useful to know this :
# nmcli d s
DEVICE TYPE STATE CONNECTION
mlan0 wifi collegato ziomario (connected)
lo loopback connected (externally) lo (connected)
p2p-dev-mlan0 wifi-p2p disconnesso -- (disconnected)
enx8cae4cd6c871 ethernet non disponibile -- (not available)
sit0 iptunnel non gestito -- (not managed)
Asked by Marietto
(579 rep)
Oct 13, 2023, 02:22 PM
Last activity: Oct 13, 2023, 06:44 PM
Last activity: Oct 13, 2023, 06:44 PM