Hi All
Please I need somebody can say me how can I fix the next issue.
I am using OpenWrt Barrier Breaker 14.07 in TP-Link TL-MR3220 v2. Now I am testing the virtual SSID because I wanted to use wondershaper. The reason: limited data in LTE modem plan, I am not living in city so part of family use WIFI to watch Youtube in HD... now with virtual ssid and wondershaper i can limit the speed and force the quality video to standard for the virtual ssid.This works excellent
The issue happen when I reboot the router (from luci o using ssh) because the service wshaper fail when start in boot. I think it is because the wlan0-1 (virtual wifi) is not just active when start. I used a simple line in rc.local to fix this: this line (sleep 10 && /etc/init.d/wshaper start && /etc/init.d/wshaper restart)&
However after this, in reboot sometimes the router access is not working, the dhcp or dnsmasq I think is not working because my devices (phone, laptop, etc) says: obtaining ip... Luckily the laptop can use access ssh to router using 192.168.1.1, then I do /etc/init.d/dnsmasq restart and again work normally, all devices get IP address
Sometimes only Unplugging and plugging again the boot and proccess works without problems
Sorry if I am wrong, I am only a basic user of linu. I added the next lines to rc.local to resolve this:
(/etc/init.d/dnsmasq restart)&
(sleep 10 && /etc/init.d/wshaper start && /etc/init.d/wshaper restart)&
so, Where is the problem using a virtual ssid and wondershaper ????
my config used to use virtual ssid:
/etc/config/network
config interface 'vwifi'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
cat /etc/config/dhcp
config dhcp
option start '100'
option leasetime '12h'
option interface 'vwifi'
option limit '10'
/etc/config/wireless
config wifi-iface
option device 'radio0'
option mode 'ap'
option ssid 'SSID'
option network 'vwifi'
option encryption 'psk-mixed'
option key '+X+mEtN56qVF98k'
/etc/config/firewall
config zone
option input 'ACCEPT'
option forward 'REJECT'
option output 'ACCEPT'
option name 'vwifi'
option network 'vwifi'
config forwarding
option dest 'wan'
option src 'vwifi'
Thanks,Im sorry my english