OpenWrt Forum Archive

Topic: Help with a strange issue when using mobile phone

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am having an issue with my mobile ISP.  I'm using sprint with a mc7455 modem.  Sprint must be able to see something they don't like and keep disconnecting me whenever mobile devices and android devices connect to my router. 

I can use as many computers on the network as I want but as soon as a phone connects after 10 min I get deregistered from the lte network.  If i run a vpn it solves the problem but I don't really want to run a vpn. 

Can anyone help me figure out what could possibly be different about phones that computers don't do?  I've tried all sorts of ttl iptable rules and the issue still remains so its not a ttl. 

Is their any rules that I could apply that would change headers?  That's the only thing I can think of

Does anyone have any suggestions to this?  It's strange.  It's only when my android phones connect that exactly 10 min later no data will flow.  I found that the modem is not deregistering.  It's connected and has full service.    A few times, instead of the data just stopping, my android showed no data and kicked me off and the data still worked for all the other devices but I couldn't connect to the WiFi with the phone.

If I use a VPN app on the android phones everything works fine.

(Last edited by westrem on 2 May 2017, 03:25)

hey

you PAY for their services you have the RIGHT to get support FROM THEM
do STOP PAYING them FOR NO SERVICE

(Last edited by makarel on 2 May 2017, 12:53)

I use a Sprint Pocket Wi-Fi to a network of OpenWrt routers and ultimately an Android phone.  They have not disconnected me.

makarel wrote:

hey

you PAY for their services you have the RIGHT to get support FROM THEM
do STOP PAYING them FOR NO SERVICE


The service works fine.  Like I said.  The modem does not deregister.  I'm not sure how sprint is going to give me support on openwrt losing its usb connection when android devices connect to my router. 

Yes my pocket wifi works fine with android.  But I don't want to use the pocket WiFi as I don't want the double nat to the router.

The mc7455 is direct raw ip.


I'm looking at the issue android Wi-Fi has with openwrt.  I've read many things about this issue and I was seeing if there is any iptable rules or anything that needs to be set up.

Though, the Pocket WiFi did not like to USB tether.  Lots of disconnections there.  I use a 5 GHz client on it.  It double-NATs either way.  I don't think that matters much since Sprint blocks all incoming connections anyway.

so your android connects to owrt which in turn connects to sprint modem
maybe you should see this for wifi disconnects.. rekey.. low_ack
https://forum.openwrt.org/viewtopic.php?id=69213
also see that you have different ssids for owrt and sprint
and lan ips dont conflict(ex: sprint lan=192.168.1.1/24 owrt lan=192.168.2.1/24)

I've tried the WiFi settings and it's the same issue.  The sprint ip is the public ip and could never conflict with my private ip.

And it's not a sprint modem.  It's a sprint plan on a mc7455 modem.

can you detail your network setup from provider till lan/wifi clients? i cant figure out how you connect owrt to sprint or when connection drops it drops only for wifi or for all even wired clients.. can you ping owrt router.. can you ping spring router? can you ping www
exactly 10 min might be an inactivity timer

(Last edited by makarel on 2 May 2017, 18:36)

Sprint--->mc7455 raw ip modem in qmi or mbim mode---->openwrt router usb--->wan gets public ip using either umbim or uqmi.

I've tried both umbim and uqmi.  Umbim seems to work a little better but still eventually has the same issue.

I lose all wired and all wireless internet access exactly 10 min after an android phone connects to the WiFi.  I'm still connected but just no internet.  I also lose try into the modem.

If I don't connect an android phone the set up works fine.  It can be up for 10 hours and as soon as the android connects 10 min later all internet is lost.

There had been a few times at the 10 min mark instead of the internet going down my phone was just kicked from the WiFi and internet still worked for everything else.

It's not deregistering.  The modem is still registered and has connection with sprint.

I've disabled all ipv6 stuff In the router but still the issue remains.

I've tried many different ways of connecting the modem.  I even compiled modem manager and have used libmbim, libqmi, and ppp.

It makes no difference how I connect,  the issue still remains with the android phones.  And the issue is only with public ip's.  I can use the same setup with att and tmobile

(Last edited by westrem on 2 May 2017, 19:09)

you should have some error logs when connection drops.. you could mount a serial interface and debug when all connections drop.. restart services.. see what goes

id suggest another setup
leave it as it is but disable wifi on the openwrt connected to the modem and link another wifi router(use this one as wifi link) with utp wire to it

(Last edited by makarel on 3 May 2017, 13:20)

The discussion might have continued from here.