|
|
@ -27,3 +27,12 @@ Disabling works accordingly by running:
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
ip link set wlan0 down
|
|
|
|
ip link set wlan0 down
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Get Outside IP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For VPN and other applications using a tunnel it can be useful to check the
|
|
|
|
|
|
|
|
outside IP of your system.
|
|
|
|
|
|
|
|
Together with `awk` only the outside IP address can be displayed.
|
|
|
|
|
|
|
|
This is done with the command `ip route get 1.2.3.4 | awk '{print $7}'`.
|
|
|
|
|
|
|
|
Alternatively it can be done without `awk` by simply running the command
|
|
|
|
|
|
|
|
`ip route get 1.2.3.4` and checking for the seventh column.
|
|
|
|