Jump to content

Search the Community

Showing results for tags 'fix'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Talk
    • Everything Else
    • Gaming
    • Questions
    • Business and Enterprise IT
    • Security
    • Hacks & Mods
    • Applications & Coding
    • Trading Post
  • WiFi Pineapple
    • WiFi Pineapple TETRA
    • WiFi Pineapple NANO
    • WiFi Pineapple Mark V
    • WiFi Pineapple Mark IV
    • Pineapple Modules
    • WiFi Pineapple University
    • WiFi Pineapples Mark I, II, III
  • Hak5 Gear
    • Hak5 Cloud C²
    • Plunder Bug
    • Bash Bunny
    • Signal Owl
    • USB Rubber Ducky
    • Packet Squirrel
    • LAN Turtle
    • Screen Crab
  • Hak5 Shows
    • Hak5
    • HakTip
    • Metasploit Minute
    • Threatwire
  • Community
    • Forums and Wiki
    • #Hak5
  • Projects
    • SDR - Software Defined Radio
    • Community Projects
    • Interceptor
    • USB Hacks
    • USB Multipass
    • Pandora Timeshifting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Enter a five letter word.

Found 2 results

  1. On our devices it is possible to run Python code, but even a simple "Hello World" Python script can take up 6-8 seconds to run, at worst! Investigations seems to show that all Python modules are kept in .py source code, and is compiled in memory on each run. (To save space i guess) Due to having alot of modules and that we're using small embedded devices, this causes delays in even the simplest of Python-related code! Example: Alot of the python scripts on my Mana Toolkit is slow, and causes the CPU-usage to sky-rocket. So what can we do do 'fix' this? Open a SSH terminal to your Pineapple and issue this command: python -m compileall This causes python to pre-compile all your python modules to .pyc-files. Which is located at: /usr/lib/python2.77 This fix is relative straight-forward on the TETRA. On the NANO we're better of moving that directory to the SD-card and issue a sym-link from that directory to: /usr/lib/python2.7 before we run the commmand. (Saves internal storage) For example like this: mv /usr/lib/python2.7 /sd/usr/lib/python2.7 ln -s /sd/usr/lib/python2.7 /usr/lib/python2.7 python -m compileall You can also pre-compile the python files within the directory you're inside by using the same command, but adding a dot at the end, like this: python -m compileall . This was a huge improvement for me. Hope it can be of usage for you guys :)
  2. hello everyone, i just got my wifi pineapple a few weeks ago. i have been trying to troubleshoot it myself but i just cant seem to figure out what is going on with my nano. i set it up correctly and followed the directions like i was supposed to. then when i go to run the guided setup everything goes smooth until it tells me to connect my pineapple to my computer. i connect it but it doesnt seem to recognize it. now i connected it to my laptop and can go to the website with it and its fine but in order for me to connect it to the internet my computer for some reason will not recognize it . if anyone can help me that would be very much appreciated. thank you!
×
×
  • Create New...