RPi3, VisibleR2, WRT54G

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Dualfuel
DD-WRT Novice


Joined: 08 Feb 2020
Posts: 6

PostPosted: Sat Feb 08, 2020 13:47    Post subject: RPi3, VisibleR2, WRT54G Reply with quote
I use a WRT54G as the main router for my LAN. The clients are Raspberry Pis. I would like for the network to be accessible from the internet. I am rural. I use a Verizon Visible ZTE R2 as a hotspot. I would like to use the WRT54G for SSH, ftp, MotionEye OS, and other LAN related functions, BUT, I would also like to access the internet through the phone.
Is there a way to configure the WRT54G so it will pass internet traffic back and forth between the phone and the pis, and also act as a LAN router?
The WRT54G is flashed with build 12548M.
thx Dualfuel
Sponsor
Dualfuel
DD-WRT Novice


Joined: 08 Feb 2020
Posts: 6

PostPosted: Mon Apr 25, 2022 11:42    Post subject: Visible R2 Hotspot Reply with quote
Up to the present we have used the Visible R2 (ZTE) connected to a TP travel router connected to a WRT54G. Its worked for a couple of years now.

I have always wondered if I can use the WRT54G directly. It appears so. Although I have some problems to work out.

I am using an Ubuntu OS laptop to configure the router.

I find its better to configure the router with an ethernet cable directly connected between the laptop and the LAN side of the router (the side with four ethernet connections in a row). When I do this I turn off the laptop's WiFi. This means I have to have all the code present to copy, already on the laptop because I won't have internet access.

Apparently the reason the R2 phone does not let more then one device connect to the hotspot, is Visible is counting the Time To Line (TTL) increments and will not allow more then one increment. The work around is to use mangle to change the packet header in the router (cite this). The code has to be placed in the router thusly:

Login to the router's DD-WRT OS by opening a browser and typing only 192.168.1.1 no https// or anything else.

select the Administration tab
select the Commands tab
In the "Commands" box paste in:
iptables -t mangle -I POSTROUTING -o $(get_wanface) -j TTL --ttl-set 65

Select Run Commands
Select Save Startup

Ok that got the TTL thing fixed.
Now I have to configure the router to connect to the phone and act as a router for my LAN.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12910
Location: Netherlands

PostPosted: Mon Apr 25, 2022 11:56    Post subject: Reply with quote
I will transfer this thread to the appropriate forum.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

I assume you want to connect the router wirelessly to the hotspot, if your clients are only wired then use client mode if you also have wireless clients then use repeater mode (but then the radio is doing double duty and this is already a really old an anemic router so not something to recommend)

https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Dualfuel
DD-WRT Novice


Joined: 08 Feb 2020
Posts: 6

PostPosted: Mon Apr 25, 2022 12:21    Post subject: Reply with quote
@EGC
Thank you for moving this to the appropriate forum. Thanks for the tips too! I will pursue them and report back.

In keeping with the guidelines, I am posting the router details.

Linksys WRT54G v.2 Firmware DD-WRT v3.0-r44715 mini
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12910
Location: Netherlands

PostPosted: Mon Apr 25, 2022 12:34    Post subject: Reply with quote
Excellent, not saying you should upgrade (as this router is not directly connected to the internet there probably is no need) but you are not running the latest build, latest build is 48646.

Usually the advice is to upgrade but for your old router not connected to the internet I am not sure, those old routers are not much used and thus not tested with latest builds (at least not reported in the build threads)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Dualfuel
DD-WRT Novice


Joined: 08 Feb 2020
Posts: 6

PostPosted: Mon Apr 25, 2022 15:21    Post subject: Reply with quote
Wow! A very educational hour or so...
I followed EGC's advice (thank you!)
I read
https://wiki.dd-wrt.com/wiki/index.php/Wlan_Repeater

I followed all the steps except for reading peacock. I had read Peacock a few years ago and will circle back to review, I just wanted to roll faster.
I did the hard reset on the WRT54G v.2 and followed the steps.
I turned on the Visible R2's hotspot and watched the WAN IP address in the upper right of the dd-wrt setup page...no cigar. Nothing but zeros.
I went to the status-wireless tab and scrolled down to the site survey button and clicked that. Here is where the adventure gets weird. All the APs around me, my router, my neighbor's routers, at least 8 of them, appeared in the site survey. The Visible hotspot does not appear. I checked the available WiFi networks with my laptop and other phone. Both showed the Visible R2 hotspot.
I, then, noticed that a MAC address was flashing intermittently on the status-wireless-wireless nodes list. It was the Visible ZTE R2 phone. It gets listed for about 5 seconds or less, then disappears.
My conclusion is that the WRT54G is trying to connect and cannot. Remember though...no address appears in the upper right WAN IP.
To confirm its the phone...I reconfigured the hotspot data on the WRT54G,for my moto Z^3 running on the Verizon network. After the router rebooted, I could no longer connect to it with the ethernet cable via laptop. I had to shut off the ethernet connection, and connect to the WRT54G's wireless connection. That worked, and I noticed immediately that the WAN IP address went to 192.168.43.230.
I could not connect with the internet, but remembered I had done a hard reset and didn't add the TTL commands. Once I added the command. I immediately got internet access on my laptop. In fact, am using same to type this.

Sooooo, the mystery remains.
Why can't I connect to the ZTE R2 on Visible, with my WRT54G, when I can connect to it with my laptop, and Moto Z^3???? Why does the TP Link travel router connect and provide AP to the WRT54G but not the WRT54G directly?

I believe there is a setting that isn't right, something stupid simple but I remain clueless.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12910
Location: Netherlands

PostPosted: Mon Apr 25, 2022 15:38    Post subject: Reply with quote
You can only connect 2.4 GHz and B/G and not N so you have to set the wireless on the hotspot to also be able to connect to B/G or something like that

It is even possible the hotspot does not support those old protocols any more

Oh and also 20 MHz channel width, fixed channel number e.g. 1, 6 or 11

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Dualfuel
DD-WRT Novice


Joined: 08 Feb 2020
Posts: 6

PostPosted: Mon Apr 25, 2022 17:11    Post subject: Reply with quote
@EGC thanks again for those tips.
I checked the signal from the moto Z^3 and it was b/g/n. The router was able to figure that out.
I watched the Status-wireless page and watched as the router searches through the channels. The Visible R2 transmits its hotspot on channel 1. The WRT54G does spend some time on that channel but moves on. I could not find a setting to lock the router on a specific channel.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum