Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i can access google or gentoo.org but no other website
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
meelo
n00b
n00b


Joined: 13 Mar 2024
Posts: 16

PostPosted: Wed Mar 13, 2024 12:18 pm    Post subject: i can access google or gentoo.org but no other website Reply with quote

Hello there, i can access google services and gentoo.org but no other website.

Before that i got internet access to everyting, (before a "emerge -e" and a "emerge -uDN @world")

but my hdmi screen was not detected and now it's my laptop monitor who is not detected.

I have tried many times to make nvidia drivers work, with installation and some "/etc/portage/package.license" editing.

There are some commands done with the gentoo irc :

Code:
$ curl -I4 https://reddit.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
curl: (7) Failed to connect to reddit.com port 443 after 12165 ms: Couldn't connect to server



Code:
$ curl -I6 https://reddit.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
HTTP/2 301
retry-after: 0
location: https://www.reddit.com/
accept-ranges: bytes
date: Wed, 13 Mar 2024 12:06:16 GMT
via: 1.1 varnish
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
cache-control: private, max-age=3600
server: snooserv
report-to: {"group": "w3-reporting-nel", "max_age": 14400, "include_subdomains": true,  "endpoints": [{ "url": "https://w3-reporting-nel.reddit.com/reports" }]}, {"group": "w3-reporting", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting.reddit.com/reports" }]}, {"group": "w3-reporting-csp", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting-csp.reddit.com/reports" }]}
nel: {"report_to": "w3-reporting-nel", "max_age": 14400, "include_subdomains": false, "success_fraction": 1.0, "failure_fraction": 1.0}
content-length: 0


Code:
$ ping -c3 -6 google.com
PING google.com(par21s03-in-x0e.1e100.net (2a00:1450:4007:810::200e)) 56 data bytes
64 bytes from par21s03-in-x0e.1e100.net (2a00:1450:4007:810::200e): icmp_seq=1 ttl=114 time=2.95 ms
64 bytes from par21s03-in-x0e.1e100.net (2a00:1450:4007:810::200e): icmp_seq=2 ttl=114 time=3.31 ms
64 bytes from par21s03-in-x0e.1e100.net (2a00:1450:4007:810::200e): icmp_seq=3 ttl=114 time=3.23 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.949/3.163/3.314/0.155 ms


Code:
# Generated by dhcpcd from eno1.ra
# /etc/resolv.conf.head can replace this line
nameserver fd0f:ee:b0::1
# /etc/resolv.conf.tail can replace this line

# dhcpcd eno1
sending commands to dhcpcd process
[/code]

Code:
$ 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 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host proto kernel_lo
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 10:e7:c6:e0:9a:95 brd ff:ff:ff:ff:ff:ff
    altname enp5s0
    inet 192.168.0.10/24 brd 192.168.0.255 scope global noprefixroute eno1
       valid_lft forever preferred_lft forever
    inet6 2a01:e0a:14c:bc90:b20d:d7c8:43a3:ac81/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 86041sec preferred_lft 86041sec
    inet6 fe80::aac9:7c98:906:46f3/64 scope link
       valid_lft forever preferred_lft forever
3: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether d4:6d:6d:32:24:3b brd ff:ff:ff:ff:ff:ff
    altname wlp4s0


Code:
# Accepting the license for linux-firmware
#
sys-kernel/linux-firmware linux-fw-redistributable

# Accepting any license that permits redistribution

sys-kernel/linux-firmware @BINARY-REDISTRIBUTABLE
=x11-drivers/nvidia-drivers-535.154.05 NVIDIA-r2
games-util/steam-launcher ValveSteamLicense[\code]


First time posting on a forum sorry if it's a bad quality post :c


Last edited by meelo on Wed Mar 13, 2024 1:05 pm; edited 3 times in total
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Wed Mar 13, 2024 12:21 pm    Post subject: Reply with quote

Hi,

As said on #gentoo please be really MORE specific. We can' help you from there.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Wed Mar 13, 2024 1:02 pm    Post subject: Reply with quote

- Could you please paste the exact output you get in your web browser, please ?

- As said on IRC, I'm not the sharpened tools in the shelf when it's about portage or emerge, but *maybe* giving us the content of it's log would be interesting:

Code:
wgetpaste /var/log/portage/elog/summary.log

Use wgetpaste if it's loo long, otherwise use the forum syntax (code, quote).

As emerge.log:

Code:
wgetpaste /var/log/emerge.log

Use wgetpaste if it's loo long, otherwise use the forum syntax (code, quote).

I'm asking these because so far you might to have «played» around with your system and did executed a few emerge command without to be sure.

You can also paste your history (as root):

Code:
wgetpaste -c 'history'


To get the last commands you did and maybe found the root problem.

Hope that helps.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22649

PostPosted: Wed Mar 13, 2024 2:50 pm    Post subject: Reply with quote

Welcome to the forums.

Web browsers are notorious for terrible error reporting. I prefer the curl output that OP provided.

From the output provided, this looks to me like OP has gotten into a situation where IPv6 works, but IPv4 fails. This is uncommon. For most people, it's the other way around.

OP appears to have an IPv4 private address, which is fairly typical. The timeout, rather than a more direct error, suggests to me that this system has its IPv4 configured properly, but that a device upstream, likely a nearby router, is not passing IPv4 traffic properly.

OP: please show the output of traceroute -4 --tcp -F -n -p 443 reddit.com ; traceroute -6 --tcp -F -n -p 443 reddit.com.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1919

PostPosted: Wed Mar 13, 2024 5:40 pm    Post subject: Reply with quote

Please also show this command: ip r show
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 429
Location: Nijmegen

PostPosted: Wed Mar 13, 2024 6:05 pm    Post subject: Reply with quote

Please try downgrading net-misc/networkmanager to version 1.44.2. Version 1.46.0 has a bug that causes ipv4 to hang: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1485

Reported as: https://bugs.gentoo.org/926943
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
meelo
n00b
n00b


Joined: 13 Mar 2024
Posts: 16

PostPosted: Thu Mar 14, 2024 7:23 am    Post subject: Reply with quote

AndrewAmmerlaan, how do i downgrade the package ?
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 429
Location: Nijmegen

PostPosted: Thu Mar 14, 2024 7:36 am    Post subject: Reply with quote

meelo wrote:
AndrewAmmerlaan, how do i downgrade the package ?


I had the same problem, for me the wifi adapter would work every 1 in 10 boots or something. So I just kept rebooting until I got an ipv4 address, then downgraded networkmanager, and have not had this problem since.

If this doesn't work for you, check in /var/cache/distfiles which version of networkmanager you still have the distfile for, then emerge that version.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
meelo
n00b
n00b


Joined: 13 Mar 2024
Posts: 16

PostPosted: Thu Mar 14, 2024 8:21 am    Post subject: Reply with quote

Sorry AndrewAmmerlaan, but how do i downgrade networkmanager ? :x
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 429
Location: Nijmegen

PostPosted: Thu Mar 14, 2024 8:26 am    Post subject: Reply with quote

meelo wrote:
Sorry AndrewAmmerlaan, but how do i downgrade networkmanager ? :x


emerge -1 '=net-misc/networkmanager-1.44.2'
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
meelo
n00b
n00b


Joined: 13 Mar 2024
Posts: 16

PostPosted: Thu Mar 14, 2024 9:07 am    Post subject: Reply with quote

Thx AndrewAmmerlaan, i have downgraded to 1.44.0

Code:
$ eix -I net-misc/networkmanager
[I] net-misc/networkmanager
     Available versions:  1.42.6-r2^t (~)1.44.0-r1^t ~1.44.2^t [m]~1.46.0^t {audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd libedit +modemmanager nftables +nss ofono ovs policykit +ppp psl resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.44.0-r1^t(09:46:44 AM 03/14/2024)(bluetooth concheck elogind gtk-doc introspection modemmanager nss policykit ppp tools wext wifi -audit -connection-sharing -debug -dhclient -dhcpcd -gnutls -iptables -iwd -libedit -nftables -ofono -ovs -psl -resolvconf -selinux -syslog -systemd -teamd -test -vala ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://wiki.gnome.org/Projects/NetworkManager
     Description:         A set of co-operative tools that make networking simple and straightforward


And i have noticed that at the start of the system : "Error: Nexthop has invalid gateway"

might be the source of the problem[/code]

edit: btw i didn't mean to print a emoji but just : c
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum