ARC SDP board sports only 1 network interface - eth0, so to operate as an access point it requires at least another interface (preferably wireless), so USB Wi-Fi dongle is what we want.
And with USB Wi-Fi dongle attached ARC SDP board could be used as a "dumb" wireless access point. Now with modified network setup script it is only required to enable wireless radio on the first boot with -------------->8------------ uci set wireless.radio0.disabled=0 uci commit wireless wifi -------------->8------------ Note if by the time initscripts are executed USB Wi-Fi dongle not yet recognized and set up by Linux kernel its autodetection by "wifi" tool may not happen automatically. In that case before issuing command above one needs to populate /etc/config/wireless config: -------------->8------------ wifi detect > /etc/config/wireless -------------->8------------ Signed-off-by: Alexey Brodkin <[email protected]> Cc: Felix Fietkau <[email protected]> Cc: Jo-Philipp Wich <[email protected]> Cc: Jonas Gorski <[email protected]> --- Changes compared to v1: * Rebased on top of current master target/linux/arc770/base-files/etc/board.d/02_network | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/arc770/base-files/etc/board.d/02_network b/target/linux/arc770/base-files/etc/board.d/02_network index cd5ad2d..7c74d2d 100755 --- a/target/linux/arc770/base-files/etc/board.d/02_network +++ b/target/linux/arc770/base-files/etc/board.d/02_network @@ -11,6 +11,7 @@ board_config_update case "$( arc_board_name )" in "arc-sdp"*) ucidef_set_interface_lan "eth0" "dhcp" + uci set network.lan.type='bridge' ;; esac -- 2.5.0 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
