Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - crissi

#1
Thanks, dont want to install squid on a other pc, to get this working...

I saw that someone else asked to implement this on Github https://github.com/opnsense/core/issues/5868 but the Issue timed out automatically, as now one seemed to pick the task, unfortunately...
#2
Have still the following error after Update to 23.1_6


2023-01-30T14:57:15 Error configd.py [f9bee656-6298-4dcf-b44f-d104d2aa3af0] Script action stderr returned "b"pkg: sqlite error while executing SELECT count(name) FROM sqlite_master WHERE type='table' AND name='repodata'; in file pkgdb.c:2345: database is locked\npkg: Repository OPNsense contains no repodata table, need to re-create database\npkg: sqlite error whil""




2023-01-30T14:57:15 Error configd.py [ce08aa03-0906-4025-8b4b-7bc62dac74b5] Script action stderr returned "b'pkg: sqlite error while executing CREATE TABLE packages (id INTEGER PRIMARY KEY,origin TEXT,name TEXT NOT NULL,version TEXT NOT NULL,comment TEXT NOT NULL,desc TEXT NOT NULL,osversion TEXT,arch TEXT NOT NULL,maintainer TEXT NOT NULL,www TEXT,prefix TEXT N'"


Do someone know, how to fix them?

Thx
#3
Hello,

upgraded today to V22-7-11 and recognized the following Syslog errors in backend:


2023-01-19T12:30:30 Error configd.py [dc4fc17f-1320-4ae5-86d3-969fb0e120ec] Script action stderr returned "b'pkg: sqlite error while executing DROP TABLE repo_update; in file pkgdb.c:2320: attempt to write a readonly database'"



2023-01-19T12:30:29 Error configd.py [82367a10-f22f-47e9-97b3-b8bf83c2579f] Script action stderr returned "b'pkg: sqlite error while executing CREATE TABLE packages (id INTEGER PRIMARY KEY,origin TEXT,name TEXT NOT NULL,version TEXT NOT NULL,comment TEXT NOT NULL,desc TEXT NOT NULL,osversion TEXT,arch TEXT NOT NULL,maintainer TEXT NOT NULL,www TEXT,prefix TEXT N'"



2023-01-19T12:29:43 Error configd.py Timeout (120) executing : interface newip 'lagg0'



2023-01-19T12:23:49 Error configd.py Timeout (120) executing : interface newip 'lagg0_vlan


How to solve them?

thx
#4
22.7 Legacy Series / Re: Cron for OpenVPN
December 28, 2022, 01:07:01 PM
Still have frequent OpenVpn Client disconnects and the connection is not automatically restarted...

Manually diaqble and enable the connection works fine...
#5
still have this issue that i cannt set OpenVPN address in the rule on the auto generated tab
#6
Recognized the slow Gui as well. DNS Lookup to FW Hostname is working ok.
Deleted all Logs, slowness still persists.

Have still these errors in System: Log Files: Web GUI

2022-12-05T11:06:05 Error lighttpd (server.c.1588) server started (lighttpd/1.4.67)
2022-12-05T11:06:05 Error lighttpd (server.c.2097) server stopped by UID = 0 PID = 80455
2022-12-04T14:15:51 Error lighttpd (server.c.1588) server started (lighttpd/1.4.67)
2022-12-04T14:15:51 Error lighttpd (server.c.2097) server stopped by UID = 0 PID = 34252


In my Case when I connect via IP Address to the Box the GUI is reacting fast..., connecting via FW Hostname is still slow...

BR
#7
22.7 Legacy Series / Re: Cron for OpenVPN
December 03, 2022, 01:44:56 PM
Hello,
Thanks for the code. I'm having exactly the same issue, and try to restart the openvpn service via custom cron job.

What I did till now is:

Created File actions_custom.conf under Path /usr/local/opnsense/service/conf/actions.d/

Pasted your Code but changed


type:script


to


type:script_output



configctl custom restart
Service `openvpn' has been restarted.



Via Command Line its working openvpn service can be stopped / started / restarted

But the Issues for me are still:
1 . When configctl custom restart via command line is executed, just the first openvpn client connection is restarted. But I have 2. connections. How to adapt the script to restart all openvpn Client connections?


2. Tried yet several times with Firewall Reboots, configd reload etc. to get the Custom Cron-Job working, but no success unfortunately... And i dont want to edit corntab File directly, as with the next System Update the modifications are gone...

Can anyone give me a hint here?

BR
Crissi
#8
Hello,

i have a question regarding the openvpn ssl server setup. I have followed the documentation here https://docs.opnsense.org/manual/how-tos/sslvpn_client.html and i can successfully connect with my mobile phone.
I tried now, to set under Firewall – Rules – Register - OpenVPN (auto generated when SSL Server is started) like Allow Access to internal DNS Server, but I'm missing there under Destination to set OpenVPN address ..

When I assign an Interface for example OPEN_VPN_SRV there I have then the possibility to set the address (s. screenshot), and i can also name the Entry to have a better overview.



My questions are:
a.)   Is this the right way to go to set the assign an Interface when I want to build specific Rules for the VPN Clients?
b.)   If yes, is there a way to Hide the auto generated Menu Entry OpenVPN somehow, or did I oversee something in the Setup to do this?

Thx
BR
Crissi
#9
22.7 Legacy Series / configd.py error Timeout 120
November 14, 2022, 05:07:16 PM
Hello,

updated to 22.7.7_1 and get configd.py error Timeout 120 in backend log


#10
Hello,

Updated to 22.7.7_1 and get the following error in gui log:

#11
Thanks Franco  :)
#12
 :) Yes.. seems like
#13
22.7 Legacy Series / Re: VlanXX shows up as vlan01 ?
August 21, 2022, 03:29:07 PM
Im also a bit confused here. All my VLANs previously created under Interfaces – Other Types – VLAN are shown under Devices like:


lagg0_VLAN10
lagg0_VLAN15
lagg0_VLAN18
etc.


New created VLAN with 22.7.2 is shown under Device just as vlan01
#14
I have the Problem that the VPN Client Connections just stopped the next day. I can start them in the Gui without any problem, but the following day they are just stopped again. Checking the Log Files give no indications, why the Services are stopped. When doing the Openvpn Client connections from a DD WRT Router they are stable, running for month without any problem an no disconnects..

I found here an older post about to add a cron job:


https://forum.opnsense.org/index.php?topic=9051.0


I was wondering if this is still the way to go with 22.7.2 as the post is from 2018.

Also as in the post written, this adaptation will not be in the backup. Is there a other solution, what will also survive future firmware updates?

Thx!

#15
Update to 22.7.2 issue still present...