(Setup Guide) Obtain your IP address

Everything you need to download and start your DietPi experience.
User avatar
Site Admin
Posts: 2779
Joined: Tue Feb 06, 2007 1:36 pm

(Setup Guide) Obtain your IP address

Post by Fourdee »

DietPi Obtain IP Address:
In all DietPi guides, we use IP address of This will need to be replaced with your IP address.

- Your current active IP address will show up on the login banner.
- You can re-prompt the banner at any time: /DietPi/dietpi/dietpi-banner 1
dietpi-banner.png (15.15 KiB) Viewed 26866 times
Using DietPi-Config:
- Type dietpi-config in the terminal and press enter.
- Select Networking Options
- Select either Ethernet or Wifi
- Your current IP address will be shown in the top section.
obtain_ip_address.png (16.44 KiB) Viewed 26866 times
You can also obtain your IP address by running:

Code: Select all

ip -o a | grep -E '(eth|wlan)[0-9]' | awk '{print $4}' | sed 's|/.*$||'

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.