You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ap-basics.md
-76Lines changed: 0 additions & 76 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,82 +163,6 @@ Next, choose **Hotspot > Save settings** to parse this file and append your cust
163
163
!!! tip "Tip"
164
164
Direct manipulation of advanced `hostapd` settings may lead to your AP failing to start and/or other unanticipated behavior. For this reason, it's advisable to enable service logging on the **Hotspot > Logging** tab and monitor the log output for errors.
165
165
166
-
## Troubleshooting
167
-
RaspAP gives you advanced control over several Linux networking-related services. As a result, your AP may fail to start for a variety of reasons. You may also encounter errors connecting clients to
168
-
the AP, have no internet on AP clients, or observe clients being disconnected from the AP for no apparent reason.
169
-
170
-
If any of the above happens, one of the best diagnostic tools at your disposal is RaspAP's built-in service logging facility. You may enable the `hostapd` service log by sliding the **Logfile output** toggle on the **Hotspot > Logging** tab and choosing **Save settings**. Finally, choose
Similarly, you may also enable DHCP server activity by sliding either of the two logging options on the **DHCP server > Logging** tab.
176
-
177
-
### Debug log
178
-
In some situations, you may need more comprehensive information to self-diagnose a problem. RaspAP lets you generate a debug log with a detailed summary of your system including the installed OS, Linux kernel version, attached USB devices, RaspAP settings, network configuration and current state of several AP-related services.
To create this log, simply click or tap on the **Generate debug log** button from the **System > Tools** tab. You will be prompted to choose a location to store the generated `raspap_debug.log` file on your local computer or mobile device. An example portion of RaspAP's debug log is shown below:
Kernel: Linux raspberrypi 6.1.0-rpi4-rpi-v8 (2023-10-05) aarch64 GNU/Linux
190
-
System Uptime: 4 days, 20 hours, 45 minutes
191
-
Memory Usage: 29.0749%
192
-
193
-
Installed Packages
194
-
==================
195
-
PHP Version: 8.2.7 (cli) (built: Jun 9 2023 19:37:27) (NTS)
196
-
Dnsmasq Version: 2.89
197
-
dhcpcd Version: 9.4.1
198
-
lighttpd Version: 1.4.69
199
-
vnStat Version: 2.10
200
-
201
-
RaspAP Install
202
-
==============
203
-
RaspAP Version: 2.9.9
204
-
RaspAP Installation Directory: /var/www/html
205
-
RaspAP hostapd.ini contents:
206
-
WifiInterface = wlan0
207
-
```
208
-
209
-
!!! tip "Tip"
210
-
If you are unable to perform a self-diagnosis and would like to share your debug log (or a portion of it) with another party, upload it to <ahref="https://pastebin.com/"target="_blank">Pastebin</a> or <ahref="https://paste.ubuntu.com/"target="_blank">Ubuntu Pastebin</a>. Please don't paste the log in its entirety to RaspAP's discussions, issues or other support channels.
211
-
212
-
RaspAP's debug log contains information about your system and local network configuration. However, no passwords or other senstive data are included.
213
-
214
-
### Diagnosing problems
215
-
Look for any reported errors logged by the `hostapd`, `dhcpcd` or `dnsmasq` services. In most cases, errors thrown by one or more of these services have been discussed in various online forums.
216
-
Start by searching the official [Raspberry Pi forums](https://www.raspberrypi.org/forums/) or [Raspberry Pi on Stack Exchange](https://raspberrypi.stackexchange.com/). Chances are the problems with your AP have been discussed and answered before.
217
-
218
-
For additional help and advice, the [FAQ](faq.md) is a rich source of troubleshooting info that is continuously updated with answers to the most commonly asked questions. For issues not covered in
219
-
the FAQ, you may find many topics in [RaspAP discussions](https://github.com/RaspAP/raspap-webgui/discussions) and the [RaspAP subreddit](https://reddit.com/r/RaspAP).
220
-
221
-
!!! tip "Tip"
222
-
Capture output from the Linux kernel's message buffer with `dmesg` to help diagnose failure events. Read the last 100 lines with `dmesg | tail -100` and look for any anomalies.
223
-
224
-
The performance of WiFi radios may be impacted by many factors, including, but not limited to:
225
-
226
-
1. Undervoltage due to inadequate power or too many peripherals connected to the USB bus
227
-
2. Interference from a poorly shielded HDMI cable or using a [specific HDMI screen resolution](https://www.enricozini.org/blog/2019/himblick/raspberry-pi-4-loses-wifi-at-2560x1440-screen-resolution/)
228
-
3. RF interference from overlapping WiFi networks on a crowded 2.4 GHz band.
229
-
230
-
Bear these things in mind if your AP exhibits unexpected behavior and do your best to mitigate them.
231
-
232
-
### Reverting to base settings
233
-
It is generally advisable to begin with RaspAP's [default configuration](defaults.md), which has been rigorously tested and validated with the project's [supported operating systems](index.md#compatible-operating-systems). If, after modifying RaspAP's default settings, your AP no longer functions as expected, you may perform a [system reset](defaults.md#restoring-settings) to restore these defaults.
234
-
235
-
### Accessing backups
236
-
Each time you revert to RaspAP's base settings, your existing service configuration files are automatically backed up to `/etc/raspap/backups`. In this way, you can compare differences between your files and the default configuration, if needed.
237
-
There are many ways to do this in Linux, such as using the built-in GNU `diff` tool. Another option is to install `colordiff`, a wrapper for diff that produces the same output but with colored syntax highligting.
238
-
Install `colordiff` with `sudo apt-get install colordiff`.
239
-
240
-
Similarly, the web files located in the default `/var/www/html` root are backed up to `/var/www` in a directory named with a timestamp. Therefore, any changes you've made to RaspAP's internals are preserved.
241
-
242
166
## Discussions
243
167
Questions or comments about using access point settings? Join the [discussion here](https://github.com/RaspAP/raspap-webgui/discussions/).
0 commit comments