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

#1
General Discussion / Re: Wale on LAN from command
October 21, 2025, 10:23:35 AM
Quote from: meyergru on October 21, 2025, 09:44:51 AMNote that the specific system is off and actually has no IP at that time, so it cannot react to a directed request with an IP.

AFAIK, when you use "-i", you are denoting a specific (OpnSense) interface instead of using "255.255.255.255", which in turn should use all WOL-capable interfaces at once. Thus, you should not use a target system IP address, but the broadcast address of the specific interface, like "-i 192.168.1.255", or no "-i" at all.



Thanks a Ton,

It works :)

So this can help others
This is the command used from OPNSense (install os-wol plugin)

/usr/local/bin/wol -i 192.168.1.255 <MAC address>
#2
General Discussion / Wale on LAN from command
October 21, 2025, 08:53:44 AM
Hi Everyone,

I have setup wol plugin under services to wake up proxmox machine. I am able to wake up system using opnsense GUI Services > "Wake on LAN" without any issue.

I want to automate system startup, whenever router starts it should turn on the server.

My Setup:
//Create file at /usr/local/etc/rc.syshook.d/start
File Name - 99-wolproxmox

content of file :
/usr/local/bin/wol -i <IP address of target system> <mac address>
/usr/local/bin/wol -i <IP address of target system> -m <mac address>

I have tried to login to opnsense shell and issue commands from there but it doesn't work. When I issue above commands it says on screen
Waking up x:x:x:x:x:x...(removed mac address) but nothing happens.

Any suggestion how to make this command work?

#3
Thankyou Patrick

1. Created LAN Bridge following the document.
2. Created range under Services > DHCP
3. Assigned static IP to MAC address.

All good now.
#5
Hello Everyone,

This is my current setup
ISP Router LAN port connected to WAN Port on ASUS Router.
There are four LAN ports on Asus router which are connected to four different clients, I have assigned fixed IP addresses to each of those clients in the router LAN > DHCP settings(192.168.1.2, 192.168.1.3, 192.168.1.4, 192.168.1.5). If I want to connect to router settings page I simply hit 192.168.1.1 from client connected to any of the four LAN ports. I have blocked internet access to all these clients in router settings.

With OPNSense
I am using Lenovo M720q tiny
Onboard Port - Assigned as WAN

four Port NIC - PRO 1000 PT
Port1 - LAN (Fixed IP 192.168.1.1 under Interfaces > IPv4 address)
Port2 - Opt1 (DHCP under Interfaces > IPv4 Configuration Type)
Port3 - Opt2 (DHCP under Interfaces > IPv4 Configuration Type)
Port4 - Opt3 (DHCP under Interfaces > IPv4 Configuration Type)

1. Port1 - LAN has fixed IP 192.168.1.1, how can I make all four LAN/OPT ports usable. If I change the Port1 LAN port IP I am no longer able to connect to Opnsense settings page. Also currently none of the other ports are working, when I connect a client on opt ports client doesn't get any IP assigned even though DHCP is on for those ports.
2. How can I reach 192.168.1.1 from all LAN/OPT ports, just like you can do it on ASUS router. Or does it mean that Port1 is fixed for OPNSense and can't be used by client to assign fixed IP?
3. How do I assign fixed IP to each of those four ports. So when a client connects it gets assigned that fixed IP.
#6
Hardware and Performance / Re: Running img from ssd
September 16, 2025, 04:37:35 AM
Quote from: pfry on September 16, 2025, 02:30:21 AM
Quote from: Patrick M. Hausen on September 15, 2025, 09:31:00 PM[...]
Or just use ZFS.

I'd always recommend using an SSD with big caps just to make sure the SSD's own buffers are written when power is cut. Will you ever notice the difference? Probably not, unless your luck is like mine.

(The feature is generally listed as "power fail protection" or similar; the large capacitors are pretty obvious on M.2 devices and may make applying a heat sink a bit more challenging.)

Thank you

For now I'll be using image until I have figured out how to shut down with a remote(Single button click). There are other electronic devices that are controlled by this remote then through WOL, shutdown Scripts.
#7
Hardware and Performance / Re: Running img from ssd
September 16, 2025, 04:30:41 AM
Quote from: Patrick M. Hausen on September 15, 2025, 09:31:00 PMWrite the nano image to an SSD instead to a USB drive. It will be read-only apart from the configuration. No problem with a power cut.

Or just use ZFS.

Thank you.
#8
Hardware and Performance / Running img from ssd
September 15, 2025, 09:08:25 PM
Hello Everyone,

I want to run opnsense just like embedded systems where only config is saved in permanent memory rest everything runs in RAM.
Reason - I want capability to just cut the power and not corrupt the file system.

Only config should save on SSD, rest everything should run from ram. Nano seems to do what I want but how do I run img from SSD just like we can run img from bootable usb. I don't want to install os on ssd.

I am fine installing on SSD as long as it gives me capability to just switch off power without corruption.

Thank you