Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client UI only #56

Closed
ghost opened this issue Jan 28, 2017 · 4 comments
Closed

Client UI only #56

ghost opened this issue Jan 28, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 28, 2017

Sorry for posting this in the wrong place... If I only want to use the client-section of your GUI for connecting my RPi to the internet, what would I have to comment out/delete?

@jrmhaig
Copy link
Collaborator

jrmhaig commented Feb 7, 2017

Sorry for being slow in replying. You need to comment out or delete the last four lines of /etc/dhcpcd.conf, which look like this:

# RaspAP-WebGui wireless configuration
interface wlan0
static ip_address=10.3.141.1/24
static routers=10.3.141.1
static domain_name_server=8.8.8.8 8.8.4.4

This is a known bug (#46) but I haven't had a chance to look at it.

@ghost
Copy link
Author

ghost commented Feb 7, 2017

Will this remove all other sections of the GUI? I've been trying to look at the code and remove any references to features besides the client options. I've removed the following files and references to them in raspap-webgui/index.php:

dhcp.php
functions.php
hostapd.php

My goal is to trim all features and files that don't have to do with the Client, essentially just removing Hotspot and DHCP. I may have to learn more in order to do this effecitvely, though I really like the way you have set things up here in general :)

@jrmhaig
Copy link
Collaborator

jrmhaig commented Feb 7, 2017

Ah, I understand. You want to remove them from the UI. Have a look at this to edit the navigation menu:

and this to prevent them being accessible directly from a url:

Does this help?

@ghost
Copy link
Author

ghost commented Feb 7, 2017

Yes thank you :)

@ghost ghost closed this as completed Feb 7, 2017
getveloce added a commit to getveloce/raspap-webgui that referenced this issue Feb 25, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant