Steps to connect wired LAN to TEG WiFi using GL-iNet Opal travel router #658
Replies: 6 comments 6 replies
-
Thank you @youzer-name ! |
Beta Was this translation helpful? Give feedback.
-
Thank you for posting this and especially for the added repeater edit at the bottom. I came back to see if anyone had a way to auto-connect the repeater connection as it appears my gl.inet has been rebooting occasionally and then I have to go back and use tesla-history.py to fill in the blanks. Hoping this does the trick to keep that connection persistent. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
thanks, maybe disabling the PW Wifi as a client might be the way to go given that I also have ethernet to PW. It's very hard to trouble-shoot given the fact that everything could be rock solid for a week or more without any connection drops and then it occurs. Mostly self correcting. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Well, I got 9 days and now I can't connect to TEG-XXX again. Such a bummer.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I originally posted this in a thread on firmware updates, but that thread is getting very long and covers a lot of related topics, so I thought it might be useful to re-post this under its own thread to make it easier to find in searches.
There are a few different solutions that have been posted to connect to the TEG WiFi to enable vitals data using either a WiFi adapter on the PWD host or via a travel router-type device. I went with a travel router and chose the GL-iNet Opal model due to its reasonable cost ($35 on Amazon when I bought it) and OpenWRT-based firmware which I was familiar with from my main router. I was able to run an Ethernet cable from my main router to a spot near by Powerwall Gateway, so I set this up with a wired connection from the LAN to the Opal.
My setup is complicated by my choice to put the Opal on my IOT VLAN while my PWD host is on my main VLAN, so users with a simpler network setup may be able to skip some of the steps that I needed.
The overview of the connection is (devices in bold, connections in brackets):
PWD <--Main VLAN Ethernet 192.168.0.x--> Main Router <--IOT Ethernet [192.168.2.x] --> Opal <--WiFi [192.168.91.x]--> TEG
Here is a slightly edited version of my original post from #109 (reply in thread)
and set forwarding to/from the wan and wwan zones so the traffic could pass between the networks. I enabled masquerading and MSS clamping on the WWAN zone
I also had to add a static route on the Opal to deal with the traffic headed back to the LAN on 192.168.0.x. I don't think this is needed if your PWD host is in the same VLAN as the WAN/ethernet side of the Opal.
In Network -> Static Routes:
On the main router I added a static route for the gateway's subnet:
Finally, I had to do one last step on the main router. I route all of my internet traffic via a VPN, and if I didn't add these last two rules, other IPV4 rules would send the traffic out via the VPN. This step shouldn't be needed for anyone with a simpler network setup.
Under Network -> Routing -> IPv4 Rules, I added rules to route the traffic in both directions.

If you use this guide and find any issues or have suggestions for improvement, please let me know.
EDIT: Adding one additional step to ensure the TEG connection comes back up after a router reboot. The GL-iNet routers do not start the 'Repeater' connection if the router reboots. To ensure the connection auto-starts, you can disable the repeater function as follows:
From the OpenWRT interface:
Go to System -> Startup, find "repeater" on the list, click the 'Enabled' button. It will change to show 'Disabled'.
The 'Repeater' interface on the GL-iNet main page where you first connected to the TEG network will no longer be displayed. You can access/edit the TEG WiFi connection from the OpenWRT interface under Network -> Wireless
Beta Was this translation helpful? Give feedback.
All reactions