reverse bluetooth tether bid request - G1 General

Hello.
I am trying to tether my sim-card-less G1 to my windows mobile phone (using bluetooth) so I can use the unlimited data plan of my cdma windows mobile phone with my G1.
I can't code, so, I decided to put a little incentive behind my wish : 150$.
I've put up a bid request here : http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=1231518
I think a good starting point would be to use http://code.google.com/p/android-wifi-tether/ , it already installs the binaries and kernel extensions for pand, iptable... I think it only needs some tweaking to allow it to do it's job in the opposite direction, and some more work to allow it to connect properly to the windows mobile based bluetooth access point.
Any takers?

How about this: cancel the wimo cdma crapola and throw it at a bus. Be sure that it gets crushed into tiny bits, then sweep it into a pile and piss on it. Now go to tmobile or att and sign up for some data plan.
If you really insist on doing things the retarded way and tethering a phone through a phone, there is no coding required. You just need to read up on pppd linux bluetooth tethering for how to actually do it.
stanelie said:
Hello.
I am trying to tether my sim-card-less G1 to my windows mobile phone (using bluetooth) so I can use the unlimited data plan of my cdma windows mobile phone with my G1.
I can't code, so, I decided to put a little incentive behind my wish : 150$.
I've put up a bid request here : http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=1231518
I think a good starting point would be to use http://code.google.com/p/android-wifi-tether/ , it already installs the binaries and kernel extensions for pand, iptable... I think it only needs some tweaking to allow it to do it's job in the opposite direction, and some more work to allow it to connect properly to the windows mobile based bluetooth access point.
Any takers?
Click to expand...
Click to collapse

Switching plans or company is really not an option for me.
My CDMA phone is on telus, and they are the only company here to offer a less evil data plan. The GSM companies, Rogers and Fido, are outrageously expensive.
I did manage to tether the G1 to my computer using bluetooth, I could ping both ways, but the iptable stuff is beyond me.
I was reading http://joshuaredstone.blogspot.com/2009/01/bluetooth-tethering-from-ubuntu-to.html and http://www.gotontheinter.net/content/second-g1-story-proper-bluetooth-tethering-how-short
No takers for my retarded request?

Doesn't your WinMo phone have WiFi?
You could use WMWifiRouter that converts your phone in an AP and connect in Ad-Hoc mode with the G1 to the WinMo.

stanelie said:
My CDMA phone is on telus, and they are the only company here to offer a less evil data plan. The GSM companies, Rogers and Fido, are outrageously expensive.
Click to expand...
Click to collapse
I can't imagine what you must be smoking because they both cost EXACTLY THE SAME...
Telus: $25 for 500MB, $30 for 1GB, $60 for 3GB, reference: http://www.telusmobility.com/en/ON/connectplans/index.shtml
Rogers/Fido: $25 for 500MB, $30 for 1GB, $60 for 3GB, $80 for 5GB, reference: http://www.rogers.com/web/content/wireless-plans/iphone_phones_plans#dop and http://www.fido.ca/web/content/internet/wia_email_options

Wifi is not an option, it drains the battery of the winmo phone too quickly.
I have a grandfathered plan with telus that gives me unlimited data for 45$ a month. And since I can tether my computer easily with my winmo phone, I'd hate to loose it by switching providers...

If wifi isn't an option because it drains your battery, then the same can be said for bluetooth -- it also drains your battery.

Well,
When I'm tethering using wmwifirouter, my phone runs hot and dies after about 1 hour.
When I tether using bluetooth, my phone stays cool and this can go on for much longer...

So,
I got in touch with the creator of Tether Blu and he tried to cook something up for me. But for lack of time, he had to stop working on it.
It is two folds : a compiled pand for android, and a small script that runs pand and associates it with my windows mobile based bluetooth access point.
A working network is established between the two devices using the bluetooth link, the android phone can even reach the internet using this link. However, somehow, DNS queries do not get relayed, so I can only reach websites or devices using their numeric IP addresses. Also, most applications that use a data connection to the internet check before doing their stuff if a working link is there by querying android about the status of either the cellular data link, or the wifi connection. These applications fail to pass this check because they do not recognize the bluetooth link as a valid link, even though the link works. Remote (a RDP client) is such an app, where even if you try to reach a machine using it's ip address, you can't because the application thinks it is not connected to a network.
So, does anyone know how to correctly assign working DNS entries to Android?
Also, does anyone know how to flag the data link or the wifi link as being "UP" even though they are not really up? This looks like a good way to have all these applications that check whether or not a data link exists to still work using the bluetooth tether.
Here is the code of tether.sh :
Code:
#!/system/bin/sh
MACADDRESS="00:17:83:0F:0F:C7"
apath=""
tpath=""
IFS="/"
for i in $0
do
apath="$tpath"
tpath="${tpath}${i}/"
done
IFS="|"
pand_pidfile=${apath}pand.pid
PAND_PID=0
if [ -e $pand_pidfile ]; then
PAND_PID=`cat $pand_pidfile`
if [ "x" = "x$PAND_PID" ]; then
PAND_PID=0
else
if ! (ps | grep ${apath}pand | grep -v grep > /dev/null); then
PAND_PID=0
fi
fi
fi
logfile=${apath}tether-log
case "$1" in
start)
if [ 0 -eq $PAND_PID ]; then
echo "Starting pand"
rm $pand_pidfile > /dev/null 2>&1
PAND_PID=0
rm $logfile > /dev/null 2>&1 # if it exists
${apath}pand --role PANU --connect $MACADDRESS -n --pidfile $pand_pidfile || exit
sleep 1
ifconfig bnep0 up
sleep 2
netcfg bnep0 dhcp
fi
echo "Success"
;;
stop)
if [ 0 -ne $PAND_PID ]; then
echo "Killing pand at pid $PAND_PID"
ifconfig bnep0 down
${apath}pand -K || exit
kill $PAND_PID || exit
rm $pand_pidfile > /dev/null 2>&1 # Looks like pand may have removed it for us
sleep 1
fi
echo "Success"
;;
*)
echo "Usage: ${apath}tether.sh {start|stop}"
exit 1
;;
esac
exit 0
Attached to this post is a zip file containing two files : tether.sh and pand. Put the two files in this location on your android phone:
/data/local/
then chmod 777 the two files, these commands (as su) on the android phone will do it for you:
chmod 777 /data/local/pand
chmod 777 /data/local/tether.sh
then to test it out, start tethering on your win mobile phone, turn bluetooth on your android device, wait a little bit and then run this command as su on the android phone:
/data/local/tether.sh start
I have to do a ./tether.sh start on my phone.
You will have to edit the tether.sh file so that the mac address of your bluetooth accesspoint matches the one in the script.
Thanks!

stanelie said:
So,
I got in touch with the creator of Tether Blu and he tried to cook something up for me. But for lack of time, he had to stop working on it.
It is two folds : a compiled pand for android, and a small script that runs pand and associates it with my windows mobile based bluetooth access point.
Click to expand...
Click to collapse
Thanks for the script. I was able to make my Acer Liquid A1 android phone to access internet via my laptop with bluetooth. You can set dns using the following code, just add it after dhcp.
Code:
for i in 1 2; do
dns=`getprop net.bnep0.dns$i`
if [ x"$dns" != "x" ]; then
setprop net.dns$i $dns
fi
done
But still, need to find a way to flag the network as "UP".

Rudeness and unhelpfulness seems to be the norm around here. But, many months on, there remains no easy solution for this problem, despite the "help" offered below. (Please, lbcoder, do try and behave online as you would face to face.)
I too would like a REVERSE BLUETOOTH TETHER app for Android, preferably at the Android Market.
Paul
lbcoder said:
How about this: cancel the wimo cdma crapola and throw it at a bus. Be sure that it gets crushed into tiny bits, then sweep it into a pile and piss on it. Now go to tmobile or att and sign up for some data plan.
If you really insist on doing things the retarded way and tethering a phone through a phone, there is no coding required. You just need to read up on pppd linux bluetooth tethering for how to actually do it.
Click to expand...
Click to collapse

I'm also seeking a resolution to this issue - see the latest posts on this thread:
forum.xda-developers.com/showthread.php?p=8236341#post8236341
Basically I have managed to establish connectivity via a bluetooth PAN, but because a lot of apps use the android ConnectivityService, they cannot get online as the ConnectivityService still believes there is no connectivity.

Related

Droid Ad-Hoc WiFi Networking (ala WMWiFiRouter)

As we don't have a Droid forum here yet, or anything for Android 2.0 AFAIK, this seemed like the best place to start the conversation. Feel free to move it, if there is a better place, but the question is specifically on networking and how two different phone OSs handle it.
If you don't know what an ad-hoc network is, I'll summarize by saying that, in my lexicon, it is a way for wireless devices to form connections with each other, allowing any Internet connection on the network to be shared by all. A more precise definition is here: http://en.wikipedia.org/wiki/Mobile_ad_hoc_network See also "mesh network" and "Wifi Tethering".
So.. I am considering upgrading my Titan to a Droid. Frankly, the main thing that is keeping me from doing this is that I can't give up WMWiFiRouter. WMWiFiRouter sets up an adhoc wifi network with (or without) security, thus sharing my 3g connection with all I give my network key to.
After finding & buying this program, I was able to drop my $60/mo (or w/e) EVDO card account. So. it is worth it to stay on a Titan till I am sure my phone can be used to connect my laptop/netbook/wife's ipod to the Internet while I am out of my house. I work from home so if I don't have portable wifi access I go stir crazy after a few weeks. I hear "Wifi Tethering" is going to become a product for VZW, but we all know that means it could be a year or three away. Can you all help me decide if upgrading to a Droid is possible. Do any of you have any experience with ad-hoc networking on a Droid?
Here's what I've found so far:
It's possible to have a G1 access an ad hoc network if you "root" your phone and change ini settings to allow it. (Also assign a permanent IP address to all adhoc network members). See: http://modmygphone.com/forums/showthread.php?t=22681
I do not know if this works on Android 2.0. I do not know if Verizon has put something in place to block this. Does anyone have any experience in this area or have a Droid that they can test with?
Your help would be appreciated!
Additional info I've found:
"Rooting" is not yet possible on a Droid. Eliminating the fix mentioned above.
http://droidie.com/2009/11/10/can-android-tether-today-for-0-extra/#comment-121
PDANet is a program that allows USB and bluetooth tethering on all "recently released Motorola and HTC [Android] phones" kkww
For those following along, this is the most promising thread I've found on rooting the Droid.. http://www.alldroid.org/viewtopic.php?f=210&t=431&start=280 This link starts you around page 29, which will be near the end for a little while...
I'm really beginning to wonder if I shouldn't just stick to a touch pro2 since I have a slick setup atm and google maps will release turn by turn voice to all in due time.
The problem is that I want to play!!! and android is calling me..
Have you made any progress on getting a Droid to recognize the WMWifiRouter network? I have a Droid with the router program running on a HTC TP2...there's an app called Hidden SSID Enabler which should resolve thi problem but I haven't been able to figure out what the SSID # is for the TP2...any thoughts?
Bump. Similar situation for me. I run WMWifiRouter on my Sprint Touch Pro and use it several hours a day. I'm ready to switch to a newer phone but want to make sure I can set it up as a ad hoc wifi spot. I'm torn between the Droid and the Nexus One but doubt T-Mobile's network is robust enough for what I need so at least for now, the Droid is the front-runner (I'll believe the N1 will work on Verizon when I see it -- could be 6 months or more).
Any update? Thanks!
I contacted the support folks over at WMWifiRouter and got this reply:
Our apologies for not getting back to you sooner.
Indeed, Android devices by default cannot connect to ad-hoc networks. A rather silly restriction, as the
device is more than capable to use these networks - Google just didn't build it into the interface.
Note that an ad-hoc network and a Hidden SSID are two unrelated things.
Unfortunately, there is no way around this issue unless your device is rooted. In that case we still cannot
tell you which commands to execute to be able to connect, but we know it is possible if you have root.
Kinds regards,
WMWifiRouter Customer Support
In looking through the "rooting" thread above it seemed way too complicated for me to attempt...if anyone can post or direct me to an "idiot's guide" tutorial for rooting a Droid I'd be most appreciative.
Hey guys, rooting for the droid is here already, some info can be found here
"i cannot post outside links..."
so what happends after you root your droid?
Bump, and I've found this thread:
code.google.com/p/android/issues/detail?id=82
about the official development of this feature, and I saw, although there are tricks that works for the G1 and the older phones, it is not working for the droid or those newer ones.
Hi
I have found the solution. I am using Ubuntu 10.04 and Using superfroyo2.2 on my HTC dream. I can connect to wifi adhoc network of my PC and enjoying internet on it.
I have attached the zip file. Please extract the file to get tiwlan.ini and wpa_supplicant.conf file. Replace your mobile's file with these ones and enjoy ad-hoc wifi.
You can use below commands, with mobile connected to PC via usb to replace the files:
adb shell
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
> adb push tiwlan.ini /system/etc/wifi/tiwlan.ini
> adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
> adb shell
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
I was using ubuntu bash and I placed both files in the tools folder of SDK. and then I ran the commands from that directory so that no path issues arise.
One more thing, You should create adhoc wireless with SSID iBM and leave it open without security key.
Hey, all apologies if it DOES work, since I havent tried it yet, but when I view the tiwlan.ini file you've included in the zip file, it still says wifiadhoc=0
the .conf file IS setup to use your SSID name if iBM like you were saying though...
so I THINK you might have included the wrong file... but hell, I've been wrong before... I screwed up my wifi messing with this, so I'm just gonna try your files anyway, since they'll probably at least set me back to where I was...
adol
OKAY, so I guess I've gotta apologize- I just tried it, and danged if your files didn't work like a charm... so, my next question is; how did they work, when wifiadhoc=0?
Am I somehow seeing the contents of the file incorrectly, or is it something along the lines of you having set up a static ip or something? I'm gonna look into it a bit, which I haven't done yet, so if either of the things I just said made no sense, just disregard them and go ahead with the explanation...
Anyways, thanks for posting those files; I was starting to get rather frustrated with my inability to get this stupid crap to work.
adol
ok a few quick questions
has any one tested this on a sprint epic
is there a 1 click install for this pack
ive got some skill but this is defiantly out of my range
thanks
installing cyanogen mod 7 should resolve your problem...
guys y to roor the phone?install cyanogen 7 etc??
i think only some expert guys(i.e who can deal the problems their on without any suggestions) can deal with such kind of thngs...insted if we creat a virtyal access point,,thats better i think..
try using mhotspot...
Wifi Connection shared as a Wifi Router...see this thread...
Indeed CM7 does solve ad hoc networking problems. I've yet to find a suitable solution on froyo, although google gave me plenty of stuff to try.
cm7 ?
I have CM7.1 running but I still cant see any ad-hoc wifi networks!
I tried replacing the tiwlan and wpa_*.conf files but that just messed up my wifi worse.
jumblies said:
Indeed CM7 does solve ad hoc networking problems. I've yet to find a suitable solution on froyo, although google gave me plenty of stuff to try.
Click to expand...
Click to collapse

[HOWTO] Team EOS & USB Tethering

Hello all,
I am unable to respond to the person requesting this help, so I thought I would post a howto. In order to get your Team EOS Xoom to do USB tethering, you need to do a few steps:
1) Install a kernel from their development thread
a) Download kernel from this thread: http://forum.xda-developers.com/showthread.php?t=1488059
2) Install the drivers for the kernel you just installed
a) Download both overlay revs and both driver revs from this thread: http://forum.xda-developers.com/showthread.php?t=1513490
b) Reboot into recovery
c) Flash in order: kernel, overlay rev 1, overlay rev 2, driver rev 1, drivers rev 2.
d) Reboot into EOS. After the updating Android message, reboot again for good measure.
You may have to repeat step 2)c) minus the kernel if your drivers are missing.
3) Standard steps for acquiring IP address from USB master.
a) Plug in your phone
b) On your phone, go to wireless and networks, and enable USB Tethering
c) On your Xoom, open terminal
d) su
e) dhcpcd usb0
f) setprop net.dns1 8.8.8.8
If you get an error about usb0, try usb1. If neither work, make sure your drivers are installed and working correctly.
If you need additional help, reply below and I will respond as I'm available.
Thanks to all you dev teams making dreams come true.
Hi gnet26
Many thanks for your PM and your post and thread here.
I will follow your instructions and try again once I get home and report back either way.
Many thanks again for your willingness to help out.
I'll post back on this thread. ( not my Q&A thread ) so it is all in the one place.
All the best,
Ben
Hi gnet26
You are a LEGEND !!! It WORKS !!!!!!!!!!! Woooo Hoooo.
I had forgotten just how much snappier and smoother USB Cable Connected Tethering is compared to WiFi Tethering.
Thank you BIG TIME !!!
One minor issue remains, which hopefully can be resolved.
=> no matter how I discconect - uncheck tethering on the phone or close the Terminal session or unplug the cables at either end, the Xoom freezes up and reboots ?!?!??!
Any idea how to ghet around or fix this ?
The phone itself is unaffected.
All the best,
Ben
ben ifin said:
Hi gnet26
You are a LEGEND !!! It WORKS !!!!!!!!!!! Woooo Hoooo.
I had forgotten just how much snappier and smoother USB Cable Connected Tethering is compared to WiFi Tethering.
Thank you BIG TIME !!!
One minor issue remains, which hopefully can be resolved.
=> no matter how I discconect - uncheck tethering on the phone or close the Terminal session or unplug the cables at either end, the Xoom freezes up and reboots ?!?!??!
Any idea how to ghet around or fix this ?
The phone itself is unaffected.
All the best,
Ben
Click to expand...
Click to collapse
Couple things. You don't have to mess with USB tether in network settings. That's to pass mobile data from xoom to a client. Also, the only driver you need is rndis_host.ko. The hard reboot is something wonky with the driver being used as a module. If I can find a way to cook it inside the kernel without breaking other things I will. Also, I'm pondering a helper app to manage usb1 and eth0 interfaces.
Ben,
I'm glad you got it to work! My Xoom also reboots when I unplug.
Bigrushdog,
If you need a Guinea pig for testing a kernel, pm me
The usb tethering checkbox step is on the phone side. Are you saying that step is unnecessary?
Also, what would the helper app do? Would it work like the auto-usbdrive mounter where it checks for rndis connection and automatically does a dhcpcd request and sets dns?
Thanks for the interest!
Bigrushdog,
Do you know how to make everything go through usb0? Things such as Google market downloads and vpn connection refuse to use the usb0 interface. Care to shed some light on the matter?
Thanks,
Gnet
Aml
gnet26 said:
Bigrushdog,
Do you know how to make everything go through usb0? Things such as Google market downloads and vpn connection refuse to use the usb0 interface. Care to shed some light on the matter?
Thanks,
Gnet
Click to expand...
Click to collapse
Ok I misunderstood you. Yes you have to tell the phone to start USB tether. First, rndis_host will always be on usb1. Usb0 is reserved by the system for complex reasons. And I'm working on the exact issue you describe. I've been busy learning new things the last couple week's and have been distracted. Basically, Android does not know to monitor these interfaces for a default tcpip route. Some smart apps like Dolphin find these routes on their own but the system does not. I think I can seamlessly add these interfaces to androids list without breaking anything. That would be the best solution. Otherwise, a small helper app can do it in the background. This applies to eth0 for ethernet and data dongles too.
Hi bigrushdog and Gnet
bigrushdog - massive thanks to you - without all your efforts this would never be happeneing !!
Same Google Market / Play Market issue here.
All the best,
Ben
Hmmmm ....... I wonder ......... if we use
su
dhcpcd usb1 [ instead of 0 ]
setprop net.dns1 8.8.8.8
will this still connect *and* make Google Market downloads and vpn connection functional ?
Ben
ben ifin said:
Hmmmm ....... I wonder ......... if we use
su
dhcpcd usb1 [ instead of 0 ]
setprop net.dns1 8.8.8.8
will this still connect *and* make Google Market downloads and vpn connection functional ?
Ben
Click to expand...
Click to collapse
...... well I can report that this does *not* work.
Ben
ben ifin said:
...... well I can report that this does *not* work.
Ben
Click to expand...
Click to collapse
This guy knows his stuff
http://forum.xda-developers.com/showpost.php?p=23299408&postcount=31
Look into that and report back
Success
I thought I would share with everyone what I did to get my 4G USB dongle to work. This dongle only requires the RNDIS drivers as it simply appears as an ethernet connection over USB. I had this working previously on a Tiamat 3.2 ROM, but until now I could not get it working. This may help others trying to use ethernet adapters.
I flashed BRD's Development Overlay Rev. 4 and rebooted.
I then plugged in my dongle through a USB host cable and waited for it to boot and connect.
Then in a terminal window
su
dhcpcd eth0
After this command is entered the IP address that is assigned to eth0 is displayed. I guessed that the gateway would be the first two digits of the assigned IP address followed by "0.1". If you know the gateway of this connection I would try substituting that in for the IP address below.
I then entered...
ip route add default via X.X.0.1
setprop net.dns1 8.8.8.8
Once I did all that the connection was up and working.
I hope this helps someone
[EDIT] Well it works for the most part. Web surfing, general data access and email work but both the Google Market and Amazon market fail to download applications over this connection.
For me it is still better than nothing.
Try adding in the busybox route command in the link in my post a couple posts up. It may help Android see the data path.
bigrushdog said:
Try adding in the busybox route command in the link in my post a couple posts up. It may help Android see the data path.
Click to expand...
Click to collapse
Are you referring to this?
/system/xbin/route del default
/system/xbin/route del default
/system/xbin/route add default gw $IPREMOTE dev ppp0
I tried simply entering those commands in the terminal window and they were not recognized. Is there something else I need to do?
Thanks!
He is using the route command from busybox. So try
busybox route
Or
/system/xbin/busybox route
bigrushdog said:
He is using the route command from busybox. So try
busybox route
Or
/system/xbin/busybox route
Click to expand...
Click to collapse
Ok thanks for the info, as I have told you I really am a newbie but I can follow instructions.
So I tried a few combinations and here are my results.
su
dhcpcd eth0
Responds with eth0 IP information
busybox route del default
Responds with "route:SIOCDELRT: No such process
busybox route add default gw $IPREMOTE dev ppp0
Responds with "route: resolving dev"
setprop net.dns1 8.8.8.8
This did not work, I did not have any connection. I was not sure if I should have done the setprop net.dns1 before the busybox commands so I rebooted and tried it this way...
su
dhcpcd eth0
Responds with eth0 IP information
setprop net.dns1 8.8.8.8
busybox route del default
Responds with "route:SIOCDELRT: No such process
busybox route add default gw $IPREMOTE dev ppp0
Responds with "route: resolving dev"
This did not work either.
I then went back, without a reboot and entered...
ip route add default via 50.9.0.1
After adding this command I can browse the internet and a few applications work such as WeatherBug, but it does not seem that anything else can see the connection (email, markets, touchdown, etc.). It is strange that WeatherBug can see the connection, but other apps like Accuweather could not.
So I rebooted again and tried it in this order...
su
dhcpcd eth0
Responds with eth0 IP information
ip route add default via 50.9.0.1
setprop net.dns1 8.8.8.8
busybox route add default gw $IPREMOTE dev ppp0
Responds with "route: resolving dev"
Same result, I can surf the web but nothing else sees the connection.
dev usb1
ppp0 is for something else
EDIT; and I'm not sure that will resolve it. Just throwing it out there
bigrushdog said:
dev usb1
ppp0 is for something else
EDIT; and I'm not sure that will resolve it. Just throwing it out there
Click to expand...
Click to collapse
Should I actually use eth0 then?
Do you think I need to do the IP route command as well or should this take care of it?
This may be a very stupid question but will this, or something like this work on EOS 4 (I'm on 177 but I'd do whatever to get this to happen).
Thanks

Nexus 4 LTE Wifi Tether - Broken??

Hello people of XDA - hoping someone here can point me in the right direction.
I am fairly new to the phone modding scene (had an N1 for the longest time with stock rom) but anyways..
I'm having a few issues with my brand new N4 around tethering with LTE enabled.
Items:
N4 Stock (4.2.1)
N7 Stock (4.2.1 & 4.1.2)
Here's the low down...
Tethering works perfectly with default settings (WCDMA Preferred). Essentially I can tether my N7 and access the internet whenever I have H, 3G, or E wireless signals
While on 4G (LTE), my N7 will connect to the phone but will not be granted internet access. Signal is at full strength for the wifi but it does not turn blue to indicate connection. Inet doesn't work with any program I try to access it with and this happens on both my N7s. (non-LTE tethering works fine).
I am on Roger's LTE network in Canada (and yes, LTE does work on the phone itself. Speed test confirms this... just not on the N7 when tethered...)
Any and all help would be greatly appreciated as I am excited to use this device as an LTE tether!!
- Tymko668
It could be a network limitation. I have no issues doing tethering with the N4 to the N7 as well using HSPA down but since I don't have LTE in my area, I can't say the same.
It might have something to do with the phone not being built to handle LTE. Maybe the LTE chip isnt connected to the transmitter for tethering or something...who knows
I'm experiencing this EXACT same situation. I'm also on Rogers, except instead of trying to tether a Nexus 7, I'm trying to tether my desktop PC via wireless to my Nexus 4.
It seems as long as I'm connected by cellular via HSPA+ (not LTE), I can get a working Internet connection on my desktop. My phone info is set to LTE/GSM/CDMA auto (PRL), which actually doesn't work if you want to connect to LTE. I've also gotten the tethering to work with WCDMA preferred (3G/HSPA+ connection).
But once I use LTE only or LTE/GSM auto (PRL), and it establishes a 4G (i.e. LTE) connection, the tethering doesn't work anymore.
I have a hunch that Rogers has disabled tethering for LTE connections. I think they have that capability to detect if you're tethering...?
---------- Post added at 11:12 PM ---------- Previous post was at 10:58 PM ----------
By the way, do you know what the default settings are for a Nexus 4 on Rogers for "IMS registration required"? I accidentally toggled that in the Phone Info app, but I can't tell what the original setting was.
Is this the default?
Turn off radio
Turn off IMS registration required
Turn on SMS over IMS
Turn on lte ram dump
Thanks.
I checked a Rogers branded Sony Ion, and found that it had a second APN
I copied all the following settings, but it still doesn't work for LTE tethering.
Name: Rogers Tethering
APN: ltedata.apn
Proxy: Not Set
Port: Not Set
Username: Not Set
Password: Not Set
Server: Not Set
MMSC: Not Set
MMS proxy: Not Set
MMS port: Not Set
MCC: 302
MNC: 720
Authentication type: Not Set
APN type: dun
APN protocol: IPv4
APN roaming protocol: IPv4
APN enable/disable: Greyed out, but Checkmarked
Bearer: Unspecified
According to this guy, the Nexus 4 doesn't support tethering over LTE?... I dunno where he's getting his info, though.
Jacmert said:
According to this guy, the Nexus 4 doesn't support tethering over LTE?... I dunno where he's getting his info, though.
Click to expand...
Click to collapse
I don't know where he'd get that information from, but I can verify that neither bluetooth or wifi tethering work when the connection is LTE. The only way I can get it to work is when I set my phone to WCDMA preferred.
Sent from my Nexus 4 using xda app-developers app
Hey, just wondering if this issue has been resolved? Maybe via a custom ROM or root application? I am having the same issue; I cannot get Internet signal when I tether via LTE, only via HSPA+. I'm on Fido.
i coudn't get LTE to tether either, but theres a work around on XDA, you have to input some lines into the terminal or something, its out of my scope :crying:
cobyman7035 said:
i coudn't get LTE to tether either, but theres a work around on XDA, you have to input some lines into the terminal or something, its out of my scope :crying:
Click to expand...
Click to collapse
Can you post the work around
Fred2028 said:
Can you post the work around
Click to expand...
Click to collapse
I believe this is what he was referring to:
http://forum.xda-developers.com/showpost.php?p=34662473&postcount=11
is everyone else that is experiencing the tethering problems over LTE also using CM10?
owoOWOowo said:
is everyone else that is experiencing the tethering problems over LTE also using CM10?
Click to expand...
Click to collapse
its not just cm10, i think this is a problem with all nexus 4.
It just wont work
Finally after months of working through this I have confirmed that Rogers has in fact disabled any teathering over LTE. It doesnt matter what phone you use or ROM, it just wont work.. I was told that they are cycling through accounts and turning this feature off and you will only be able to teather over HSPA+ or 3G..... This is horrible Rogers...
codyguthrie39 said:
Finally after months of working through this I have confirmed that Rogers has in fact disabled any teathering over LTE. It doesnt matter what phone you use or ROM, it just wont work.. I was told that they are cycling through accounts and turning this feature off and you will only be able to teather over HSPA+ or 3G..... This is horrible Rogers...
Click to expand...
Click to collapse
Robbers has done a lot worse... Thanks or the info though, I'm sure it'll save months of research for others
neotekz said:
its not just cm10, i think this is a problem with all nexus 4.
Click to expand...
Click to collapse
I'm not on CM10. I'm using stock kernel with mmuzzy Rom. I posted here more verbalized instructions on how I did it using those commands (http://forum.xda-developers.com/showpost.php?p=34662473&postcount=11)
You can see my post here of my N4 setup: http://www.howardforums.com/showthread.php/1783816-Nexus-4-LTE-Rogers-LTE-Down
codyguthrie39 said:
Finally after months of working through this I have confirmed that Rogers has in fact disabled any teathering over LTE. It doesnt matter what phone you use or ROM, it just wont work.. I was told that they are cycling through accounts and turning this feature off and you will only be able to teather over HSPA+ or 3G..... This is horrible Rogers...
Click to expand...
Click to collapse
Where's your source for this? This sounds like BS.
codyguthrie39 said:
Finally after months of working through this I have confirmed that Rogers has in fact disabled any teathering over LTE. It doesnt matter what phone you use or ROM, it just wont work.. I was told that they are cycling through accounts and turning this feature off and you will only be able to teather over HSPA+ or 3G..... This is horrible Rogers...
Click to expand...
Click to collapse
This is simply not true. I have it working right now: tether over LTE on my Nexus4 on Rogers.
If you log in to the phone via ADB and as root (either via "adb root" command, or via "su" from the shell) execute the commands listed here the tethering will work. Test it yourself.
If you want a persistent fix you have two options:
1) If you have a custom kernel installed, create a script in /system/etc/init.d that executes the commands from the post above (don't forget to set the permissions to executable!).
2) Install a program like Script Manager from the market, create a script using the commands from the post above, and tell it to execute the script at startup with root permissions.
Currently I'm running a rooted stock ROM with stock kernel, so I'm using Script Manager, and it's working perfectly.
Here's the script I'm using right now:
Code:
#!/system/bin/sh
iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE
XanSama said:
This is simply not true. I have it working right now: tether over LTE on my Nexus4 on Rogers.
....
Click to expand...
Click to collapse
This worked perfectly on mine. Thanks so much!
Any idea how to set the phone to LTE mode on boot so we don't have to jump into that 'hidden' menu?
bcrook said:
This worked perfectly on mine. Thanks so much!
Any idea how to set the phone to LTE mode on boot so we don't have to jump into that 'hidden' menu?
Click to expand...
Click to collapse
Glad to help. And yeah, absolutely.
To get it to stick successfully for reboots, there are a couple quick mods you need to make.
Note: To make these mods you need your /system partition to be writeable (RW) not read-only (RO). You can accomplish this with the "mount -ro remount,rw /system" command via ADB or Terminal.
1) In the file "/system/build.prop" you need to:
a) Remove the line that says "telephony.lteOnCdmaDevice=0"
b) Add a line that says "telephony.lteOnGsmDevice=1"
c) Add a line that says "ro.telephony.default_network=9"
d) Add a line that says "ro.ril.def.preferred.network=9"
e) Save the file.
2) In the file "/system/etc/apns-conf.xml" you need to add the following entry above the standard "Rogers" entry (I actually replaced the Chattr Wireless entry with this one):
Code:
<apn carrier="Rogers LTE"
mcc="302"
mnc="720"
apn="ltemobile.apn"
port="80"
mmsc="http://mms.gprs.rogers.com"
mmsproxy="10.128.1.69"
type="default,supl,mms"
/>
3) Perform a factory reset on your device. (I know this sucks, but it's required.)
4) Don't ever load the *#*#4636#*#* config menu again; if you do it will revert to WCDMA Preferred until you factory reset again.
I've also attached a zip with my modified build.prop and apns-conf.xml for the stock (but rooted) ROM; as well as my iptables script for good measure. You should just be able to copy these across to their designated locations and then perform steps 3 and 4. Don't forget to make the system partition RW before copying, or it won't work!
Note: Follow the instructions in my last post to use the iprules.sh script if you want to use it.
Note2: Zip is not flashable! Someone could make it flashable, but I'm lazy. For now just extract the files and copy them manually.

t mobile wifi tethering

Has anyone been able to successfully hide their hotspot usage from t mobile?
That situation must really suck. It's your data plan, should be your choice to use however is most suitable and convenient for you.
I'm on Tesco Mobile UK. Its a MVNO using o2 as the carrier network. Heres a quote from Tesco Mobile website:
Some phones and tablets allow you to set-up a ‘Wi-Fi hotspot’ (also referred to as 'tethering') to share your data connection with other devices such as a laptop.
If your tariff has a data allowance included, you can use your device as a personal hotspot at no extra cost. If you don't have a data allowance, or you go over your data allowance, you’ll be charged our standard rates.
Obviously I'm happy not having the same inconvenience as you do.
There's quite a few more in the UK that allow tethering:
http://kenstechtips.com/index.php/tethering-on-uk-networks
Still_living714 said:
Has anyone been able to successfully hide their hotspot usage from t mobile?
Click to expand...
Click to collapse
Well for my Nexus 6 I use the build prop edit trick
net.tethering.noprovisioning=true
but maybe can give a try? look this post above for V10
https://forum.xda-developers.com/tm...imited-tethering-lg-v10-tmobile-h901-t3471225
There is a way to hide tethering data. I assume you have an unlimited data plan, as this does not hide total data consumed by your device, nor does it prevent data throttling during peak hours if you go over 30GB.
So far, carriers detect tethering data by monitoring the TTL headers in outgoing TCP/IP packets from your phone. TTL stands for Time To Live. Every time a packet goes through a router, the TTL drops by 1. If TTL drops to 0, the packet is dropped. Operating Systems have default TTL values; Android is 64. When you tether a device, your phone acts like a router. So lets say you are tethering an Android tablet. Your carrier will see data coming from your phone having 2 different TTL values, one 64 and the other 63 (64-1 for the jump through your phone aka the router). Since the carrier knows the default TTL is 64, they tally all data that doesn't match it as being used for tethering.
First, your device needs to be rooted. Then install the Kali Nethunter kernel (NetHunter build itself should be optional). That kernel has the necessary modules for iptables, which is what you will need. Open a terminal and enter the commands
su
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 64
This will change TTL for ALL outgoing packets from your phone to 64, even those from tethered devices. The command will not persist on reboot though, so I recommend making a startup script.
Hope this helps!
LvDisturbed1 said:
There is a way to hide tethering data. I assume you have an unlimited data plan, as this does not hide total data consumed by your device, nor does it prevent data throttling during peak hours if you go over 30GB.
So far, carriers detect tethering data by monitoring the TTL headers in outgoing TCP/IP packets from your phone. TTL stands for Time To Live. Every time a packet goes through a router, the TTL drops by 1. If TTL drops to 0, the packet is dropped. Operating Systems have default TTL values; Android is 64. When you tether a device, your phone acts like a router. So lets say you are tethering an Android tablet. Your carrier will see data coming from your phone having 2 different TTL values, one 64 and the other 63 (64-1 for the jump through your phone aka the router). Since the carrier knows the default TTL is 64, they tally all data that doesn't match it as being used for tethering.
First, your device needs to be rooted. Then install the Kali Nethunter kernel (NetHunter build itself should be optional). That kernel has the necessary modules for iptables, which is what you will need. Open a terminal and enter the commands
su
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 64
This will change TTL for ALL outgoing packets from your phone to 64, even those from tethered devices. The command will not persist on reboot though, so I recommend making a startup script.
Hope this helps!
Click to expand...
Click to collapse
Yes I read this before but I mostly do WiFi Hotspot. I've read a ton of forums only to come to the conclusion that you cannot beat t mobile at hiding your usage anymore. If Maybe you have another method please share,thanks.
Still_living714 said:
Yes I read this before but I mostly do WiFi Hotspot. I've read a ton of forums only to come to the conclusion that you cannot beat t mobile at hiding your usage anymore. If Maybe you have another method please share,thanks.
Click to expand...
Click to collapse
This method works regardless if you are tethering though WiFi or USB. Either way, the phone is acting as the router, and packet headers leaving the phone will show a TTL of 64.
I have used this method to download games on my Xbox One, torrent stuff on my laptop, stream media to my tablet and more. Hell, I hit over 250GB one month. I can hit DL speeds over 110mb/s at home through LTE. I use USB tether when I can, as the data transfer rate is much better than WiFi tether.
Take the plunge and give it a go. I'm telling you, it works!
LvDisturbed1 said:
This method works regardless if you are tethering though WiFi or USB. Either way, the phone is acting as the router, and packet headers leaving the phone will show a TTL of 64.
I have used this method to download games on my Xbox One, torrent stuff on my laptop, stream media to my tablet and more. Hell, I hit over 250GB one month. I can hit DL speeds over 110mb/s at home through LTE. I use USB tether when I can, as the data transfer rate is much better than WiFi tether.
Take the plunge and give it a go. I'm telling you, it works!
Click to expand...
Click to collapse
Can I do this without the kernel you said? Running Albatross and would like to keep it.
Still_living714 said:
Can I do this without the kernel you said? Running Albatross and would like to keep it.
Click to expand...
Click to collapse
I am not sure off the top of my head. Most likely no, but I would have to look at the source code for it to be sure. It may be possible for the maintainer to add the necessary modules to get iptables working properly. What version of Albatross are you using? Stock or custom?
LvDisturbed1 said:
I am not sure off the top of my head. Most likely no, but I would have to look at the source code for it to be sure. It may be possible for the maintainer to add the necessary modules to get iptables working properly. What version of Albatross are you using? Stock or custom?
Click to expand...
Click to collapse
Stock running megarom on h918
Still_living714 said:
Stock running megarom on h918
Click to expand...
Click to collapse
I checked the source, looks like it is a no go. You can try asking @USA-RedDragon to set CONFIG_NETFILTER_XT_TARGET_HL=y in his defconfig. It is currently not set. That should do the trick.
LvDisturbed1 said:
There is a way to hide tethering data. I assume you have an unlimited data plan, as this does not hide total data consumed by your device, nor does it prevent data throttling during peak hours if you go over 30GB.
So far, carriers detect tethering data by monitoring the TTL headers in outgoing TCP/IP packets from your phone. TTL stands for Time To Live. Every time a packet goes through a router, the TTL drops by 1. If TTL drops to 0, the packet is dropped. Operating Systems have default TTL values; Android is 64. When you tether a device, your phone acts like a router. So lets say you are tethering an Android tablet. Your carrier will see data coming from your phone having 2 different TTL values, one 64 and the other 63 (64-1 for the jump through your phone aka the router). Since the carrier knows the default TTL is 64, they tally all data that doesn't match it as being used for tethering.
First, your device needs to be rooted. Then install the Kali Nethunter kernel (NetHunter build itself should be optional). That kernel has the necessary modules for iptables, which is what you will need. Open a terminal and enter the commands
su
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 64
This will change TTL for ALL outgoing packets from your phone to 64, even those from tethered devices. The command will not persist on reboot though, so I recommend making a startup script.
Hope this helps!
Click to expand...
Click to collapse
Did you make a script? maybe can share???
Mervingio said:
Did you make a script? maybe can share???
Click to expand...
Click to collapse
Awhile back, and I had to research a bit on how to do it on Android. Of course my memory on it now is a bit fuzzy. I think you just put it in /data/local/userinit.d/
Edit: Try Script Manager in the Play Store. It says you can make a script and set it to run on boot .
Edit 2: Found an app made by some Russians on github. It has English language option and can set TTL using IP tables either manually, or on boot. Does some other blacklist things, but I think they apply to carriers from Russia, so don't think it will affect anything.
Sorry for the double post, but I couldn't add a file through edit.
LvDisturbed1 said:
Sorry for the double post, but I couldn't add a file through edit.
Click to expand...
Click to collapse
Nice I will try it Thanks
Kernel Adiutor have one too
I made some tests.. and I have a question:
if without root and on a stock firmware I tether using USB and I set a ttl of 65 on my pc, everything works (65 becose 64 on the phone)...
But If I do the same using wifi tether, this does not work and I have to use other methods.
Does anybody know why?

How do I assign a permanent static IP address to hotspot in Android 10

I would like to assign a permanent static IP address to hotspot in Android 10 (Unofficial LineageOS 17.1 for Natrium by LuK1337, rooted with Magisk v20.3 and updated to Jan 11, 2020 build).
Now whenever I turn on the hotspot, it assigns a different IP to hotspot, 192.168.43.xxx (this will be the gateway IP to other devices that connects to this hotspot).
Note: For simplicity, instead of connecting other devices to this hotspot, I'm just gonna find hotspot IP by running "ip r" on the phone itself.
On the phone, when I open Termux (have tried other Terminal app with the same results), and run, "ip r" and "ip a", I get:
Code:
:/ $ ip r
192.168.43.0/24 dev wlan0 proto kernel scope link [B]src 192.168.43.100[/B]
:/ $
:/ $ ip a
25: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 3000
link/ether 78:02:f8:f0:4d:87 brd ff:ff:ff:ff:ff:ff
inet 192.168.43.[B]100[/B]/24 brd 192.168.43.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::7a02:f8ff:fef0:4d87/64 scope link
valid_lft forever preferred_lft forever
:/ $
Now this "src 192.168.43.100" will be different (e.g: 192.168.43.101, 192.169.43.102 etc) everytime I turn hotspot on and off... and I would like to assign a permanent static IP like ".100"
In LineageOS 16 I used the following workaround, which is no longer working in Android 10 (Unofficial LineageOS 17.1):
Code:
In the Termux (have tried other Terminal app with the same results):
(1)
su
mount -o rw,remount /vendor
nano /vendor/etc/init/hostapd.android.rc
and add:
on property:init.svc.hostapd=running
exec - -- /system/bin/sleep 2
exec u:r:magisk:s0 -- /system/bin/ip address add 192.168.43.[B]100[/B]/24 dev wlan0
Save the file.
mount -o ro,remount /vendor
and
(2)
su
mount -o rw,remount /
nano /etc/dnsmasq.conf
and add:
dhcp-host=78:02:f8:f0:4d:87,192.168.43.[B]100[/B]
Save the file.
Then set the permissions:
chown 0.0 /etc/dnsmasq.conf
chmod 0644 /etc/dnsmasq.conf
chcon u:object_r:system_file:s0 /etc/dnsmasq.conf
magiskpolicy "allow dnsmasq system_file file { read getattr open }"
magiskpolicy "allow dnsmasq system_file dir { search }"
mount -o ro,remount /
Any help is greatly appreciated, many thanks in advance.
I've got the same problem with my Pixel 3 running Android 10, also using Termux.
My use case is SSHing into the phone from my iPad to use VIM.
Previously, I used PDANet for its hotspot functionality, but it doesn't work anymore on my Pixel. Depending on your phone, you could give that a shot.
Unfortunately, starting with Android 9, the gateway is always set randomly. You cannot change it without editing the source code and building the firmware, but you can assign an additional static IP address through which you can connect to the phone. I'm not sure that this will help you, but you can see here three methods to solve this problem:
android.stackexchange.com/questions/213514/how-can-i-permanently-change-my-hotspot-tethering-ip-address
Personally, I use the first method and it is enough for my needs.
It got even worse. I'm not sure this is a thing since Android 11, but whenever I turn my Hotspot off and on again, it changes the last two segments of my gateway IP, so it's always 192.168.x.x. This sucks even twice, because now all static IPs of all clients need to be updated to get in the right scope for the subnet mask that is still 255.255.255.0.
Pretty ****ty move by Google. I wish there was a solution to this nonsense. I want a static gateway IP without root ... (I know, impossible)
Cis# said:
It got even worse. I'm not sure this is a thing since Android 11, but whenever I turn my Hotspot off and on again, it changes the last two segments of my gateway IP, so it's always 192.168.x.x. This sucks even twice, because now all static IPs of all clients need to be updated to get in the right scope for the subnet mask that is still 255.255.255.0.
Pretty ****ty move by Google. I wish there was a solution to this nonsense. I want a static gateway IP without root ... (I know, impossible)
Click to expand...
Click to collapse
You said without root it's impossible but can we do something with root so that we don't have to update gateway ip everytime hotspot is restarted?
Cis# said:
It got even worse. I'm not sure this is a thing since Android 11, but whenever I turn my Hotspot off and on again, it changes the last two segments of my gateway IP, so it's always 192.168.x.x. This sucks even twice, because now all static IPs of all clients need to be updated to get in the right scope for the subnet mask that is still 255.255.255.0.
Pretty ****ty move by Google. I wish there was a solution to this nonsense. I want a static gateway IP without root ... (I know, impossible)
Click to expand...
Click to collapse
Faced the same problem after my mobile got an update to Android 11.
Please let me know if you found any solution.
byquip said:
Faced the same problem after my mobile got an update to Android 11.
Please let me know if you found any solution.
Click to expand...
Click to collapse
legendofrj10 said:
You said without root it's impossible but can we do something with root so that we don't have to update gateway ip everytime hotspot is restarted?
Click to expand...
Click to collapse
I got close...used MacroDroid with root (Magisk) and I was able to create a macro that started the hotspot and then used secure settings to set the wlan0 IP to what I wanted using ifconfig. Using both ifconfig and a network scanner I confirmed the hotspot had the ip I wanted, but I was not able to actually use it for a stable connection - clients constantly dropped the connection.
I'm still on Android 8.1 beacause of this random hotspot IP address issue.
Is there any recent phone or ROM with a static IP address for its hotspot?
Not really THE solution, but I've had pretty good results serving data thru the phones hotspot to an old dd wrt router (set up as a "repeater bridge"). The router/repeater handles all traffic on a local network then looks to the hotspot for data. Basically, just like your home wifi, but swap your modem with the phone.
Behind the router, it functions like a "real" connection. All apps function, push notices come thru, smart TVs, and even Chromecast works! You can assign static IP on the virtual network.
Devices don't seem to notice the random IP changes between the hotspot and router. At the most, you may lose data for a second or two while it .. switches stuff? Idk... but other than a quick lag in chat, if that, you won't even notice anything happened.
A couple sidebars:
The old wifi b/g routers with ddwrt are cheap on ebay. Although, router throughput could be a limiting factor on network speeds. Not just the older wifi protocols, but running repeater mode sets router to half duplex.
With a lot of the older routers, a USB-to-5v cable works to power it from any USB port (charger, battery pack, accessory port). Ideal for hotel/dorm, work, rural or mobile living. Wherever you need a private, fully functional wifi connection.
In dd wrt setup, follow tutorials for repeater bridge setup, but leave the gateway and dns ip blank (all zeros).
Naturally, speed and ping depends on the cellphones signal strength.
I don’t have an Android phone any more, but I noticed on my family’s Pixels, PDANet gave gives out a consistent 192.168.1.XXX address. PDANet hotspots work like regular hotspots as far as I know, so it might be worth a shot for when you’re on the go without a router to use.
DMechnikov said:
I don’t have an Android phone any more, but I noticed on my family’s Pixels, PDANet gave gives out a consistent 192.168.1.XXX address. PDANet hotspots work like regular hotspots as far as I know, so it might be worth a shot for when you’re on the go without a router to use.
Click to expand...
Click to collapse
Good to know. I didn't even know pdanet was still around. I'll have to mess with it sometime and see what's up. It would be nice to have a static IP coming from the phone, just cause.
Are you talking about the free or a paid version (if there are still two versions)??
Right now I'm using a rooted Umidigi A7 Pro with a 'hotspot unlock' magisk module, coupled with the VPN Hotspot app. This setup allows me to have unlimited hotspot data, I believe stops reporting of hotspot activity back to the ISP, while tunneling the hotspot data thru my phone's VPN connection.
I live waaay out in the sticks of West Virginia. My only ISP option at this time is Hughesnet satellite, which is just THE worst connection on the face of the planet, not to mention pricey. Speeds is so slow, and ping so high, you can't stream media, play games, or use it for voice or FaceTime chats. Instead, I use the phone setup mentioned above.
Luckily, there is a sprint tower (now T-Mobile) near enough to get a bar or two in the window. I picked up an 850mhz band5 cell booster / repeater (actually on band 26, which is a subsection if band 5). Got it set up, now can use the device in-hand throughout my home and out on the porches. Also helped improve speeds, reduce ping, and stabilize jitter on the LAN.
Call of duty mobile pings around 60-80ms
My Metro by T-Mobile plan is $40 per month, no data caps, but no hotspot allotment either. With the rooted device, I routinely use 200+ gb per month of hotspot data on devices connected via the router/repeater in my home.
I've been running this setup for nearly a year now and not had any problems from my ISP.
OP, you might want to look at this solution.
Still having the same issue in 2023 on LineageOS 18.1 (Android 11).
Can't find out which of these classes in sources is responsible for address allocation.
cilyrik said:
OP, you might want to look at this solution.
Click to expand...
Click to collapse
Hi,
After two days of trouble, (and multiples flahing operations, and many other concerns, I found a compromise with the solutions given in your link. Only the first one worked on my rooted smartphone (magisk + rom stock doogee s86pro). I did not manage to remount in rw my partitions to modify the hostapd.android.rc file. So I decided to use the automation (MacroDroid in my case) of the first solution. It works perfectly with 2 macros :
macro #1
trigger = hospot on
action = ip address add 192.168.43.1/24 dev wlan0
and
macro #2
trigger = hospot off
action = ip address del 192.168.43.1/24 dev wlan0
That's all. ^^
* rooted phone required *

Categories

Resources