So I installed Manjaro on my old HP laptop and it’s worked great so far. Except for one thing. For some reason, the connection is painfully slow on my home network. Internet pages take about 15 seconds to load on firefox and I can’t even install things using pacman; the download wont even start. But for some reason, these problems are nonexistent on my campus network. Everything works fine, I can install things with pacman and the internet pages load instantly. I’m new to linux, so I have no Idea what its going on. How do i fix this connection issue? Any help would be appreciated.
as always in case of network problems, pls. provide more info on the network. What is the output of ‘ifconfig’ and ‘ip route’, which DNS do you use, do have a firewall (if so, which rules)? If both Ethernet and WLAN are slow, driver issues are unlikely. Also: maybe google for “speedtest” in your region and see what this says.
HP
a quick check is to boot from live-iso and check if the wifi-connection is different. if so then it is a setting of your installed manjaro, if not the problem might be a setting of your router.
ip addr
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: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether fc:3f:db:46:8d:ae brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether a8:a7:95:96:45:d3 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.17/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp2s0
valid_lft 84820sec preferred_lft 84820sec
inet6 fe80::e73b:f71b:2ad9:d723/64 scope link noprefixroute
valid_lft forever preferred_lft forever
and ip route
ip route
default via 192.168.0.1 dev wlp2s0 proto dhcp src 192.168.0.17 metric 600
192.168.0.0/24 dev wlp2s0 proto kernel scope link src 192.168.0.17 metric 600
I also changed the DNS to the google one. That one helped with the speed on firefox and chromium but it still does not solve the problem of the pacman not working.
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the resolved.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.
#
# See resolved.conf(5) for details.
[Resolve]
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:
# Cloudflare: 1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com 2606:4700:4700::1111#cloudflare-dns.com 2606:4700:4700::1001#cloudflare-dns.com
# Google: 8.8.8.8#dns.google 8.8.4.4#dns.google 2001:4860:4860::8888#dns.google 2001:4860:4860::8844#dns.google
# Quad9: 9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net
DNS=8.8.8.8
FallbackDNS=1.1.1.1
#Domains=
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=yes
#LLMNR=yes
#Cache=yes
#CacheFromLocalhost=no
#DNSStubListener=yes
#DNSStubListenerExtra=
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no
I like playing minecraft and also noted that it wonk work on my home. On my campus it loads instantly. Here in my home it drags on, ask me to authenticate my account and then it’s unable to do so. Speedtest does fine. Ping is 8ms and download and upload are both 30mbps.
What you might have overlooked is that
systemd-resolved
is not the standard resolver in any Manjaro flavour.
As far as I know, they all use NetworkManager by default.
So: you configuring systemd-resolved is … useless
unless you actually disabled NetworkManager and enabled systemd-resolved instead.
Adapting NetworkManager to use different DNS servers is done differently - certainly not by editing the configuration files of systemd-resolved.
Perhaps that is the “problem” - you are trying to fix a thing that is not even active and used?
What it appears to come down to is:
your providers DNS server might be slow
but to change that to one that you want (8.8.8.8 google or 1.1.1.1 cloudflare or whatever)
you have to configure NetworkManager - it’s easily done via it’s GUI