Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PFSense 2.5.1 Netgraph issues #64

Closed
smplman opened this issue Jan 13, 2022 · 6 comments
Closed

PFSense 2.5.1 Netgraph issues #64

smplman opened this issue Jan 13, 2022 · 6 comments

Comments

@smplman
Copy link

smplman commented Jan 13, 2022

I'm running into some issues with running the script in supplicant mode. When the script tries to create the vlan and ngeth0 interface all of the ngctl calls come back with ngctl: send msg: No such file or directory. My ONT_IF is set to em1 as that is the port that I have the ONT Interface connected to. Both RG_ETHER_ADDR and EAP_SUPPLICANT_IDENTITY are set and I don't think those are the issue. I'm not sure if this is a 2.5.1 issue as I have seen posts about people getting this to work.

Here is where those ngctl calls start being made..
https://github.com/MonkWho/pfatt/blob/supplicant/bin/pfatt.sh#L147

  /usr/sbin/ngctl mkpeer $ONT_IF: vlan lower downstream
  /usr/sbin/ngctl name $ONT_IF:lower vlan0
  /usr/sbin/ngctl mkpeer vlan0: eiface vlan0 ether
  /usr/sbin/ngctl msg vlan0: 'addfilter { vlan=0 hook="vlan0" }'
  /usr/sbin/ngctl msg ngeth0: set $RG_ETHER_ADDR

I'm pretty new to the BSD space, but pretty well versed in unix. I suspect there is something simple that i'm missing and running a google search for the errors didn't help me much. I have wpa_supplicant working on my EdgeRoute X. This is for a new PFSense box that I just built. Any help would be appreciated.

@smplman
Copy link
Author

smplman commented Jan 13, 2022

I was able to fix this and get a WAN ip by adding the code below before the lines I mentioned above.

/usr/local/bin/php -r "pfSense_ngctl_attach('.', '$ONT_IF');"

I found that reading through this forum post https://forum.netgate.com/topic/99190/att-uverse-rg-bypass-0-2-btc/303?lang=en-US

My next issue is the speed. I have only been getting like 400 down and 150 up. On my ERX i'm getting around 800 down and up. I'm also working through the readme to get a public IPv6 address, not sure if it's related to the speed issue. I didn't have to do anything special on the ERX to get an IPV6 address.

@zombielinux
Copy link

Let me know if you figure out the IPV6 address. I'm not getting a default route on opnsense, and manually adding the correct one still doesn't give WAN access.

@smplman
Copy link
Author

smplman commented Jan 21, 2022

@zombielinux I think i'm going to try out OpnSense over the weekend. I will report back with my findings.

@A-vesalius
Copy link

FYI, OPNsense is about to release 22.1, currently on RC2 and final maybe in a week or 2 switching to FreeBSD 13 as the base, and this will undoubtedly result in a new set of issues on the AT&T bypass front.

@smplman
Copy link
Author

smplman commented Jan 31, 2022

Tracking 22.1 over here #65 (comment)

@smplman smplman closed this as completed Jan 31, 2022
@zombielinux
Copy link

To all reporting it not working.

When you manually run the script, where does it fail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants