GithubHelp home page GithubHelp logo

myspotishot's Introduction

TO DO!!!

Need to change linux versions from Upstart to just running the script or using init.d instead. Too many conflicts with Canonical's Upstart...

MySpotIsHot (linux)

WiFi hotspot setup script for Ubuntu 12.10+

Start the script::

$ ./Myspotishot.sh

If for some chance it is not executable::

$ chmod u+x Myspotishot.sh

The script will guide you through the setup.

After finishing with the setup you should have an Upstart job available. You can start the hotspot the following way:

$ sudo start myspotishot

or

$ sudo sh /usr/sbin/myspotishot.sh

Stop the hotspot:

$ sudo stop myspotishot

Check the status:

$ sudo status myspotishot

TO-DO:


  • adding the option to make the service run at system startup
  • check for available wlan adapters and choose one
  • check for ethernet adapter connecting to the internet
  • tbd

MySpotIsHot (Windows 8+)

Download MySpotIsHot.bat

Right click, run as Administrator and follow the setup instructions. It should guide you through :).

MySpotIsHotGUI beta...

Ubuntu 13.04

Runs with gtkdialog!

Automagical install:

For ubuntu users, haven't tried for other gnome users, to do everything automatically CTRL-ALT-T to open terminal and paste this in::

wget https://raw.github.com/Krofek/MySpotIsHot/master/installgui.sh && chmod +x installgui.sh && ./installgui.sh

This will download the application, create a menu item, make a policy for launching with pkexec. After the setup finishes, you should be able to launch the application via the menu (MySpotIsHot - inculdes an ugly icon) or by typing in the console::

pkexec myspotishot

This should be it.

Manual install:

Install required packages:

* GtkDialog 0.8.3

If you need to install gtkdialog manually:

svn checkout http://gtkdialog.googlecode.com/svn/trunk/ gtkdialog
cd gtkdialog
./autogen.sh
make
sudo make install

Fom compiling and installing gtkdialog, you'll probably need:

* autoconf
* libgtk2.0-dev
* bison

MySpotIsHotGUI needs the following packages:

* hostapd
* dnsmasq
* iw

Either clone the entire repo:

git clone https://github.com/Krofek/MySpotIsHot.git

or download just the GUI script:

wget https://raw.github.com/Krofek/MySpotIsHot/master/MySpotIsHotGUI.sh

Run script as root!

# sh MySpotIsHotGUI.sh

Screenshot:

alt tag

TO-DO:


  • nicer and better button positions
  • grey out wlan adapter combobox if wlan adapter doesnt support AP mode (also popup window shows with text saying it)
  • if you have any suggestions about anything
  • Advenced option: remain authenticated, locales, ht capabilities (HT20, HT40, etc), make invisible, more
  • ban mac adress

myspotishot's People

Contributors

krofek avatar offlinehacker avatar

Stargazers

FS.IO avatar Kayse avatar ERT CLEE avatar  avatar John Howard avatar Aaron Meriwether avatar Tamás Barta avatar  avatar Gerit Wagner avatar Lucas Pereira Brígida avatar  avatar

Watchers

James Cloos avatar Tamás Barta avatar  avatar  avatar

Forkers

dacs01 otilrac

myspotishot's Issues

The file "installgui.sh" has conflict.

Error message:

./installgui.sh: line 54: syntax error near unexpected token `<<<'
./installgui.sh: line 54: `<<<<<<< HEAD'

line 54

<<<<<<< HEAD
    echo -e -n "[Desktop Entry]\nComment=Setup and create a WiFi AP\nTerminal=false\nName=MySpotIsHot\nExec=pkexec myspotishot\nType=Application\nIcon=$HOME/.myspot/myspoticon.jpg\nCategories=Internet;" > $HOME/.local/share/applications/myspotishot.desktop
=======
    echo -e -n "[Desktop Entry]\nComment=Setup and create a WiFi AP\nTerminal=false\nName=MySpotIsHot\nExec=pkexec myspotishot\nType=Application\nIcon="$HOME"/.myspot/myspoticon.jpg\nCategories=Internet;" > $HOME/.local/share/applications/myspotishot.desktop
>>>>>>> 9f15f2f002e7e894eda1824044b455a57235aebf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.