Reply
New Member
Posts: 2
Registered: a week ago
Kudos: 1

Re: USG and ATT GigaPower - Slow speeds since Nov 12

I solved this problem. For future lookers.  Im using the USG Pro 4 and the instructions are similar, but slightly different. For this device and the usual instructions you want to change how you wire it, and what command you execute. FOr this device you will want teh ONT to be plugged into WAN 1 and the AT&T Gateway to be plugged into the LAN 2 port. Then when you execute your test command you want to set those ports to be what you test.

 

sudo python /config/scripts/eap_proxy.ph --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac eth2 eth1

 

This is also the order reflected in the eap_proxy.py script. You want 

 

# Startup script for eap_proxy.py. Place eap_proxy.py in /config/scripts and
# place this in /config/scripts/post-config.d
#
IF_WAN=eth2
IF_ROUTER=eth1
CONFIG_OPTIONS=(
--restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac
DAEMON_OPTIONS=(--daemon --pidfile /var/run/eap_proxy.pid --syslog)
/usr/bin/python /config/scripts/eap_proxy.py \
"$IF_WAN" "$IF_ROUTER" "${CONFIG_OPTIONS[@]}" "${DAEMON_OPTIONS[@]}" &

 

After that it should work as expected.

New Member
Posts: 34
Registered: ‎10-06-2017
Kudos: 9

Re: USG and ATT GigaPower - Slow speeds since Nov 12

Thanks @cdarville 

And for anyone with ATT Business Fiber with a USG Pro 4, you're likely on VLAN 2 and need to update the eap_proxy scripts to state that. Otherwise, it will default to VLAN 0.

I used:

sudo python /config/scripts/eap_proxy.py --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac --vlan-id 2 eth2 eth1


And here's my eap_proxy.sh:

#!/bin/sh
# Startup script for eap_proxy.py. Place eap_proxy.py in /config/scripts and
# place this in /config/scripts/post-config.d
#
IF_WAN=eth2
IF_ROUTER=eth1
CONFIG_OPTIONS=(
    --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac --vlan-id 2)
DAEMON_OPTIONS=(--daemon --pidfile /var/run/eap_proxy.pid --syslog)
/usr/bin/python /config/scripts/eap_proxy.py \
    "$IF_WAN" "$IF_ROUTER" "${CONFIG_OPTIONS[@]}" "${DAEMON_OPTIONS[@]}" &


And if your installer was nice enough to leave you with a little TP-Link multimode to ethernet converter, just unplug that SFP jack from it and slide it into the WAN1 SFP port of your USG. ;-)  

New Member
Posts: 4
Registered: ‎08-11-2018

Re: USG and ATT GigaPower - Slow speeds since Nov 12

[ Edited ]

Is there any reason why the script wouldn't work? Is there some setting to make the USG Pro run the eap_proxy during boot?

 

I do the followign to try to make it run on boot

- copy over the eap_proxy.sh and eap_proxy.py to the post-config.d dir

- sudo mv /config/scripts/post-config.d/eap_proxy.py /config/scripts/

- chmod +x eap_proxy.sh

 

all of that runs properly, but during boot it never runs the script and i dont get internet back until i manually ssh and run 

- sudo python /config/scripts/eap_proxy.py --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac eth2 eth1

 

 

Any ideas why i cant get this to run on boot?

 

For what it is worth my eap_proxy.sh is as follows

 

#!/bin/sh
# Startup script for eap_proxy.py. Place eap_proxy.py in /config/scripts and
# place this in /config/scripts/post-config.d
#
IF_WAN=eth2
IF_ROUTER=eth1
CONFIG_OPTIONS=(
    --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac)
DAEMON_OPTIONS=(--daemon --pidfile /var/run/eap_proxy.pid --syslog)
/usr/bin/python /config/scripts/eap_proxy.py \
    "$IF_WAN" "$IF_ROUTER" "${CONFIG_OPTIONS[@]}" "${DAEMON_OPTIONS[@]}" &
Reply