Commit 3c9a68f
Document QEMU DHCP networking and add static IP option
QEMU provides a built-in DHCP server, but if there are issues,
static IP can be enabled as a fallback.
Documentation updates:
- Explained QEMU user-mode networking (slirp) provides DHCP
- Default network: 10.0.2.0/24, guest IP: 10.0.2.15
- Gateway: 10.0.2.2, DNS: 10.0.2.3
- Port forwarding: ESP32:80 → localhost:8080
Added static IP option in platformio.ini:
- Commented out by default (DHCP is preferred)
- Can be enabled if DHCP doesn't work
- Static IP 10.0.2.15 matches QEMU's default assignment
- Flags: WLED_STATIC_IP_DEFAULT_1 through _4
Updated documentation:
- docs/QEMU-ISSUES.md: Network configuration section
- e2e-tests/README.md: Troubleshooting ethernet/DHCP issues
DHCP should work by default in QEMU, but the static IP option
provides a fallback if connection issues occur.
Co-authored-by: softhack007 <[email protected]>1 parent 79a1d5c commit 3c9a68f
3 files changed
+45
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
27 | 47 | | |
28 | 48 | | |
29 | 49 | | |
30 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
31 | 57 | | |
32 | 58 | | |
33 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | | - | |
| 131 | + | |
126 | 132 | | |
| 133 | + | |
127 | 134 | | |
128 | 135 | | |
129 | 136 | | |
| |||
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
141 | | - | |
142 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
| |||
148 | 157 | | |
149 | 158 | | |
150 | 159 | | |
| 160 | + | |
151 | 161 | | |
152 | 162 | | |
153 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1828 | 1828 | | |
1829 | 1829 | | |
1830 | 1830 | | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
1831 | 1837 | | |
1832 | 1838 | | |
1833 | 1839 | | |
| |||
0 commit comments