mirror of https://framagit.org/kyodev/kyopages.git
maj
This commit is contained in:
parent
5242eddea1
commit
6953ef435b
|
@ -4,6 +4,7 @@
|
|||
> * l'installation du script est possible en option. il se mettra alors éventuellement à jour automatiquement
|
||||
> * l'option -us permet la mise à jour du script en place, sans installation et sans test ultérieur de
|
||||
nouvelle version
|
||||
> * jusqu'à en trouver un, les utilitaires suivants seront utilisés: dig (dnsutils) / wget / curl / telnet / nc
|
||||
|
||||
|
||||
## chargement du script:
|
||||
|
@ -19,9 +20,14 @@ chmod +x getIp
|
|||
## help
|
||||
`./getIp -h` ou `getIp -h` (si installé)
|
||||
```text
|
||||
_ ___
|
||||
__ _ ___| |_|_ _|_ __
|
||||
/ _' |/ _ \ __|| || '_ \
|
||||
| (_| | __/ |_ | || |_) |
|
||||
\__, |\___|\__|___| .__/
|
||||
|___/ |_|
|
||||
|
||||
getIp 1.15.0
|
||||
|
||||
1.16.0 - 4/12/2017
|
||||
----------------------------------------------------------------------
|
||||
./getIp : exécution normale
|
||||
getIp : exécution normale si script installé dans le système
|
||||
|
@ -31,9 +37,13 @@ chmod +x getIp
|
|||
|
||||
options:
|
||||
-h, --help : affichage aide
|
||||
|
||||
-4, --ip4 : affiche ipv4 public
|
||||
-6, --ip6 : affiche ipv6 public
|
||||
|
||||
-46 --public : afiche ipv4 & ipv6 public
|
||||
'', --local : affiche adresses mac / ip privées / passerelle
|
||||
|
||||
-us : upgrade spécial du script (pas de mise à jour auto, maj du script en place)
|
||||
|
||||
-i, --install : installation du script dans le système
|
||||
|
@ -49,6 +59,14 @@ chmod +x getIp
|
|||
|
||||
`./getIp` ou `getIp` (si installé)
|
||||
```text
|
||||
_ ___
|
||||
__ _ ___| |_|_ _|_ __
|
||||
/ _' |/ _ \ __|| || '_ \
|
||||
| (_| | __/ |_ | || |_) |
|
||||
\__, |\___|\__|___| .__/
|
||||
|___/ |_|
|
||||
|
||||
1.16.0 - 4/12/2017
|
||||
|
||||
ip locale(s):
|
||||
192.168.1.129/24 ( wlp1s0 ) (wifi)
|
||||
|
@ -63,6 +81,19 @@ chmod +x getIp
|
|||
```
|
||||
|
||||
|
||||
## IP publiques
|
||||
|
||||
`./getIp -46` ou `getIp -46` (si installé)
|
||||
```text
|
||||
185.126.105.135
|
||||
2a01:e0c:8bd5:13b0:e8ef:5cdb:f9a8:d308
|
||||
```
|
||||
ou
|
||||
```text
|
||||
pas de connectivité ipv4
|
||||
pas de connectivité ipv6
|
||||
```
|
||||
|
||||
## IP publiques ipv4
|
||||
|
||||
`./getIp -4` ou `getIp -4` (si installé)
|
||||
|
|
Loading…
Reference in New Issue