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

#1
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
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
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
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
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:

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
Oh, this works very well, thank you!
#7
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

ping -I xn2 google.de

but I always receive
ping: invalid multicast interface: `xn2'

for every interface. What am I doing wrong?
#8
Development and Code Review / Re: Find api URLs
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
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!