mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
9febd0a fbwifi: close file handles 281e8fd fbwifi: allow HTTP/3 2306d44 fbwifi: quote variables in firewall includes c6557bc fbwifi: set webroot for redirect uhttpd instance ec76371 fbwifi: wait for xtables lock in firewall includes 7420154 fbwifi: handle duplicate arp entries cc31879 fbwifi: rework UCI state tracking 594a4e0 fbwifi: fix custom HTTP status codes e0d9cca fbwifi: fix CORS for info 4aa60db fbwifi: drop luci.sgi.cgi module from info 7b2cf4d README: editing feeds.conf.default should be avoided b1adf01 fbwifi: document how to enable/disable Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2.0 KiB
2.0 KiB
Facebook Wi-Fi v2.0 Reference Implementation for OpenWrt
Getting started
Case studies for OEM customers are available at the official page of Facebook Wi-Fi.
For OEM engineers, start by reading the init script in files/etc/init.d/fbwifi
To enable Facebook Wi-Fi, configure the gateway_token in /etc/config/fbwifi, and run fbwifi enable.
To disable Facebook Wi-Fi, run fbwifi disable.
Contents
The 'files' subdirectory contains all the configuration, script and code that implements the Facebook Wi-Fi v2.0 standard for OpenWrt.
The folder structure follows *nix conventions :
- 'etc' is the boot time scripts and configuration
- 'usr' contains procedural scripts, lua common code module and GUI prototype for luci
- 'www' contains the HTTP endpoints as CGI handlers
files/
├── etc
│ ├── config
│ │ └── fbwifi
│ ├── hotplug.d
│ │ └── iface
│ │ └── 50-fbwifi
│ ├── init.d
│ │ └── fbwifi
├── usr
│ ├── lib
│ │ └── lua
│ │ ├── fbwifi.lua
│ │ └── luci
│ │ ├── controller
│ │ │ └── fbwifi.lua
│ │ └── view
│ │ └── fbwifi.htm
│ ├── sbin
│ │ ├── fbwifi
│ │ ├── fbwifi_debug_dump
│ │ ├── fbwifi_gateway_info_update
│ │ ├── fbwifi_get_config
│ │ └── fbwifi_validate_token_db
│ └── share
│ └── fbwifi
│ ├── firewall.include
│ └── uhttpd.json
└── www
└── cgi-bin
└── fbwifi
└── v2.0
├── auth
├── capport
└── info