WZR-HP-G300NH2 trouble passing internet from 3g dongle 2 lan

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Treebark
DD-WRT Novice


Joined: 22 Sep 2017
Posts: 8

PostPosted: Wed Feb 14, 2018 10:04    Post subject: WZR-HP-G300NH2 trouble passing internet from 3g dongle 2 lan Reply with quote
I have a WZR-HP-G300NH2 running the latest beta DD-WRT v3.0-r34929M std (02/12/18 )

I am using a 3g/4g dongle Alcatel l100 which is on the compatibility list

The dongle connects to internet and gives me a wan ip in ddwrt gui, I can ping google.com from gui services - > commands

When I connect a client on lan/wifi the clients are not able to see the internet and ping attempts time out, I put the firewall down but out of ideas

I read somwhere that in betas there is some vlan bug but can't remember further

Please help me
Sponsor
zloy_elektrik
DD-WRT Novice


Joined: 15 Jan 2012
Posts: 12
Location: Kiev, Ukraine

PostPosted: Mon Feb 19, 2018 2:49    Post subject: Reply with quote
Same problem. Tp-link tl-wr1043nd v1 build v3.0-r35034
Tried different 3G dongles, Huawaei E372 and some old ZTE. ppp0 is UP, dns name resolve via lan/wifi work, but no ping/internet connection. log from serial:
Code:

Huawei E367E398 detected
[  139.810000] usbcore registered new interface driver option
[  139.810000] usbserial USB Serial support registered for GSM modem (1-port)
[  139.820000] option 1-11.0 GSM modem (1-port) converter detected
[  139.830000] usb 1-1 GSM modem (1-port) converter now attached to ttyUSB0
[  139.840000] option 1-11.3 GSM modem (1-port) converter detected
[  139.840000] usb 1-1 GSM modem (1-port) converter now attached to ttyUSB1
[  139.850000] option 1-11.4 GSM modem (1-port) converter detected
[  139.860000] usb 1-1 GSM modem (1-port) converter now attached to ttyUSB2
[  139.880000] usbcore registered new interface driver qcserial
[  139.880000] usbserial USB Serial support registered for Qualcomm USB modem
[  139.950000] usbcore registered new interface driver sierra
[  139.950000] usbserial USB Serial support registered for Sierra USB modem
sh can't open devusbtts2 no such file

Wait till carrier is attached

.Bad argument `100.112.22.143'
Error occurred at line 5
Try `iptables-restore -h' or 'iptables-restore --help' for more information.

100.112.22.143 - modem ip address.
If i log in (via serial) and add rule
Code:
iptables -A POSTROUTING -t nat -j MASQUERADE -o ppp0

ping/internet via lan/wifi begin to work.
Some simple script, that add iptables rule on ppp0 up is a solution, but I have no script writing skills, and in 2018 things like that should work without any scripts.
Treebark
DD-WRT Novice


Joined: 22 Sep 2017
Posts: 8

PostPosted: Mon Feb 19, 2018 3:16    Post subject: Reply with quote
I ended up installing gargoyle and works on that
zloy_elektrik
DD-WRT Novice


Joined: 15 Jan 2012
Posts: 12
Location: Kiev, Ukraine

PostPosted: Tue Feb 20, 2018 20:17    Post subject: Reply with quote
Latest gargoyle works with my 3g dongle, but i was unable to setup openvpn client (tun interface up, but has no ip, nothing helpfull in client/server logs..) I'm now again on dd-wrt build 33555, 3g works, openvpn client works (but i'm still trying to setup proper routing between two networks)

UPD. Latest build with 3g working is r33772. Previous builds - 3G working, next built - "Error occurred at line 5 "
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum