Only Reset basic section
Moderator: Moderators
Only Reset basic section
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.
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
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
Is this on a wrt3200acm?
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
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Only Reset basic section
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
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Re: Only Reset basic section
If doing the above, also do
after regenerating the config
Code: Select all
rm /tmp/cached_basic_vars
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Only Reset basic section
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
"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
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.
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
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Re: Only Reset basic section
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

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
Reset router and start again?
Re: Only Reset basic section
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?
Can i reset all sections of basic.sh to solve the problem too?
Besides from deleting wirless what else can i try to delete?