Auto-click 'connect' button
-
Hello.
Got many troubles because i need to get L2TP server using DHCP. Using information from this closed and usolved topic: http://forum.pfsense.org/index.php/topic,25465.45.htmlSituation: l2tp (ifconfig: l2tp0) doesn't start automatically, only manually form Status -> Interfaces -> l2tp0 -> Connect button.
How can i start it from console?
Found this: http://forum.pfsense.org/index.php/topic,21367.0.html
Need something like described.#!/bin/sh if [ -f /var/run/l2tp_opt1.pid ] then echo "mpd is running" | logger else echo "mpd is dead" | logger fi
instead logger i want to put smth like start_interface l2tp0 <is there="" any="" such="" command?="">Thanks in advance.</is>
-
Still interested in this.
-
Not 100% on this but I think:
/etc/rc.linkup l2tp0
might work. Or something similar. ::)
Steve
-
/etc/rc.linkup l2tp0 start
actually.
GREAT Big thanks!
Now i can go further :D
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.