• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

components/11-Mar-2024-1,069623

main/11-Mar-2024-6551

CMakeLists.txtD11-Mar-2024127 64

README.mdD11-Mar-2024755 2620

README.md

1# Setup dummy network interfaces
2```
3sudo ip link add eth2 type dummy
4sudo ip addr add 192.168.1.200/24 dev eth2
5sudo ip link set eth2 up
6sudo ifconfig eth2 multicast
7```
8
9# Dig on a specified interface
10
11```
12dig +short -b 192.168.1.200 -p 5353 @224.0.0.251 myesp.local
13```
14
15# Run avahi to browse services
16
17Avahi needs the netif to have the "multicast" flag set
18
19```bash
20david@david-comp:~/esp/idf (feature/mdns_networking_socket)$ avahi-browse -a -r -p
21+;eth2;IPv6;myesp-service2;Web Site;local
22+;eth2;IPv4;myesp-service2;Web Site;local
23=;eth2;IPv6;myesp-service2;Web Site;local;myesp.local;192.168.1.200;80;"board=esp32" "u=user" "p=password"
24=;eth2;IPv4;myesp-service2;Web Site;local;myesp.local;192.168.1.200;80;"board=esp32" "u=user" "p=password"
25```
26