all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arnaud <ds-ac@nanein.fr>
To: help-guix@gnu.org, Gottfried <gottfried@posteo.de>
Subject: Re: internet connection freezes
Date: Wed, 12 Apr 2023 13:55:35 +0200	[thread overview]
Message-ID: <ZDacN5rHVK8GWGCU@Arnaud> (raw)
In-Reply-To: <ce7ed9a3-03ac-b742-6285-6d8b98297235@posteo.de>

[-- Attachment #1: Type: text/plain, Size: 5985 bytes --]

Hi,

I apologize for my first message, it was not clear.
I should have mentioned to replace <connection name> with the actual 
name of the connection (as listed by `nmcli connection`).

Sometimes, my wifi connection (handled by network manager) gets 
whimsical and the suggested command fixes it.


However, it does not apply in your case, sorry.


-- 
Arnaud

Le Wed, Apr 12, 2023 at 10:54:20AM +0000, Gottfried a écrit
> Hi,
> thanks for help,
> 
> sorry , I forgot to say that:
> 
> I connect my laptop via ethernet cable, LAN, to a router
> ---------------------------------------------------------------------
> 1.
> gfp@Tuxedo ~$ nmcli
> virbr0: connected (externally) to virbr0
>          "virbr0"
>          bridge, 52:54:00:16:E9:74, sw, mtu 1500
>          inet4 192.168.100.1/24
>          route4 192.168.100.0/24 metric 0
> 
> enp53s0: unavailable
>          "Realtek RTL8111/8168/8411"
>          ethernet (r8169), D4:93:90:07:A2:AD, hw, mtu 1500
> 
> ----------------------------------------------------------------------
> 
> 2.
> Use "nmcli device show" to get complete information about known devices and
> "nmcli connection show" to get an overview on active connection profiles.
> 
> Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage
> details.
> 
> ...........................................................................
> 3.
> gfp@Tuxedo ~$ nmcli device show
> GENERAL.DEVICE:                         virbr0
> GENERAL.TYPE:                           bridge
> GENERAL.HWADDR:                         52:54:00:16:E9:74
> GENERAL.MTU:                            1500
> GENERAL.STATE:                          100 (connected (externally))
> GENERAL.CONNECTION:                     virbr0
> GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/3
> IP4.ADDRESS[1]:                         192.168.100.1/24
> IP4.GATEWAY:                            --
> IP4.ROUTE[1]:                           dst = 192.168.100.0/24, nh =
> 0.0.0.0, mt = 0
> IP6.GATEWAY:                            --
> 
> GENERAL.DEVICE:                         enp53s0
> GENERAL.TYPE:                           ethernet
> GENERAL.HWADDR:                         D4:93:90:07:A2:AD
> GENERAL.MTU:                            1500
> GENERAL.STATE:                          20 (unavailable)
> GENERAL.CONNECTION:                     --
> GENERAL.CON-PATH:                       --
> WIRED-PROPERTIES.CARRIER:               off
> IP4.GATEWAY:                            --
> IP6.GATEWAY:                            --
> 
> ......................................................................
> 
> 
> 4.
> gfp@Tuxedo ~$ nmcli connection down <connection name> \
>      && nmcli connection up <connection name>
> -bash: syntax error near unexpected token `&&'
> -----------------------------------------------------------------------
> gfp@Tuxedo ~$ nmcli --version
> nmcli tool, version 1.41.2
> ........................................................................
> 
> 5.
> nmcli g
> STATE                   CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN
> connected (local only)  limited       missing  enabled  missing  enabled
> 
> 
> Does this mean WIFI is on my lapttop enabled?
> If yes, how can I switch it off?
> 
> ............................................................................
>   6.
> `nmcli connection down <connection name> \
>      && nmcli connection up <connection name>`.
> 
> Do I have to include the "dot" at the end?
> I guess it shows the end of the sentence.
> 
> ........................................................................
> 7.
> gfp@Tuxedo ~$ nmcli c
> NAME                UUID                                  TYPE      DEVICE
> lo                  7a147fe2-d819-4316-8fc3-5048760b8449  loopback  --
> virbr0              3806cfd9-88d8-4640-b159-171587357668  bridge    virbr0
> Wired connection 1  84733337-c8dc-3c39-8b73-c05ae193c799  ethernet  --
> 
> ..............................................................................
> 
> 8.
> gfp@Tuxedo ~$ `nmcli connection down <connection name> \
>        && nmcli connection up <connection name>`
> 
> -bash: command substitution: line 1: syntax error near unexpected token
> `newline'
> -bash: command substitution: line 1: `nmcli connection down <connection
> name>   '
> 
> ....................................................................
> 9.
> gfp@Tuxedo ~$ `nmcli connection down <connection name> \
>      && nmcli connection up <connection name>`.
> 
> -bash: command substitution: line 1: syntax error near unexpected token `&&'
> -bash: command substitution: line 1: `nmcli connection down <connection
> name>     && nmcli connection up <connection name>'
> -bash: .: filename argument required
> .: usage: . filename [arguments]
> 
> I am not sure how the command should look like.
> .......................................................................
> 
> gfp@Tuxedo ~$ sudo herd restart network-manager
> Password:
> herd: service 'network-manager' could not be found
> 
> I am using MATE desktop
> 
> clicking the icon network in the menu line
> shows
> 
> ethernet:
> device: enp53s0
> MTU: automatic
> 
> There is no possibility shown to enable networking again, no button to
> click....
> 
> 
> 
> Kind regards
> 
> Gottfried
> 
> 
> 
> 
> Am 11.04.23 um 17:48 schrieb Arnaud:
> > Hi,
> > 
> > It depends on how you connect to the Internet.
> > 
> > On a laptop and with the default configuration, you are probably using
> > Network Manager (which you can check by running `nmcli`).
> > 
> > If you use Network Manager, you can probably use the following instead
> > of rebooting:
> >   `nmcli connection down <connection name> \
> >     && nmcli connection up <connection name>`.
> > 
> > 
> > Hope that helps,
> > 
> > -- 
> > Arnaud
> 
> 






[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2023-04-24  5:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 15:33 internet connection freezes Gottfried
2023-04-11 17:06 ` (
2023-04-12 18:06   ` Csepp
2023-04-13 13:59     ` Gottfried
2023-04-11 18:14 ` Wojtek Kosior via
     [not found] ` <ZDWBOQioR0JVsjef@Arnaud>
2023-04-12 10:54   ` Gottfried
2023-04-12 11:30     ` Dr. Arne Babenhauserheide
2023-04-12 15:18       ` Gottfried
2023-04-12 15:52         ` Wojtek Kosior via
2023-04-12 16:00           ` Gottfried
2023-04-12 11:55     ` Arnaud [this message]
2023-04-12 14:22     ` Wojtek Kosior via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZDacN5rHVK8GWGCU@Arnaud \
    --to=ds-ac@nanein.fr \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.