[ninux-dev] [openwisp] Wireless interface

Michele Salerno mikysal78 at gmail.com
Sat Jul 6 14:41:24 CEST 2019


Creando un template con wireless interface genera non solo la sezione
in /etc/config/wireless ma crea anche una sezione in
/etc/config/network

es:

package network

config interface 'hotspot'
option ifname 'hotspot'
option ipaddr '192.168.20.1'
option netmask '255.255.255.0'
option proto 'static'

package wireless

config wifi-iface 'wifi_hotspot'
option device 'radio0'
option encryption 'none'
option ifname 'hotspot'
option isolate '0'
option mode 'ap'
option network 'hotspot'
option ssid 'test-ninux'
option wds '1'

Genera anche "ifname" che dovrebbe essere univoco (infatti genera una
interfaccia di nome "ifb4hotspot") ma si trova uguale sia in network
che in wireless e cmq "Wireless Interface" sarebbe bene che
intervenisse solo su /etc/config/wireless


More information about the ninux-dev mailing list