Disable second SSID
-
I'd like to see a tutorial about disabling the secondary SSID. I.e. the one that you can use to log in initially. This would be nice, because it is still on, after connecting my home network, and this could be a way to hijack an omega for a tech-savy attacker.
I know that it is probably enough for now to simply disable the Wireless interface in
/etc/config/wirelessbut I'd like to also remove the corresponding sections in/etc/config/network/etc/config/dhcpand/etc/config/firewall. However I don't really know enough about OpenWRT yet to confidently modify those files. Would anyone like to collaborate with me on a tutorial about this? Or perhaps someone has already solved this and there is a solution, maybe even a script one could run?
-
I can confirm that commenting out the section in
/etc/config/wirelesslike so:#config wifi-iface # option device 'radio0' # option network 'wlan' # option mode 'ap' # option encryption 'none' # option ssid 'Omega-XXXX'Where
XXXXis your name of the SSID.If I am not mistaken you then need to restart the wirless by using the
wificommand like so:root@onion:~# wifi
-
There is also an option for the
wifisetupscript to disable (kill) the Access Point (AP):$ wifisetup -killapThough I am not yet sure what exactly this does but it might do the trick.
-
After putting all the config under version control, I can confirm, that
wifisetup -killapwill simply remove thewifi-ifaceas shown by the following difff:diff --git a/wireless b/wireless index f5bfbb3..b24bc29 100644 --- a/wireless +++ b/wireless @@ -9,13 +9,6 @@ config wifi-device 'radio0' option txpower '30' option country 'US' -config wifi-iface - option device 'radio0' - option network 'wlan' - option mode 'ap' - option encryption 'none' - option ssid 'Omega-XXXX' - config wifi-iface option device 'radio0' option mode 'sta'
-
Maybe that should be made part of the setup instructions, at least that it is optional? Almost all the unboxing videos have stated that this is an issue. cc @Lazar-Demin
-
I have been thinking some more about this and maybe we should attempt to disable the DHCP-Server
dnsmasqand maybe remove the firewall zones?
-
@Valentin-Haenel
Thanks for putting up your findings!We're working on tutorials regarding the wireless configuration. And we're also doing some work in terms of connecting to wifi networks. Stay tuned!