OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of vupibi »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - vupibi

Pages: [1]
1
17.1 Legacy Series / Re: OPNsense does not boot with more than 7 nics
« on: April 09, 2017, 06:38:46 pm »
Okay, after some testing I noticed that even a clean FreeBSD 11 does not boot on XEN with more than 7 nics attached. It will stuck at the same error message.

Seems really to be a problem with XEN.

Tanks for your support!

2
17.1 Legacy Series / Re: OPNsense does not boot with more than 7 nics
« on: April 09, 2017, 06:13:02 pm »
Okay, thats a good information, thanks!

Does anyone knows what the error "failed to allocate tx grant refs" is telling me? I could not find anything about it.

Tanks for your help!

3
German - Deutsch / Re: OPNsense als OpenVPN client, bestimmte Computer über VPN ins internet
« on: April 09, 2017, 02:39:46 am »
Ist zwar schon ein paar Tage her, aber vielleicht brauchst du ja doch noch einen Rat.
Du musst bei den Firewall rules (bei LAN) dem PC (also der IP) ein neues default gateway geben (VPNGW), dann sollte das laufen. Aber falls es dir ein Trost ist, ich hab' da auch bestimmt 'ne woche dran rum gebastelt bis das hier bei uns lief :P

4
17.1 Legacy Series / Re: OPNsense does not boot with more than 7 nics
« on: April 09, 2017, 02:34:29 am »
Hey,

we have four different internet connections, a DMZ and different other LANs for different jobs like printing, VOIP and so on. The security zones are important to us and its a real production network :)

At the moment we have on our XENserver 7 a VM with OPNSense 16.x which has 14 nics attached and it runs like a charm. I just wanted to upgrade it to OPNsense 17.x but it does not even boot from CD. If if I remove the nics, it works.

Could it be a limit of the new FreeBSD 11.0?

Thanks for your help!

5
17.1 Legacy Series / OPNsense does not boot with more than 7 nics
« on: April 08, 2017, 06:29:27 pm »
Hey there!

System: OPNsense 17.1.4 installed from CD on XENserver 7 with xenTools.

Booting with 7 or less nics is working properly, adding additional nics results in the following error and the system will stop booting:

Code: [Select]
xn7: failed to allocate tx grant refs
run_inerrupt_driven_hooks: still waiting (...)



It worked with OPNsense 16.x. Any Ideas?

Thanks for your support!

6
General Discussion / Re: Ping from interface with command line
« on: June 01, 2016, 10:40:31 pm »
Oh, this works very well, thank you!

7
General Discussion / [SOLVED] Ping from interface with command line
« on: May 31, 2016, 11:41:17 pm »
Hello,

I need to ping a server through different interfaces on an OPNsense system. I could do that with the web interface but I need it in command line.

"ifconfig" gives me the names of my interfaces, in my case it is from xn0 to xn13.

Usually i would use a command like

Code: [Select]
ping -I xn2 google.de
but I always receive
Code: [Select]
ping: invalid multicast interface: `xn2'
for every interface. What am I doing wrong?

8
Development and Code Review / Re: Find api URLs
« on: May 12, 2016, 09:23:16 pm »
Hi Ad,

thank you very much for your answer! I already thought about writing a custom module, but for my scenario I need to control the whole PFSense system without using the frontend - so I found another solution.

A small nodejs server will read and edit the config.xml, because in this single file I can read and write all the Informations I am looking for (interfaces, DynDNS, and so on).

Best regards!

9
Development and Code Review / Find api URLs
« on: May 12, 2016, 06:46:48 am »
Hello,

For a project I need to control OPNsense with command line and for that the API with curl is the thing I am looking for! (https://wiki.opnsense.org/index.php/Howto_use_the_API)

But, I am not able to find the API URLs...
What I found out is that the APIs are there:
/usr/local/opnsense/mvc/app/controllers/OPNsense/

In core there is a file called "FirmwareController.php", and a couple of functions called anythingAction (for example: statusAction, infoAction, etc.). So i found out, that I can access there with:
core -> FirmwareController.php" -> statusAction -> https://ipOfOPNsense/api/core/firmware/status or
core -> FirmwareController.php" -> infoAction -> https://ipOfOPNsense/api/core/firmware/info

Another file is called "MenuController.php" and again there are functions with "Action" for example: treeAction and I can access it with:
core -> MenuController.php" -> treeAction -> https://ipOfOPNsense/api/core/menu/tree

But this can not be the way to the goal, right? So how can I figure out these API URLs?

For example I would like to get the data of "status_interfaces.php", means a list of all interfaces with whose settings (analog to the PHP function: get_configured_interface_with_descr), how would the API URL be?

Thanks!

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2