whereami

Automatically reconfigure your (laptop) system for a new location

Install

All systems
curl cmd.cat/whereami.sh
Debian Debian
apt-get install whereami
Ubuntu
apt-get install whereami
image/svg+xml Kali Linux
apt-get install whereami
Fedora
dnf install whereami
Windows (WSL2)
sudo apt-get update sudo apt-get install whereami
Raspbian
apt-get install whereami

whereami

Automatically reconfigure your (laptop) system for a new location

whereami is a set of useful scripts and a coordinating system for automatically re-locating your computer within the current (network) environment. Typically, you would use whereami to automatically detect and re-configure your laptop when you move between a variety of diverse networks and/or docking environments. Although whereami will work best if all of your networks assign addresses through dhcp, this is not a pre-requisite and the system allows any technique to be used to ascertain the new location with as little ongoing user intervention as possible. Having ascertained the correct location, whereami will run appropriate (user-configured) scripts to adjust the laptop operation to suit the current environment. See the man pages for more information. You may also get useful assistance from the debian-laptop mailing list, which is frequented by several of the users and contributors.