mirror of https://framagit.org/kyodev/kyopages.git
1.6.0
This commit is contained in:
parent
e9b8c12a24
commit
307741309e
|
@ -15,8 +15,8 @@ chmod +x getIp
|
|||
## help
|
||||
`./getIp -h` ou `getIp -h` (si installé)
|
||||
```text
|
||||
|
||||
getIp 0.7.0
|
||||
|
||||
getIp 1.6.0
|
||||
|
||||
----------------------------------------------------------------------
|
||||
./getIp : exécution normale
|
||||
|
@ -29,7 +29,7 @@ chmod +x getIp
|
|||
-h, --help : affichage aide
|
||||
-4, --ip4 : affiche ipv4 public
|
||||
-6, --ip6 : affiche ipv6 public
|
||||
"", --local : affiche ip / passerelle privées
|
||||
'', --local : affiche ip / passerelle privées
|
||||
|
||||
-i, --install : installation du script dans le système
|
||||
-r, --remove : suppression du script dans le système
|
||||
|
@ -42,8 +42,14 @@ chmod +x getIp
|
|||
|
||||
`./getIp` ou `getIp` (si installé)
|
||||
```text
|
||||
ip 192.168.1.129 pour wlp1s0
|
||||
passerelle 192.168.1.5 pour wlp1s0
|
||||
|
||||
ip locale(s):
|
||||
192.168.1.129/24 ( wlp1s0 ) (wifi)
|
||||
fe80::96a8:dcbc:b798:370/64 ( wlp1s0 ) (wifi)
|
||||
|
||||
passerelle(s):
|
||||
192.168.1.5 ( wlp1s0 ) (wifi)
|
||||
|
||||
```
|
||||
## IP publiques ipv4
|
||||
|
||||
|
@ -58,6 +64,10 @@ passerelle 192.168.1.5 pour wlp1s0
|
|||
```text
|
||||
2a01:e0c:8bd5:26b0:e8ef:5bdb:f7a8:d308
|
||||
```
|
||||
ou
|
||||
```text
|
||||
pas de connectivité ipv6
|
||||
```
|
||||
|
||||
## installation et exploitation du script
|
||||
|
||||
|
@ -68,7 +78,8 @@ passerelle 192.168.1.5 pour wlp1s0
|
|||
automatiquement lancée toutes les semaines si le script est installé.
|
||||
* `getIp -r` **droits root** requis. Suppression du script du système.
|
||||
* `getIp -v` affiche la version du script et la version en ligne.
|
||||
|
||||
|
||||
|
||||
## sources
|
||||
|
||||
sur [framagit](https://framagit.org/kyodev/kyopages/blob/master/scripts/getIp)
|
||||
|
|
Loading…
Reference in New Issue