Code Monkey home page Code Monkey logo

raspap-webgui's Introduction

Release 3.1.3 Awesome Join Insiders Build Status Crowdin Twitter URL Reddit Discord

RaspAP is feature-rich wireless router software that just works on many popular Debian-based devices, including the Raspberry Pi. Our popular Quick installer and Docker container create a known-good default configuration for all current Raspberry Pis with onboard wireless. A fully responsive, mobile-ready interface gives you control over the relevant services and networking options. Advanced DHCP settings, WireGuard and OpenVPN support, SSL certificates, security audits, captive portal integration, themes and multilingual options are included.

RaspAP has been featured on sites such as Instructables, Adafruit, Raspberry Pi Weekly and Awesome Raspberry Pi and implemented in countless projects.

We hope you enjoy using RaspAP as much as we do creating it. Tell us how you use this with your own projects.

Contents

Prerequisites

Start with a clean install of the latest release of Raspberry Pi OS Lite. Both the 32- and 64-bit Lite versions are supported. The Raspberry Pi OS desktop distro is unsupported.

  1. Update Raspbian, including the kernel and firmware, followed by a reboot:
sudo apt-get update
sudo apt-get full-upgrade
sudo reboot
  1. Set the "WLAN country" option in raspi-config's Localisation Options: sudo raspi-config

  2. If you have a device without an onboard wireless chipset, the Edimax Wireless 802.11b/g/n nano USB adapter is an excellent option – it's small, cheap and has good driver support.

With the prerequisites done, you can proceed with either the Quick installer or Manual installation steps below.

Quick installer

Install RaspAP from your device's shell prompt:

curl -sL https://install.raspap.com | bash

The installer will complete the steps in the manual installation (below) for you.

After the reboot at the end of the installation the wireless network will be configured as an access point as follows:

  • IP address: 10.3.141.1
    • Username: admin
    • Password: secret
  • DHCP range: 10.3.141.50 — 10.3.141.254
  • SSID: raspi-webgui
  • Password: ChangeMe

Note: As the name suggests, the Quick Installer is a great way to quickly setup a new AP. However, it does not automagically detect the unique configuration of your system. Best results are obtained by connecting to ethernet (eth0) or as a WiFi client, also known as managed mode, with wlan0. For the latter, refer to this FAQ. Special instructions for the Pi Zero W are available here.

Please read this before reporting an issue.

Join Insiders

RaspAP is free software, but powered by your support. If you find RaspAP useful for your personal or commercial projects, become an Insider and get early access to exclusive features in the Insiders Edition.

A tangible side benefit of sponsorship is that Insiders are able to help steer future development of RaspAP. This is done through Insiders' team access to discussions, feature requests, issues and more in the private GitHub repository.

WireGuard support

WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be considerably more performant than OpenVPN, and is generally regarded as the most secure, easiest to use, and simplest VPN solution for modern Linux distributions.

WireGuard may be optionally installed by the Quick Installer. Once this is done, you can manage local (server) settings, create a peer configuration and control the wg-quick service with RaspAP.

Details are provided here.

OpenVPN support

OpenVPN may be optionally installed by the Quick Installer. Once this is done, you can manage client configurations and the openvpn-client service with RaspAP.

To configure an OpenVPN client, upload a valid .ovpn file and, optionally, specify your login credentials. RaspAP will store your client configuration and add firewall rules to forward traffic from OpenVPN's tun0 interface to your configured wireless interface.

See our OpenVPN documentation for more information.

VPN provider support

Several popular VPN providers include a Linux Command Line Interface (CLI) for interacting with their services. As a new beta feature, you may optionally control these VPN services from within RaspAP. After your provider's CLI is installed on your system you may administer it thereafter by using RaspAP's UI.

See our VPN provider documentation for more information.

Ad Blocking

This feature uses DNS blacklisting to block requests for ads, trackers and other undesirable hosts. To enable ad blocking, simply respond to the prompt during the installation. As a beta release, we encourage testing and feedback from users of RaspAP.

Details are provided here.

Bridged AP

By default RaspAP configures a routed AP for your clients to connect to. A bridged AP configuration is also possible. Slide the Bridged AP mode toggle under the Advanced tab of Configure hotspot, then save and restart the hotspot.

Note: In bridged mode, all routing capabilities are handled by your upstream router. Because your router assigns IP addresses to your device's hotspot and its clients, you might not be able to reach the RaspAP web interface from the default 10.3.141.1 address. Instead use your RPi's hostname followed by .local to access the RaspAP web interface. With Raspbian default settings, this should look like raspberrypi.local. Alternate methods are discussed here.

More information on Bridged AP mode is provided in our documentation.

Simultaneous AP and Wifi client

RaspAP lets you create an AP with a Wifi client configuration, often called AP-STA mode. With your system configured in managed mode, enable the AP from the Advanced tab of Configure hotspot by sliding the Wifi client AP mode toggle. Save settings and start the hotspot. The managed mode AP is functional without restart.

Note: This option is disabled until you configure your system as a wireless client. For a device operating in managed mode without an eth0 connection, this configuration must be enabled before a reboot.

Manual installation

Detailed manual setup instructions are provided on our documentation site.

802.11ac 5GHz support

RaspAP provides an 802.11ac wireless mode option for supported hardware (currently the RPi 3B+/4 and compatible Orange Pi models) and wireless regulatory domains. See this for more information.

Supported operating systems

RaspAP was originally made for Raspbian, but now also installs on the following Debian-based distros.

Distribution Release Architecture Support
Raspberry Pi OS (64-bit) Lite Bookworm ARM Official
Raspberry Pi OS (32-bit) Lite Bookworm ARM Official
Raspberry Pi OS (64-bit) Lite Bullseye ARM Official
Raspberry Pi OS (32-bit) Lite Bullseye ARM Official
Armbian 23.11 (Jammy) ARM Official
Debian Bookworm ARM / x86_64 Beta
Ubuntu Server 23.04 (Lunar) ARM / x86_64 Beta

You are also encouraged to use RaspAP's community-led Docker container. Please note that "supported" is not a guarantee. If you are able to improve support for your preferred distro, we encourage you to actively contribute to the project.

HTTPS support

The Quick Installer may be used to generate SSL certificates with mkcert. The installer automates the manual steps described here, including configuring lighttpd with SSL support.

Simply append the -c or --cert option to the Quick Installer, like so:

curl -sL https://install.raspap.com | bash -s -- --cert

Note: this only installs mkcert and generates an SSL certificate with the input you provide. It does not (re)install RaspAP.

More information on SSL certificates and HTTPS support is available in our documentation.

Docker support

As an alternative to the Quick installer, RaspAP may be run in an isolated, portable Docker container.

See the RaspAP-docker repo for more information.

Multilingual support

RaspAP uses GNU Gettext to manage multilingual messages. In order to use RaspAP with one of our supported translations, you must configure a corresponding language package on your RPi. To list languages currently installed on your system, use locale -a at the shell prompt. To generate new locales, run sudo dpkg-reconfigure locales and select any other desired locales. Details are provided on our documentation site.

See this list of supported languages that are actively maintained by volunteer translators. If your language is not supported, why not contribute a translation? Contributors will receive credit as the original translators.

How to contribute

  1. Fork the project in your account and create a new branch: your-great-feature.
  2. Open an issue in the repository describing the feature contribution you'd like to make.
  3. Commit changes in your feature branch.
  4. Open a pull request and reference the initial issue in the pull request message.

Find out more about our coding style guidelines and recommended tools.

Reporting issues

Please read this before reporting a bug.

Contributors

Code Contributors

This project exists thanks to all the awesome people who contribute their time and expertise.

Financial Contributors

Development of RaspAP is made possible thanks to a sponsorware release model. This means that new features are first exclusively released to sponsors as part of Insiders.

Learn more about how sponsorship works, and how easy it is to get access to Insiders.

License

See the LICENSE file.

raspap-webgui's People

Contributors

billz avatar d9ping avatar dependabot[bot] avatar eldstal avatar emmanuelgeoffray avatar fiav1 avatar glaszig avatar jeffeb3 avatar johnthenerd avatar jrmhaig avatar julialblnd avatar lukas-heinrich avatar marek-guran avatar nl-tch avatar nsdoukos avatar p0lycarpio avatar pack3tl0ss avatar puregrain avatar randyoo avatar readmecritic avatar reedy avatar robertduncan42 avatar royord avatar sfoerster avatar sirlagz avatar sunnybank101 avatar taikuh avatar weylin-fr avatar zbchristian avatar zlolz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspap-webgui's Issues

Client wireless Discover

Congratulations for the work. I have a question:

In the old version, on the part of wifi client settings before you allow for an discover the wifis networks and select the desired. In the new version the option "Scan networks" does not appear and only works if you add the networks are defined in the wpa_supplicant.conf file.

The new version does not allow me not from the web, create the network in manual mode, but does not find a Discover Network

You're working on this feature? or you'll have to create the wireless connection manually?

Thank you

Before:

captura de pantalla 2016-09-06 a las 19 25 26

After:

captura de pantalla 2016-09-06 a las 19 26 41

Forgotten Password Or Change Password

How would you change the password. In the raspap.php file it has a 'admin_pass' => line but if run it through a hash decrypter it fails. Thanks...

Client settings - How to manually switch from one wifi to another

Hi guys , 1st of all thank you for this great job !
I actualy use my Rpi3 build in wifi connection in adhoc mode (as an access point or a repeater if you want) meaning that I can join my Rpi wifi network with my phone for example.
Than , when i go to Raspap webpage under client settings,
i would like to enter a password for one or another available network and activate it.

The problem is that when i click on update , the wifi wont come up anymore . it just stops.
I can I change this behaviour to get my wifi stating up again on the one i choose ?

how would you add a reboot button?

It might be useful for the page to be able to restart the pi.
(sudo reboot)
what do you think the best way to implement this would be?

Do not request PSK for open networks

From the Configure client page,

When I'm trying to connect to an open network (without any password) the "Save" button is disabled for that network. I think we should allow an option, or at least recognize that open networks do not require passwords to be saved.

Maybe also it would be nice to add a field for identity="" and password in case the WiFi network requires authentication

Copy SD to new Raspi 3

Hello folks and good day. I have the software running on a Raspi 3 and it's working great, although when I make a copy of the SD and move it to another Raspi, the Wifi Does not want to come up for nothing. Any ideas?

Installation: Editing sudoers file fails

I get this error when editing the sudoers file using the installation script

>>> /etc/sudoers: syntax error near line 30 <<<

Using the lines from manuall installation described in the README works.

Dashboard doesn't display ESSID with special characters

The Dashboard will not display an ESSID that contains special characters.

This is caused by this line only matching alpha-numeric characters-

preg_match( '/ESSID:\"([a-zA-Z0-9\s]+)\"/i',$strWlan0,$result );

I suggest it's updated to-

preg_match( '/ESSID:\".+)\"/i',$strWlan0,$result );

Other install folder

I installed it into /var/www/html/raspap.
Wireless client works fine, but when trying to configure hotspot, it redirect me to a wrong page.
I searched for a base url parameter but did'nt find.

Hostapd Not Restarting

Good afternoon folks. Thanks for all the help in advance. I've tried a few things and cannot seem to get this to work.

First thing is I set my /etc/dhcpcd.conf to comment out static IP settings because if I don't I do not get internet connection through my router after I setup as AP because it assigns me a local IP of 10.3.141.??.

If I configure the AP to my Router password it grabs an IP from my router and I can switch back to my network and log into the web interface again.

Here is where the problem is:

If I remove the password for the access point and just want to go back to local access it hangs. It does not restart the hostapd service. It's dropping the IP and everything but it's not refreshing and picking back up a local IP. I have to stop and restart the hostapd settings or reboot the system.

Any ideas?

Support multiple wireless interfaces

Multiple wireless interfaces will allow, for example, RaspAP to be configured as a wireless extender.

It is possible with some devices to configure multiple interfaces. In particular, this can be done with the built in wireless on the Raspberry Pi 3.

'Wireless Information' on Dashboard?

I am unsure of the purpose of the 'Wireless Information' section on the main dashboard page. For me it is (mostly) blank and I presume that it only has information when the wireless adapter is configured as a client attached to another SSID. This, however, seems to defeat the object of having an AP.
Is the intention to be able to connect to an existing wireless network and then, with a second wireless interface, provide an extension?
I am in the process of re-doing the dashboard so that, for instance, it includes information about eth0 and I am inclined to remove this section unless it has some value.

Use isc-dhcp-server instead of dnsmasq

I had a working raspberry pi AP previously configured using isc-dhcp-server. I installed RaspAP which I think is an awesome webgui to easily controlling the AP. However, it looks like it cannot coexist with isc-dhcp-server and uses dnsmasq to handling the assignment of the IP addresses, DNS, etc to the connected clients. Is it possible to get RaspAP to use isc-dhcp-server instead of dnsmasq. The config file for isc-dhcp-server is located at /etc/dhcp/dhcpd.conf
Thank you.

Eth0 Static IP Configuration

I think this is a must-have tool for every Raspberry PI. In my opinion the only thing missing is a configuration page for the eth0, it would be nice to be able to set the static IP of eth0 from this interface. What about this feature in a future release? Just need to edit the file /etc/dhcpcd.conf to configure eth0 static IP.
Let me know.

Thanks

Sub Settings won't open on all pages

When i click on a sub-menu for any Setting, it won't open to see them. It just add the #openvpnserver (for example) at the end of the url. Testet it with Firefox, Opera, Chrome.

Get IP address from DHCP when configured as client

When connecting to a wireless network as a client the IP address that is allocated via DHCP should be used but currently it keeps the default 10.3.141.1. The workaround, as indicated in #45, is to remove or comment out the following lines from /etc/dhcpcd.conf:

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 issue is related to the suggestion mentioned in issue #31.

include modem 3g/4g as source for internet

It would be great if we were able to use and configure 3g/4g modems as source for internet, using the web UI.

May be using "wvdial" for the configuration and "usb-modeswitch" for the mode switch of the 3g/4g stick.

Pi zero

After i did the automatic install and i rebooted, the pi won't to connect to WiFi or over USB to the PC with otg mode enabled.
I'm an ower of the new pi zero w, my modem range ip is "192.168.1.2" to "192.168.1.250"

Feature request: Support for more hostapd options

it would be great to have the option to ban clients from the client list by adding them to

/etc/hostapd/hostapd.deny

in addition, other nice features are
ignore_broadcast_ssid=
ap_max_inactivity=

Display signal level appropriately for how it is reported

As noted in #24, the 'Signal level' can be reported by iwconfig either as dBm or as a ratio (possibly always over 100, so effectively a percentage) depending on the hardware and software drivers of the wireless interface. A suitable regex at:

could be used to determine which format this is and then the display at:

can be changed to a single text field or bar graph as appropriate.

RaspAP INSTALL ERROR: Unable to download files from github

having trouble using the installer script.
I think there needs to be a .git at line 72... of common.sh install
relevant section:

# Fetches latest files from github to webroot
function download_latest_files() {
    if [ ! -d "$webroot_dir" ]; then
        install_error "Web root directory doesn't exist"
    fi

    install_log "Cloning latest files from github"
    sudo git clone https://github.com/billz/raspap-webgui "$webroot_dir" || install_error "Unable to download files from github"
}

should be (?):

# Fetches latest files from github to webroot
function download_latest_files() {
    if [ ! -d "$webroot_dir" ]; then
        install_error "Web root directory doesn't exist"
    fi

    install_log "Cloning latest files from github"
    sudo git clone https://github.com/billz/raspap-webgui.git "$webroot_dir" || install_error "Unable to download files from github"
}

Dashboard access admin/secret not working after fresh install

Very Nice project!!

How can I trace errors?

The only thing I changed from the default installation config was the path of the app to /usr/local/bin/

If I connect to the "raspi-webgui" and go to the default IP address admin/secret won't work and I will keep getting the user/pass screen.

Please help!

Default clone folder in walktrough

Lightttpd has default webfolder /var/www/http/ not /var/www as is the place where you clone to following the walktrough

this can be resolved either with changeing the clone to folder to /var/www/html/
or change the confing in /etc/lighttpd/lighttpd.conf

on the line witch states
server.document-root = "/var/www/html/"

to
server.document-root = "/var/www/"

RaspAP INSTALL ERROR: Cannot enable fastcgi-php for lighttpd

Thanks for the great work. RaspAP seems to be exactly what I am looking for!

But I have problems getting it working.
When using the automatic installer I am getting this error message:
RaspAP INSTALL ERROR: Cannot enable fastcgi-php for lighttpd

If I follow the steps for manual installation, everything installs fine (also enabling PHP for lighttpd works), but after the final reboot, calling the IP-adress of the Pi from a PC just gives me "404 - Not Found" page.
It does not seem to make a difference, if the PC is connected with the same LAN as the Pi or directly with the wifi the Pi is hosting.

What am I missing?

Update lighttpd directory in installation script

In Raspbian Jessie the default home location for lighttpd changed from /var/www to /var/www/html and this has broken the automated installation script.

To fix this issue the installation script needs to:

  • Detect the version of Raspbian
  • Install RaspAP into /var/www or /var/www/html as appropriate

INSTALLATION LOGIC

NO WHERE IN THE README OR SOMEWHERE IN THE INSTALLATION DOC IT DOESN'T SAY

"CAUTION IT DELETES YOUR CURRENT /VAR/WWW/HTML/ DIRECTORY"

Guys why remove ?

Just make a new folder under /var/www/html
B..S...

Thnks so much.

Client UI only

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?

Quick installer improvements

It's a good time to revisit the installer and add some enhancements, including:

  • Add a welcome message
  • Report detected Raspian version, destination directories prior to install
  • Provide option of securing .local domain by generating a self-signed SSL certificate
  • Optionally, install the PiVPN project
  • Save settings to /etc/raspap/raspap.conf (used to enable OpenVPN, initially)

raspap-install

Can be used as a client for setting wifi bridge WPA instead of as a hotspot?

Does the "client" page link in your screenshot mean that this webgui can be used to set the WPA key/pw for the adaptor to act as a simple client to another WAP?

I am setting up a wifi bridge (internet=>wifi=>ethernet) as opposed to a hotspot router and just need to be a able to set the WPA passwords conveniently instead of having the VNC/SSH to the RPi. This is going in my travel trailer to it will be connecting frequently to different WAPs.

If so should I just do the manual install?

Changes to sudoers file

Upgrading to the latest Raspbian it appears that the default sudoers file has changed. The file /etc/sudoers.d/README says:

#
# As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
# installation of the package now includes the directive:
# 
#   #includedir /etc/sudoers.d
# 
# This will cause sudo to read and parse any files in the /etc/sudoers.d 
# directory that do not end in '~' or contain a '.' character.
# 
# Note that there must be at least one file in the sudoers.d directory (this
# one will do), and all files in this directory should be mode 0440.
# 
# Note also, that because sudoers contents can vary widely, no attempt is 
# made to add this directive to existing sudoers files on upgrade.  Feel free
# to add the above directive to the end of your /etc/sudoers file to enable 
# this functionality for existing installations if you wish!
#
# Finally, please note that using the visudo command is the recommended way
# to update sudoers content, since it protects against many failure modes.
# See the man page for visudo for more information.
#

This should make it easier to manage the permissions for www-data as a single file can be created and then simply dropped into /etc/sudoers.d with the correct permissions set. I am not making the change yet as some backwards compatibility should be thought about first.

Drop Box for Countries (Contribution)

I have added a drop box for the countries and it is working fine. Uses a javascript function to set the selected country from the php,

Let me know if you want the code.

Only a question of possibility

hey all,

i like this Project. ist now very simple to set the raspi Wifi.
Is there may also a possibility to set all the Network Settings including the LAN IP Address?

I´m happy to Hearing from you.
Regards
Felix

Use ssl

Lighttpd should be configured to use https rather than http.

Add OpenVPN support

PiVPN is a robust OpenVPN project specifically for the RPi. Stub support for OpenVPN exists in RaspAP. This could potentially be extended to manage PiVPN from RaspAP (add/list/revoke client ovpn profiles) with the pivpn command.

A simple way to implement this is to write a value to /etc/raspap/raspap.conf if the user opts to configure PiVPN with the Quick Install (see #73) and use this to enable the OpenVPN panel in the web interface.

CUPS Integration

Hello,

have anyone an idea, how i can open the Cups Interface from the menu?

Unit Lighttpd.service entered failed state

Hello,

Using a fresh installation of Raspbian Jessie Lite and the quick installer script, everything went well. After rebooting, I connected to the new access point I tried to access the web UI. The connection was refused because Lighttpd failed.

Running sudo service lighttpd status gives the following:

● lighttpd.service - Lighttpd Daemon
   Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
   Active: failed (Result: exit-code) since Thu 2017-05-11 16:37:39 UTC; 2s ago
  Process: 2785 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)
  Process: 2775 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
 Main PID: 2785 (code=exited, status=255)

May 11 16:37:39 raspberrypi lighttpd[2775]: Syntax OK
May 11 16:37:39 raspberrypi systemd[1]: Started Lighttpd Daemon.
May 11 16:37:39 raspberrypi systemd[1]: lighttpd.service: main process exited, code=exited, status=255/n/a
May 11 16:37:39 raspberrypi systemd[1]: Unit lighttpd.service entered failed state.

The folder /etc/lighttpd/conf-enabled contains two configuration. if I remove either one of them and run sudo service lighttpd restart, then when I try to access the web page again, it responds with 403 - Forbidden error.

What could be the problem?

Thanks!

Please parse ESSID properly and escape HTML entities when printing it

If the WiFi interface Nikname contains some HTML entities, the "Configure client" page (index.php?page=wpa_conf) get scrambled. My WiFi adapter has a nickname like this:

wlan0 IEEE 802.11bg ESSID:"Rigacci.Org" Nickname:"<WIFI@REALTEK>"
and the page is badly composed:

<input type="hidden" name="ssid0" value="Rigacci.Org" Nickname:"<WIFI@REALTEK>" /> Rigacci.Org" Nickname:"<WIFI@REALTEK> </td> <td><span class="label label-warning">X</span></td>

Feature request: Support for more dnsmasq options

raspap currently crushes each config file when you save, so it would be nice to have a few more options with dnsmasq so that our extra setting don't vanish

#which address to listen on
listen-address=

#support for interface binding
bind-interfaces=

# to tell dhcp clients which dns host to use 
dhcp-option=6,8.8.8.8,8.8.6.6

#other nice to have options
dhcp-option=1 netmask
dhcp-option=3 router
dhcp-option=15 domain-name
dhcp-option=119 domain-search

# to disble dns server
port=0

#to enable dns server 
port=53
server=

#option to not load /etc/resolv.conf
no-resolv

#support for multiple interfaces
interface=br0
interface=wlan0
interface=wlan1
interface=eth0
interface=eth1
dhcp-range=br0,192.168.4.3,192.168.4.252,255.255.255.0,12h
dhcp-range=wlan0,192.168.5.3,192.168.5.252,255.255.255.0,12h
dhcp-range=wlan1,192.168.6.3,192.168.6.252,255.255.255.0,12h
dhcp-range=eth0192.168.7.3,192.168.7.252,255.255.255.0,12h
dhcp-range=eth1,192.168.8.3,192.168.8.252,255.255.255.0,12h

#support for creating infinite leases from the list of clients
dhcp-host=11:22:33:44:55:66,192.168.0.60,infinite

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.