Bypass At&t fiber BGW210-700
-
@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
-
ok also do I still need to run those chmod commands?
noted: chmod +x /root/bin/pfatt.sh
chmod 555 /boot/kernel/ng_etf.ko
-
I did not after installing from the pkg. You might well have to if you uploaded the module manually.
It would show a permissions error if that were the case though.
Steve
-
I ran dmesg -a and got the out put below.
Initializing.................. done.
Starting device manager (devd)...kldload: can't load ums: No such file or directory
done.
Loading configuration......done.
linker_load_file: Unsupported file type
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
Updating configuration...done.
Checking config backups consistency.................................done.
Setting up extended sysctls...done.
Setting timezone...done.
Configuring loopback interface...done.
Starting syslog...done.
Starting Secure Shell Services...done.
Setting up interfaces microcode...done.
Configuring loopback interface...done.
Creating wireless clone interfaces...done.
Configuring LAGG interfaces...done.
Configuring VLAN interfaces...done.
Configuring QinQ interfaces...done.
Configuring IPsec VTI interfaces...done.
Configuring WAN interface...
em0: link state changed to UP
done.
Configuring OPT1 interface...done.
Configuring OPT2 interface...done.
Configuring OPT3 interface...done.
Configuring LAN interface...done.
Configuring CARP settings...done.
Syncing OpenVPN settings...done.
pflog0: promiscuous mode enabled
Configuring firewall......done.
Starting PFLOG...done.
Setting up gateway monitors...done.
Setting up static routes...done.
Setting up DNSs...
Starting DNS Resolver...
em4: link state changed to UP
em2: link state changed to UP
em3: link state changed to UP
em1: link state changed to UP
done.
Synchronizing user settings...done.
Starting webConfigurator...done.
Configuring CRON...done.
Starting NTP time client...done.
Starting DHCP service...done.
Starting DHCPv6 service...done.
Configuring firewall......done.
Generating RRD graphs...done.
Starting syslog...done.
Starting CRON... done.
Starting package Shellcmd...done.
pfSense 2.4.4-RELEASE (Patch 3) amd64 Wed May 15 18:53:44 EDT 2019
Bootup complete -
Ok you are saying the module will not load. We need to see exactly how you're trying to load it and what errors it produces. Here's me doing the same on a local device:
[2.4.4-RELEASE][admin@pfsense.fire.box]/root: kldstat Id Refs Address Size Name 1 21 0xffffffff80200000 2ddcbe8 kernel 2 1 0xffffffff83221000 10a0 cpuctl.ko 3 1 0xffffffff83223000 2ed0 cryptodev.ko 4 1 0xffffffff83226000 10810 dummynet.ko 5 1 0xffffffff83237000 a34 ng_etf.ko [2.4.4-RELEASE][admin@pfsense.fire.box]/root: kldunload ng_etf [2.4.4-RELEASE][admin@pfsense.fire.box]/root: kldload ng_etf [2.4.4-RELEASE][admin@pfsense.fire.box]/root: kldload ng_etf kldload: can't load ng_etf: module already loaded or in kernel
I first check what modules are loaded with kldstat. Then unload ng_etf. The load it. Then try to load it again which produces an error.
Steve