[Q] reverse tether? is it possible? - Fascinate Q&A, Help & Troubleshooting

I'm basically on a per-MB data plan, and my Fascinate's wifi receiver is horrible, even compared to my iPod Touch 4.
Right now I am getting wifi through a high-gain directional usb adapter. I can share the connection to my iPod through an AdHoc network, and Firestarter's internet sharing feature [on Ubuntu].
But since the Fascinate doesn't recognize AdHoc, I cannot find a way to reverse tether my phone, that is, use my Laptop's connection on my phone.
Is it possible?
I tried making a Hotspot with my fascinate, connecting to it with my laptop, so my laptop was something [I forget the exact numbers] like 10.42.43.114, and my phone was 10.42.43.120. I tried Proxy Droid, telling it to use 10.42.43.120 SOCKS5 proxy (I used ssh localhost -D1111 on my laptop for socks5 proxy), and tried loading a page. I got nothing. Then I tried setting up a SQUID http proxy, and this time I got a "Squid access denied" message, so it was loading from my laptop.
but I tried this again later, and could not even get squid to load anything after that.
Is there a way to do this easily?

Maybe you can try couple possible solutions from here?

Hyper_Warp said:
Maybe you can try couple possible solutions from here?
Click to expand...
Click to collapse
I can't get the connections bridged in linux. I tried following some steps someone posted somewhere, but it gave me an error, saying my wifi [wlan1] couldn't be added to the bridge [br0]

You can try this: http://www.maryfi.com/
Saw it on lifehacker

nufan said:
You can try this: http://www.maryfi.com/
Saw it on lifehacker
Click to expand...
Click to collapse
Looks fine.. except I can't be rebooting into Windows 7 all the time..
I have Ubuntu, as I stated in my original post

There is a new app called ReverseTether that allows you to do just that and it doesn't require any additional software or tech savviness, and it's very straight forward and simple to use.
Check this out:

Benn awhile since I used bridge utils but I seem to recall similar errors when I had an IP assigned to all the interfaces. I had to have the two interfaces without ips and assign the ip to br0 instead. If I remember correctly.

Related

share 3G via WiFi?

I thought I saw a .cab file here somewhere that would allow you to bridge the 3G/EDGE connection to the WiFi connection so I can share my 3G over WiFi to laptop or whatever.
Anyone seen this? I cant remember the name, thought it was something like WMBridge or something.
Thanks
G
GuardianZX9 said:
I thought I saw a .cab file here somewhere that would allow you to bridge the 3G/EDGE connection to the WiFi connection so I can share my 3G over WiFi to laptop or whatever.
Anyone seen this? I cant remember the name, thought it was something like WMBridge or something.
Thanks
G
Click to expand...
Click to collapse
internet connection sharing will allow you to share your 3G over bluetooth or USB to your laptop !!
and now that I think about it you can almost certainly go through the arduous and difficult task of getting activesync to connect over an adhoc wifi connection, once that is done you will be able to use the phone as a 3G modem for your laptop.
ice_coffee said:
and now that I think about it you can almost certainly go through the arduous and difficult task of getting activesync to connect over an adhoc wifi connection, once that is done you will be able to use the phone as a 3G modem for your laptop.
Click to expand...
Click to collapse
u can do it tht way but its hard, and requires a registry hack, which to be fair doesnt work all that well, disconns after a couple of mins at best, bluetooth is the way to go if u want wireless connecton, although i use the lead for security, u can use the 3g conn as a modem, but then if u like us use tmob wb and walk then u cnt use ur data package.
hope this helps
Peter
The app is called wmWifiRouter. Looks like they just came out with a new version the 10th. Forget bluetooth, its not secured at all, and only lets you share with one device. With wmwifirouter you can share with many. See the link below.
http://forum.xda-developers.com/showthread.php?t=341398
excellent that is exactly what I was looking for, I will play with it today and see if I can get it to work.
Thanks
G
Should be a simple matter of copying the exe to your device and running it. It takes care of all the registry settings, starting up Internet Sharing, keeping the connection alive, and with the latest version you can even put the unit to sleep and your connection will stay alive. About the only thing it doesn't do is set up a peer-to-peer profile with a fixed IP address, but the thread above walks you through that. Make sure you set the profile to use WPA encryption (NOT WEP or 'open') and set a password.
techntrek said:
The app is called wmWifiRouter. Looks like they just came out with a new version the 10th. Forget bluetooth, its not secured at all, and only lets you share with one device. With wmwifirouter you can share with many. See the link below.
http://forum.xda-developers.com/showthread.php?t=341398
Click to expand...
Click to collapse
I finally got around to trying this and have had no luck. I followed the directions as best as I could tell. Anyone verify if this works on the Athena? I used to have the method set up manually but hadn't set it up again since updating to AP3.0. This would be much handier... if works!
wgary said:
I finally got around to trying this and have had no luck. I followed the directions as best as I could tell. Anyone verify if this works on the Athena? I used to have the method set up manually but hadn't set it up again since updating to AP3.0. This would be much handier... if works!
Click to expand...
Click to collapse
Powell,
Why not build this into AP 4.0 ROM?
eaglesteve said:
Powell,
Why not build this into AP 4.0 ROM?
Click to expand...
Click to collapse
i was trying for 3.0 actually but couldnt get it to work at time bc of confusing instructions. i will though in 4.0 100%
I verify that it works with the Athena and it works great. Let me know if your having trouble. I've been using it everyday now with no problems.
Pawel062 said:
i was trying for 3.0 actually but couldnt get it to work at time bc of confusing instructions. i will though in 4.0 100%
Click to expand...
Click to collapse
The directions are confusing because the newer method was grafted onto the same thread as the older method. So it's hard to tell what's what. I put about an hour into this but made no progress. The exe file doesn't appear to do anything on the Athena...
MWillis561 said:
I verify that it works with the Athena and it works great. Let me know if your having trouble. I've been using it everyday now with no problems.
Click to expand...
Click to collapse
Sorry, just saw your response as I wrote mine. Here is what I did:
1. set up an ad hoc network on my Athena. IP address 192.168.0.1 (another place saide 192.168.0.7--tried both)
2. Set up on my client (MacBook Pro). A connection was established.
3. Ran the exe file -- nothing happened. One comment said to deactivate the network before running. I did this in various degrees with no success.
4. Also opened up the Internet Sharing applet and tried to connect manually -- "USB cable is not connected."
Clearly I'm missing something here. It would be very handy to have this capability. Can you clarify??
Not sure why you are having a problem - I unzipped the zip, transfered the exe to the athena and it ran on the first try after first setting up the ad-hoc wifi connection (settings, connections, wi-fi, network adapters tab, IEEE..., use specific IP address in the 192.168.x.x range; then go to the other tab and set up an ad-hoc connection).
I had an even worse experience. Everytime I ran the exe, my Athena locked up, needing a complete reset each time.
I gave up in the end .
I have got other methods to work using Mortscipts, but it does seem like something that would be well worth someones time sorting out for the good of us all.
Have you tried the latest version of wmWifiRouter? The developer released a new version of it earlier this month. Its on version 0.8 now.

[Q] Anyone been able to ssh remotely (not with wifi) to their Thunderbolt?

ssh from your computer over wifi is easy, but doing it over LTE seems to be problematic if not impossible (with the phone acting as the server). It doesn't look like we're given a public ipv4 address and they're just doing an NAT magic to translate it into an ipv4 addy on their end, but it doesnt necessarily link back to you always (if you check your ip over a browser).
With my home connection being SOL as far as having ipv6 thanks to craptactular att "we dont need no ipv6 for our customers," I don't see any possible method to reach the phone.
Blackberries had a static ipv4 (when I had one) but I know that's a dying thing for new phones with ipv4's days numbered.
I know there's other solutions (like vpn), but obviously that's not the same.
i have not had any luck either and that makes sense now cuz i remember having issues with trying to run a server on my phone . damn this is annoying.
I cant get ANY data to work with the exception of once and that was only searching google.com but no other website would work... any ideas anyone?
ddarvish said:
i have not had any luck either and that makes sense now cuz i remember having issues with trying to run a server on my phone . damn this is annoying.
I cant get ANY data to work with the exception of once and that was only searching google.com but no other website would work... any ideas anyone?
Click to expand...
Click to collapse
Nope, not really. Probably could set up a vpn server on my VPS server and and vpn into that to get around the NAT though and do some work in iptables for routing. That was the only thing I could come up with.
Hi,
I know that it was stated that "ssh from your computer over wifi is easy," but this process is not immediately obviously to me. I have succeeded in sshing with the phone, but not into it. Can someone explain how to ssh into the phone (from a computer with wifi that the phone is also connected into)?
Thank you,
Michael
mcoughlin said:
Hi,
I know that it was stated that "ssh from your computer over wifi is easy," but this process is not immediately obviously to me. I have succeeded in sshing with the phone, but not into it. Can someone explain how to ssh into the phone (from a computer with wifi that the phone is also connected into)?
Thank you,
Michael
Click to expand...
Click to collapse
You need an ssh server on your phone. You can either use something like dropbear, which comes by default on most AOSP ROMs and you can figure out how to set it up by reading this or you can use something like sshdroid, which is a GUI app.
I'd be willing to bet that verizion simply blocking ports and not giving you a real ip
Sent from my ADR6400L using XDA App
movielover76 said:
I'd be willing to bet that verizion simply blocking ports and not giving you a real ip
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Unless you're roaming, you're always behind NAT and an IP within verizon's network. No one is going to give you a real and static ipv4 address nowadays regardless of the mobile network, there just arent enough left. IPv6 however I do not know if it routes out or not, haven't tested yet and the only place that I have an ipv6 address is my remote server so it doesn't do that much good usability wise to me.
Thank you for the really helpful comment! Now for another silly question: imagine the case where you have your phone connected by USB to your computer. Is it still possible to "ssh" into it using one of the methods described above?
mcoughlin said:
Thank you for the really helpful comment! Now for another silly question: imagine the case where you have your phone connected by USB to your computer. Is it still possible to "ssh" into it using one of the methods described above?
Click to expand...
Click to collapse
if you have the usb cable connected, you could just use adb and type "adb shell"
Otherwise, I don't think so because you aren't registering a network address via usb.
So once you are into your phone with adb, is it possible to run a program like ConnectBot to ssh out from the phone through your computer's adb shell?
mcoughlin said:
So once you are into your phone with adb, is it possible to run a program like ConnectBot to ssh out from the phone through your computer's adb shell?
Click to expand...
Click to collapse
Yes, if you mean ssh into your computer's sshd (ssh server).
ssh client (phone) → ssh server (computer)
or you can go the other way as well if you have an ssh server on your phone.

[DEV] Other ways to enable the hotspot? or tethering w/out market apps? (w/out root)

i know modifying the services.jar is done when rooted but i have been messing with QPST pretty much all day and have found quite a few little tweaks that can be made. anyway, i noticed under multiple tabs there are options for tethering. when i get back, im going to back up all my settings and then change some things to see what i can come up with.
can anyone with and intimate knowledge of QPST and our phones chime in here? is there anyway at least the wired tethering can be modified w/ QPST to be unlocked? just a thought because the market apps have to do something not root related.
I don't know about actual tethering (which gives your PC an IP address), but I've seen a lot of posts on XDA and other forums on how to browse the web using a proxy setup. I've been doing this for the last few days that I've owned the phone.
In essence, it involves:
1. Running a proxy server app on your phone. I use JADS internet sharer, in SOCKS mode. Proxoid is another HTTP proxy server
2. Connecting phone to the computer using USB
3. Putting the phone in HTC Sync mode (I couldn't get adb to work in charge only mode)
4. Doing adb port forwarding on your computer: adb forward tcp:12345 tcp:1080
5. Configuring firefox to use the SOCKS v5 proxy localhost:12345 (or HTTP/HTTPS proxy if you run proxoid)
6. Configuring the network.proxy.socks_remote_dns custom property value to "true" in firefox's advanced configuration (type about:config in the address bar, and type "dns" in the filter textbox)
After this, I can browse the internet all I want. And that's really all I need at this time. I'd like to have the computer route all internet through this proxy server, but I'm going to look into it later.
I suspect the market apps are doing something VERY similar. They all have a client component you have to install on your PC, maybe the client is a "dummy" network interface that routes all traffic through a similar port forwarding setup.
ProcessorHog said:
I don't know about actual tethering (which gives your PC an IP address), but I've seen a lot of posts on XDA and other forums on how to browse the web using a proxy setup. I've been doing this for the last few days that I've owned the phone.
In essence, it involves:
1. Running a proxy server app on your phone. I use JADS internet sharer, in SOCKS mode. Proxoid is another HTTP proxy server
2. Connecting phone to the computer using USB
3. Putting the phone in HTC Sync mode (I couldn't get adb to work in charge only mode)
4. Doing adb port forwarding on your computer: adb forward tcp:12345 tcp:1080
5. Configuring firefox to use the SOCKS v5 proxy localhost:12345 (or HTTP/HTTPS proxy if you run proxoid)
6. Configuring the network.proxy.socks_remote_dns custom property value to "true" in firefox's advanced configuration (type about:config in the address bar, and type "dns" in the filter textbox)
After this, I can browse the internet all I want. And that's really all I need at this time. I'd like to have the computer route all internet through this proxy server, but I'm going to look into it later.
I suspect the market apps are doing something VERY similar. They all have a client component you have to install on your PC, maybe the client is a "dummy" network interface that routes all traffic through a similar port forwarding setup.
Click to expand...
Click to collapse
does easytether have a pc client? never tried it so i really dont know but i think your right because in the free version of easytether its web ports only and the paid version, all ports are working (gaming, messaging, etc....).
I've tried the Easytether paid version and it works great.
ydoucare said:
I've tried the Easytether paid version and it works great.
Click to expand...
Click to collapse
i've used this before.. good stuff
ydoucare said:
I've tried the Easytether paid version and it works great.
Click to expand...
Click to collapse
never said it didnt work. that's not the point of this thread.
ydoucare said:
I've tried the Easytether paid version and it works great.
Click to expand...
Click to collapse
Over wifi? Also, will this work for computers that can only join a secure network? (not adhoc) [if wifi is avail]
I only need to tether when on a job and there network is down or something and I may need to get on my laptop for a brief amount of time would this easytether work for me.
this should be in Q&A or general. you are not developing anything with your op so it does not belong here please pm a mod to move
Or merge with thread WIP DEV hotspot unlock?
BANG! from my shooter...

[Q] Connect to wifi through laptop?

When I'm in my basement I get horrid wifi, especially with the prime. I think I remember reading that a laptop can kind of redirect its wifi connection to the prime? It would help me a lot if I could do this, and I have searched around with no luck. Please help
Use another android. It can probably do that with some hotspot thingy.
Wifi desktop to wifi hotspot
Hi,
I found this website that seem to do what you need to do. I hope its what you need.
http://mobileoffice.about.com/od/in...ow-to-share-your-windows7-wifi-connection.htm
Greamlive said:
Hi,
I found this website that seem to do what you need to do. I hope its what you need.
http://mobileoffice.about.com/od/in...ow-to-share-your-windows7-wifi-connection.htm
Click to expand...
Click to collapse
Thanks, that's exactly what I was looking for
The K-Zoo Kid said:
When I'm in my basement I get horrid wifi, especially with the prime. I think I remember reading that a laptop can kind of redirect its wifi connection to the prime? It would help me a lot if I could do this, and I have searched around with no luck. Please help
Click to expand...
Click to collapse
You may not need Connectify (at least not with a Windows 7 laptop) ... but I used the following method on a laptop connected to an ethernet cable. This may not work when wi-fi is your connection...but it's worth a shot.
Put the following into a batch file, and run it when you need a hotspot from your laptop:
netsh wlan set hostednetwork mode=allow ssid=<name> key=<password>
netsh wlan start hostednetwork
Change <name> to the SSID name you want and <password> to the password you want. I do this often at work. With my laptop, download speed maxes out at about 3Mbps, even though our internet connection 10 Mbps.
This is not a permanent thing. After a time of inactivity, this little temporary hotspot goes down -- if you are actively downloading something, it does stay up and running. I just run the batch file whenever I need it for a time.

SSH server

I did some searching, and was unable to find a working ssh SERVER for the rezound. Has anyone done this before? I am interested in setting up a proxy tunnel through my phone. I tried SSHDroid but it doesn't seem to be working for me.
Thanks
ES file explorer has this built in. I haven't really tried it, but it may be worth checking into.
I have ES explorer, but I don't see an ssh server anywhere
trud9340 said:
I have ES explorer, but I don't see an ssh server anywhere
Click to expand...
Click to collapse
That's because I was having a momentary lapse of reason. I was thinking FTP and steered you wrong. Sorry man.
Look for the app that installs linux on your phone then install an ssh server from within the linux chroot. I forget what the app name is because I'm in the middle of flashing roms
What exactly does the Linux Installer do? Create a virtual linux instance, running under the current ROM?
it sets up a chroot environment and installs a full blown Linux OS in your phone (I think the only two choices are Debian and Ubuntu ATM) minus the X Server so it's only the CLI. It may be too convoluted for it to actually work but it's worth a try.
What your looking for is sshdroid its on the play store. I also believe you need to be rooted for it to function
seeker160 said:
What your looking for is sshdroid its on the play store. I also believe you need to be rooted for it to function
Click to expand...
Click to collapse
The OP tried that....
trud9340 said:
I tried SSHDroid but it doesn't seem to be working for me.
Click to expand...
Click to collapse
I gave it a shot and it didn't work for me either. I'm rooted. It gave some quick error that looked like a invalid options screen, but it went by very fast.
Sshdroid seems to start successfully, but when I attempt to ping or ssh to the provided ip address, it doesn't respond.
Sent from my ADR6425LVW using XDA
With your phone browser, try: http://www.whatismyip.com/ and see if that matches the same IP you think it is.
I got nothing but an error when I tried it. Came to a screen that said revert, .... and adfree. Adfree took you to the market pro version to buy. I think the middle option was cancel. It had an options error displayed quickly on the screen but it didn't stay long.
Were you on wifi or 4g? I only had it work on wifi. The 4g ip4 address isn't publicly routable. I heard the ipv6 address is but i couldn't get that one working either.(Might of been the network I was trying from though or the program I was using for ssh)
Forgot about that. I remember trying to do this with a 4G Hotspot. Even though you have an outside IP, traffic is not allowed back in. For a while when I got it, you couldn't even do a VPN connection with it... kind of useless for a business tool, but they ended up fixing that.
I tried both on WiFi and 4G. They both give me different ips, and for both, I tried the suggested IP, and also the IP thats provided by whatismyip.com.
Seems I'm out of luck. I would have thought that with root, something like this would have been done by some nerd (like me) by now.
trud9340 said:
I would have thought that with root, something like this would have been done by some nerd (like me) by now.
Click to expand...
Click to collapse
it is not the phone, it is the network. Wifi should work. VNC server works.
Via Rezound using XDA Premium
As someone else mentioned you can't connect to your phone while you're on Verizon's network, because IIRC they're actually "private" IPs but on a huge (NAT'd) network. So you can only really make connections to your Rezound via wifi or somehow setup a reverse connection where the phone initiates the connect. If I understand everything correctly, the problem is you're essentially behind Verizon's firewall which only allows incoming connections from certain IPs or one that were originating from the phone itself.
QuickSSHd works fine for me over WiFi.
Its widget shows current IP, which is convenient.
I'm rooted, of course.
when running on WiFi, you need to poke a hole in your routers firewall to let the ssh traffic into the ip used by your phone.
otherwise, when on the same network as the phone, use the internal ip address of the phone... go to WiFiSettings-> Advanced-> and read the line under 'IP address' should say like 192.168.x.x or 10.x.x.x or 172.
trud9340 said:
I tried both on WiFi and 4G. They both give me different ips, and for both, I tried the suggested IP, and also the IP thats provided by whatismyip.com.
Seems I'm out of luck. I would have thought that with root, something like this would have been done by some nerd (like me) by now.
Click to expand...
Click to collapse
These "apps" are just wrappers for dropbear SSH Server, which is free. You might be able to build it yourself, but, frankly, dropbear sucks.
Try the Linux CHROOT environment. You'll get OpenSSH which is better than the dropbear SSH server that these "apps" use.
Not only that, but the OpenSSH route allows you to use SSHFS, which will allow you to mount your rezound over wifi as a hard drive wirelessly.
So, man up, and choose Linux ;-)
I'll dig up some thinks for you in a moment.
Tried lildebi and the ubuntu methods and neither works as directed. Going to take a closer look later.
Lildebi fails with execution when it tries to create the file system and the ubuntu process uses an image that is too large for vfat. Going to try to cook an ubuntu filesystem that is 1.5gb and see if I can move on from there.

Categories

Resources