Restart WAN PPPoE interface
-
Can somebody please let me know in 2.7.2 how can I restart the PPPoE and get a new IP?
ifup down/up will not give me a new IP and not fully reset PPPoEI also found:
/usr/local/sbin/pfSsh.php playback restartallwan
that will do they job - but it restarts LAN interface as well (maybe a bug as the command say restartallwan instead of all interfaces?) -
/var/etc/pppoe_restart_pppoe0
in case, that pppoe0 is your WAN. Otherwise you have to adapt the pppoe number.
-
Doesn't exist in 2.7.2
[2.7.2-RELEASE][admin@pfSense.home.arpa]/var/etc: ls -al total 64 drwxr-xr-x 6 root wheel 15 Mar 4 10:09 . drwxr-xr-x 29 root wheel 29 Jan 2 12:34 .. -rw-r--r-- 1 root wheel 17339 Mar 4 10:09 filterdns.conf drwxr-xr-x 3 root wheel 7 Mar 4 10:08 haproxy -rw-r--r-- 1 root wheel 305 Mar 1 01:11 miniupnpd.conf lrwxr-xr-x 1 root wheel 26 Mar 1 01:10 mpd.script -> /usr/local/sbin/mpd.script -rw-r--r-- 1 root wheel 954 Mar 4 10:08 mpd_wan.conf drwxr-xr-x 2 root wheel 4 Mar 1 01:10 newsyslog.conf.d -rw-r--r-- 1 root wheel 1800 Mar 1 01:11 nginx-webConfigurator.conf -rw-r--r-- 1 root wheel 436 Mar 1 01:19 ntpd.conf drwxr-x--- 3 root wheel 3 Mar 1 01:10 openvpn -rw-r--r-- 1 root wheel 39 Mar 4 10:09 radvd.conf -rw-r--r-- 1 root wheel 1059 Mar 4 10:08 snmpd.conf drwxr-xr-x 2 root wheel 4 Mar 1 01:17 syslog.d -rw-r--r-- 1 root wheel 1589 Mar 4 10:09 xinetd.conf
-
@murdof
I have configured a scheduled reset in the PPPoE interface setting. Possibly it was added by this. -
@murdof said in Restart WAN PPPoE interface:
Can somebody please let me know in 2.7.2 how can I restart the PPPoE and get a new IP?
Hi, I use this command:
/usr/local/sbin/pfSctl -c 'interface reload wan'
Regards,
fireodo -
@fireodo
Thanks - that worked! -