Bypass At&t fiber BGW210-700
-
(1) I copied PFatt.sh as raw file to notepad.
(2) Made the changes as noted saving changes using semi colon " at beginning and at end of name to ensure it save as correct file type .sh
(3) used command prompt in pfsense webgui to upload to tmp directory.
(4) SSH into pfsense using putty to create directory root/bin.
(5) used file editor in pfsense to copy file to root/bin. -
Notepad can break stuff completely. I recommend Notepad++ in Windows, though it's been a few years since I last used it.
If you open the file in Diag > Edit file does it looks correct?
Steve
-
It looks correct from what I can tell...what if I copied it directly to the pfsense file edit made the changes there then save it as file type .sh? Does that eliminate the possibility of coruption?
-
Yes. Or just pull it directly into pfSense and then edit it in the webgui:
Steve
-
@stephenw10 said in Bypass At&t fiber BGW210-700:
/root/bin/pfatt.sh
Did it got the same syntax error.
-
Sorry wrong file path there. Try this:
[2.5.0-DEVELOPMENT][admin@fw321.stevew.lan]/root: fetch -o /root/bin https://raw.githubusercontent.com/aus/pfatt/master/bin/pfatt.sh /root/bin/pfatt.sh 3309 B 11 MBps 00s
-
now I am getting the following error...kldload: an error occurred while loading the module. Please check dmesg(8) for more details. It appears I might be out of luck.
-
Can you load the module manually?:
kldload ng_etf.ko
-
nope same error...can I download ng_etf.ko to /boot/kernel directly.
-
Hmm, and you got that module from the repo using pkg install?
-
@stephenw10 it says the pkg is installed gonna delete it and reinstall now.
-
That sort of error can often be because the module is wrong, from the wrong FreeBSD version or wrong architecture, but that cannot be the case if you installed it from the repo.
-
ok ran the pkg installer again it says installed but when I look in /boot/kernel I don't see the ng_etf-kmod file.
the original file was from https://github.com/aus/pfatt/blob/master/bin/ng_etf.ko -
It installs it to /boot/modules. It installs and load fine or me here.
What hardware are you running this on?
-
It's a Qotom I5 mini pc...gonna try my original pfsense computer build now just copied over the current xml config.
-
Can you show the exact command you're using and the error you're seeing?
-
pkg install ng_etf-kmod-0.1 I don't get an error on the install it says it completed...maybe my expectation is wrong. I am assuming (which I know I should not) that the pkg installs all the variables and I simply have to connect the att gateway to the wan port on the pfsense box and the att ont to the lan side of the pfsense box and reboot.
-
Right and I assume you see the install happen after that rather than an error? The more info you give us the better we can help you here.
Please give the full console output of you trying to load that module and the error it returns.
Steve
-
using the shellcmd configuration Shellcmd Type earlyshellcmd...do I need to put
the full <earlyshellcmd>/root/bin/pfatt.sh</earlyshellcmd>
or simply /root/bin/pfatt.sh
also where do I find those logs you mentioned?
-
You don't need the tags just the full path to the command:
/root/bin/pfatt.sh
Just copy and paste the console showing you running the command and whatever the output is.
Steve