AP+STA Mode

patmolloy
 
Posts: 2
Joined: Wed Apr 06, 2016 11:01 pm

AP+STA Mode

Thu Apr 07, 2016 7:19 pm

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 http://vocore.io/wiki/index/id:17 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

Admin
Site Admin
 
Posts: 15
Joined: Fri Oct 17, 2014 11:26 am

Re: AP+STA Mode

Wed Apr 13, 2016 2:58 pm

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.

patmolloy
 
Posts: 2
Joined: Wed Apr 06, 2016 11:01 pm

Re: AP+STA Mode

Fri May 06, 2016 11:33 am

Ah :) Thanks !!

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 1 guest