help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: internet connection freezes


From: Arnaud
Subject: Re: internet connection freezes
Date: Wed, 12 Apr 2023 13:55:35 +0200

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]