Comments (20)
hotspot is created n its showing on the phone but when i connect to hotspotd internet cannot be accessed.
Most probably, it seems to be an issue with iptables. Perhaps your new version of Kali is changing iptables
internally so the hotspotd isn't able to mangle it. What is the output of iptables -L
(in root)?
Also, what version of hotspotd are you using in the first place?
from hotspotd.
m using hotspotd 0.1.5 plus also tried hotspotd 0.1.4
n here is the screenshot of iptables -L
from hotspotd.
If you are able to access internet on this machine, it may be an issue on the handset side. Did you check with multiple handsets/devices?
from hotspotd.
i tried connecting to the hotspot with 3 devices n still cant browse internet.
from hotspotd.
From hotspotd output, the connection is made between wlan0<->eth0
. Are you sure eth0
is the interface that is used to access the internet? If not, then do an ifconfig
to verify which interface are you using for browsing the internet. If it has changed, then run hotspotd with configure
argument once to re-configure it.
from hotspotd.
i am using ethernet to access the internet.
here is Screenshot of ifconfig.
from hotspotd.
In that case, there could be multiple issues, try these out one by one:
-
Run
rfkill list
and make sure that wifi radio is not hard-blocked on your machine. If this command doesn't work, we are seeing a much bigger issue as hotspotd daemon uses rkfill internally to work. -
If rfkill/hardblock isn't the issue, then install the latest 0.1.6 version. I've added a few more debug messages that might help us troubleshoot the issue. Start hotspotd with this new version and let me know the output.
-
If both the above points don't work, we may have to do a step by step debug. The daemon first starts dnsmasq for dhcp provisioning and then starts the hostapd. So, you will have to stop the hotspotd and run dnsmasq manually like this and see what errors it is giving:
dnsmasq --dhcp-authoritative --interface=wlan0 --dhcp-range=192.168.45.20,192.168.45.100,255.255.255.0,4h
from hotspotd.
rfkill list command works well n the output is attached below
i installed the new hotspotd 0.1.6v but same thing is happening. not able to access the internet on my both phones.
i didnt understand the 3rd point which u mentioned.Could u plz elaborate more precisely. sorry but m new to Linux.
when i write the command dnsmasq --dhcp-authoritative --interface=wlan0 --dhcp-range=192.168.45.20,192.168.45.100,255.255.255.0,4h
it gives an error saying already in use
from hotspotd.
i installed the new hotspotd 0.1.6v but same thing is happening.
Even if same thing is happening, lets see its output after running it? I've added some additional things like the complete dnsmasq
command and the hostapd
parameters.
i didnt understand the 3rd point which u mentioned.Could u plz elaborate more precisely.
Well, debugging is a step-by-step procedure to find out where exactly the issue is in a complex program. But don't worry about that, after running the new version, just paste whatever output the script is giving and we will see from there.
from hotspotd.
here is the final output after running hotspotd 0.1.6
from hotspotd.
k. Firstly, copy these two commands from the above console output and keep them in your text editor (they are second/third lines from the end):
dnsmasq --dhcp-authoritative --interface=wlan0......
hostapd -B /usr/local/lib/python2.7......
After that, Stop hotspotd first by running hotspotd stop
and then run the above commands one by one, then state their output.
from hotspotd.
Bro here is the output of both the commands.
from hotspotd.
Carefully run the below commands in su mode one by one and tell me which one of them works:
nmcli nm wifi off
nmcli radio wifi off
from hotspotd.
nmcli nm wifi off - not working
it gives error- Error: Object 'nm' is unknown, try 'nmcli help'.
nmcli radio wifi off -this one is working.
from hotspotd.
Well, I initially thought that inconsistency in nmcli
command might be causing problem in your case, but turns out I've already fixed that before v0.1.5. In your case, there seems to be something hardware specific. If it was working earlier, then the newer Kali update might have introduced something that is causing this. One thing you can try is to stop the network-manager service in this manner before starting hotspotd:
service network-manager stop
This might help if the GNOME network manager is interfering with hotspotd. Other than that, I'm at a loss. Maybe these links might help you if you study them in detail:
http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/comment-page-5/
http://askubuntu.com/questions/319838/failed-to-set-interface-wlan0-into-ap-mode-intel-centrino-n1000-wireless
http://askubuntu.com/questions/472794/hostapd-error-nl80211-could-not-configure-driver-mode
from hotspotd.
No prob bro u tried ur best and Thanks a lot for ur time n ur work . N yeah it was working like a charm in Kali Sana 2.0. Will try later, its 5am n got college from 9 am. keep up the good work n ur knowledge is immense would like to learn from u. thanks anyways. (Y).
from hotspotd.
No probs. The trick of fixing things in linux is just to stick to it. It might take a hundred more attempts, but if you learn it this way, the learning will be ingrained in you and make you a better developer. If you just do apt-get install <package>
, it might work, but you will never know how the stack works at the lower levels. Anyways, all the best for your studies.
from hotspotd.
hi everyone..
i had a issues when i start hotspotd
im already configure ip address,passwrd,also ssid,everything is fine..
i connected with the hotspot,
and here's the problem
1.when hotspotd turn on,my pc automatically turn of wifi connection,so my phone cannot connect to the internet because of that.
2.what shoud i do?
if anyone could help me,what should i tell to you,maybe i should check something to clear this problem?
btw im newbie,thanks-
from hotspotd.
Closing as there has been no activity.
from hotspotd.
I has set up the hotspot and other devices are showing this Pc's name after wifi network searching but even a single device is not able to connect to this network. Btw I'm using Kali Linux. Please help.....
from hotspotd.
Related Issues (20)
- Start and stop hotspotd from a python script? HOT 8
- 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
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.