Coder Social home page Coder Social logo

Comments (7)

jrmhaig avatar jrmhaig commented on September 13, 2024 1

For a short period there was a problem with the setup script although it was quickly fixed. If, by chance, you set up the Pi while it was broken you may have a problem with your sudoers file. Can you check if you have these lines (edit with sudo visudo:

www-data ALL=(ALL) NOPASSWD:/sbin/ifdown wlan0
www-data ALL=(ALL) NOPASSWD:/sbin/ifup wlan0
www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wpa_supplicant/wpa_supplicant.conf
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant.conf
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan_results
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli reconfigure
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf
www-data ALL=(ALL) NOPASSWD:/etc/init.d/hostapd start
www-data ALL=(ALL) NOPASSWD:/etc/init.d/hostapd stop
www-data ALL=(ALL) NOPASSWD:/etc/init.d/dnsmasq start
www-data ALL=(ALL) NOPASSWD:/etc/init.d/dnsmasq stop
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf
www-data ALL=(ALL) NOPASSWD:/sbin/shutdown -h now
www-data ALL=(ALL) NOPASSWD:/sbin/reboot

What happens if, from a command line, you try these two commands:

sudo -u web-data sudo /etc/init.d/hostapd start
sudo -u web-data sudo /sbin/ifup wlan0

Finally, can you see if there are any errors that might be relevant in /var/log/lighttpd/error.log. Thanks.

from raspap-webgui.

jrmhaig avatar jrmhaig commented on September 13, 2024 1

I don't know if this is the problem (I would be surprised if it is RPi 3 specific) but I have just tried running the installer on a newly installed and fully updated Pi and am encountering problems. I'm working on the branch https://github.com/billz/raspap-webgui/tree/improve_installer if you want to see how far I am getting.

from raspap-webgui.

jrmhaig avatar jrmhaig commented on September 13, 2024

Can you specify what isn't working? I hate to say "works for me" but, erm, it "works for me". :-)

from raspap-webgui.

pyroclasticflux avatar pyroclasticflux commented on September 13, 2024

Having similar issue (RPi3B). Dashboard tells me "interface is down" (it's not). Starting wlan0 via dashboard button does nothing. Hotspot config tells me "HostAPD is not running" (it is). Again button yields no result (get a message "Attempting to start hotspot", but besides that nothing).

Dnsmasq is behaving nicely and all the buttons work.

Works fine on an RPi1B for me with same method.

One problem seems to be that ifup is not able to read /etc/network/interfaces properly. Its a clean raspbian install and after that I only followed steps to install raspap, don't know what went wrong.

from raspap-webgui.

khromov avatar khromov commented on September 13, 2024

+1 @pyroclasticflux

from raspap-webgui.

PureGrain avatar PureGrain commented on September 13, 2024

#One thing I've found that may help is adding this to the bottom of the hostapd.conf for Raspi 3

ieee80211n=1 # 802.11n support
wmm_enabled=1 # QoS      @####support
ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40]

#57

from raspap-webgui.

billz avatar billz commented on September 13, 2024

Closing this as fixes from #42 and #57 have been merged. Please reopen if the issue appears on other hardware revisions, thanks.

from raspap-webgui.

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.