Unfortunately forum rules prevent me from posting targeted questions where they belong. Hopefully the right people will see it anyway...
I'm trying to set up reverse tethering on my HTC ChaCha. I started going down the path described here: http://android.stackexchange.com/qu...internet-pass-through-reverse-tether-on-linux
I started out with CWM, and /sys/devices/platform/msm_hsusb/usb_function_switch worked as expected. After switching to SuperOSR, I find that this file does not exist, nor do I see anything in /sys/devices/platform/msm_hsusb/ which appears to contain the usb-nic switch.
I also read http://forum.xda-developers.com/showthread.php?t=1073116, but I can affirm that there is no IP over usb connection. Attempting to enable tethering to at least get a look at the device created gets me nowhere - it says that USB is not connected, even though I am connected to adb.
Where did usb_function_switch go?
Related
Guys, apologies if this has been posted before but couldn't find it.
I've rooted my phone with JF RC9, but for some reason I can't use the wifi tether (one of my main reasons for rooting in the first place). So far as I can tell, I have root (in that I can su in a terminal) and my pc can see the ssid of the phone and connects quite happily but I don't get internet access for some reason - am I missing something really obvious or have others encountered this before?
Hi!
I assume you are using "Wifi Tether for Root Users" ...
If yes please make sure that you are using the lastest Version (0.97.1) which is available here:
http://code.google.com/p/android-wifi-tether/downloads/list
(0.97.1 fixes some cupcake-related issues)
You say that you see that your client is able to connect ... right?
Please check the following:
1) What ip-address do you got from the phone?
(For Windows): Open command-prompt and type "ipconfig"
You should got an ip-address like: 192.168.2.100 (maybe 101, 102, ... at the end).
2) Are you abel to ping the standard-gateway?
type: ping 192.168.2.254
You client must support ad-hoc mode - otherwise it won't work.
Please check and report back.
Man, have I been dense. After spending a couple of weeks, scouring forums, taking the classic I.T. approach of 'turn off, wait, turn on again', I've figured it out...
I'd set up a static i.p. on my pc a long time ago so was still trying to make it through the router...
doh!
Thanks for your reply though harry_m, it was your comment around pinging the i.p. address tat jogged my memory! works like a charm now
I am running CM9 on a Samsung t679 and was attempting to make changes to the actual WLAN MACID via Terminal & Busybox. I have searched the forums for commands to make the changes however all I have tried have failed to make changes.
Does anyone know how to change/spoof the actual WLAN MACID to whatever I want? I have tried ifconfig and though it seems to execute the command without error in terminal/busybox when I check to see if the change has been made it only shows the actual MACID.
A permanent solution would be preferred however, a temp solution if ok to.
Are you sure you are running as root on the command line? Do 'id'.
Also, be sure to check what your wireless access point says what your MAC is. Do not trust the local device. It may say you are using one MAC, but actually still be using your hardware MAC address.
Ok. I was relying on the device to tell if the MACID was changed, I will check test again. Seems kinda dumb that if I was successful on changing the MACID that the device would show the original vs. current MACID.
[HOW-TO] Enable Wifi and USB Tethering on AT&T Samsung Galaxy S4 with Android 4.3 MK2
After some research on various forums including this one, I got both Wifi and USB Tethering working on my AT&T Samsung Galaxy S4 with Android 4.3 (build MK2). Figure others may look for similar solutions so I put together the steps I used in this post.
1. Background
I have been tethering with SVTP (paid version) since acquiring the Galaxy S4 in June 2013, with my unlimited data plan. Then it stopped working after a week when AT&T pushed out the software update. Furious, I googled around and found the "Click the home button when the checking popup appears" trick, and had been happily tethering, until AT&T push another update (MK2) two weeks ago. It defeated that trick and none of the tethering apps work. Oh man, not again!
I googled again and found FoxFi. The wifi tethering didn't work (it only work on Verizon as reported(), but the USB and Bluetooth tethering do work. I am relived as I had a temporal solution. However, both the USB and Bluetooth tethering drop and resume the internet connection every minute. Very annoying when downloading a bigger file, or playing online games that require constant connection. Finally can't stand it anymore. I keep googling around and found there's no other solution except rooting the device. And I decide to take the risk and give it a shot.
2. Result
After following the steps, I was able to get all tethering apps works. Specifically all these works;
SVTP
ES File Manager
FoxFi
And, the native Tethering from the phone also work. This give me the hint that probably most, if not all, tethering apps should work.
Furthermore,the built-in USB tethering also work! Unlike the one from FoxFi, this one work continuously without dropping/resuming the connection every minute. This can be handy as you can charge your phone while tethering. Pretty cool, uh?
Last but not least, I disable the AT&T Software update, so I don't have to do this again
3. Steps
Here's the steps I used. I piece them together from various sources. Many thanks to the folks who put them together, and to the folks who tried before me and post the positive result. Basically you need do to a few things:
a. Root the device
b. Modify the tethering file
c. Turn on tethering and verify it works
d. Disable the AT&T Software update (Optional)
Please see the next post for details.
Steps
a. Root your device
Scary, isn't it? I was in the same boat and really hesitated to do it. However with no other option available it may worth a try. It does work well and give you good control of the phone. Worthy in my opinion, especially when it allows you to do what you want to do.
a1. If you are new to rooting your phone like me, some background reading may help:
http://www.kingoapp.com/help/android-rooting.htm
https://sites.google.com/site/tomsgt123/all-videos/samsung-galaxy-s4
a2. Watch this video as a preparation and confidence building:
http://www.youtube.com/watch?v=uii_mYm8IGE&feature=youtu.be
a3. Root your device using the steps here. It echoes the steps in the video. Even though it is made for the Verizon model, it works on AT&T too:
http://forum.xda-developers.com/showthread.php?t=2565758
b. Modify the tethering file:
b1. Follow the steps in the post. It works:
http://forum.xda-developers.com/showthread.php?t=2535141
b2. Pay attention to the mount /system as RW mode step. It is missing in the original post:
"I was not able to rename files or copy until I change 'Mount R/W'.
To do this, you click on globe/phone on top left corner.
Scroll down to "Root Explorer" and hold for a second or two.
When you let go, a pop-up screen appears. Click on Mount R/W,
and change "/system" from OR to RW."
http://forum.xda-developers.com/showpost.php?p=48950107&postcount=87
c. Verify tethering works
c1. Use your favorite tethering app, it should work. Just disregard the AT&T Popup (click OK).
And if you don't use any tethering app before, rest at ease. Your phone's native Wifi and USB tethering also work. That maybe the best part as you don't need to purchase any "unlocked" version of those apps. Just go to "Settings->More networks->Tethering and portable hotspot". Turn on Mobile Hotspot and you can use Wifi tethering as usual.
c2. Or while at the same screen, connect your phone to the laptop with a USB cable and enable "USB tethering". Your laptop will automatically install a USB driver and you will be connected to the internet via USB. This option works especially well when all you need is connect one laptop to the internet. It not only saves the battery of your phone by not using Wifi, but also charge your battery while tethering!
c3. Stil not enough? How about make your laptop a wifi hotspot? Follow the steps here:
http://lifehacker.com/5369381/turn-your-windows-7-pc-into-a-wireless-hotspot
This way, you charge your phone while tethering using USB, your laptop is on the web, and others can connect to the internet via the Wifi hotspot on your laptop. It is a win-win-win situation
d. Finally, if you don't want to be annoyed in the future and redo all these again (which may or may not work anymore as they may close the door), turn of AT&T Software update. Follow the steps here:
Stopping AT&T Auto Software Update
Download and install "App Quarantine ROOT/FREEZE" from Play Store.
Open the app and go to settings by tapping on the wrench icon at the top right of the screen.
Uncheck the "Hide system services" option.
Go back to the app and select "AT&T Software update".
Tap on the lock icon on the top right of the screen.
It may ask you to enable the USB debugging.
Feel safe from AT&T's new attack
http://forum.xda-developers.com/showthread.php?t=2387577
Again, many thanks to those who put the information together, and to those who tried it and proved it worked. You guys are great! Happy new year and happy tethering!
Good job!
I'm sure a lot of people will benefit from this.
I can verify that this method works perfectly for my ATT S4 Active ML2 - thank you!!!
Just found this thread today, I've been planning on rooting my phone for some time now and tethering is one of the biggest reasons why.
I just wanted to confirm that this fix has allowed you to tether using the native tethering function in android with an unlimited (grandfathered) AT&T data plan and you haven't had any problems with AT&T harassing you about it. I'm in the same boat and don't want to lose my unlimited data as I've heard as happened to some people.
Also thanks for the guide!
Does anyone know if this will work on non samsung AT&T phones. Like the HTC M8?
ProdigalHacker said:
Just found this thread today, I've been planning on rooting my phone for some time now and tethering is one of the biggest reasons why.
I just wanted to confirm that this fix has allowed you to tether using the native tethering function in android with an unlimited (grandfathered) AT&T data plan and you haven't had any problems with AT&T harassing you about it. I'm in the same boat and don't want to lose my unlimited data as I've heard as happened to some people.
Also thanks for the guide!
Click to expand...
Click to collapse
Yes, it works fine with the AT&T unlimited data plan.
i've been interested in reverse tethering for some time now, as i don't have a unlimited plan and would like to use Whatsapp to make international calls. My wifi is very intermittent w/ connections, so i sincerely doubt this would be a viable option. A direct link, reverse tether, i believe would offer the least amount of noise and maximize the connection bandwidth.
I've tried the method as explained here: https://www.howtogeek.com/117118/ho...oid-to-your-pcs-internet-connection-over-usb/
,but with some slight differences. instead of SuperSU, i'm using Magisck. i'm prompted for the root rights and everything else seems to be in order: usb debugging enabled.
if one reads through the url ref, they will see it uses adb. i've had little luck getting this to work. one thing i wanted to initially try is updating all of my apps, which i imagine would go quite quickly using the land-line.
any help is appreciated in advance.
I am debating whether or not to post this here, on Howard Forums or on CDMA Gurus, but I'll post it here as this forum seems the most popular and has a great SEO so hopefully someone googling how to do this will see this thread and find it helpful.
This summer I picked up a used Verizon Samsung SCH-LC11 hotspot. It is surprisingly small and lightweight but heavy and feels high quality.
I was surprised to see the built in web interface didn't have a software update button, nor any options to change APN settings and so on. I searched Google and couldn't find ANYTHING initially on how to do this, but found that there was a software update which mine didn't have that gave it the ability to choose LTE only, 3G CDMA only, and so on, which I thought would be nice to have. After a lot of digging, I finally found out how to do this.
First you'll need to install the latest Samsung USB drivers from here https://developer.samsung.com/mobile/android-usb-driver.html
Once that is done, you'll need to download the Samsung firmware update utility for this hotspot which can be found here
Verizon: https://www.samsung.com/us/support/downloads/?model=N0020110&modelCode=SCH-LC11ZKAVZW
US Cellular: https://www.samsung.com/us/support/downloads/?model=N0020124&modelCode=SCH-LC11ZKAUSC
Download the one listed as "PATCH,OTHERS" and run it, and follow the instructions, once that's done you should now be on the latest firmware!
This next one is something that initially was reported as impossible, changing the APN settings. There is nowhere in the web menu to do this and when you plug this device into your computer nothing happens.
After months of searching though, I finally found a thread on CDMA Gurus related to flashing and doing more involved things with this hotspot, and this showed how to enable debugging mode!
To do so you'll need to power your hotspot on and connect to it's wifi network, and then head to the admin page at http://192.168.1.1/ and login with the wifi password found on the sticker underneath the battery cover. If your sticker is missing the password is the last 8 digits of your IMEI, ignoring the last digit of the IMEI. For example if your IMEI is 123456789123456 your password is 78912345.
Once you're logged into the admin page go to http://192.168.1.1/selectusbmode.html and enable USB debug mode and click Save. Then go into "Configuration" and "Diagnostics" and click restart and connect the hotspot to your computer via USB. You should hear the device connect sound.
Now you'll need to use a program called AT Command Tester available at https://m2msupport.net/m2msupport/download-at-command-tester/ as we will set the new APN of your choice using AT commands, and this program let's you do that all through a simple, easy to use GUI.
You will need the latest version of Java installed on your computer as AT Command Tester requires Java to run, you can obtain the latest Java here https://www.java.com/download/ie_manual.jsp
Once you have the latest version of Java installed and have downloaded and installed AT Command Tester, open up your start menu and launch AT Command Tester, if this doesn't work navigate to C:\Program Files (x86)\AT Command Tester and run "atc.bat"
You should see AT Command Tester open, and now you'll need to establish a connection to the Samsung hotspot. Click on "Find Ports" and wait, now you should see 3 COM ports available from the dropdown selection list, in my case it was COM16, COM17 and COM18 and the one I needed to use was COM16, however yours may vary and you may need to try each one until you establish a connection, I'd recommend trying the lowest numbered one in the list. Once you have selected the proper COM port click "Connect" and in the log in the right you should see it detect the hotspot and list Qualcomm as the device type.
Now you can follow the instructions here for setting up the APN https://m2msupport.net/m2msupport/how-to-setup-access-point-network-apn-in-cellular-modules/ and once you have set the proper APN you can restart your hotspot and you should have everything working!
If you for some reason need to change other settings, you can use DFS Qualcomm Tool to do so. This device will also be detectable via QPST and CDMA Workshop too.