nyan:pi_config
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nyan:pi_config [2024/07/26 21:22] – river | nyan:pi_config [2025/04/05 12:45] (current) – river | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * / | * / | ||
| * dnsmasq - to provide dhcp server and dns server on wlan0 to the ESP. | * dnsmasq - to provide dhcp server and dns server on wlan0 to the ESP. | ||
| - | * Not done - routing / NAT. ESP probably doesn' | + | * Not done - routing / NAT. ESP probably doesn' |
| I tried using NetworkManager for this first but it didn't work. May have been a firewall issue actually, but hostapd working now anyway. NetworkManager also has very limited configuration options. | I tried using NetworkManager for this first but it didn't work. May have been a firewall issue actually, but hostapd working now anyway. NetworkManager also has very limited configuration options. | ||
| + | |||
| + | WiFi AP was (maybe) broken by wpa_supplicant changing the channel set in hostapd. It must be disabled. | ||
| + | |||
| + | Reduce TX power: | ||
| + | iwconfig wlan0 txpower 2 | ||
| + | |||
| + | How to reduce client power? AP can give clients a limit. Can also hardcode in ESP32, but not PicoW. | ||
| ===== JTAG ===== | ===== JTAG ===== | ||
| Line 42: | Line 49: | ||
| I built the esp32 version of openocd from source. | I built the esp32 version of openocd from source. | ||
| - | I installed these dependencies - not all needed just for ESP32. | + | |
| + | I installed these dependencies - not all needed just for ESP32: | ||
| '' | '' | ||
| - | platformio does a shoddy job of ESP32 support. gdb is out of date and doesn't work. '' | + | '' |
| + | |||
| + | ==== ESP IDF ==== | ||
| + | platformio does a shoddy job of ESP32 support. gdb is out of date and doesn' | ||
nyan/pi_config.1722028951.txt.gz · Last modified: by river
