Mine
public text v1 · immutablemv /etc/init.d/S35firewall /etc/init.d/fw-backup
nvram set
lan_ifname=br0
lan_ifnames=vlan0
wifi_ifnames=eth1
wifi_proto=dhcp
lan_proto=static
lan_ipaddr=192.168.1.160
nvram commit
reboot
iwlist eth1 scanning
get the ap details
ifdown wifi
nvram set wl0_ssid=someapname
nvram set wl0_channel=xx
ifup wifi; /sbin/wifi