Looking to see if it is possible to Telnet/SSH into a router to configure it using my Evo4g.
How would I go about doing it?
Could i use Connectbot? Do i just plug the USB cable into the router? Or do i need some USB -> RJ45 cord to plug into the Console or F/A ports?
Are you talking about a typical consumer router? Like a linksys or netgear? If so then I don't think you can do it that way. In my experience you first have to set up the router by plugging an ethernet cable into one of the LAN ports to set the router up.
marcog42 said:
Are you talking about a typical consumer router? Like a linksys or netgear? If so then I don't think you can do it that way. In my experience you first have to set up the router by plugging an ethernet cable into one of the LAN ports to set the router up.
Click to expand...
Click to collapse
i know for first bootup of router you need to use the console port.
i'm more looking how to telnet into it after it's setup to look at the routing tables or configure interfaces etc.
at school we have 2500 and 2600 cisco routers and i'd like to use my phone to telnet into them instead of the computer =P
they aren't wireless so i assume i'd need to plug a cable into the router from the phone
chances are they have telnet disabled since it's not secure. you'd have to use ssh, in which case connectbot is fine. if the admin is even halfway competent i doubt they allow admin access from anything but a list of allowed users/IPs/MACs/etc., and that's if you even have a user/pass that has admin access.
edit: as far as i know there is no way to convert any output from the phone into an RJ45 adapter. so, if you can't use ssh to get into the router, you'd have to use a laptop. unless you're actually authorized to access it, and i'm guessing you're not or you'd know how, i'd be careful. messing with computer network stuff that you shouldn't is a felony.
marcog42 said:
chances are they have telnet disabled since it's not secure. you'd have to use ssh, in which case connectbot is fine. if the admin is even halfway competent i doubt they allow admin access from anything but a list of allowed users/IPs/MACs/etc., and that's if you even have a user/pass that has admin access.
edit: as far as i know there is no way to convert any output from the phone into an RJ45 adapter. so, if you can't use ssh to get into the router, you'd have to use a laptop. unless you're actually authorized to access it, and i'm guessing you're not or you'd know how, i'd be careful. messing with computer network stuff that you shouldn't is a felony.
Click to expand...
Click to collapse
no, in the lab we have 4 racks with 3 routers, 3 switcches and a hub on it, and 3 computers we can connect to whoever to make topologies.
just wanted to know if it was possible to use my phone also, but doesn't appear that way. never bothered to check to see if the routers had a USb port or not
if this is a lab setting then there's probably wifi you can connect to that's connected to those routers in some way. in which case you'd just need to find out the router's LAN IP and ssh into it. as long as they've provided you with login info, all you need is the IP, port and user/pass and you're good to go.
marcog42 said:
if this is a lab setting then there's probably wifi you can connect to that's connected to those routers in some way. in which case you'd just need to find out the router's LAN IP and ssh into it. as long as they've provided you with login info, all you need is the IP, port and user/pass and you're good to go.
Click to expand...
Click to collapse
nah, there is no wifi...or they don't have it connected.
every time we go in we wipe the routers startup and reconfigure it all.
Well, if any of the consoles that are connected to the routers have an external IP, you can always RDP or VNC into that box and make the changes fromyour phone that way.
Related
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.
Not sure if I should post this question here or somewhere else but since I am using my TMOUS HD2 for remote desktop I decide to put this here.
I tried the remote desktop over my own wifi it works great but just wondering if I can use it over 3G... I tried but doesn't seem to be connecting.
Also does anybody know the list of ports that are blocked on tmous 3g? Thanks a lot!
over 3g don't forget you need to use your external ip address, (I.e not the 192.168.... addresses) and then in the router you need to set up port forwarding from the router to your chosen pc.
been looking for a solution to this for a while. Seems people give out solutions that never work.
I've just done this as a proof to myself, and yes you can do this.
Assuming you have a router, then you need to set up port forwarding from the router to your internal pc, port 3389 TCP.
On the PC, system properties - remote - make sure you choose the middle option.. ' allow connections from computers running any version..'
Then on the phone, you need the data connection active before you start remote desktop, it wont start it itself.
With data connection active, run remote desktop
give it your routers external IP address (not the 192.xxx.xxx.xxx address, , thats your internal address)
no need to fill in user and pass, it will give you the PC's login screen. Domain left blank too.
Note the connection in teh top bar, , edge in one, H in the other. No wifi.
EDIT - if your carrier blocks port 3389 which some apparently do, bypass it by using a different external port.
So in the routersettings you would forward port, say, 3456 external to 3389 internal, and then in remote desktop on the phone, you would put the ip address as (example) 64.38.226.18:3456
samsamuel said:
I've just done this as a proof to myself, and yes you can do this.
Assuming you have a router, then you need to set up port forwarding from the router to your internal pc, port 3389 TCP.
On the PC, system properties - remote - make sure you choose the middle option.. ' allow connections from computers running any version..'
Then on the phone, you need the data connection active before you start remote desktop, it wont start it itself.
With data connection active, run remote desktop
give it your routers external IP address (not the 192.xxx.xxx.xxx address, , thats your internal address)
no need to fill in user and pass, it will give you the PC's login screen. Domain left blank too.
Note the connection in teh top bar, , edge in one, H in the other. No wifi.
EDIT - if your carrier blocks port 3389 which some apparently do, bypass it by using a different external port.
So in the routersettings you would forward port, say, 3456 external to 3389 internal, and then in remote desktop on the phone, you would put the ip address as (example) 64.38.226.18:3456
Click to expand...
Click to collapse
Ugh, I just can't get it. I have data connected at all times. I try this, but I use windows XP (which for some reason almost everyone who shows how to use this on the HD2 uses Windows 7). Port forward to my internal IP address. Set up to connect to my external IP address (yeah im on a network). Always gives me those 3 reasons why it can't connect and I never got it to work. I just dont get it.
what i changed from stock rom to get RDP to work
in settings/connection change your data access point from whatever it is currently (write it down) to wap.voicestream.com and try (for me that also worked for skyfire). some ports/protocalls may be blocked from the default access piont.
Phenomenon said:
Ugh, I just can't get it. I have data connected at all times. I try this, but I use windows XP (which for some reason almost everyone who shows how to use this on the HD2 uses Windows 7). Port forward to my internal IP address. Set up to connect to my external IP address (yeah im on a network). Always gives me those 3 reasons why it can't connect and I never got it to work. I just dont get it.
Click to expand...
Click to collapse
Works fine for me all the time. I have XP Pro.
I've set the IP on my computer to be static (192.168.1.199).
I changed my Remote desktop listening port to 3399 (changes in registry and windows firewall. Also change in Antivirus firewall if you have one.)
I have a linksys router. I've set the port forwarding in "Games and Applications" as all requests to port 3399 will be sent to 192.168.1.199.
I open Remote Desktop on my HD2 and point to my external IP address with the port number.
example: 24.123.456.789:3399
Its been working fine for me for a month. Speed is good too.
samsamuel said:
I've just done this as a proof to myself, and yes you can do this.
Assuming you have a router, then you need to set up port forwarding from the router to your internal pc, port 3389 TCP.
On the PC, system properties - remote - make sure you choose the middle option.. ' allow connections from computers running any version..'
Then on the phone, you need the data connection active before you start remote desktop, it wont start it itself.
With data connection active, run remote desktop
give it your routers external IP address (not the 192.xxx.xxx.xxx address, , thats your internal address)
no need to fill in user and pass, it will give you the PC's login screen. Domain left blank too.
Note the connection in teh top bar, , edge in one, H in the other. No wifi.
EDIT - if your carrier blocks port 3389 which some apparently do, bypass it by using a different external port.
So in the routersettings you would forward port, say, 3456 external to 3389 internal, and then in remote desktop on the phone, you would put the ip address as (example) 64.38.226.18:3456
Click to expand...
Click to collapse
To you or anyone else who can do this, are yall using Professional Windows OS? or Home?
pro.
remote desktop isnt included in home. (Maybe in home premium, possibly)
there are work arounds, a 3rd party vpn for instance, or there are ways to get remote desktop onto certain home versions.
samsamuel said:
pro.
remote desktop isnt included in home. (Maybe in home premium, possibly)
there are work arounds, a 3rd party vpn for instance, or there are ways to get remote desktop onto certain home versions.
Click to expand...
Click to collapse
I use this with Win7 Home Premium, which does not have RDC enabled. However, you can simply patch it to enable RDC:
http://thegreenbutton.com/forums/t/79427.aspx?PageIndex=1
I have no problem RDC to that machine from my HD2 from both in and outside of my network. As mentioned, you need to edit your router settings to enable port forwarding to the machine(s) you are trying to access remotely. I use 3389. The above utility that enables RDC on W7HP also enables port 3389 to get through windows firewall on that machine.
no, still can't get it to work right. Even with Remote VNC workarounds it's still not getting the connection. For some reason, any port checker (even when I configure the router to forward the port to my internal IP) says that the connection is refused. So I dunno wtf it is. I'm guessing either it's Comcast that's blocking this port or the router's messing up, or Tmobile is messing up, but damn it's aggravating as hell finding a solution.
it's not work,I need help
I tried some times Remote Desktop over 3G ,but it's not work,before I connected , Then on the phone, you need the data connection active before you start remote desktop, it wont start it itself.,I actived data connection by use opera browser,and the connection in the top bar,the icon "H" appeared in the top bar,does the Remote Desktop support the connection way of 3G ? please tell me what to do ?thanks a lot ! sorry for my poor english.
Phenomenon said:
no, still can't get it to work right. Even with Remote VNC workarounds it's still not getting the connection. For some reason, any port checker (even when I configure the router to forward the port to my internal IP) says that the connection is refused. So I dunno wtf it is. I'm guessing either it's Comcast that's blocking this port or the router's messing up, or Tmobile is messing up, but damn it's aggravating as hell finding a solution.
Click to expand...
Click to collapse
Try connecting to your home computer from another computer outside. Seems to me that your home computer is not setup to allow RD from outside.
kcaj32 said:
Try connecting to your home computer from another computer outside. Seems to me that your home computer is not setup to allow RD from outside.
Click to expand...
Click to collapse
Yes, and phenomenon you should really try to establish the connection first while connected to your home network with your phone, just to make sure everything internal is setup properly before you start messing with getting the external connection to work.
Phenomenon said:
no, still can't get it to work right. Even with Remote VNC workarounds it's still not getting the connection. For some reason, any port checker (even when I configure the router to forward the port to my internal IP) says that the connection is refused. So I dunno wtf it is. I'm guessing either it's Comcast that's blocking this port or the router's messing up, or Tmobile is messing up, but damn it's aggravating as hell finding a solution.
Click to expand...
Click to collapse
Your router probably has it's own firewall. Can you connect to your computer through your own network?
Ok so I spent a few hours messing around last night, and I found a way to tether to my wii. It's probably no good for playing online. I needed to update my homebrew and this worked great for that.
You will need two routers, one of them capable of running dd-wrt. Set the dd-wrt router for client-bridge mode in the wireless tab. In basic setup (in the setup tab), the gateway should be set to the IP of your phone, and the channel and SSID should be set to match your phone. Give the router an IP address that is high in the range set on your tether app. Under setup>advanced routing make sure it is set to router and not gateway. Now with your phone broadcasting, go to the status tab, and the wireless sub-tab. Scroll to the bottom, and click site survey. Your tethered network should show up. Click join. Unfortunately you have to do this every time, as dd-wrt doesn't automatically connect to ad-hoc networks.
Now set up your second router the way you like. Run a patch cable from LAN on the first router to WAN on the second. After it connects, you should have a fully functioning infrastructure network through your tethered connection.
If you don't know about dd-wrt, all the info is online. Read the wiki carefully as you can potentially brick your router if you flash a version that your router can't handle. I'm not responsible if you do this!
I don't know if tomato is capable of client-bridge mode, but you could probably use it instead of dd-wrt if you prefer.
Good luck!
Sent from my HERO200 using XDA App
Very informative!!
I was thinking about this the other day for my PS3. My idea was that couldn't you use your computer as an internet gateway and run a patch cable (Not sure if it'd be a crossover or not) from your computer to a router (into the "Internet" port) and run another patch cable from the router into the PS3?
I didn't bother to try it, but it was an interesting thought considering the only internet connection I have where I live currently is through my phone. The connection does just fine to run Vent+WoW, though.
edit: Maybe it'd work with a switch instead of a router? 'nother thought.
You should be able yo do that, but you wouldn't need a switch or a router, just plug straight in if you use a crossover cable. I think you would need a router if you use patch cables.
The wii doesn't have an Ethernet port so I haven't tried it that way.. I bet its a pain to set up internet sharing in windows though
Sent from my HERO200 using XDA App
Or switch
Sent from my HERO200 using XDA App
It's real easy to share your internet from wifi tether through your computer's ethernet port. and for the wii, you only need a usb to ethernet adapter to use ethernet. (in windows) just enable share connection for your ethernet connection. Plug in. done.
Sent from my HERO200 using XDA App
I setup splash top for my home network but I need help getting splashtop to work on other networks when I am not at home. Any ideas?
Does anyone have any ideas how to get this to work?
If you got to there website they have instructions on how to set it up for outside networks. It involves setting up port forwarding on your router and getting the main ip address for you internet connection.
http://support-remote.splashtop.com...sys-wireless-g-broadband-router-as-an-example
weems84 said:
If you got to there website they have instructions on how to set it up for outside networks. It involves setting up port forwarding on your router and getting the main ip address for you internet connection.
Connect from Outside - using Linksys Wireless-G Broadband Router as an example : Splashtop Remote - Support
Click to expand...
Click to collapse
I have already followed these directions and still get a failed connection. I can connect fine with home network just not a remote network. Also a little info windows 7 with mcafee virus scanner and firewall. I also have a linksys e1000 router. Anybody know why I cant connect?
You may have already done this, but I needed to setup the entire range of ports (6783 thru 6785) to get mine to work. One mapping per port.
Sent from my Transformer TF101 using Tapatalk
You will to add port forwarding rule on your router. Add 6783-6785 for the port. Make sure the splash top software on your pc under network setting is set to 6783. When you add the ip address you need to add your WAN ip address not your machine ip address. Mac address will need to be that machine youre trying to log into. I have splash top setup to three of my computers at home. Able to access them without no issues from outside of my network. If you are still having issues try to disable your mcafee software and firewall. I have all three on Windows 7 all with firewall enable.
dazz87 said:
You will to add port forwarding rule on your router. Add 6783-6785 for the port. Make sure the splash top software on your pc under network setting is set to 6783. When you add the ip address you need to add your WAN ip address not your machine ip address. Mac address will need to be that machine youre trying to log into. I have splash top setup to three of my computers at home. Able to access them without no issues from outside of my network. If you are still having issues try to disable your mcafee software and firewall. I have all three on Windows 7 all with firewall enable.
Click to expand...
Click to collapse
I will try this when I get home from work. How do I make windows my primary firewall?
Dunno about McAfee, but the firewall shouldn't be causing any issues as long as you allow splashtop connection. I set up separate port forwarding for each one. TCP Any -> ****. Did that three times and it connected.
DKYang said:
Dunno about McAfee, but the firewall shouldn't be causing any issues as long as you allow splashtop connection. I set up separate port forwarding for each one. TCP Any -> ****. Did that three times and it connected.
Click to expand...
Click to collapse
Some you saing port forward each port as in 6873 to 6873, 6874 to 6874, and 6875 to 6875? Do you have a linksys router?
Router model / make won't make a difference to what ports need to be forward, just how you actually go about doing it.
Well I guess I will try to open them individually.
under999 said:
Some you saing port forward each port as in 6873 to 6873, 6874 to 6874, and 6875 to 6875? Do you have a linksys router?
Click to expand...
Click to collapse
I did "Any to 6873" and etc. Just changed the destination port number for each one since "6873 to 6873" didn't work for me.
Are you guys able to connect to your pc from an outside network with the splashtop thats included in the mycloud or did you purchase it from the market?
I have port forwarding set up, added the pc and WAN ip (not local network ip), enabled "internet discovery" in experimental features on splashtop streamer on my pc and its still not working. I have no options to add mac address, just name, ip, password and port.
Splashtop is now $0.99 so i may just go ahead an buy it so i can use it on my other devices as well if the built in one doesn't support this.
Mine works well...after I set the ports to forward.
However someone did warn me about doing this and lack of security...
fone_fanatic said:
Are you guys able to connect to your pc from an outside network with the splashtop thats included in the mycloud or did you purchase it from the market?
Click to expand...
Click to collapse
Yes, I am able to connect from outside of my network. I am using the one that came with the TF. I believe the one that comes with the TF has a custom resolution of 1280x800 just for the TF. Where the one in the Market Place highest resolution is 1024 x 768. I tried both and the TF version looks much better. There is a area when you have to input the mac address for that machine. My port for one of my pc is "6873-6785"
dazz87 said:
Yes, I am able to connect from outside of my network. I am using the one that came with the TF. I believe the one that comes with the TF has a custom resolution of 1280x800 just for the TF. Where the one in the Market Place highest resolution is 1024 x 768. I tried both and the TF version looks much better. There is a area when you have to input the mac address for that machine. My port for one of my pc is "6873-6785"
Click to expand...
Click to collapse
Thanks for that info. Do you remember where you put the mac address because i don't see it when attempting to add a new computer.
UPDATE
Nvm its working, maybe PC was off when I attempted to connect earlier from outside my house. Didn't need to put in Mac address afterall. Just wan IP and password I set and forward the ports.
Thanks guys
fone_fanatic said:
Thanks for that info. Do you remember where you put the mac address because i don't see it when attempting to add a new computer.
UPDATE
Nvm its working, maybe PC was off when I attempted to connect earlier from outside my house. Didn't need to put in Mac address afterall. Just wan IP and password I set and forward the ports.
Thanks guys
Click to expand...
Click to collapse
Cool glad you got it working. Now, I remember its not the mac address its the Wan address. The most important thing is the listening port 6783,6784, etc,etc,, depend on how many pcs you want to access.
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!