Can only use a few sitesNot able to connect to local networkCompletely disappeared WirelessUbuntu Server 12.04 + Wifi - WPA supplicant issuesUbuntu server can access internet but cannot ping systems in the LANConflict between two network interfaces eth0 and eth114.04 no internet connection when I up the bridge interface (for LXC container)I can't connect to internet through wired connectionUbuntu 14.04 Ethernet Connectivity Issue on startupDual NIC not workingVPN connects but no remote LAN access
Locked Away- What am I?
Difference between `nmap local-IP-address` and `nmap localhost`
What can I do if someone tampers with my SSH public key?
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Too soon for a plot twist?
What was so special about The Piano that Ada was willing to do anything to have it?
Either of .... (Plural/Singular)
Sampling from Gaussian mixture models, when are the sampled data independent?
What should I do when a paper is published similar to my PhD thesis without citation?
How can a demon take control of a human body during REM sleep?
PTIJ: Sport in the Torah
Use Mercury as quenching liquid for swords?
How should I solve this integral with changing parameters?
Yet another question on sums of the reciprocals of the primes
Should we avoid writing fiction about historical events without extensive research?
How do you make a gun that shoots melee weapons and/or swords?
Giving a career talk in my old university, how prominently should I tell students my salary?
The preposition for the verb (avenge) - avenge sb/sth (on OR from) sb
I can't die. Who am I?
Is it appropriate to ask a former professor to order a book for me through an inter-library loan?
What will happen if my luggage gets delayed?
Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?
If nine coins are tossed, what is the probability that the number of heads is even?
How to educate team mate to take screenshots for bugs with out unwanted stuff
Can only use a few sites
Not able to connect to local networkCompletely disappeared WirelessUbuntu Server 12.04 + Wifi - WPA supplicant issuesUbuntu server can access internet but cannot ping systems in the LANConflict between two network interfaces eth0 and eth114.04 no internet connection when I up the bridge interface (for LXC container)I can't connect to internet through wired connectionUbuntu 14.04 Ethernet Connectivity Issue on startupDual NIC not workingVPN connects but no remote LAN access
I’ve tried Ubuntu, Debian and Fedora. On all 3 distributions I can connect to Facebook, YouTube and Google, but not any other site. ping google.com
succeeds, but ping 8.8.8.8
gives me Network is unreachable
.
I’ve tried adding DNS in Network Manager and may other solutions, but most of them are blocked by not having net-tools
(e. g. I can’t use route
or ifconfig
)... But I can’t get them with apt-get
because package net-tools has no installation candidate
, and I also can’t update apt-get
because some index files failed to download
.
Please help me. After reinstalling Linux 4 or 5 times I’m almost ready to give up.
EDIT: I’ve managed to use internet normally though mobile data hotspot, but still can’t use it normally with my router though and still looking for help.
EDIT2: ifconfig
results:
enp0s20f0u1c4i2 Link encap:Ethernet HWaddr 0a:f6:9c:6b:15:50
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3087 errors:0 dropped:0 overruns:0 frame:0
TX packets:2869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2507747 (2.5 MB) TX bytes:438042 (438.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3671 errors:0 dropped:0 overruns:0 frame:0
TX packets:3671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:367117 (367.1 KB) TX bytes:367117 (367.1 KB)
wlp2s0 Link encap:Ethernet HWaddr c8:3d:d4:94:cb:31
inet addr:172.20.10.2 Bcast:172.20.10.15 Mask:255.255.255.240
inet6 addr: fe80::33a5:7e62:f8d3:2c40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68152 errors:0 dropped:0 overruns:0 frame:0
TX packets:42710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:82829898 (82.8 MB) TX bytes:5837199 (5.8 MB)
sudo lshw -c network
results:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 10Mbit/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=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A ip=172.20.10.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@1:1
logical name: enp0s20f0u1c4i2
serial: 0a:f6:9c:6b:15:50
capabilities: ethernet physical
configuration: broadcast=yes driver=ipheth link=no multicast=yes
EDIT3: sudo lshw -c network
results using another Ethernet wall plate:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 1Gbit/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=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
EDIT4: providing more data:
IPv4
Missing DNS
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
inet6 addr: 2a02:a31a:a13e:8100:680a:a096:883:85b2/64 Scope:Global
inet6 addr: fe80::6a8c:a59f:47c3:4849/64 Scope:Link
inet6 addr: 2a02:a31a:a13e:8100:5046:dc7d:de0:1b96/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:2322 errors:0 dropped:0 overruns:0 frame:0
TX packets:1910 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1955726 (1.9 MB) TX bytes:280257 (280.2 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:756 errors:0 dropped:0 overruns:0 frame:0
TX packets:756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:67313 (67.3 KB) TX bytes:67313 (67.3 KB)
EDIT5: providing network card data: drivers
networking
New contributor
|
show 10 more comments
I’ve tried Ubuntu, Debian and Fedora. On all 3 distributions I can connect to Facebook, YouTube and Google, but not any other site. ping google.com
succeeds, but ping 8.8.8.8
gives me Network is unreachable
.
I’ve tried adding DNS in Network Manager and may other solutions, but most of them are blocked by not having net-tools
(e. g. I can’t use route
or ifconfig
)... But I can’t get them with apt-get
because package net-tools has no installation candidate
, and I also can’t update apt-get
because some index files failed to download
.
Please help me. After reinstalling Linux 4 or 5 times I’m almost ready to give up.
EDIT: I’ve managed to use internet normally though mobile data hotspot, but still can’t use it normally with my router though and still looking for help.
EDIT2: ifconfig
results:
enp0s20f0u1c4i2 Link encap:Ethernet HWaddr 0a:f6:9c:6b:15:50
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3087 errors:0 dropped:0 overruns:0 frame:0
TX packets:2869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2507747 (2.5 MB) TX bytes:438042 (438.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3671 errors:0 dropped:0 overruns:0 frame:0
TX packets:3671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:367117 (367.1 KB) TX bytes:367117 (367.1 KB)
wlp2s0 Link encap:Ethernet HWaddr c8:3d:d4:94:cb:31
inet addr:172.20.10.2 Bcast:172.20.10.15 Mask:255.255.255.240
inet6 addr: fe80::33a5:7e62:f8d3:2c40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68152 errors:0 dropped:0 overruns:0 frame:0
TX packets:42710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:82829898 (82.8 MB) TX bytes:5837199 (5.8 MB)
sudo lshw -c network
results:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 10Mbit/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=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A ip=172.20.10.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@1:1
logical name: enp0s20f0u1c4i2
serial: 0a:f6:9c:6b:15:50
capabilities: ethernet physical
configuration: broadcast=yes driver=ipheth link=no multicast=yes
EDIT3: sudo lshw -c network
results using another Ethernet wall plate:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 1Gbit/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=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
EDIT4: providing more data:
IPv4
Missing DNS
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
inet6 addr: 2a02:a31a:a13e:8100:680a:a096:883:85b2/64 Scope:Global
inet6 addr: fe80::6a8c:a59f:47c3:4849/64 Scope:Link
inet6 addr: 2a02:a31a:a13e:8100:5046:dc7d:de0:1b96/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:2322 errors:0 dropped:0 overruns:0 frame:0
TX packets:1910 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1955726 (1.9 MB) TX bytes:280257 (280.2 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:756 errors:0 dropped:0 overruns:0 frame:0
TX packets:756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:67313 (67.3 KB) TX bytes:67313 (67.3 KB)
EDIT5: providing network card data: drivers
networking
New contributor
3
You can connect only IPv6 sites. So something is wrong with your IPv4.
– Pilot6
6 hours ago
1
please tell about the network setup (WiFi or Lan, Type of internet connection...)
– cmak.fr
5 hours ago
I’ve tried both Wifi and LAN, both with same results. Both have the same WPA security.
– qalis
5 hours ago
Are you using a DSL connection? If so, what is your MTU set to in your computer, and in your router. Also, edit your question with the output ofifconfig
andsudo lshw -C network
. Report back to @heynnema
– heynnema
5 hours ago
1
Before I make any recommendation, I need to know for sure if it's DSL or not... as we may need to change your MTU. Also, you probably have a cable issue, as you're only getting a 10Mb half-duplex connection. Please explain EXACTLY how your network is wired, from the computer port to the cable/dsl modem. Be prepared to swap an ethernet cable shortly. Start comments to me with @heynnema
– heynnema
4 hours ago
|
show 10 more comments
I’ve tried Ubuntu, Debian and Fedora. On all 3 distributions I can connect to Facebook, YouTube and Google, but not any other site. ping google.com
succeeds, but ping 8.8.8.8
gives me Network is unreachable
.
I’ve tried adding DNS in Network Manager and may other solutions, but most of them are blocked by not having net-tools
(e. g. I can’t use route
or ifconfig
)... But I can’t get them with apt-get
because package net-tools has no installation candidate
, and I also can’t update apt-get
because some index files failed to download
.
Please help me. After reinstalling Linux 4 or 5 times I’m almost ready to give up.
EDIT: I’ve managed to use internet normally though mobile data hotspot, but still can’t use it normally with my router though and still looking for help.
EDIT2: ifconfig
results:
enp0s20f0u1c4i2 Link encap:Ethernet HWaddr 0a:f6:9c:6b:15:50
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3087 errors:0 dropped:0 overruns:0 frame:0
TX packets:2869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2507747 (2.5 MB) TX bytes:438042 (438.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3671 errors:0 dropped:0 overruns:0 frame:0
TX packets:3671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:367117 (367.1 KB) TX bytes:367117 (367.1 KB)
wlp2s0 Link encap:Ethernet HWaddr c8:3d:d4:94:cb:31
inet addr:172.20.10.2 Bcast:172.20.10.15 Mask:255.255.255.240
inet6 addr: fe80::33a5:7e62:f8d3:2c40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68152 errors:0 dropped:0 overruns:0 frame:0
TX packets:42710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:82829898 (82.8 MB) TX bytes:5837199 (5.8 MB)
sudo lshw -c network
results:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 10Mbit/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=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A ip=172.20.10.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@1:1
logical name: enp0s20f0u1c4i2
serial: 0a:f6:9c:6b:15:50
capabilities: ethernet physical
configuration: broadcast=yes driver=ipheth link=no multicast=yes
EDIT3: sudo lshw -c network
results using another Ethernet wall plate:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 1Gbit/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=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
EDIT4: providing more data:
IPv4
Missing DNS
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
inet6 addr: 2a02:a31a:a13e:8100:680a:a096:883:85b2/64 Scope:Global
inet6 addr: fe80::6a8c:a59f:47c3:4849/64 Scope:Link
inet6 addr: 2a02:a31a:a13e:8100:5046:dc7d:de0:1b96/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:2322 errors:0 dropped:0 overruns:0 frame:0
TX packets:1910 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1955726 (1.9 MB) TX bytes:280257 (280.2 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:756 errors:0 dropped:0 overruns:0 frame:0
TX packets:756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:67313 (67.3 KB) TX bytes:67313 (67.3 KB)
EDIT5: providing network card data: drivers
networking
New contributor
I’ve tried Ubuntu, Debian and Fedora. On all 3 distributions I can connect to Facebook, YouTube and Google, but not any other site. ping google.com
succeeds, but ping 8.8.8.8
gives me Network is unreachable
.
I’ve tried adding DNS in Network Manager and may other solutions, but most of them are blocked by not having net-tools
(e. g. I can’t use route
or ifconfig
)... But I can’t get them with apt-get
because package net-tools has no installation candidate
, and I also can’t update apt-get
because some index files failed to download
.
Please help me. After reinstalling Linux 4 or 5 times I’m almost ready to give up.
EDIT: I’ve managed to use internet normally though mobile data hotspot, but still can’t use it normally with my router though and still looking for help.
EDIT2: ifconfig
results:
enp0s20f0u1c4i2 Link encap:Ethernet HWaddr 0a:f6:9c:6b:15:50
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3087 errors:0 dropped:0 overruns:0 frame:0
TX packets:2869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2507747 (2.5 MB) TX bytes:438042 (438.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3671 errors:0 dropped:0 overruns:0 frame:0
TX packets:3671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:367117 (367.1 KB) TX bytes:367117 (367.1 KB)
wlp2s0 Link encap:Ethernet HWaddr c8:3d:d4:94:cb:31
inet addr:172.20.10.2 Bcast:172.20.10.15 Mask:255.255.255.240
inet6 addr: fe80::33a5:7e62:f8d3:2c40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68152 errors:0 dropped:0 overruns:0 frame:0
TX packets:42710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:82829898 (82.8 MB) TX bytes:5837199 (5.8 MB)
sudo lshw -c network
results:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 10Mbit/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=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A ip=172.20.10.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@1:1
logical name: enp0s20f0u1c4i2
serial: 0a:f6:9c:6b:15:50
capabilities: ethernet physical
configuration: broadcast=yes driver=ipheth link=no multicast=yes
EDIT3: sudo lshw -c network
results using another Ethernet wall plate:
*-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:01:00.0
logical name: enp1s0
version: 10
serial: c8:5b:76:f2:fb:43
size: 1Gbit/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=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
*-network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: c8:3d:d4:94:cb:31
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:129 ioport:3000(size=256) memory:b1000000-b1003fff
EDIT4: providing more data:
IPv4
Missing DNS
enp1s0 Link encap:Ethernet HWaddr c8:5b:76:f2:fb:43
inet6 addr: 2a02:a31a:a13e:8100:680a:a096:883:85b2/64 Scope:Global
inet6 addr: fe80::6a8c:a59f:47c3:4849/64 Scope:Link
inet6 addr: 2a02:a31a:a13e:8100:5046:dc7d:de0:1b96/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:2322 errors:0 dropped:0 overruns:0 frame:0
TX packets:1910 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1955726 (1.9 MB) TX bytes:280257 (280.2 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:756 errors:0 dropped:0 overruns:0 frame:0
TX packets:756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:67313 (67.3 KB) TX bytes:67313 (67.3 KB)
EDIT5: providing network card data: drivers
networking
networking
New contributor
New contributor
edited 2 hours ago
qalis
New contributor
asked 6 hours ago
qalisqalis
62
62
New contributor
New contributor
3
You can connect only IPv6 sites. So something is wrong with your IPv4.
– Pilot6
6 hours ago
1
please tell about the network setup (WiFi or Lan, Type of internet connection...)
– cmak.fr
5 hours ago
I’ve tried both Wifi and LAN, both with same results. Both have the same WPA security.
– qalis
5 hours ago
Are you using a DSL connection? If so, what is your MTU set to in your computer, and in your router. Also, edit your question with the output ofifconfig
andsudo lshw -C network
. Report back to @heynnema
– heynnema
5 hours ago
1
Before I make any recommendation, I need to know for sure if it's DSL or not... as we may need to change your MTU. Also, you probably have a cable issue, as you're only getting a 10Mb half-duplex connection. Please explain EXACTLY how your network is wired, from the computer port to the cable/dsl modem. Be prepared to swap an ethernet cable shortly. Start comments to me with @heynnema
– heynnema
4 hours ago
|
show 10 more comments
3
You can connect only IPv6 sites. So something is wrong with your IPv4.
– Pilot6
6 hours ago
1
please tell about the network setup (WiFi or Lan, Type of internet connection...)
– cmak.fr
5 hours ago
I’ve tried both Wifi and LAN, both with same results. Both have the same WPA security.
– qalis
5 hours ago
Are you using a DSL connection? If so, what is your MTU set to in your computer, and in your router. Also, edit your question with the output ofifconfig
andsudo lshw -C network
. Report back to @heynnema
– heynnema
5 hours ago
1
Before I make any recommendation, I need to know for sure if it's DSL or not... as we may need to change your MTU. Also, you probably have a cable issue, as you're only getting a 10Mb half-duplex connection. Please explain EXACTLY how your network is wired, from the computer port to the cable/dsl modem. Be prepared to swap an ethernet cable shortly. Start comments to me with @heynnema
– heynnema
4 hours ago
3
3
You can connect only IPv6 sites. So something is wrong with your IPv4.
– Pilot6
6 hours ago
You can connect only IPv6 sites. So something is wrong with your IPv4.
– Pilot6
6 hours ago
1
1
please tell about the network setup (WiFi or Lan, Type of internet connection...)
– cmak.fr
5 hours ago
please tell about the network setup (WiFi or Lan, Type of internet connection...)
– cmak.fr
5 hours ago
I’ve tried both Wifi and LAN, both with same results. Both have the same WPA security.
– qalis
5 hours ago
I’ve tried both Wifi and LAN, both with same results. Both have the same WPA security.
– qalis
5 hours ago
Are you using a DSL connection? If so, what is your MTU set to in your computer, and in your router. Also, edit your question with the output of
ifconfig
and sudo lshw -C network
. Report back to @heynnema– heynnema
5 hours ago
Are you using a DSL connection? If so, what is your MTU set to in your computer, and in your router. Also, edit your question with the output of
ifconfig
and sudo lshw -C network
. Report back to @heynnema– heynnema
5 hours ago
1
1
Before I make any recommendation, I need to know for sure if it's DSL or not... as we may need to change your MTU. Also, you probably have a cable issue, as you're only getting a 10Mb half-duplex connection. Please explain EXACTLY how your network is wired, from the computer port to the cable/dsl modem. Be prepared to swap an ethernet cable shortly. Start comments to me with @heynnema
– heynnema
4 hours ago
Before I make any recommendation, I need to know for sure if it's DSL or not... as we may need to change your MTU. Also, you probably have a cable issue, as you're only getting a 10Mb half-duplex connection. Please explain EXACTLY how your network is wired, from the computer port to the cable/dsl modem. Be prepared to swap an ethernet cable shortly. Start comments to me with @heynnema
– heynnema
4 hours ago
|
show 10 more comments
1 Answer
1
active
oldest
votes
From the comments...
Using sudo lshw -C network
we see...
We started with enp1s0 showing "duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s".
After reconnecting to a different ethernet wall plate, emp1s0 now shows "duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s".
You fixed it. Internet should be working now.
You have either a bad external ethernet-ethernet cable, or a bad ethernet cable in the wall connecting to the router. Replace it.
Update #1:
Well... it's not fixed. We have more than one problem. It appears that we might have a bad ethernet wall plate/internal ethernet wire problem. Wall plate #1 doesn't work. Wall plate #2 works.
We found that the "Wired Connection" profile had MTU=1400. Totally wrong for a cable modem environment. We changed it to AUTO/1500.
Update #2:
We're going to temporarily try a manual connection. Maybe it'll give us more clues.
address=192.168.0.100 (I'm picking this address out of the air).
netmask=24
gateway=192.168.0.1
dns=8.8.8.8
See if Internet and ping work now. You should be able to ping 192.168.0.1 and 8.8.8.8.
Update #3:
Even with a manual "Wired Connection" profile, it still didn't work!
We're going to try using this laptop at another site and see if it works there.
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. Ifsudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show meifconfig
again.
– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
|
show 17 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
qalis is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124388%2fcan-only-use-a-few-sites%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From the comments...
Using sudo lshw -C network
we see...
We started with enp1s0 showing "duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s".
After reconnecting to a different ethernet wall plate, emp1s0 now shows "duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s".
You fixed it. Internet should be working now.
You have either a bad external ethernet-ethernet cable, or a bad ethernet cable in the wall connecting to the router. Replace it.
Update #1:
Well... it's not fixed. We have more than one problem. It appears that we might have a bad ethernet wall plate/internal ethernet wire problem. Wall plate #1 doesn't work. Wall plate #2 works.
We found that the "Wired Connection" profile had MTU=1400. Totally wrong for a cable modem environment. We changed it to AUTO/1500.
Update #2:
We're going to temporarily try a manual connection. Maybe it'll give us more clues.
address=192.168.0.100 (I'm picking this address out of the air).
netmask=24
gateway=192.168.0.1
dns=8.8.8.8
See if Internet and ping work now. You should be able to ping 192.168.0.1 and 8.8.8.8.
Update #3:
Even with a manual "Wired Connection" profile, it still didn't work!
We're going to try using this laptop at another site and see if it works there.
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. Ifsudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show meifconfig
again.
– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
|
show 17 more comments
From the comments...
Using sudo lshw -C network
we see...
We started with enp1s0 showing "duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s".
After reconnecting to a different ethernet wall plate, emp1s0 now shows "duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s".
You fixed it. Internet should be working now.
You have either a bad external ethernet-ethernet cable, or a bad ethernet cable in the wall connecting to the router. Replace it.
Update #1:
Well... it's not fixed. We have more than one problem. It appears that we might have a bad ethernet wall plate/internal ethernet wire problem. Wall plate #1 doesn't work. Wall plate #2 works.
We found that the "Wired Connection" profile had MTU=1400. Totally wrong for a cable modem environment. We changed it to AUTO/1500.
Update #2:
We're going to temporarily try a manual connection. Maybe it'll give us more clues.
address=192.168.0.100 (I'm picking this address out of the air).
netmask=24
gateway=192.168.0.1
dns=8.8.8.8
See if Internet and ping work now. You should be able to ping 192.168.0.1 and 8.8.8.8.
Update #3:
Even with a manual "Wired Connection" profile, it still didn't work!
We're going to try using this laptop at another site and see if it works there.
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. Ifsudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show meifconfig
again.
– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
|
show 17 more comments
From the comments...
Using sudo lshw -C network
we see...
We started with enp1s0 showing "duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s".
After reconnecting to a different ethernet wall plate, emp1s0 now shows "duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s".
You fixed it. Internet should be working now.
You have either a bad external ethernet-ethernet cable, or a bad ethernet cable in the wall connecting to the router. Replace it.
Update #1:
Well... it's not fixed. We have more than one problem. It appears that we might have a bad ethernet wall plate/internal ethernet wire problem. Wall plate #1 doesn't work. Wall plate #2 works.
We found that the "Wired Connection" profile had MTU=1400. Totally wrong for a cable modem environment. We changed it to AUTO/1500.
Update #2:
We're going to temporarily try a manual connection. Maybe it'll give us more clues.
address=192.168.0.100 (I'm picking this address out of the air).
netmask=24
gateway=192.168.0.1
dns=8.8.8.8
See if Internet and ping work now. You should be able to ping 192.168.0.1 and 8.8.8.8.
Update #3:
Even with a manual "Wired Connection" profile, it still didn't work!
We're going to try using this laptop at another site and see if it works there.
From the comments...
Using sudo lshw -C network
we see...
We started with enp1s0 showing "duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s".
After reconnecting to a different ethernet wall plate, emp1s0 now shows "duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s".
You fixed it. Internet should be working now.
You have either a bad external ethernet-ethernet cable, or a bad ethernet cable in the wall connecting to the router. Replace it.
Update #1:
Well... it's not fixed. We have more than one problem. It appears that we might have a bad ethernet wall plate/internal ethernet wire problem. Wall plate #1 doesn't work. Wall plate #2 works.
We found that the "Wired Connection" profile had MTU=1400. Totally wrong for a cable modem environment. We changed it to AUTO/1500.
Update #2:
We're going to temporarily try a manual connection. Maybe it'll give us more clues.
address=192.168.0.100 (I'm picking this address out of the air).
netmask=24
gateway=192.168.0.1
dns=8.8.8.8
See if Internet and ping work now. You should be able to ping 192.168.0.1 and 8.8.8.8.
Update #3:
Even with a manual "Wired Connection" profile, it still didn't work!
We're going to try using this laptop at another site and see if it works there.
edited 1 hour ago
answered 4 hours ago
heynnemaheynnema
20.2k22258
20.2k22258
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. Ifsudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show meifconfig
again.
– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
|
show 17 more comments
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. Ifsudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show meifconfig
again.
– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
Well, the problem is it didn’t help, sites using IPv4 still don’t show and those using IPv6 do. I’ve checked both Ethernet-Ethernet cables from second wall plate: I get the same command results, but nothing more. I also can’t access my router through 192.168.0.1 like I can from Windows, if it’s important.
– qalis
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. If
sudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show me ifconfig
again.– heynnema
3 hours ago
@qalis we had completely different results when connecting via the first wall plate vs the second wall plate. If
sudo lshw -C network
still shows the second result, then hardware wise, it should work. You first 1) need to reboot and try again, 2) find out if your Internet is DSL or something else, 3) boot to a Ubuntu Live DVD/USB and try Internet again. Report back on all three steps. You can also take a screenshot of your IPv4 panel and edit it into your question so I can take a look. Show me ifconfig
again.– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
@qalis it's entirely possible that we have more than one problem here. Do you have physical access to the modem/router? Is it a combination modem/router, or two separate pieces... a router... and a modem? Are only two wall plates connected to it?
– heynnema
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
rebooting and using Live USB did nothing. I do have DSL, I’ve checked. The router and modem is one device, from which go the two cables to wall plates. I’ve also noticed that my cable connected icon is ? mark with 3 small grey squares, and in the NM I don’t have anything in DNS (link speed, IP address and hardware access are not empty, only DNS). I will provide screenshots shortly.
– qalis
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
@qalis Do two more things for me... try connecting an ethernet-ethernet cable DIRECTLY from the computer to the router/modem, reboot BOTH, and try Internet again. Also, log into the admin page of the router/modem, and look at the WAN settings... see what TYPE (probably either DSL or PPPoE) and what the MTU is set to.
– heynnema
3 hours ago
|
show 17 more comments
qalis is a new contributor. Be nice, and check out our Code of Conduct.
qalis is a new contributor. Be nice, and check out our Code of Conduct.
qalis is a new contributor. Be nice, and check out our Code of Conduct.
qalis is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124388%2fcan-only-use-a-few-sites%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
You can connect only IPv6 sites. So something is wrong with your IPv4.
– Pilot6
6 hours ago
1
please tell about the network setup (WiFi or Lan, Type of internet connection...)
– cmak.fr
5 hours ago
I’ve tried both Wifi and LAN, both with same results. Both have the same WPA security.
– qalis
5 hours ago
Are you using a DSL connection? If so, what is your MTU set to in your computer, and in your router. Also, edit your question with the output of
ifconfig
andsudo lshw -C network
. Report back to @heynnema– heynnema
5 hours ago
1
Before I make any recommendation, I need to know for sure if it's DSL or not... as we may need to change your MTU. Also, you probably have a cable issue, as you're only getting a 10Mb half-duplex connection. Please explain EXACTLY how your network is wired, from the computer port to the cable/dsl modem. Be prepared to swap an ethernet cable shortly. Start comments to me with @heynnema
– heynnema
4 hours ago