GithubHelp home page GithubHelp logo

Changes to sudoers file about raspap-webgui HOT 10 CLOSED

jrmhaig avatar jrmhaig commented on May 13, 2024 2
Changes to sudoers file

from raspap-webgui.

Comments (10)

3663 avatar 3663 commented on May 13, 2024

Is this what's giving me a headache trying to get logged into the web GUI? Been faffing about for several hours and have gotten nowhere

from raspap-webgui.

jrmhaig avatar jrmhaig commented on May 13, 2024

This is unlikely.

What problem are you encountering? Are you asked for a username and password or are you not even seeing that? Is this a completely new installation or has this problem just started recently, possibly after a software update?

from raspap-webgui.

3663 avatar 3663 commented on May 13, 2024

Fresh install, used the easy installer. Seems to be working mostly.
It has created an open wireless network called raspi-webgui which is not allowing Internet access. When connected to the network I can browse to the gui login with the specified IP address, but I cannot login.
I have. Created new root users using visudo and have confirmed they have root access.
However I cannot find any login which will be successful to get onto the network config gui, I have also modified the raspap.conf to include these usernames.

from raspap-webgui.

jrmhaig avatar jrmhaig commented on May 13, 2024

The password for the 'admin' user should be 'secret'.
If you can log in to the Pi can you check that the wired device (eth0) is up and has an IP address? And can you ping something on the internet?

from raspap-webgui.

jrmhaig avatar jrmhaig commented on May 13, 2024

Also, can you try the following:

cat /proc/sys/net/ipv4/ip_forward

from raspap-webgui.

3663 avatar 3663 commented on May 13, 2024

SSH into the pi allows me to ping sites and run update/upgrade so it doesn't appear that this is an issue. The baseline pi system is getting Web access over eth0. Isn't the network supposed to be secured with the pasephrase ChangeMe as standard?
Any attempt to login to the web GUI results in failure. Tried admin - secret with varying capital letters and punctuation. Even tried a brute with no success.
I have the pi setup with an assigned static IP for a previous project, not sure if this is tying it in knots. I will try with a fresh raspbian install on another card and see if it's something in my current config causing it.

from raspap-webgui.

jrmhaig avatar jrmhaig commented on May 13, 2024

There should be a copy of raspap.php in /etc/raspap, which contains the default password (see https://github.com/billz/raspap-webgui/blob/master/raspap.php).

If there is a file called /etc/raspap/raspap.auth then this may contain a new password if it has changed. If you find this file exists then the simplest thing would be to delete it.

The default password for the wireless should be 'ChangeMe'. From what you are saying it sounds as though the setup script isn't configuring forwarding from the wlan0 to eth0. Could you please tell me the output from:

cat /proc/sys/net/ipv4/ip_forward

I'll try going through a clean install on an up-to-date Raspbian when I get the chance but it may not be for a day or two.

from raspap-webgui.

3663 avatar 3663 commented on May 13, 2024

Ran the script on a fresh Raspbian install, same results. The output of cat /proc/sys/net/ipv4/ip_forward is 0 .
ls showed no file named raspap.auth and pulling the SD and checking manually in explorer shows no such file.
Still able to ping google with no issues.

from raspap-webgui.

jrmhaig avatar jrmhaig commented on May 13, 2024

Hi @3663. Copying this file:

https://github.com/billz/raspap-webgui/blob/fix_default_setup/config/rc.local

over /etc/rc.local should set up the routing on next boot. I am going to check it a little more and then create a pull request for this change, after which the setup script will copy the file in place automatically.

from raspap-webgui.

billz avatar billz commented on May 13, 2024

@jrmhaig getting back to your original point re: Raspbian update to sudoers file handling. This would indeed simplify managing permissions with www-data. For backwards compatibility, we can leverage the Raspbian version detection in the Quick Installer.

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.