# Discourse-setup uses ifconfig to check the IP address for Let's Encrypt, but it's not available on Debian stretch

**URL:** <https://meta.discourse.org/t/discourse-setup-uses-ifconfig-to-check-the-ip-address-for-lets-encrypt-but-its-not-available-on-debian-stretch/61080>\
**Category:** Bug\
**Created:** [16 Abril, 2017 21:14 UTC](https://meta.discourse.org/t/discourse-setup-uses-ifconfig-to-check-the-ip-address-for-lets-encrypt-but-its-not-available-on-debian-stretch/61080 "2017-04-16T21:14:53Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [17 Abril, 2017 03:19 UTC](https://meta.discourse.org/t/discourse-setup-uses-ifconfig-to-check-the-ip-address-for-lets-encrypt-but-its-not-available-on-debian-stretch/61080/6 "2017-04-17T03:19:19Z")

</div>

> [@chrisc](#):
>
> Debian Stretch doesn’t have ifconfig:

Well, the version that Digital Ocean installs has ifconfig. `hostname -i` on the Digital Ocean droplet I just checked returns 127.0.1.1, so that doesn’t seem helpful.

> [@codinghorror](#):
>
> I wonder how many distros do not have this command?

I don’t remember any in the past 20 years. Apparently, it’s been [deprecated](https://linuxconfig.org/how-to-install-missing-ifconfig-command-on-debian-linux). It seems that `ip -a` is the New Way.

It worked on Centos, which now appears to work with the Docker that ./discourse-setup will install (alas, that script doesn’t actually start Docker, but I can probably fix it so that it will).

It could be that Digital Ocean adds `ifconfig`.

One or both of Debian and Centos are missing `git`.

I think I can do a bit of work and make `./discourse-setup` work for Ubuntu, Debian, and Centos, including installing Docker and `git`.

---

_[View the full topic](https://meta.discourse.org/t/discourse-setup-uses-ifconfig-to-check-the-ip-address-for-lets-encrypt-but-its-not-available-on-debian-stretch/61080)._
