Run shell command at pfsense reboot
-
-
what have i done wrong?
You installed Java on your firewall… :'( :(
LOL
I was going to do that at one point but decided to have it run on my windows server that is up 24/7 instead
-
@ptt:
Have you tried with the "shellcmd option" option ?
https://doc.pfsense.org/index.php/Executing_commands_at_boot_time
I'm not sure if i insert the <shellcmd>in the right spot … i'll try to run it</shellcmd>
-
what have i done wrong?
You installed Java on your firewall… :'( :(
LOL
I was going to do that at one point but decided to have it run on my windows server that is up 24/7 instead
And why is it such a bad idea, point me to something.
-
I'm not sure if i insert the <shellcmd>in the right spot … i'll try to run it</shellcmd>
There's this Shellcmd package to solve that for you via GUI. :D
And why is it such a bad idea, point me to something.
-
Java on my server has been flawless.
Java on my personal computer nags me more than a clingy GF.
-
There is a shellcmd package that you can install which will insert them into the config.xml correctly.
Its just not good practice to run anything on a fw. But it's your fw, so you can install anything you want.. but if it conflicts with the pfsense core system, you may be able to get support from pfsense or the forum.
Java itself is always being updated due to security issues… I won't recommend it but play it safe... stay update with updates, and make sure its not binding to your WAN or any interface you dont want it on
-
I installed the package with shellcommand added the line but doesn't work, on pfSense startup
"Starting NTP time client …. done
Starting DHCP Service .... done
"
and freezes. I can access webConfigurator with no problem, links are up, internet is working, java process is starting and Unifi Controller is up and running.I can access server using putty and there is no problem, any hints why the visuals on pfsense server halt at that point?
-
Am having the same problem with Java/Shellcmd. The booting gets stuck at "Configuring Firewall"
Any Ideas?
Thanks
Alfredo.
-
I wouldn't recommend running that software on your firewall. I run UniFi on a Raspberry Pi at home.
-
Thanks; we're not running Unify; we're using java for a very secure internal program. pfSense can't finish booting