Page 1 of 2

Only Reset basic section

Posted: Fri Dec 18, 2020 10:55 pm
by cobra98
I have removed i think in gargoyle under /etc/config wireless 5GHZ in the past, now i just want to disable all wifi.
But if i go to Connection/Basic in the menu i can not change it as it says "ERROR: wifi_channel1_seg2_5ghz does not exist".
Do i have to reset it really or is there a way i can just reset basic section wifi? or only basic settings?

My wireless Config

config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
option htmode 'VHT40'
option country 'FR'

config wifi-iface 'ap_a'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid '5********'
option encryption 'psk2'
option key '**********'

config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option htmode 'HT20'
option disabled '1'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Gargoyle'
option encryption 'none'

I also want only to use the radar to see other wifis maybe or turn off all wifi only.

The wifi will be taken by fritzbox devices with mesh setup.

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 12:02 am
by Lantis
Your config looks more like an OpenWrt config than a gargoyle one? Did you copy it across? or use it as a base?

Can you provide more information about when you're seeing this error? Is it only when you hit save? Are there any other errors in the browser console? Have you tried clearing browser cache and trying again?

Also please show the output of

Code: Select all

cat /tmp/cached_basic_vars
Is this on a wrt3200acm?

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 4:37 am
by RomanHK
Probably the easiest way is to delete the faulty WiFi configuration, let it generate a new one and then set it again via the GUI:

Code: Select all

rm -rf /etc/config/wireless
wifi config

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 8:16 am
by Lantis
If doing the above, also do

Code: Select all

rm /tmp/cached_basic_vars
after regenerating the config

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 1:31 pm
by cobra98
Thanks, i did all this steps but still
"ERROR: wifi_channel1_seg2_5ghz does not exist"
after reboot and going to connection/basic

So reset the best option?
i will have to reinstall iperf too then or?

Or what else is part of connection/basic?
Can i manually just delete all there and start new
besides from reseting the config :(

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 1:44 pm
by RomanHK
If you delete only the WiFi configuration, it will not affect the rest of the settings (iperf).

Try deleting the WiFi configuration and restarting the router to be sure. Then also restart the browser so that things are not left in the buffer.

Code: Select all

rm -rf /etc/config/wireless && reboot -f

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 4:32 pm
by cobra98
i already tried to reboot the rooter too :(

But basic is not only wireless, maybe other parts have to be deleted too?

It looks strange https://ibb.co/5T563Yt and still the 5ghz message

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 4:35 pm
by ispyisail
Image

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 4:35 pm
by ispyisail
Reset router and start again?

Re: Only Reset basic section

Posted: Sat Dec 19, 2020 4:43 pm
by cobra98
No other ways? I will loose iperf installation too or?
Can i reset all sections of basic.sh to solve the problem too?
Besides from deleting wirless what else can i try to delete?