Re: Explanation on using ZSCP Auto Login

Home Page Forums Network Management ZeroShell Zeroshell Auto Login – Script Re: Explanation on using ZSCP Auto Login

#47458

j2fet
Member

Explanation on using Zeroshell Captive Portal Auto Login

Step 0.1 – Get http://aljufry.org/zeroshell/zscp-autologin-makecfg.py
Step 0.2 – Get http://aljufry.org/zeroshell/zscp-autologin.py

Condition 1 – Windows/Linux was installed with python
1.Execute $python ~/zscp-autologin-makecfg.py to create the configuration file needed. Answer the questions. Run once or whenever you feel like doing so.
2.Execute $python ~/zscp-autologin.py
3.Put the line below in user’s ~/.bashrc file for automatic login in Linux (sort of…)
python ~/zscp-autologin.py

Condition 2 – Windows was not installed with python and you want to have the exe version
1.Download and install python from http://www.python.org/download/
2.Download and install py2exe for the same python version that you’ve installed in Step 1 from http://sourceforge.net/projects/py2exe/
3.You need to create a file called setup.py which looks like:

from distutils.core import setup
import py2exe
setup (version = “0.1”,
name = “zscp-autologin”,
console = [“zscp-autologin.py”])

Then run:
C:zscp>python setup.py py2exe

The executable and DLLs will appear in the “dist” subdirectory of your current working directory. Proceed with Condition 3, Step 2-4.

Condition 3 – You trust ZSCP-autologin so much, that you don’t mind getting the binaries from a stranger
I’ve compiled using py2exe-2.6 and put it up at http://aljufry.org/zeroshell/zscp-autologin.zip
1.Extract the zip file and cd to it
2.Execute C:zscp>zscp-autologin-makecfg.exe to create the configuration file needed. Answer the questions. Run once or whenever you feel like doing so.
3.Execute C:zscp>zscp-autologin.exe
4.Put the symlink in Windows Startup for automatic login (sort of…)

Good luck for any of the 3 conditions…

You may check the updates in http://code.google.com/p/zeroshell-autologin/ as well.