OPNsense Forum

English Forums => Intrusion Detection and Prevention => Topic started by: MarieSophieSG on September 21, 2024, 12:21:49 PM

Title: Disable hardware checksum offload via Shell
Post by: MarieSophieSG on September 21, 2024, 12:21:49 PM
Hello,
Like a good newb' I have removed all check in Interfaces Setting, including "Disable hardware checksum offload" which was working fine until I set the IDS/IPS ... and I lost access to the GUI (But I'm still connected to Internet)

Is there a way *Through the Console* (As I lost access to GUI)
- to reverse last changes to prior config
- or to specifically re-check the "Disable hardware checksum offload"
- or to specifically uncheck IDS/IPS (To regain access to GUI and check "Disable hardware CRC"
 
=> or do I have to reinstall the whole system and start over ?
Title: Re: Disable hardware checksum offload via Shell
Post by: MarieSophieSG on September 21, 2024, 12:28:27 PM
Silly me ...
Shell option 8, restore backup.

I've tried a few strating from the most recent (to try to keep as much changes as possible, not having to re-do them all) and found one that did indeed reestablish the access to GUI !
Title: Re: Disable hardware checksum offload via Shell
Post by: Saarbremer on September 21, 2024, 03:12:43 PM
Another solution is to use

ifconfig [-]rxcsum,[-]txcsum

etc.

check its manpage for more options. Or the source code of the web ui for its usage.

https://github.com/opnsense/core/blob/3cbc7927db174f51eec007739b4fcf4247a18948/src/etc/inc/interfaces.lib.inc#L548