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