Hello guys,
Thank you for such a great helping tool. once i discovered its benefits i took the step and began installing Kali linux system on vmware.
Right after finishing the installation i configured a static ip address for the system in: /etc/network/interface file
and executed the pi-hole installation command:
curl -L https://install.pi-hole.net | bash
but the installation process interrupted showing this error:
:: Unable to locate configuration file to set static IPv4 address !
Can anybody points me to the right direction if i have to do further steps just before beginning the installation.
Thanks for your support guys
zuke
September 23, 2016, 12:09am
2
Going to bump this.
I have the same issue, and searching everywhere gets nothing. Google searching the error actually only pulls this post and the GitHub listing of the code where this error resides.
Has anyone else seen this?
Since we don't officially support the Kali Linux distribution, you may find some better guidance with their support forum and finding out how they set their static IP addresses. We use dhcpcd5, which is what Raspbian ships with, they may not use that same package.
zuke
September 23, 2016, 11:50am
4
Thanks for the reply! I'm actually using Debian on phpVirtualBox. I've run this setup before and haven't had issues, but this time it's giving me a real headache.
Hey @zuke ...
Try this thread, might be a similar issue:
opened 07:06AM - 22 Sep 16 UTC
closed 11:42AM - 23 Sep 16 UTC
Issue: External issue
First scenario i'm install curl
`apt-get install curl`
and when i run
`curl -L… https://install.pi-hole.net | bash`
i got error message:
```
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5719 0 5719 0 0 11419 0 --:--:-- --:--
bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!DOCTYPE html>'
:-- --:--:-- 11415
(23) Failed writing body
```
---
second scenario i'm install curl
`apt-get install curl`
and run command
`curl -L https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh | bash`
```
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0:::
::: You are root.
100 34785 100 34785 0 0 77461 0 --:--:-- --:--:-- --:--:-- 77472
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your pi is up to date! Continuing with pi-hole installation...
:::
::: Checking installer dependencies...
::: Checking for apt-utils... already installed!
::: Checking for whiptail... already installed!
::: Checking for dhcpcd5... Not found! Installing.... done!
::: Using interface: eth0
::: Warning: Unable to locate configuration file to set static IPv4 address!
```
FYI: i'm using debian 8 jessie amd64 with gui (download from debian website)
---
yesterday i already test install on my raspberry without any error
FYI: RASPBIAN JESSIE from raspberry website
1 Like
jdrx99
January 23, 2023, 10:26pm
7
curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash
this command will work and make the install successful.
source: Prerequisites - Pi-hole documentation