Re: [systemd-devel] trivial net connection logs - ?

2022-04-11 Thread Ranbir Singh
i want to unsubscribe these emails
how to do it? kindly helpOn Monday, 11 April, 2022, 01:31:55 pm IST, Paul 
Menzel  wrote:  
 
 [Sorry for this resent to your personal address.]

Dear L,


Am 11.04.22 um 09:28 schrieb lejeczek:

> I must have gone blind cause can't find it in man page and to my 
> surprise internet search does not help or my quering is broken.
> 'systemctl' can show status for specific NM connection - what was that?

Does NM mean NetworkManager?

> - and can 'journalctl' do the same? (or was it the opposite way?)

To my knowledge there is no such integration from NetworkManager and 
systemctl. You can only check if NetworkManager is running with

    systemctl status NetworkManager

`networkctl` can show you information about the network configuration, 
also when it’s not managed by systemd-networkd.

Lastly, NetworkManager also ships `nmcli` and `nmtui`, you can use on 
the command line.


Kind regards,

Paul


PS: Next time, if you write an email to several hundreds/thousands of 
people, it’d be great if you could elaborate a little more.
  

Re: [systemd-devel] trivial net connection logs - ?

2022-04-11 Thread Paul Menzel

[Sorry for this resent to your personal address.]

Dear L,


Am 11.04.22 um 09:28 schrieb lejeczek:

I must have gone blind cause can't find it in man page and to my 
surprise internet search does not help or my quering is broken.

'systemctl' can show status for specific NM connection - what was that?


Does NM mean NetworkManager?


- and can 'journalctl' do the same? (or was it the opposite way?)


To my knowledge there is no such integration from NetworkManager and 
systemctl. You can only check if NetworkManager is running with


systemctl status NetworkManager

`networkctl` can show you information about the network configuration, 
also when it’s not managed by systemd-networkd.


Lastly, NetworkManager also ships `nmcli` and `nmtui`, you can use on 
the command line.



Kind regards,

Paul


PS: Next time, if you write an email to several hundreds/thousands of 
people, it’d be great if you could elaborate a little more.


Re: [systemd-devel] trivial net connection logs - ?

2022-04-11 Thread Tomasz Torcz
On Mon, Apr 11, 2022 at 08:28:28AM +0100, lejeczek wrote:
> Hi gents
> 
> I must have gone blind cause can't find it in man page and to my surprise
> internet search does not help or my quering is broken.
> 'systemctl' can show status for specific NM connection - what was that? -
> and can 'journalctl' do the same? (or was it the opposite way?)

  There's no such integration, although there are some options:

  - `nmcli`, and `nmcli c` in particualar, native NM tool to manage
connections

  - `networkctl` can show information about interface, including the
ones managed by NM

  - NM put some additional fields in journal, you can filter on them
with for example `journalctl NM_DEVICE=wlp61s0`; to see more fields use
something like:
`journalctl -u NetworkManager -o export | grep ^NM_`

  - some distribution (Arch?) have a generator creating a instance unit
for each interface, but I do not know specifics

-- 
Tomasz Torcz   RIP is irrevelant. Spoofing is futile.
to...@pipebreaker.pl Your routes will be aggreggated. -- Alex Yuriev