_                    _
  ___ | |__   __ _ _______ | |_
 / _ \| '_ \ / _` |_  / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
 \___/|_| |_|\__,_/___\___/ \__|

networktools

Get network information using ifconfig (part of the package net-tools which may need to be installed) or ip.

sudo ifconfig -a
sudo ip add

# ifconfig -a
# ip add

(back to top)

The following URLs work on the command line.

https://icanhazip.com/
https://ipecho.io/plain
https://ifconfig.co/ip
https://ifconfig.me/ip

$ curl https://icanhazip.com/
$ curl https://ipecho.io/plain; echo
$ wget -qO - ifconfig.co/ip
$ lynx -dump ifconfig.me/ip; echo

(back to top)

(back to top)

-s | silent.
-4 | use ipv4.
-6 | use ipv6.
-L | if URL has been moved, request the new location.
-o | output file.
--proxy | set proxy --proxy PROTOCOL://IP[:PORT]
--socks5 | set socks5 proxy --socks5 IP[:PORT]
-H 'Accept-Language: LC' | set accept language for site to LC, eg.: -H 'Accept-Language: es'

(back to top)

- Translate to Spanish.

(back to top)

2026-06-02 : Created.

(back to top)

ohazot | about | ohazot.com <admin@ohazot.com>

OpenBSD 7.9 2026-06-02