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

#91
22.1 Legacy Series / Captive Portal Logs Error
February 05, 2022, 09:08:36 AM
Opnsense 22.1

Captive Portal logs

2022-02-05T08:54:12   Error   api   [2022-02-05T08:54:12+08:00][error] no active session, user not found   
2022-02-05T08:07:19   Error   api   [2022-02-05T08:07:19+08:00][error] no active session, user not found   
2022-02-03T18:22:33   Error   api   [2022-02-03T18:22:33+08:00][error] no active session, user not found

above keeps repeating

captive portal seems to be working though
just cant see the logs and last log updates

also could an easier way to reset or delete the database be added? or may a regular backup, last known good.
#92
20.7 Legacy Series / Re: Captive Portal & Web Proxy
December 15, 2021, 12:48:21 AM
is your issue intermittent connection?
(meaning pressing F5/refresh will at some point make it work)

shared connection and sticky connection...
https://forum.opnsense.org/index.php?topic=22267.msg118210#msg118210
#93
good!

maybe a button can be addedin captive portal to "reset"/"fix the database in the future

btw found this code in other pages I cant seem to find the source, but someone recommended this

mv /var/captiveportal/captiveportal.sqlite /var/captiveportal/captiveportalbad.sqlite
sqlite3 /var/captiveportal/captiveportalbad.sqlite ".recover" | sqlite3 /var/captiveportal/captiveportal.sqlite

supposed to fix the database, last option would be to delete the database since captive portal will automatically generate a new db.
#94
22.1 Legacy Series / Beta 22.1.b_85 to latest community
December 14, 2021, 11:21:47 AM
changing type in firemware setting to community
then update returns error

cant I go back to community build?



***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 22.1.b_85 (amd64/OpenSSL) at Tue Dec 14 02:02:04 -08 2021
Fetching changelog information, please wait... done
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.txz: .......... done
Processing entries: .......... done
OPNsense repository update completed. 685 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking for upgrades (0 candidates): . done
Processing candidates (0 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
pkg: No packages available to install matching 'opnsense' have been found in the repositories
***DONE***



Type   opnsense-devel   
Version   22.1.b_85   
Architecture   amd64   
Flavour   OpenSSL   
Commit   8250ad50c   
Mirror   https://pkg.opnsense.org/FreeBSD:13:amd64/22.1   
Repositories   OPNsense   
Updated on   Wed Dec 8 02:44:20 -08 2021   
Checked on   Tue Dec 14 02:02:04 -08 2021
#95
try to diable you 2nd 10mmbps line and see you can first get above 500mbps using your 5G line
#96
check setting of your 5G line, is it marked "offline"
can it ping 8.8.8.8? maybe change it to 1.1.1.1 just to try

Quote5G router and Opnsense are connected via L2 Managed Switch.
are you sure it is configured correctly?

you can use it directly? imean directly connecting a laptop to your modem?

#97
21.7 Legacy Series / Re: 21.7.3. - high CPU and MEM usage
September 23, 2021, 10:49:48 AM
confirmed high CPU usage
for me it was syslogNG, dont have suricata installed

reboot helped, cpu usage is not high anymore

though memory usage is abit high
#98
21.1 Legacy Series / Re: Shaper: pipe in pipe?
September 08, 2021, 02:41:36 AM
A pipe with a pipe?
or rather priorities or queues?

if you look at queue it may look similarly to a pipe(not a pipe but similar), say a 100mbps pipe
at for http you can set 20% of the bandwidth or whole bandwdith.

#99

change log 21.7.2: shared forwarding edge cases
On the other hand, the work for FreeBSD 13 migration in 22.1 is ongoing as well to be able to test this rather sooner than later. In this iteration we will take the time to look at shared forwarding edge cases and have already upstreamed a number of patches that have been accumulated over the last couple of years to keep our code base light and tidy.


will this now put focus on the "sticky" connection and shared forward connection?
#100
my drive crashed, with 20.1 backup only
so after, reinstall of 20.7 with zfs file system.
i loaded the backup, had no issues.
same hardware though (except for the new nvme drive)
#102
upgraded to 21.1.7_1

firefox no issues after upgrade

chrome, same issue as above(upgrade web UI hang), but clearing cache also solved the issue
#103
using the following
System Information
Name    OPNsense.onghocgan.net
Versions    OPNsense 21.1.5-amd64
FreeBSD 12.1-RELEASE-p16-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type    Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 cores)

going to captive portal session
select the chexkbox and click the trash icon
show a dialog box confirimng the action but click yes does nothing.
does not rove the user/ip

also having constant disconnect even if i set the hard idle timedout at 600minutes...
so mow I set it to zero for the moment.
#104
21.1 Legacy Series / Re: Multi WAN & Unbound
April 07, 2021, 04:42:12 PM
in each gateway you can assign a monitor ip. which opnsense uses to detect if the gateway is down(if option is selected)

in system-setting-general
1) you need to allow gateway switching
2) for each gateway assigned a unique dns server(external, like google, open, fast dns, ubound will use this as a forwarding dns server, if selected)
3) you need to have a local dns server for your client which is ubound. you bound will then use the assign dns for each gateway as a forwarding dns (you can choose a restrictive dns server if say you want to block porn or malware)
of course you will still need to define which gateway to use... by default opnsense will choose 1 (not multiwan, hence you need a multiwan group to tell opnsense how the gateways will interact with each other
#105
21.1 Legacy Series / Re: Multi WAN & Unbound
April 07, 2021, 04:31:43 PM
screen shot?