Update opnatt-supplicant.sh

Removed some additional hardcoded entries.
This commit is contained in:
William Sutton 2021-11-11 10:42:41 -05:00 committed by GitHub
parent a6ef2870cd
commit 686bf73455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -31,11 +31,9 @@ EAP_SUPPLICANT_IDENTITY=""
/usr/bin/logger -st "pfatt" " ONT---[] [$ONT_IF]$HOST"
/usr/bin/logger -st "pfatt" "creating vlan node and ngeth0 interface..."
#/usr/sbin/ngctl mkpeer $ONT_IF: vlan lower downstream
/usr/sbin/ngctl mkpeer em1: vlan lower downstream
/usr/sbin/ngctl mkpeer $ONT_IF: vlan lower downstream
#/usr/sbin/ngctl name $ONT_IF:lower vlan0
/usr/sbin/ngctl name em1:lower vlan0
/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" }'