mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 02:07:15 +00:00
Added docs for ip command (#25737)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
a3748fbe32
commit
3a1356eb9b
@ -111,12 +111,16 @@ sensor:
|
|||||||
## Linux specific
|
## Linux specific
|
||||||
|
|
||||||
To retrieve all available network interfaces on a Linux System, execute the
|
To retrieve all available network interfaces on a Linux System, execute the
|
||||||
`ifconfig` command.
|
`ifconfig` or `ip` command. The command differs based on your operation system and version.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ifconfig -a | sed 's/[ \t].*//;/^$/d'
|
ifconfig -a | sed 's/[ \t].*//;/^$/d'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ip link show
|
||||||
|
```
|
||||||
|
|
||||||
## Windows specific
|
## Windows specific
|
||||||
|
|
||||||
When running this platform on Microsoft Windows, Typically,
|
When running this platform on Microsoft Windows, Typically,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user