Page 1 of 1


Posted: Thu Apr 07, 2016 7:19 pm
by patmolloy
Hi, I just got my board yesterday in the UK. I want to setup AP+STA mode ..

I don't understand the final instruction on this page where it says ..

Code: Select all
3. change file /etc/config/firewall
add one line to firewall.

 config wifi-iface
        option name     wan
        list network    'wan'
+       list network    'wwan'
        list network    'wan6'
-       option input    REJECT
+       option input    ACCEPT
        option output   ACCEPT
-       option forward  REJECT
+       option forward  ACCEPT

Which one line ? I actually have no section in my firewall file called "config wifi-iface". I do have another similar looking section called "config zone" ..

So am I adding a whole new section called "config wifi-iface" ? And what do the "+" and "-" mean in the file ? I assume they should not be entered ?

Thanks for helping :D

Re: AP+STA Mode

Posted: Wed Apr 13, 2016 2:58 pm
by Admin
This is similar with "git diff" format, or "vim diff" format, which is popular in linux/UNIX.
- line means this line is exist in old file, and should be deleted in new file.
+ line means this line is not exist in old file, and should be added in new file.
other lines will be exist in old and new file, just keep these.

Re: AP+STA Mode

Posted: Fri May 06, 2016 11:33 am
by patmolloy
Ah :) Thanks !!