Comments (29)
The error comes on the host machine of the AP? Which means internet works ok on your mobile phone that connects to AP or it doesn't come there too?
I think you have got two wifi interfaces - one you are using to connect to internet, and second is used by hotspotd to create the AP. Please confirm if this is true?
from hotspotd.
No the DNS error is on both the mobile device and the Host Computer. I am using Ethernet to connect to the internet. I am not using wifi to access internet.
from hotspotd.
Please help?
from hotspotd.
hotspotd depends on dnsmasq
for DNS resolution and address provisioning, do you have it installed on your system? Check by running dnsmasq -v
.
If its not installed, then install it and try again. If its already installed, then reinstall the package and try again.
from hotspotd.
I have dnsmasq installed.
`➜ ~ dnsmasq -v
Dnsmasq version 2.68 Copyright (c) 2000-2013 Simon Kelley
Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth
This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.
`
It used to work fine on ubuntu 14.04 when I reinstalled elementary it's giving me trouble
from hotspotd.
Can you show me the console output of hotspotd when you start it?
from hotspotd.
It starts normally and doesn't throw any errors. I can connect to the hotspot but I get DNS error on both my android and on Ubuntu
from hotspotd.
In that case, it appears to be some kernel/OS level issue introduced in elementary. Try to raise this with elementry support and provide them with the output of /var/log/syslog
to trace the DNS issue.
from hotspotd.
Is there nothing I can do meanwhile? Because everything is the same it used to work on 14.04.
from hotspotd.
Here is the out put of cat /var/log/syslog log.txt On a side note even though my internet doesn't work after start hotspotd
my torrent client is working just fine with downloads.
from hotspotd.
On a side note even though my internet doesn't work after start hotspotd my torrent client is working just fine with downloads.
That sounds very much like a firewall issue to me. Check your firewall settings using sudo iptables -L
and other methods of Elementary OS.
edit
Especially check that outgoing UDP port 53 and TCP ports 80 & 443 are open. The former should be open for DNS and latter for Internet browsing.
from hotspotd.
I tried sudo ufw allow 53/udp
and 'sudo ufw allow 80/tcpand 'sudo ufw allow 443/tcp
. Still no change the DNS error keeps propping up. Here is the output from sudo netstat -ntlp | grep LISTEN
```➜ ~ sudo netstat -ntlp | grep LISTEN
[sudo] password for sbn:
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 2021/dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1120/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1859/cupsd
tcp6 0 0 ::1:53 :::* LISTEN 1120/dnsmasq
tcp6 0 0 ::1:631 :::* LISTEN 1859/cupsd
from hotspotd.
What happens when you run the following command manually?
ifconfig <wlan> up IP <ipaddr> netmask 255.255.255.0
Replace <wlan>
with your wifi interface and <ipaddr>
with your ip-address?
from hotspotd.
This-
➜ ~ ifconfig wlan0 up IP 103.37.201.63 netmask 255.255.255.0
SIOCSIFFLAGS: Operation not permitted
IP: Host name lookup failure
ifconfig:
--help' gives usage information.`
from hotspotd.
You've got a much larger networking issue with ifconfig
not working as it should be 😄 . Try to get this resolved first from the Elementary team first.
Basically, this is what hotspotd
does internally first - try and bring up your wifi interface so it can create the ap. As a workaround, try running this command first and then hotspotd using sudo
and see if that helps.
from hotspotd.
damn, what it should be doing? and what could I do?
from hotspotd.
It should not be saying Operation not permitted
if everything works properly. As I said, try running hotspotd in sudo mode and try raising the ifconfig issue with elementary team. Those are the only things you could presently do.
from hotspotd.
using sudo ifconfig wlan0 up IP 103.37.201.63 netmask 255.255.255.0
gives me IP: Host name lookup failure
from hotspotd.
There's no response on elementary OS stack exchange
from hotspotd.
Elementary is buggy and gets even buggier when you try to customize or use less used features like dns servicing or hostapd. Refer to below article for a discussion on this:
Might I ask why do you want to use Elementary instead of Ubuntu?
from hotspotd.
Because I am an idiot that's why I thought maybe I should give elementary a try. Plus I tried ubuntu 16.04 but I couldn't ger driver:brcmsmac to work. so yeah.
from hotspotd.
16.04 isn't quite ready for the show yet, it will be once 16.04.1 comes out. Until then, stick with Ubuntu 14.04 LTS - proven and time-tested.
from hotspotd.
I am tired of this shit. Ubuntu is moving away from desktop computing and No other good replacement is available.
from hotspotd.
How about Debian and Fedora? There is also Linux Mint, all are desktop oriented.
from hotspotd.
I do not like fedora's package manager. And I don't know maybe I am too used to ubuntu based systems
from hotspotd.
What do you use?
from hotspotd.
If you are used to ubuntu based systems, you can certainly handle Debian Stable and also Linux Mint. Try either of them, they are mainstream so you won't have any issues. More importantly, their support forums are good, so you usually receive quick replies.
from hotspotd.
I am getting the same error as Konsbn, DNS error is on both the mobile device and the Host Computer. when i tried this command ifconfig up IP netmask 255.255.255.0 the result is:
IP: Unknown host.
i have installed dnsmasq and the verion is 2.78. i am using kali linux 2018.1. Need help!!!!!
from hotspotd.
Closing as there has been no activity.
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.