wifidog / wifidog-auth

Repository for the PHP wifidog captive portal auth server
194 stars 121 forks source link

first time password #22

Open huhas12 opened 3 years ago

huhas12 commented 3 years ago

hello,

trying setup with install.php but cant locate dog_cookie.txt in /tmp/ folder, as it is empty, so I cant use password to proceed.

I assume that the /tmp/ should be in my server's /var/www/html/wifidog-auth/wifidog folder.

SohailAsghar236 commented 4 months ago

Hi!

The dog_cookie.txt is inside tmp/system-something-hash-here-apache/tmp folder.

  1. Navigate to /etc using cd /etc and go one step back using cd ..

  2. Then go to cd /tmp/ and check which folder matches apache by using ls command.

  3. Once you are in tmp/system-something-hash-here-apache folder, go to tmp inside this folder and there will be dog_cookie.txt.