GithubHelp home page GithubHelp logo

Comments (29)

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

Please help?

from hotspotd.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

Can you show me the console output of hotspotd when you start it?

from hotspotd.

konsbn avatar konsbn commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

Is there nothing I can do meanwhile? Because everything is the same it used to work on 14.04.

from hotspotd.

konsbn avatar konsbn commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

damn, what it should be doing? and what could I do?

from hotspotd.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

using sudo ifconfig wlan0 up IP 103.37.201.63 netmask 255.255.255.0 gives me IP: Host name lookup failure

from hotspotd.

konsbn avatar konsbn commented on June 7, 2024

There's no response on elementary OS stack exchange

from hotspotd.

prahladyeri avatar prahladyeri commented on June 7, 2024

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:

https://www.reddit.com/r/linuxmasterrace/comments/3y2cfo/ubuntu_vs_elementaryos_vs_linux_mint_cinamon_vs/

Might I ask why do you want to use Elementary instead of Ubuntu?

from hotspotd.

konsbn avatar konsbn commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

konsbn avatar konsbn commented on June 7, 2024

I am tired of this shit. Ubuntu is moving away from desktop computing and No other good replacement is available.

from hotspotd.

prahladyeri avatar prahladyeri commented on June 7, 2024

How about Debian and Fedora? There is also Linux Mint, all are desktop oriented.

from hotspotd.

konsbn avatar konsbn commented on June 7, 2024

I do not like fedora's package manager. And I don't know maybe I am too used to ubuntu based systems

from hotspotd.

konsbn avatar konsbn commented on June 7, 2024

What do you use?

from hotspotd.

prahladyeri avatar prahladyeri commented on June 7, 2024

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.

tchaler2017 avatar tchaler2017 commented on June 7, 2024

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.

prahladyeri avatar prahladyeri commented on June 7, 2024

Closing as there has been no activity.

from hotspotd.

Related Issues (20)

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.