From: Wojtek Kosior via <help-guix@gnu.org>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org, ds-ac@nanein.fr
Subject: Re: internet connection freezes
Date: Wed, 12 Apr 2023 16:22:33 +0200 [thread overview]
Message-ID: <20230412162233.235c6b93.koszko@koszko.org> (raw)
In-Reply-To: <ce7ed9a3-03ac-b742-6285-6d8b98297235@posteo.de>
[-- Attachment #1: Type: text/plain, Size: 8441 bytes --]
Hi Gottfried,
Sorry, this command I suggested (`sudo herd restart network-manager`)
was incorrect. The one given by Paren, `sudo herd restart networking`,
is the right one. Try it.
> I connect my laptop via ethernet cable, LAN, to a router
And I assume you already tried re-plugging it?
> 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.
Arnaud surely wanted you to replace the "<connection name>" part with
the name of an actual connection on your system.
It seems a bridge (aka a virtual connection) under the name "virbr0"
somehow got created on your system. You could try running
nmcli connection down virbr0 &&
nmcli connection up enp53s0
Alternatively, you could even try
sudo ip link del virbr0
to remove this mysterious virtual bridge instead of disabling it
> There is no possibility shown to enable networking again, no button
> to click....
Not even a button to turn it off? Perhaps there's at least some helpful
context menu available when right-clicking?
> 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?
I guess it tells you that WiFi is enabled in software but also that no
WiFi hardware is available to Network Manager. Which means it's not
going to use WiFi anyway. If you want to also disable WiFi in software
(only practically useful when Network Manager has access to some WiFi
hardware), you can run
nmcli radio wifi off
as per nmcli's manpage.
Wojtek
-- (sig_start)
website: https://koszko.org/koszko.html
PGP: https://koszko.org/key.gpg
fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A
♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)
On Wed, 12 Apr 2023 10:54:20 +0000
Gottfried <gottfried@posteo.de> wrote:
> 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: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2023-04-12 14:23 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
2023-04-12 14:22 ` Wojtek Kosior via [this message]
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=20230412162233.235c6b93.koszko@koszko.org \
--to=help-guix@gnu.org \
--cc=ds-ac@nanein.fr \
--cc=gottfried@posteo.de \
--cc=koszko@koszko.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.