Only Reset basic section

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

cobra98
Posts: 121
Joined: Tue Oct 15, 2013 5:07 am

Only Reset basic section

Post 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.

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Only Reset basic section

Post 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?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Only Reset basic section

Post 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
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

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Only Reset basic section

Post by Lantis »

If doing the above, also do

Code: Select all

rm /tmp/cached_basic_vars
after regenerating the config
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

cobra98
Posts: 121
Joined: Tue Oct 15, 2013 5:07 am

Re: Only Reset basic section

Post 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 :(

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Only Reset basic section

Post 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
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

cobra98
Posts: 121
Joined: Tue Oct 15, 2013 5:07 am

Re: Only Reset basic section

Post 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

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Only Reset basic section

Post by ispyisail »

Image

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Only Reset basic section

Post by ispyisail »

Reset router and start again?

cobra98
Posts: 121
Joined: Tue Oct 15, 2013 5:07 am

Re: Only Reset basic section

Post 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?

Post Reply