Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4199  / 2 Years ago, mon, april 11, 2022, 6:09:12

I just buy a new USB 3.0 Gigabit Ethernet Adapter and I can't install it in Ubuntu 18.04.1 server x64 edition.



I contact tp-link support and they send me the driver. I install the driver but my adapter is still without Internet connection. I follow this steps too and without any success.



Anyone can help me to fix this issue?



EDIT:



Output of `ifconfig`

enp19s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 78:2b:cb:e9:d5:3c 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

enx503eaa8b183c: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 50:3e:aa:8b:18:3c 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

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 226 bytes 15022 (15.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 226 bytes 15022 (15.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp18s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 18:f4:6a:3f:af:11 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


Output for sudo lshw -c network



 *-network DISABLED
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:12:00.0
logical name: wlp18s0
version: 01
serial: 18:f4:6a:3f:af:11
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.15.0-38-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:fbc00000-fbc0ffff
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:13:00.0
logical name: enp19s0
version: 02
serial: 78:2b:cb:e9:d5:3c
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:18 ioport:e000(size=256) memory:d0b10000-d0b10fff memory:d0b00000-d0b0ffff memory:fb200000-fb21ffff
*-network DISABLED
description: Ethernet interface
physical id: 2
logical name: enx503eaa8b183c
serial: 50:3e:aa:8b:18:3c
size: 100Mbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=full link=no multicast=yes port=MII speed=100Mbit/s


The name of the file that is in the /etc/netplan/01-netcfg.yaml



CONTENT of /etc/netplan/01-netcfg.yaml



  # This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enp19s0:
dhcp4: yes


Thank you in advance.


More From » networking

 Answers
3

Try this...


In terminal...


cd /etc/netplan # change directory


sudo cp 01-netcfg.yaml 01-netcfg.HOLD # backup the file


sudo pico 01-netcfg.yaml # edit the file


replace what you see there with this...


# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enp19s0:
dhcp4: yes
optional: true
enx503eaa8b183c:
dhcp4: yes
optional: true

then...


sudo netplan generate # generate the config files


sudo netplan apply # apply the new configuration


reboot # reboot the system


review the previous lshw and ifconfig commands to check operation.


[#6881] Tuesday, April 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainbby

Total Points: 184
Total Questions: 115
Total Answers: 112

Location: Colombia
Member since Thu, Sep 29, 2022
2 Years ago
;