Page 1 of 1
Router suggestions
Posted: Thu May 05, 2016 2:56 pm
by acruhl
I'm new to OpenWRT but not networking. I got my Vocore + Dock a few days ago.
I'm hoping someone can help me with some config examples for a wifi router.
Also, can someone recommend a USB ethernet adapter?
Thanks.
Re: Router suggestions
Posted: Fri May 06, 2016 3:10 pm
by tong.wu
In my opinion, VoCore's typical application is IoT application, which WiFi is enough and no need dock, and "AP+STA" mode is just good. So ethernet port is configured as LAN port by default.
When you want VoCore as a router, you should configure ethernet port as WAN by modify "/etc/config/network".
- Code: Select all
config switch_vlan
option device 'switch0'
option vlan '1'
- option ports '0 4 6t'
+ option ports '0 6t'
+config switch_vlan
+ option device 'switch0'
+ option vlan ‘2'
+ option ports '4 6t'
+config interface wan
+ option ifname ‘eth0.2'
+ option proto ‘dhcp'
Re: Router suggestions
Posted: Sun May 08, 2016 12:58 am
by acruhl
I bought the vocore + dock and that's what I have, so I'll take your recommendations into advisement.
Thanks for the advice about making it into a router. I don't know enough about OpenWRT to know how the port names work, but I will research that.