MonkWho / pfatt

Enable true bridge mode for AT&T U-Verse and pfSense (this is a fork of an original repository https://github.com/aus/pfatt. Since it is not available anymore, I'll do my best to maintain a copy for people that still need a bypass)
450 stars 175 forks source link

5268AC pfSense Services > Shellcmd scripts #25

Closed ivanfarkas2 closed 4 years ago

ivanfarkas2 commented 4 years ago

I have 5268AC. If I understood it correctly in Install step 3, I do have to setup all 3 scripts in pfSense Services > Shellcmd, right?

ReignBock commented 4 years ago

No, pfatt.sh is the only one that needs to be setup in shellcmd.

pfatt.sh is run via earlyshellcmd so it executes before pfsense loads its configuration. This is because pfatt.sh creates the ngeth0 interface and if that didn't exist before loading your configuration you'd need to choose a new WAN interface every reboot.

By placing pfatt-5268AC-startup.sh in /usr/local/etc/rc.d/ it is treated as a service and pfsense will execute the rc_start() function automatically.

pfatt-5268AC.sh is then started by pfatt-5268AC-startup.sh

ivanfarkas2 commented 4 years ago

So Sorry. It is very clear from the documentation. I have not paid attention to it. Thx, Ivan