USB reverse tether needed bad! - G1 General

i.e. to access a PC's internet connection from the phone for data via USB (NOT use phone's 3G connection!)
My problems;
3G Data from my provider costs $269 a GB!
My PC has wireless internet but through a USB modem, not a router.
Cannot share the connection with a WiFi router as routers (or mine anyway) don't have a USB connection, ie I can't plug the USB modem into my router.
I can share data through a wireless dongle but only via ad-hoc network, but I can't seem connect my Dream to ad-hoc networks and am not even sure that it will be able to share the internet once connected. I've tried various Wifi tether applications.
So a USB tether app would be perfect. Else how can I use my PC's internet connection for data on the phone?
HTC Dream rooted and running CM4.2.8

Correction in title, YOU need a reverse teether.
WIFI is not hard to comeby, comeon.
The Dream can connect to ad-hoc networks, but ask that in Q&A.

No, I'm not the only one, this is a question that has been asked quite a few times before.
Also having read through many posts I have found no reference to anyone that has actually successfully shared the PC's internet connection to the phone with an ad-hoc network.

Wait a sec, you said that you have a WiFi router? A separate device from the USB modem?
1. Connect the router to your PC via Cat 5
2. Set up routing on your computer (ICS if you are running windows)
3. Set up the wireless part of the router
4. Connect the Phone to the router WiFi.
5. Use the WiFi normally from your phone.
This might help until someone can get reverse WiFi or USB tethering to work.

t1n0m3n said:
Wait a sec, you said that you have a WiFi router? A separate device from the USB modem?
1. Connect the router to your PC via Cat 5
2. Set up routing on your computer (ICS if you are running windows)
3. Set up the wireless part of the router
4. Connect the Phone to the router WiFi.
5. Use the WiFi normally from your phone.
This might help until someone can get reverse WiFi or USB tethering to work.
Click to expand...
Click to collapse
Look carefully to the topic. It has written USB not wireless.

kiiiiiid said:
Look carefully to the topic. It has written USB not wireless.
Click to expand...
Click to collapse
That would be why it is called a work around. The suggestion is a response to this statement "Else how can I use my PC's internet connection for data on the phone?" from the OP.

pardus said:
No, I'm not the only one, this is a question that has been asked quite a few times before.
Also having read through many posts I have found no reference to anyone that has actually successfully shared the PC's internet connection to the phone with an ad-hoc network.
Click to expand...
Click to collapse
I've shared internet with G1 via ad-hoc without problem. The solution I found in Q&A section

1. Get a Wireless router
2. Plug ethernet cable from PC to Internet Input on Router
3. In Windows control panel, edit the wireless connections settings to shared
4. Connect to the router and setup wireless network settings
5. Connect to wireless network with phone
There you have it, easy steps to do what you need.

After hours of 'googling', it seems that's it's impossible to get my router to share a USB modem's connection (http://forum1.netgear.com/showpost.php?p=68070&postcount=5)
@g1DDriver: Please show me where, I've searched but can't find it?
@Wisefire: 2. Plug ethernet cable from PC to Internet Input on Router - if I do that I cannot connect to the router at all, ipconfig shows the ip address as 192.168.1.2 but a browser just doesn't see it.

just buy a wireless router. they cost what, like 10$ now while on sale?

kb8to24 said:
just buy a wireless router. they cost what, like 10$ now while on sale?
Click to expand...
Click to collapse
could also try this
http://www.readwriteweb.com/archives/watch_out_wifi_here_comes_mifi.php

kb8to24 said:
just buy a wireless router. they cost what, like 10$ now while on sale?
Click to expand...
Click to collapse
perhaps you're not reading my first post correctly, I have a wireless router...
...and anyway is it even possible to plug a USB modem into a router, it would need drivers & software which the the router can't handle?
My ISP also has their own proprietary modems (http://www.iburst.co.za/default.aspx?link=hardware_modems) which are very pricey, so I'm not getting another modem either.
I've been trying to set-up an ad-hoc network using the instructions here: http://blog.joint.net/2009/07/connecting-android-phone-through-adhoc.html
but having no luck.
Who'd of thought something so painlessly simple in WM6 would be a nightmare in Android

pardus said:
My ISP also has their own proprietary modems (http://www.iburst.co.za/default.aspx?link=hardware_modems) which are very pricey, so I'm not getting another modem either.
Click to expand...
Click to collapse
From that link, which modem do you have. A model # would be nicer.
Also, what is the model # of your router?
What OS are you using?

pardus said:
@Wisefire: 2. Plug ethernet cable from PC to Internet Input on Router - if I do that I cannot connect to the router at all, ipconfig shows the ip address as 192.168.1.2 but a browser just doesn't see it.
Click to expand...
Click to collapse
That would be because you are trying to manage the router from the WAN port... If you want to be able to do this you need to enable remote management. (Connect PC to inside, enable remote management, the connect to outside (WAN port) and use the http:// 192.168.1.1:8080 or whatever you set the port RM to)

The modem I have is "USB Modem for laptops and desktops"
Router is the Netgear WGR614v7 and OS is Win XP

I see a couple of things that could have prevented you from making this work.
By default the Netgear router gives 192.168.1.0 (mask of 255.255.255.0) to the inside. You cannot use the same network between the computer and the router. I would change the network on the inside of the router to 192.168.5.1 255.255.255.0. (Just change the 1 to a 5 in the router settings.)
ftp://downloads.netgear.com/files/wgr614v7_ref_manual_20apr06.pdf
So connect your PC to one of the four ports. Let it get an IP address. Connect to http://www.routerlogin.net (Per the instructions in the PDF.) Login and change the inside address pool to 192.168.5.1 255.255.255.0. (Instructions are at Chapter 6, "Using the LAN IP Setup Options" in the PDF above.) Reboot the router.
Connect to http://www.routerlogin.net again. Login and enable remote management. (Instructions are Chapter 6, "Enabling Remote Management Access" in the PDF above)
Enable Internet Connection Sharing on your computer.
Reboot the router again.
Once the router connects again, open a command prompt and do a "arp -a" (without the quotes) and get the IP address of the router. (It will be the IP address in the 192.168.1.x range that is *not* listed in an ipconfig from the command prompt)
Connect to that IP address (for example http://192.168.1.6:8080) and continue on setting up the wireless part normally.
Once you connect your phone to WiFi the connection flow looks something like this:
Phone = 192.168.5.21 > NAT > 192.168.1.6 <routed> 192.168.1.1 (IP of your Wired NIC on the computer) > NAT > USB NIC IP address > Internet
Of course the IP addresses above are just guesses as to what you will actually see.
Hopefully this will get you going well enough until someone gets reverse tethering to work.

Reverse tether g1 to pc network over usb cable
My android os is CyanogenMod 4.2.14.1,
1.Enable "Settings\Wireless controls\Internet tethering"
2.Install HTC Remote NDIS based Device driver(View attachment 277122)
3.Set the HTC adapter as: IP:192.168.2.1, Mask:255.255.255.0
4.Set the PC ethercard as shared connection
5.Run these codes in terminal:
su
ifconfig usb0 192.168.2.2 netmask 255.255.255.0
busybox route delete default
iptables -F
iptables -F -t nat
busybox route add default gw 192.168.2.1
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
6.Now your g1 could open browser to view any web pages on the internet, and update apps in the Market.
for diyism

Related

WMWIFI and Playstation3

Hello,
Long time listner....first time poster.
I've been using WMWIFI for home internet access now for a while. My laptop and desktop have no problems finding my mogul as an access point.
I just purchased a Playstation3 (mostly for the bluray). It has a wireless card built in to access some of Sony's online stuff.
My problem is that the PS3 cannot find my mogul as an access point. Any guesses? I've searched to earth's end, however, it doesn't seem there are many people trying to do what I am...and unfortunately I can't exactly call sprint and ask them.
Thanks for any help.
Found the answer...the PS3 will not connect to an Ad-hoc network...
Reported to not work
Nintendo DS
Nintendo Wii
PlayStation Portable
Unable to connect to a device providing internet using ad-hoc mode.
Do ya'll think that there is a way around this?
I don't have any other internet access (except for the mogul) but would like to get the PS3 connected.
i'm sure theres a way to rebroadcast from the PC
hymanr said:
Found the answer...the PS3 will not connect to an Ad-hoc network...
Reported to not work
Nintendo DS
Nintendo Wii
PlayStation Portable
Unable to connect to a device providing internet using ad-hoc mode.
Do ya'll think that there is a way around this?
I don't have any other internet access (except for the mogul) but would like to get the PS3 connected.
Click to expand...
Click to collapse
The psp can connect to an Ad-Hoc network (at least the last time I tried), don't know about the others. I just know under network settings on the psp you have to change it to ad-hoc mode.
Yes it can be done. you need a laptop or a desktop to act as a middle man.
If your desktop or laptop has a wireless / wired port, simply share the internet conenction from your phone to your PC.
plug in a wire from the ps3 to the PC
highlight the wireless icon, and the wired icon in your network manager and right click and hit bridge network connections.
it will work after that.
sfld said:
Yes it can be done. you need a laptop or a desktop to act as a middle man.
If your desktop or laptop has a wireless / wired port, simply share the internet conenction from your phone to your PC.
plug in a wire from the ps3 to the PC
highlight the wireless icon, and the wired icon in your network manager and right click and hit bridge network connections.
it will work after that.
Click to expand...
Click to collapse
If you have a wireless router,that should make it all work. Set your mogul to connect to the wireless router and set the router to be 192.168.0.2 instead of its default. Now setup your devices with a static IP,on the same subnet and set the default gateway to be 192.168.0.1 (your moguls ip). In the earlier versions,this just works as is.
In the latest version,you will need to set some other settings on the phone as well. Go into your phones wifi settings and set the wifi adapter to 192.168.0.1 (earlier versions of wmwifirouter set this as the default,but the newer one is more flexible,so you need to specify this) Now,connect your wifi to your routers network. Next launch wmwifirouter. Clear the check mark next to dhcp allocator and adhoc netoworking. Network block should be set to the 192.168.0.x subnet. The router wont actually be used as a router,just as a network access point. Your mogul is actually the router. The clients are setup as before,with static IPs with a default gateway of 192.168.0.1.
This is how I connect my computer to the internet. I expect that it should work with any device that can be set with a static IP.
Thank you pflatlyne...
I have a wireless router but have not been using it as my computers can access the mogul directly. I will try your set up tonight.
Hopefully I can follow your instructions well enough to get it set up.
Thank you!!
WMwifiRouter and Xbox360
This did work with my 360 and WMwifiRouter. Had to config for my settings but it works!!! Yippee
EDIT
In case anyone asks, I did'nt need anything except my phone and 360. No router, or computer. Just fired up my wifi and entered the settings in my 360. It didn't see it, but it allowed me to edit my settings. I don't know about the PS3, wouldnt mind having one though. :..(
Hmmm....I still can't get it to work..
I'm not the most literate when it comes to how to do this.
Any chance of a detailed walkthrough on what to connect to what?
I have a desktop, an Actiontec wireless router, a wireless adapter for my desktop, mogul, and playstation....
Yes a step by step would be great. I have been trying to get the wireless router idea to work with no luck.
Mine works
What I did was what the other guy said with bridging the connection. once you connect your mogul to the computer and get online through the pc, connect an ethernet cable from your pc to the wifi routers main plug.
go to network connections
highlight your internet connection for the mogul and the one for the ethernet ( on my pc it is defaulted as internet connection 11 for the mogul and 12 for my NIC card) right click the highlighted connections and click bridge. connect the ps3 to one of the available hub slots and your ps3 should connect n/p.
IF YOU DON'T HAVE A ROUTER...
you must purchase a cross over cable to get an internet connection directly from your pc to your ps3. the method is the exact same as above except no router.

AT&T 8525 Internet Sharing to Wireless Router?

I am getting ready to head on vacation and I want to use my 8525 as my "Gateway" as there will be 5 of us with laptops and I want to share my 3G connection so here is what I did. I connect my 8525 to my Laptop via usb, I start internet sharing on the 8525 and in my laptop (vista) under network connections I see Local Area Connection 6, remote NDIS based Internet Sharing Device. I right click this connection and select Sharing, and enable internet connection sharing on it. Then what I did was took my router (linksys) and disabled dhcp, but enabled wireless and didnt set any wep or wpa. I connect from my laptop to a port on the router (not the internet port) and then goto another laptop to see if I have internet. I dont, I can see the ssid, I can connect but I do not have internet access. Should I use a crossover cable? What do I have to do so that all of us can have internet thru my phone? Oh, my laptop does have internet (from the usb connection on the phone). I tried to setup the router so that dhcp was enabled, but then I kept getting an ip conflict error, so we cant do that. Also I am not getting an ip on the wireless, it has an ip of like 169.254.177.12.
Any ideas?
Thanks
Jim
There a software which you can install on 8525 and turn it into a wifi internet sharing but I don't know if it capable of handing up to 5 laptops. You might be able to use this software and get a router with some custom firmware which allow bridging then set it up to have router access the internet from 8525 wifi and share it among the 5 laptops but I am not sure if you could bridging and do wifi AP on the same router if not then you'll probably need to have 2 router one to bridge from 8525 wifi and then connect cable to another router that will be an AP for the laptops.
That would be my best guess of doing this unless one of the laptop can do AP via wifi when 8525 is plugged into usb slot.
Bill

Using your 6800 as a Modem for your Wireless Router

ive had my cable shut off for a few months now and have been tethering my 6800 to my laptop and PC for internet access. recently, a buddy of mine needed to download a large app on his iphone which required being connected to a wireless network. my router was still on for networking purposes but did not have an internet connection. then i discovered an incredibly simple way to use the data connection from my phone as an internet line for my modem, effectively adding internet access to my wireless router and allowing his iphone, my laptop, my ps3, and PC, all to connect to the internet. i thought this maybe useful for others, so here's how to do it:
Requirements:
XV6800 (or any WinMo phone) with tethering enabled
PC/Laptop w/ LAN connection
1) Create a Dial-up connection for your phone, if you haven't already.
2) Connect to DUN
3) Open Control Panel --> Network Connections
4) Right-click your DUN and select Properties
5) On the 'General' tab, highlight your modem and click Configure, then set the Maximum Speed to 921600 and click OK (not required, seemed to increase speeds though)
6) On the 'Advanced' tab (XP) or 'Sharing' tab (Vista), enable the checkbox for 'Allow other network users to connect through this computer's Internet Connection' and click OK
7) Check the Status of your Local Area Connection. The IP address should now be 192.168.0.1
8) On your Wireless Router, move the LAN cable from its input jack into the 'Internet' jack.
9) You should see the internet activity light on your router light up and you are good to go!
NOTE: after sharing the DUN connection with your LAN, the IP settings for the LAN connection are set to a static IP of 192.168.0.1. You will have to change the IP settings back to 'Obtain IP address automatically' in order to have your LAN connection working properly again.
You can also get WMWifiRouter. It will uses the phones wifi to create an ad-hoc network and can tether via USB too. Version 0.89 is cooked into a few roms as it was one of the last free versions.
I have a Cradlepoint CTR-350 that I have been using so that I can connect with my PS3 and not need to set up connection sharing on my PC.
wemblers said:
You can also get WMWifiRouter. It will uses the phones wifi to create an ad-hoc network and can tether via USB too. Version 0.89 is cooked into a few roms as it was one of the last free versions.
I have a Cradlepoint CTR-350 that I have been using so that I can connect with my PS3 and not need to set up connection sharing on my PC.
Click to expand...
Click to collapse
I've been using WMwifirouter as well. Have it on our Titan (xv6800) which my niece uses now. Had it on my HTC Touch Pro. And now I have it on my HTC Touch Pro 2.
I like the original posters idea alot too incase you didn't want to fork out $30 for the latest wmwifirouter software.
ah but as also indicated the last free versions work fine and do the same thing. I love using it on the go in my vehicle. My wife surfs the net while I drive on long trips.

[Guide] Reverse USB Tethering step by step

hello everyone!
I was trying to find a way to connect my iconia via usb with my laptop and use my internet access for instances that wifi isn't available.
I searched a lot but there wasn't any usefull clear guide. So after some failing attempts, finally i managed to succeed (using win 7). Here are the steps:
*root is required*
1. install http://code.google.com/p/android-wired-tether/ (i used stable version 1.2 but i don't think 1.4 will make any problems) but do not enable it yet.
2. Install USB drivers from Android SDK instructions found here: http://developer.android.com/sdk/win-usb.html , later you will also need RNDIS drivers because when you connect the tablet with your pc and enable wired tether it will install the drivers. I found working drivers from HTC sync located at C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Win7_x64\htcrndis.inf
you have to install them manually from the device manager (pick the: HTC Remote NDIS based device)
3. now that we have completed the installation with Wired Tether (still leave it running), we are ready to proceed to the next step. Open network connections. You will notice that now there is one more. (in my case no1 is local area and no2 local area 5 (the one wired tether created). select the connection you want to share go to properties and enter "sharing tab". tick "Allow other network users to connect through this computer's Internet connection" and pick the connection made by wired tether. Hit apply and you will have bridged the two connections.
4. open any emulator on your tablet and type:
Code:
su
ifconfig usb0 192.168.1.9 netmask 255.255.255.0 up
route add default gw 192.168.1.1 dev usb0
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
netcfg usb0 dhcp
at ifconfig command you enter an available ip of your router for example if your pc is connected to 192.168.1.7 you can pick 192.168.1.9 that is free.
at the second line enter the default gateway of your internet connection found under the detailed view of its options.
setprop "net.gprs.http-proxy" "" is in case you are NOT behind a proxy server
5. wait about 15 seconds and...
enjoy!
each time you enable wired tether you have to type in:
su
netcfg usb0 dhcp
to undo the hole "reverse usb" thing, simply unbridge the 2 connections, restart wired tether and you are ready to use it for normal tethering.
browsers work fine, facebook, pulse, tunein. i haven't tested many apps yet...
issues: Market browsing is ok but downloading apps not, some apps do not work.
p.s: it's my first guide so if something seems confusing or unclear, please forgive me!
interesting... question... why do you do " setprop "net.gprs.http-proxy" """?
i'm asking because maybe this is what i'm missing in my usb 3g for my wifi only
thor2002ro said:
interesting... question... why do you do " setprop "net.gprs.http-proxy" """?
i'm asking because maybe this is what i'm missing in my usb 3g for my wifi only
Click to expand...
Click to collapse
forgot to implement the source link...
comments to focus are:
Rugga said...
I'm using Windows 7. I shared my ethernet internet connection to the USB tether device.
In console emulator on the phone I typed:
ifconfig usb1 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb1
I can ping the gateway, I can also ping the web by IP address, eg 64.233.181.104 for google.com
What I can't do is use the browser or ping by domain name. I tried:
setprop net.usb1.dns1 192.168.2.1; and
setprop net.dns1 192.168.2.1
Click to expand...
Click to collapse
OK it is working now. After setting up ICS type in console emulator on your phone:
ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb0
iptables -F
iptables -F -t nat
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
Click to expand...
Click to collapse
it gave me a headache trying to understand what exactly does this line...
the only thing i managed to figure out is tha it redirects and leaves blank proxy server via gprs connection... is it a fake connection (gprs) that blocks data transfer via usb from apps? the only sure thing is that these 2 lines with setprop command fixed the issue with the apps (browser and others)...
first is google's dns, probably necessary as well...
btw great job with the modules!
A quick question
Is this Iconia-specific or can the same method be used on any Android device provided we have working RNDIS drivers for it?
The way it appears to me, I don't see why it shouldn't work on other devices but please correct me if I am wrong.
HQRaja said:
Is this Iconia-specific or can the same method be used on any Android device provided we have working RNDIS drivers for it?
The way it appears to me, I don't see why it shouldn't work on other devices but please correct me if I am wrong.
Click to expand...
Click to collapse
in devices which already have the tethering ability, the hole wired tether thing doesn't need installation, so it is easier and i think it will work on any android based devices. so give it a try!
probably you won't even need to install RNDIS drivers, but in any case the HTC ones work like a charm (some other that i tried crashed windows upon connection).
you don't have to get specific RNDIS drivers especially for your device cause they are used for connecting usb devices used as network ones.
so... give it a try!
Exactly what i need desperately, i have a wifi signal which is very poor, i use external antenna to boost wifi signal. This external antenna has no drivers for android for sure, therefore i need to do reverse tethering to share internet connection from my computer.
I tried to use your guide but i think it needs a bit more details. I installed android tethering 1.4 but i am stuck at step 2 cause at this step when i turn on debugging mode on iconia then PC searches for drivers but doesn't accept the ones i downloaded from android SDK.
Kindly help me with this, i will be grateful for that.
Thanks.
usman3206 said:
Exactly what i need desperately, i have a wifi signal which is very poor, i use external antenna to boost wifi signal. This external antenna has no drivers for android for sure, therefore i need to do reverse tethering to share internet connection from my computer.
I tried to use your guide but i think it needs a bit more details. I installed android tethering 1.4 but i am stuck at step 2 cause at this step when i turn on debugging mode on iconia then PC searches for drivers but doesn't accept the ones i downloaded from android SDK.
Kindly help me with this, i will be grateful for that.
Thanks.
Click to expand...
Click to collapse
Hi! Sorry for my late answer to that. I've been away for a while...
try the drivers that are located at http://acer.us/ac/en/US/content/drivers
pick tablet, iconia tab, a500 and then download the usb drivers.
Any chance to enable this with an android phone? Wired tethering from the phone I mean.
There's actually a free program @ http://www.connectify.me
Its for Windows and they are developing an android app as well. But the windows software is quite easy and makes your computer or laptop a "hotspot" to connect multiple devices too.
enjoy!
Bec07 said:
Any chance to enable this with an android phone? Wired tethering from the phone I mean.
Click to expand...
Click to collapse
i'll give it a try (i assume you mean via usb connection).
connectify is for wireless networking. the hole reverse usb tethering thing is based on usb connection without any participation of a wireless network at all.
the majority of the latest android phones can become a hotspot natively anyway.
He does not want to install the driver from HTC. There are other options?

let's figure out a way to choose a wireless network connection over a wired one

I've searched everywhere online, and it seems that the only way to do this is to remove the ethernet cable from either the router/switch/ATV.
can anyone think of any ideas to get around this? it probably won't work, but I'm downloading different network manager apps in the hopes that it would allow me to just this. I have a feeling that this won't work, but it's worth a shot.
shutterslaps said:
I've searched everywhere online, and it seems that the only way to do this is to remove the ethernet cable from either the router/switch/ATV.
can anyone think of any ideas to get around this? it probably won't work, but I'm downloading different network manager apps in the hopes that it would allow me to just this. I have a feeling that this won't work, but it's worth a shot.
Click to expand...
Click to collapse
why do you wan't to use wireless connection over wired? do u have tried to also connect to wifi while connected wired?
if it's because app only use wifi and you are rooted and have xposed installed u might use the fake wifi module
http://forum.xda-developers.com/xposed/modules/app-fake-wifi-connection-t2800416
installed via xposed. works like charm for me...
The best connection is always the connection that gets used. A wifi connection is not as stable of as powerful as an ethernet connection and thats why computers always use the ethernet connection over the wifi connection. If you wanna use wifi, disconnect the ethernet cable. Its the same with mobile devices, if you have your mobile data on and wifi on, it will more than likely pick the wifi connection, cause wifi is usually better than mobile data. My mobile data never ever kicks on over my wifi connection.
shutterslaps said:
I've searched everywhere online, and it seems that the only way to do this is to remove the ethernet cable from either the router/switch/ATV.
can anyone think of any ideas to get around this? it probably won't work, but I'm downloading different network manager apps in the hopes that it would allow me to just this. I have a feeling that this won't work, but it's worth a shot.
Click to expand...
Click to collapse
As others have said, wired is preferred over wireless for multitude of reasons. But, if you do want to use Wifi when you have an ethernet cable hooked into FTV, you can use this from adb shell:
To bring down your wired network card: busybox ifconfig eth0 down
To bring back up: busybox ifconfig eth0 up
Once you bring down your wired connection, you should be able to navigate to your wireless settings on FTV and go wifi without physically disconnecting your wired cable.
This will not persist across reboots. You will need to include appropriate code in your startup script to make that happen.
thanks everyone! I'm going to try all of these after I eat.
I agree, a wired connection is without a doubt better and preferable. However, the building I live in only offers a free wifi connection that is installed throughout the building. I'll be looking to see if I can get my own internet connection soon.
When I have the AFTV connected through ethernet, and I want to SSH, or ADB into the AFTV from my computer, I cannot for some reason. I figured it would work since the wifi and wired connections are technically the same network, right? I also can't use any remote apps from my phone since the phone is on wireless.
I usually disconnect the ethernet cord, and create a wifi connection from my macbook, or tether my connection from my phone and connect my laptop and ATV to that network. I'm just looking for a way to be able to do all of this without having to get up and take out the ethernet cord everytime. It's not that I'm lazy, I just have this external fixation on my leg from an injury.
Xfinity app
I used the xfinity app to stream cable on my aftv... I got tired of buffering so switches to ethernet.. The app thinks im out of my wireless network... Can we spoof wifi on this like some of the old apps for jailbroken iphones or in xposed? . I too want to trick my box into thinking ethernet is wifi so xfinity wont think im not on my network...
so let me see if i have this right:
1) you want AFTV to use wireless for internet
2) you want AFTV to use wired for administration/etc
if so --- setup wireless as usual, let it dhcp and do its thing....and setup your WIRED manually leaving the default gateway blank or unconfigured. This will force all traffic bound for hosts not available via wired interface to the WLAN (and the internet).
since the AFTV and your laptop/etc are wired and on the same subnet, they don't need to be routed to communicate and they will work fine. Any other traffic need to be routed, and the only outbound route your AFTV will know is via the wireless interface.
for example:
AFTV wireless: 192.168.0.10, gateway 192.168.0.1 (or whatever dhcp gives you)
AFTV ethernet: 10.10.10.1 gateway (blank)
Laptop wireless: 192.168.0.11, gateway 192.168.0.1 (or whatever dhcp gives you)
laptop ethernet: 10.10.10.2 gateway (blank)
you can then use the 10.10.10.x addresses via ethernet to communicate via local ethernet without disturbing the default internet route and internet access.
mattvirus said:
so let me see if i have this right:
1) you want AFTV to use wireless for internet
2) you want AFTV to use wired for administration/etc
if so --- setup wireless as usual, let it dhcp and do its thing....and setup your WIRED manually leaving the default gateway blank or unconfigured. This will force all traffic bound for hosts not available via wired interface to the WLAN (and the internet).
since the AFTV and your laptop/etc are wired and on the same subnet, they don't need to be routed to communicate and they will work fine. Any other traffic need to be routed, and the only outbound route your AFTV will know is via the wireless interface.
for example:
AFTV wireless: 192.168.0.10, gateway 192.168.0.1 (or whatever dhcp gives you)
AFTV ethernet: 10.10.10.1 gateway (blank)
Laptop wireless: 192.168.0.11, gateway 192.168.0.1 (or whatever dhcp gives you)
laptop ethernet: 10.10.10.2 gateway (blank)
you can then use the 10.10.10.x addresses via ethernet to communicate via local ethernet without disturbing the default internet route and internet access.
Click to expand...
Click to collapse
it's actually the other way around.
1) I want AFTV to use wired for internet
2) I want AFTV to use wireless for administration/etc
I can't ssh/adb/etc without taking the ethernet cord out and connecting the AFTV and laptop to the same wireless network. I was hoping for a way to shut down the ethernet connection, so I can connect over wifi without taking out the ethernet cord. The AFTV won't let you connect to a wireless network if the ethernet cord is plugged in and connected.
I actually figured out a way to do what I need without taking out the ethernet cord.
What I do is:
1) SETTINGS (not the one that came with the AFTV, it's a settings.apk I installed)
2) under WIRELESS & NETWORKS click 'More...'
3) TETHERING & PORTABLE HOTSPOT
4) CONFIGURE WI-FI HOTSPOT
5) activate the hotspot and connect to that network from the laptop
dbdoshi said:
As others have said, wired is preferred over wireless for multitude of reasons. But, if you do want to use Wifi when you have an ethernet cable hooked into FTV, you can use this from adb shell:
To bring down your wired network card: busybox ifconfig eth0 down
To bring back up: busybox ifconfig eth0 up
Once you bring down your wired connection, you should be able to navigate to your wireless settings on FTV and go wifi without physically disconnecting your wired cable.
This will not persist across reboots. You will need to include appropriate code in your startup script to make that happen.
Click to expand...
Click to collapse
just gave that a try. now I have two methods to achieve what I looking to do. appreciate it!

Categories

Resources