View previous topic :: View next topic |
Author |
Message |
pstickar Tux's lil' helper

Joined: 26 Nov 2006 Posts: 93 Location: Germany
|
Posted: Thu Apr 24, 2025 4:56 pm Post subject: Network is partially unreachable |
|
|
Hello,
in my system I can get and send e-mails, emerge updates, but I cannot navigate. For example, pinging 8.8.8.8 returns an error (network is unreachable).
The output of wgetpaste -ic 'ifconfig' can be seen here: https://bpa.st/3T3Q.
What can I try?
Thank you very much in advance!
Pablo _________________ p. |
|
Back to top |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 251
|
Posted: Thu Apr 24, 2025 5:03 pm Post subject: Re: Network is partially unreachable |
|
|
pstickar wrote: | Hello,
in my system I can get and send e-mails, emerge updates, but I cannot navigate. For example, pinging 8.8.8.8 returns an error (network is unreachable).
The output of wgetpaste -ic 'ifconfig' can be seen here: https://bpa.st/3T3Q.
What can I try?
Thank you very much in advance!
Pablo |
Looks like you've got ipv6 only?
Did you run a dhcp client, ipv6 tends to autoconfigure when setup properly. ipv4 will not. _________________ µgRD dev
Wiki writer |
|
Back to top |
|
 |
pstickar Tux's lil' helper

Joined: 26 Nov 2006 Posts: 93 Location: Germany
|
Posted: Thu Apr 24, 2025 5:15 pm Post subject: Re: Network is partially unreachable |
|
|
zen_desu wrote: | Did you run a dhcp client, ipv6 tends to autoconfigure when setup properly. ipv4 will not. |
Not that I know. I only start NetworkManager (https://bpa.st/XZ7A). _________________ p. |
|
Back to top |
|
 |
Ralphred l33t

Joined: 31 Dec 2013 Posts: 768
|
Posted: Fri Apr 25, 2025 12:16 am Post subject: Re: Network is partially unreachable |
|
|
zen_desu wrote: | Looks like you've got ipv6 only | Indeed Quote: | ipv6 tends to autoconfigure | And herein lays "the rub" with automagical configurationism; NM saw you had a "valid config" within an IPv6 scope and didn't even bother to assign an APIPA address in ipv4. There "should" be some "network configuration" GUI available within your "DE of choice" to sort this, if not read NM's docs or switch to netifrc where such things are documented in the Gentoo handbook or less /usr/share/doc/netifrc*/net.example.* .
Addendum: Some may consider the publishing of "inet6 2003:e7:bf01:4819:760:dff9:ac21:6f52 prefixlen 64" as a "security risk", but this would be tacitly advocating for "security through obscurity", and not something found advocated for in this knowledge based forum, ever, right? |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3626
|
Posted: Fri Apr 25, 2025 10:18 am Post subject: |
|
|
Quote: | And herein lays "the rub" with automagical configurationism; NM saw you had a "valid config" within an IPv6 scope and didn't even bother to assign an APIPA address in ipv4. | NM does have options to require IPv4 and/or IPv6 on an interface before the connections is considered up. nm-applet shows them, and so does nmtui (handy thing on headless machines).
Quote: | Addendum: Some may consider the publishing of "inet6 2003:e7:bf01:4819:760:dff9:ac21:6f52 prefixlen 64" as a "security risk", but this would be tacitly advocating for "security through obscurity", and not something found advocated for in this knowledge based forum, ever, right? | I consider it more of a threat to the user (privacy concerns) than the machine.
Do you remember how back in the 90's, when doxxing was the only crime on the internet, we were told not give our real names on the internet, not to meet with people found online, and not to get into strangers' cars? And now people post their whole lives online, and summon strangers from the internet so they can get in their cars.
Damn, I suddenly feel like a fossil. _________________ Make Computing Fun Again |
|
Back to top |
|
 |
pstickar Tux's lil' helper

Joined: 26 Nov 2006 Posts: 93 Location: Germany
|
Posted: Sat Apr 26, 2025 11:40 am Post subject: |
|
|
More experiments:
- A hotspot made with the cell phone has no problems. The problematic system gets both ipv4 and ipv6 addresses.
- A different computer (Linux Gentoo) connects ok and gets both ip4 and ipv6 addresses. Hence I think that the problem is not the router.
The nm-applet allows me to require an ipv4 address to declare the connection valid, but then the connection fails. _________________ p. |
|
Back to top |
|
 |
pstickar Tux's lil' helper

Joined: 26 Nov 2006 Posts: 93 Location: Germany
|
Posted: Sat Apr 26, 2025 12:09 pm Post subject: |
|
|
I deleted old connections from the router and now it works.
My system gets ipv4 and ipv6 addresses. _________________ p. |
|
Back to top |
|
 |
pabloblo Tux's lil' helper

Joined: 24 Jan 2024 Posts: 86
|
Posted: Sat Apr 26, 2025 12:13 pm Post subject: |
|
|
You should install dhclient (emerge net-misc/dhcp)
then edit /etc/NetworkManager/NetworkManager.conf
dhcp=dhclient
and restart networkmanager |
|
Back to top |
|
 |
|