OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of vupibi »
  • Show Posts »
  • Topics
  • 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

Topics - vupibi

Pages: [1]
1
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!

2
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?

3
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