blob: 6222dbcd50231de2cc9145d851998778a10867a1 [file] [log] [blame]
#2635 AP mode
echo AP > /dev/wmtWifi
ifconfig ap0 up
ifconfig ap0 192.168.1.1
echo '' > /tmp/dhcpd.leases
dhcpd -cf /etc/dhcpd.conf ap0 -lf /tmp/dhcpd.leases &
hostapd /etc/hostapd_mtk.conf &