OPNsense Forum

International Forums => German - Deutsch => Topic started by: bringha on November 14, 2015, 05:22:11 pm

Title: NIC Konfiguration im 15.7.18
Post by: bringha on November 14, 2015, 05:22:11 pm
Hallo zusammen,

ich versuche gerade unter XEN eine opnsense 15.7.18 domU mit 4 NIC zum laufen zu bringen. Ich habe zunächst OPT2 konfiguriert. Wenn ich nun versuche OPT1 zu konfigurieren bekomme ich im browser nur das:
Code: [Select]
Fatal error: Call to a member function children() on null in /usr/local/opnsense/mvc/app/models/OPNsense/Core/ACL.php on line 156

WAN, LAN, OPT2 als DMZ klappen wunderbar.

Es ist eine absolut frische und unverdengelte Neuinstallation. Meine Netzinterfaces schauen wie folgt aus in der XEN cfg

Code: [Select]
vif = [
'mac=00:17:3E:BE:A2:1A,bridge=intern',
'mac=00:17:3E:BE:A2:1D,bridge=extern',
'mac=00:17:3E:BE:A2:1C,bridge=wlan',
'mac=00:17:3E:BE:A2:1B,bridge=dmz' ]

Die kann ich auch genau so in der Console und im Assign Screen sehen. Klicke ich dann den OPT1 Link an erscheint die Fehlermeldung

In der Konsolenoption 1) entstand folgendes Ergebnis

Code: [Select]
Valid interfaces are:
xn0              00:17:3e:be:a2:1a Virtual Network Interface
xn1              00:17:3e:be:a2:1d Virtual Network Interface
xn2              00:17:3e:be:a2:1c Virtual Network Interface
xn3              00:17:3e:be:a2:1b Virtual Network Interface

You now have the opportunity to configure VLANs.  If you don't require VLANs
for initial connectivity, say no here and use the GUI to configure VLANs later.

Do you want to set up VLANs now [y|n]? n

If you do not know the names of your interfaces, you may choose to use
auto-detection. In that case, disconnect all interfaces now before
hitting 'a' to initiate auto detection.

Enter the WAN interface name or 'a' for auto-detection: xn1

Enter the LAN interface name or 'a' for auto-detection
NOTE: this enables full Firewalling/NAT mode.
(or nothing if finished): xn0

Enter the Optional 1 interface name or 'a' for auto-detection
(or nothing if finished): xn2

Enter the Optional 2 interface name or 'a' for auto-detection
(or nothing if finished): xn3

Enter the Optional 3 interface name or 'a' for auto-detection
(or nothing if finished):

The interfaces will be assigned as follows:

WAN  -> xn1
LAN  -> xn0
OPT1 -> xn2
OPT2 -> xn3


OPT2 habe ich dann über das Webinterface auf DMZ konfiguriert

Hat irgendwer eine Idee? Würde mich freuen

Br br
Title: Re: NIC Konfiguration im 15.7.18
Post by: franco on November 15, 2015, 07:00:17 pm
Ich erinnere mich an einen Crash Report. 15.7.19 hat folgenden Fix dafür:

https://github.com/opnsense/core/commit/249c74c6d661c75e5d9c5231031cfda6d719de90

Also vorher updaten und noch einmal probieren? Falls das Problem damit nicht behoben ist haben wir zumindest die besten Voraussetzungen nun: Die Schritte zum Reproduzieren. Besten Dank. :)


Gruss
Franco
Title: Re: NIC Konfiguration im 15.7.18
Post by: franco on November 15, 2015, 09:20:20 pm
15.7.18 kann folgendermaßen gepatcht werden:

# cd /usr/local/opnsense/mvc/app/models/OPNsense/Core
# fetch https://raw.githubusercontent.com/opnsense/core/81f012d736ad4cf142d259715f31e6a67c467a44/src/opnsense/mvc/app/models/OPNsense/Core/ACL.php

Alternativ auch die Datei herunterladen und per sftp/ssh hochladen oder einen URL-Shortener benutzen. :)
Title: Re: NIC Konfiguration im 15.7.18
Post by: bringha on November 15, 2015, 10:08:58 pm
OK habe es ausprobiert:

Patch gezogen und installiert, neu gebooted, geht.

Altes File wieder eingesetzt, wieder neu gebooted

GEHT AUCH.

???

Hat's da irgendwie meine config.xml (temporär) beschädigt?  :-\ ???

Br Br



Title: Re: NIC Konfiguration im 15.7.18
Post by: franco on November 16, 2015, 07:35:00 am
Moin,

Ja, das war auch unsere Vermutung. Der Code-Teil war spezifisch für die System-Konfiguration und wenn die fehlt, dann sollten noch ganz andere seltsame Dinge auftreten. Ich selbst hatte gestern auch probiert es nachzustellen, aber ohne Erfolg. Ist also gelöst? :)


Gruss
Franco