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

#1
18.7 Legacy Series / Re: os-wol plugin
June 14, 2019, 10:49:55 PM
It seems that the broadcast ip in private function calculateSubnetBroadcast ($ip_addr, $cidr) is incorrectly calculated. In my case, broadcast ip was calculated as -64.168.255.255 for a 16 bit mask. In this situation, of course, it will not be able to work properly.

The error is in line 149 in the WolController.php file:
instead
$int_bcast >> 24,
should be
($int_bcast >> 24) & 255,
#2
Aaaah, everything is clear, unfortunately not very clearly described in the OPNSense web interface. The pppoe client is required to complete the Service Name exactly as it was described in the logs (PPPoE Raw). It can be read right after the pppoe server starts. In this case, the first server configuration will receive the service name pppoe1, the next pppoe2, etc.
#3
I have a similar problem. The server is running, the logs are supposed to be listened to on the pppoe1 interface, but there is no such interface. I can not find it in the results of ifconfig in any way.

I can stop the service but when I start I get this:
# service pppoed onestart
Starting pppoed
fxp0: Cannot send a netgraph message: Invalid interface
#4
Welkom.
Ik hoop dat Google goed zal vertalen wat ik hier schrijf :)

Captive Portal communiceert rechtstreeks met de DNS-server, dus problemen met toegang tot deze service op het netwerk zullen zich vertalen in problemen met CP.

Controleer eerst of de machines in uw netwerk de juiste gateway en DNS IP-adres ontvangen. Besteed speciale aandacht aan DNS - het moet beschikbaar zijn voor niet-geloste apparaten. Het is het beste om DNS Forwarder te gebruiken (u kunt DNS Resolver ook gebruiken, maar ik heb geen enkele overtuiging voor deze oplossing - het lijkt te traag).

Als u via een webbrowser naar externe bronnen (ik bedoel websites) verwijst, werkt CP zonder aanvullende configuratie alleen correct als deze verwijzing wordt gedaan met behulp van het http: // -protocol. Als u de https: // referenties wilt gebruiken, moet u toestaan ​​dat CP buiten de SSL-authenticatieservers communiceert via de toegestane IP-adressen of toegestane hostnamen. Helaas is slechts een van deze opties beschikbaar in OPNsense.

Bovendien kunt u controleren wat de configuratie van uw DHCP-server is en of een andere DHCP-server niet op het netwerk werkt.