Comments (4)
Hi Fattierob,
Thanks for reporting this.
Firstly, did you install it to default python location or did you give a prefix? Cause in case of former, it should have picked up the hotspotd module. The first error indicates that hotspotd module could not be found.
In the second-last snippet, where it says "hotspotd is already running" did it ask for any configuration values before (like SSID, password, etc.) ?
Cheers,
Prahlad
from hotspotd.
And one more thing. What python version are you using? Can you paste output of python --version
from hotspotd.
Hey sorry for the late reply missed the e-mail notifying me.
I didn't use the apt-get package version I used the wget version - I untar'd it to ~root/hotspotd-0.1
and then ran python setup.py install
. That also seems to be the only folder where I can run hotspotd <cmd>
without the error.
Yes the second snippet was meant to show that I already had set it up and had it running, sorry! It did indeed ask for configuration values and I entered them in and it worked flawlessly. It was only when I tried running the command out of root did I notice the issue.
root@test:~/hotspotd-0.1# python --version
Python 2.7.3
from hotspotd.
Thanks for writing.
The error basically occurred because in the startup-script file (/usr/local/bin/hotspotd
) I've specified:
python -m hotspotd $*
In your scenario (~root) it expects the entire package.module syntax:
python -m hotspotd.hotspotd $*
Now this is quite an erratic behavior as it expects the first statement in some scenarios and the second in case of others. There is no one statement that works in both scenarios. I've registered a question for this on stackoverflow which is unanswered yet. Lets see what happens!
from hotspotd.
Related Issues (20)
- Not an issue just a question? HOT 7
- installation failure HOT 1
- prompts "not installed" after succesfull installation on sbc HOT 2
- Refactored version available HOT 1
- Slave Raspberry Pi with Arduino HOT 1
- Works very well! [Adding basic web server] HOT 4
- How to create a hotspot without password? (No password required)? HOT 2
- How can i configure wlan to get internet connection from ethernet? HOT 3
- Does it work on Ubuntu 18.04? HOT 3
- Hotspot not being detected by android phone HOT 3
- Not an issue, a question HOT 5
- Starting hotspotd turns off Wifi Connection HOT 1
- Not an issue, a doubt HOT 1
- Edit the source code HOT 2
- Permission denied !! HOT 1
- Mobile connected to the the network but no internet access HOT 1
- Who the hell doesn't know print() syntax HOT 3
- how to share my vpn connection or socks5 port over hotspot which created by hotspotd? HOT 1
- ModuleNotFoundError: No module named 'cli' HOT 1
- Kali linux Machine hotspot issue. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotspotd.