Connect to a hidden network

i bought the GL-MT300n-V2 and i have the newest firmware and i want to connect to a hidden wifi. In Luci there is no menu for wifi. Network > Wifi does not exist. Screenshot by Lightshot ← these are the only menu

sorry for bad english thank for help

Actually, you can set it in admin web page. We had remove Wireless in Luci for MT300N-V2, due to it uses closed wireless driver, which isn’t compatible with Luci.

1 Like

Thank you for your reply. But with this function i only can hide the wifi from my router, but i want connect my MT300-V2 to a wifi that is hidden. (Repeater Mode) I hope you can unterstand me.

Got it, unfortunately, we have filter the hidden AP in repeater mode. In this case, you have to ssh to the router, and configure it via uci. You also can change to other model, which supports Luci, such as ar150, ar300m.

1 Like

uci set wireless.sta.ssid=SSID
uci set wireless.sta.channel=1
uci set wireless.sta.key=wifikey
uci set wireless.sta.bssid=bssidhere
uci set wireless.sta.encryption=psk2
uci commit wireless

Are these commands correct?
And how do you connect?

Step 1: connect to a non-hidden SSID. This will create rules of network and firewall etc.

Step 2: Disable repeater manager which will change repeater automatically.

killall /usr/bin/gl_health
mv /usr/bin/gl_health1

Step 3: Connect manually

uci set wireless.sta.ssid=SSID
uci set wireless.sta.channel=1
uci set wireless.sta.key=wifikey
uci set wireless.sta.bssid=bssidhere
uci set wireless.sta.encryption=psk2
uci commit wireless
/etc/init.d/network restart

The router will always try to connect to the same ssid even it is not available.

1 Like

Now it work! Thank you very much! :slight_smile:

Here a guide for other people:

First, connect to a non-hidden SSID

Then kill the process gl_health and move the file

killall gl_health
mv /usr/bin/gl_health /usr/bin/gl_health1

Now connect

uci set wireless.sta.ssid=yourssid
uci set wireless.sta.channel=yourchannel
uci set wireless.sta.key=yourwifikey
uci set wireless.sta.bssid=yourbssidhere
uci set wireless.sta.encryption=psk2

uci set wireless.mt7628.channel=yourchannel

uci commit wireless

Restart network

/etc/init.d/network restart

Important: You must also set the wifi-device β€˜mt7628’ to the same channel otherwise it will not work.

Does this procedure stops normal operation to work when you want to connect to normal broadcasting SSIDs?

Thanks,

You do not need to connect to hidden network by modifying the UCI.

After scan go to the bottom of the list and choose others, then you will be able to type ssid manually.

1 Like