Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 3287  / 2 Years ago, sat, may 21, 2022, 4:34:26

Sometimes Ubuntu 18.04 does not connect to the Network during start-up. I have to reboot 1 or 2 times for connecting properly. Wired Ethernet connection.



Any suggestion on how to resolve this problem without restart?






sudo lshw -C network
[sudo] password for user:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 07
serial: 00:13:3b:2f:54:58
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=1xx.1xx.1.2 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:19 ioport:a000(size=256) memory:fe400000-fe400fff memory:d0000000-d0003fff





ifconfig
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools





cat /etc/netplan/*.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager





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: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:13:3b:2f:54:58 brd ff:ff:ff:ff:ff:ff
inet 1xx.1xx.1.2/24 brd 1xx.1xx.1.255 scope global dynamic noprefixroute enp8s0
valid_lft 85762sec preferred_lft 85762sec
inet6 2a02:2149:8671:6c00:95d5:5075:c66d:a36e/64 scope global temporary dynamic
valid_lft 70680sec preferred_lft 27480sec
inet6 2a02:2149:8671:6c00:b5ed:32e1:2fd2:2ee/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 70680sec preferred_lft 27480sec
inet6 fe80::c3c:4354:23e7:410f/64 scope link noprefixroute
valid_lft forever preferred_lft forever





tracepath www.google.com
1?: [LOCALHOST] 0.010ms pmtu 1492
1: 2a02:2149:816a:5400:a6b1:e9ff:fe30:d40 1.069ms
1: 2a02:2149:816a:5400:a6b1:e9ff:fe30:d40 1.061ms
2: bbras-llu-kln-15L500.forthnet.gr 46.737ms
3: Te-0-0-0-7.distr-kln-02.forthnet.gr 24.145ms
4: BE3.core-kln-03.forthnet.gr 24.236ms
5: Xe2-0-1.core-lsf-09.forthnet.gr 32.092ms
6: xgei0-2-0-5.core-tpn-01.forthnet.gr 38.102ms
7: no reply
8: no reply
9: no reply
10: no reply
11: no reply
12: no reply
13: no reply
14: no reply
15: no reply
16: no reply
17: no reply
18: no reply
19: no reply
20: no reply
21: no reply
22: no reply
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
Too many hops: pmtu 1492
Resume: pmtu 1492

More From » networking

 Answers
3

After a long negotiation with ISP, the conclusion is that the problem of the low speed is due to technical reasons from their side. The internet speed increased a bit, but it is still far from the optimal VDSL rate.



However, it remains the fact that Ubuntu 18.04.2 LTS does not reconnect automatically to the Network, in case the internet connection will dropout for various reasons.
So, I found a workaround to avoid restarting when the internet disconnects. I open the menu at the top right of the screen and select "Wired connection". I click "Turn off", and then "Connect". This way the internet connection is back.


[#5916] Sunday, May 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pilun

Total Points: 270
Total Questions: 100
Total Answers: 94

Location: England
Member since Sat, Feb 13, 2021
3 Years ago
;