samples: net: dumb_http_server: Add zero configuration
Adds zero configuration based on LLMNR. This should be working in Windows out of the box, zephyr can be accessed with http://zephyr/. Can be combined with netusb configuration (RNDIS is supported in Windows). Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
a080154584
commit
3c08b27ddf
2 changed files with 16 additions and 0 deletions
11
samples/net/sockets/dumb_http_server/overlay-zeroconf.conf
Normal file
11
samples/net/sockets/dumb_http_server/overlay-zeroconf.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Add hostname
|
||||
CONFIG_NET_HOSTNAME_ENABLE=y
|
||||
|
||||
# IPv4 autoconfiguration
|
||||
CONFIG_NET_IPV4_AUTO=y
|
||||
|
||||
# Remove static IP configuration
|
||||
CONFIG_NET_CONFIG_SETTINGS=n
|
||||
|
||||
# Add LLMNR responder
|
||||
CONFIG_LLMNR_RESPONDER=y
|
|
@ -21,3 +21,8 @@ tests:
|
|||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
|
||||
tags: usb
|
||||
sample.net.sockets.dumb_http_server.netusb_zeroconf:
|
||||
depends_on: usb_device
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf;overlay-zeroconf.conf"
|
||||
tags: usb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue