GithubHelp home page GithubHelp logo

Comments (8)

prahladyeri avatar prahladyeri commented on June 14, 2024

Hey Aurabindo,
Thanks for reporting this bug! Can you please let me know the python output for platform.linux_distribution() on both these distros, so I can include them in the exception list? You can find that by issuing this command in the terminal:

python -m "platform" -c "print platform.linux_distribution()"

from hotspotd.

aurabindo avatar aurabindo commented on June 14, 2024

Hello,
In archlinux, it is Linux-3.17.6-1-ARCH-x86_64-with-glibc2.2.5
In fedora 21, it is Linux-3.17.7-300.fc21.x86_64-x86_64-with-fedora-21-Twenty_One

Rather than checking it for all individual distros, isnt it better to do it without such a check at the first place until the bug is resolved with hostapd ? Since these distros represent the bleeding edge, then all other distros may be having the same problem.

I also forgot to report one more problem. I'll open another issue.

from hotspotd.

prahladyeri avatar prahladyeri commented on June 14, 2024

Hey aurobindo,

Rather than checking it for all individual distros, isnt it better to do it without such a check at the first place until the bug is resolved with hostapd ?

Yup, I like that suggestion. I've implemented the same in 0.1.5 build. Can you install and test in your distros:

https://github.com/prahladyeri/hotspotd/raw/master/dist/hotspotd-0.1.5.tar.gz

Once you confirm, I'll update the Python package index with the new version.

I'm looking into the other issue you have raised.
Thanks for helping make hotspotd better.

from hotspotd.

aurabindo avatar aurabindo commented on June 14, 2024

I just tested it on archlinux and there is one more problem to be addressed. NetworkManager changed its cli interface. So on archlinux, nmcli nm wifi off will not work. It needs to be nmcli radio wifi off or the shortform nmcli r w on.

nmcli --version for me is nmcli tool, version 0.9.10.1 on archlinux.

from hotspotd.

prahladyeri avatar prahladyeri commented on June 14, 2024

In the latest build, I've checked to see if nmcli radio works first. And if it results in error, I'll resort to nmcli nm. Can you try this out on arch? (Setup file url is same as before)

    result = cli.execute_shell('nmcli radio wifi radio off')
    if "error" in result.lower():
        cli.execute_shell('nmcli nm wifi off')

from hotspotd.

aurabindo avatar aurabindo commented on June 14, 2024

nmcli radio wifi radio off is incorrect. It should be nmcli radio wifi off

A typo ? :P

from hotspotd.

prahladyeri avatar prahladyeri commented on June 14, 2024

A typo ? :P

Yup. Sorry abt that. I've fixed it and rebuilt.
Please test and confirm whether its working.

from hotspotd.

prahladyeri avatar prahladyeri commented on June 14, 2024

Closing this bug, since there is no news for a long time.

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.