Vocore2 only connect to home network (wifi)

Thyvo
 
Posts: 1
Joined: Sat Jan 27, 2018 9:55 am

Vocore2 only connect to home network (wifi)

Sun Jan 28, 2018 9:54 pm

Hello,

I'm currently working on a home automation project where the vocore controls (sends and receives) some data from sensors that are connected to it using the GPIO pins.

Unfortunately I'm can't get my vocore to connect to my home network (only to the home network, and disabling the hot-spot functionality)

I tried many of the examples that I can find on the forms as well with some searching thru the openwrt documentation.

Do you have any example code that I could use that only connects to my home wifi?

No need for static IP addresses since the vocore will get them from static entries in my DHCP server.

Below is some of the code I tried and as far as my understanding should work to do the job but unfortunately it did not in my case.

Ps. yes my lab wifi is called test

Code: Select all
uci set wireless.sta.ssid='test'
uci set wireless.sta.key='PassW0rd!'
uci set wireless.sta.encryption='psk2'
uci set wireless.sta.network='lan'
uci set wireless.sta.disabled='0'
uci commit


extra info: the vocore should connect to an ubiquiti AP and my gateway/router is an pfSense box

Kind regards,
Thyvo

KingBeetle
 
Posts: 10
Joined: Mon Dec 05, 2016 6:42 pm

Re: Vocore2 only connect to home network (wifi)

Fri Feb 02, 2018 6:24 am

Here's the commands I used to connect to my WPA2 encrypted WiFi network:

uci set wireless.sta.ssid="Nacho Wireless"
uci set wireless.sta.key="NunyaBizness"
uci set wireless.sta.network=wwan
uci set wireless.sta.disabled=1
uci commit

I don't think it's necessary to specify the encryption method, and I think you should be using wwan and not lan

Return to VoCore2

Who is online

Users browsing this forum: No registered users and 1 guest