Using The Nexus S 4G As A Dedicated Router - Nexus S Themes and Apps

First before people ask...no I can't get a decent ISP in my new apartment complex. They have a "deal" with some horrible small-time cable company that I've never heard of, and all the neighbors hate it. On top of that I have talked my work into paying for the account I plan on using for this since it's "required" so that I can work from home as needed.
That being said, I've done some initial speed tests at my new place and I get a consistent 11Mbps/3Mbps over Sprint's 4G/WiMAX, which is more than enough for my needs. I know that will fluctuate, but even so I'm excited about this project!
So sure I could just dump WiFi Tether on a rooted NS4G and leave it be, but I want to try taking it to the next level. What I'm thinking is a full-time router, much like a pfSense/SmoothWall/Vyatta distro, using the WiMAX (And 3G as a backup) for the WAN and the WiFi for the network connectivity. Unless I can figure out a better solution I would probably use a WRT54GL with dd-wrt to act as the wireless bridge for my wired clients.
It'll always be plugged into power, so battery isn't an issue (But a nice bonus for when the power does go out). I would like to have an always running bandwidth monitoring screen that I can just glance at. Of course there would be remote monitoring/configuration, as well as some built-in "apps".
I know this is a big task to take on, but I need something to focus on in regards to getting into the development side of things and I think this would be a great place to start. However I've got some questions that I think ya'll could help me figure out:
1 - What should I do for providing services like DHCP, DNS, Port Forwarding, NAT, etc? I know it would require some heavy lifting but I could cross-compile standard linux based apps like dhcpd right?
Or does anyone know of that perfect app that might help me get a head start? I don't mind using different apps/services and then focusing on making them all work together, but if there is a "simple" solution already that would be fine by me!
2 - Since it's not going to be a multimedia demon, is there a particular light-weight, almost console-only ROM that might serve to be the best base to build from? I would think something that is more geared towards running desktop-based applications versus the standard apps.
3 - WiMAX needs to work of course, how would that play into it?
4 - Is that anything that might allow me to plugin a standard ethernet cable? I don't think I've seen a mini-usb to ethernet yet...do they have a mini-usb to regular usb at least?
I know these are very basic questions, but I just want to get a pulse on if this is just an unobtainable idea or not. I don't think it is, it's basically a different way of getting to a MiFi. Also if anyone knows of anyone elses past attempts at this I would love to know where I can read up on it in. Thanx in advance!!!

My phone overheats if it tethers for hours upon hours. Gets kind of annoying. I suggest you buy a external charger and another battery so you don't have to play " let the battery cool down" game.
I had the same issue on my other 2 smartphones while tethering (Samsung instinct with ported 1.6. And optimus s)
I would say try finding a loophole or move. Slow internet is a whore. I use hot sport off my phone to my ps3. And I can only play from 11pm-6am lag-free.
Sent from my Nexus S 4G using Tapatalk

Are you oc'ed or something I tether my phone for hours a day and havent had it over heat except for when I was oc'ed above 1.2ghz.

There are a few issues with this.
1.Restrictive firewalling policies on the ISP side. Blocked ports/ throttling.
2.Added latency from wireless > wireless bridge. With wireless you will need to tether to a wireless bridge with ethernet ports for your computers. wrt54g and the like with dd-wrt work fine for this. A linux computer with a wireless card would also work. Tethering with USB to a linux computer that you can edit the iptables rules would be best.
3.Double NAT. This is something you must avoid to have a proper connection. With wireless your tethering program is going to use NAT, but then your bridge will probably also use NAT. This will leave you with a very convoluted connection. Tethering with USB would probably also be best here. In the past when I have used USB tethering (motor razr) the host PC gets assigned the true WAN address of the phone via a virtual adapter. Thus this would only require setting up NAT/ iptables once on the host PC.
My suggestion would be to exchange the phone/plan for a 3g/4g data card that works with GNU/Linux and setup NAT that way of course along with an ethernet switch. Good luck with it.

Jason_25 said:
There are a few issues with this.
1.Restrictive firewalling policies on the ISP side. Blocked ports/ throttling.
2.Added latency from wireless > wireless bridge. With wireless you will need to tether to a wireless bridge with ethernet ports for your computers. wrt54g and the like with dd-wrt work fine for this. A linux computer with a wireless card would also work. Tethering with USB to a linux computer that you can edit the iptables rules would be best.
3.Double NAT. This is something you must avoid to have a proper connection. With wireless your tethering program is going to use NAT, but then your bridge will probably also use NAT. This will leave you with a very convoluted connection. Tethering with USB would probably also be best here. In the past when I have used USB tethering (motor razr) the host PC gets assigned the true WAN address of the phone via a virtual adapter. Thus this would only require setting up NAT/ iptables once on the host PC.
My suggestion would be to exchange the phone/plan for a 3g/4g data card that works with GNU/Linux and setup NAT that way of course along with an ethernet switch. Good luck with it.
Click to expand...
Click to collapse
But he would then be giving up unlimited data as a result of leaving the phone plans.
Sent from my Nexus S 4G using Tapatalk

Related

Usb tethering with osx

I've searched for a long time and have done much research. Does anyone know of a definitive way to tether my Kaiser to my Mac running tiger? I've come across USB modem and PDAnet but I don't think they're solutions for me. PDAnet is specifically for Windows only. I know missing sync used to cooperate with Internet Sharing via usb but I'm not sure if that still works. Anyway I was hoping one of you geniuses might have a clue for me. As always, thanks very much for you time.
If you haven't stumbled upon this already, try WM WiFiRouter - http://www.wmwifirouter.com
WiFiRouter works for me. I get decent reliable connectivity w/ the Kaiser - On Rogers (contract account) tethered on 3G, average 1,550-2,500 kbps (speedtest) downloads. On AT&T (prepaid), average 500-1,250 kbps... perhaps slower as it's prepaid? To keep the battery topped up, I try charging the Kaiser w/ AC or via USB (trickle only).
Before WiFiRouter, I slaved through trying to get Mobile Stream's USB Modem to work. I gave up as the connection was really slow, and at the time, only available via bluetooth dun...
http://forum.xda-developers.com/showthread.php?t=383651
I did receive an email in early June stating that USB Modem now supports USB connection to OSX. They provided the following link:
http://mobile-stream.com/demos/usbmodem_wm_trial.zip
Cheers.
definitely wmwifirouter
This application is a godsend and is quite obviously your solution versus USB tethering. Just take my word for it and buy it right now, http://wmwifirouter.com, or let me offer you a few reasons:
Firstly, the Kaiser does not have high-speed USB 2.0 (480Mb/s), it has theoretical "full speed" of 12Mb/s which in reality is nowhere near 12Mb/s and may be slower than what your HSDPA/UMTS/whatever connection can pump whereas wifi g's theoretical speed is a comfy 54Mb/s. So you elimintate a potential limiting reagent. Probably not an issue but maybe depending on your setup and location's coverage.
Secondly, when you're transferring data at speeds in excess of maybe 90KBytes/sec on the Kaiser while tethered, the Kaiser may start to eat over 500mA when your USB feed only pumps in, tops, a 500mA charge. With wifi, even though the wifi radio adds more consumption obviously, you've still got that little USB jack free to plug in your wall charger which gives it a steady amp, allowing you to bring in, in my experience with this program, up to 470KBytes/sec without discharging (though it gets hot as hell). Typically, either with bittorrent connected to many peers and pumping out 20KB/s or just a straight download of a Linux distro from a single server I get about 200KBytes/sec incoming with WMWifiRouter which competes with my home broadband with acceptable latency (low hundreds).
Maybe you're thinking, "Well, I'll be using this on the train where I can't plug in a charger so I should try to figure out how to do this with USB so I don't completely empty my phone before I get to work." Think again! Off-hand I don't remember exactly how much additional power the wifi radio on the Kaiser eats on its low setting, but you can just pop in USB into an Mac that's unconfigured for USBing with the phone and still get your ~500mA charge. Also you can play Robin Hood and hook your trainmates up with internet.
Thirdly, with this badass application, you can turn your phone essentially into an apparently full-fledged (albiet ad-hoc) router connected to the internet via DSL with mediocre latency: You can hook up multiple devices, you don't need to configure anything (most of the time you just install it, run it and click connect), if you go under a tunnel and lose the connection or you accidentally flip that dumb switch on your laptop and lose your wifi but turn it back on, no problem, it reconnects for you with the screen off. Up to 128 WEP if you're paranoid. I haven't tried it but according to Chainfire's commercial website you can feed internet from your phone into a normal router in order to get WPA. Port mapping, DMZ, traffic stats, you name it.
Hell, forget the technical reasons and just get it because it's fascinating to see what your phone can do with the right coding from some bloke not employed by AT&T or HTC or anyone up until the program left beta. But please, do not pirate the program. Don't. Chainfire's asking for twenty pounds/forty bucks for something he put hundreds (thousands?) of hours into that gives your phone a certain god-like quality.

tether question

Is there anyway I can use Bluetooth to connect to my ps3 to use 3g internet? Thanks
If you are rooted you should be able to use wifi tethering.
Yeah,I'm rooted. But my ps3 doesn't have wireless internet connection.
Just wondering if I can do it through Bluetooth. If so, how can I get them to pair. Or is there a way to do it through wired tether. If so, where can I get the wired tether?
PDAnet supports both USB and BT tethering. I've never used it. It's in the Market, just search "tether" and there's a free version. The free version blocks secure sites.
As far as I know, the PS3 does not have any Bluetooth modem capabilities. With root, your options are WiFi tether, USB tether, and Bluetooth tether. As far as I know, there is no adapter for connecting your phone to an ethernet connection for wired tethering.
I was under the impression that all PS3s had WiFi. Am I mistaken? Or does yours just not work?
At any rate, what you can do is use a computer (desktop, laptop, any computer will do) as an intermediary between the phone and the PS3.
1. Tether the phone to the computer (with any of the three, pick your poison).
2. Setup Internet Connection Sharing on whatever connection the phone connects to the computer with.
3. Then all that is left is connecting the ethernet port on the computer to the ethernet port on your PS3 and setting up the connection.
As long as either both ethernet ports are auto-sensing or you use a cross-over cable, it should work.
suppliesidejesus said:
As far as I know, the PS3 does not have any Bluetooth modem capabilities. With root, your options are WiFi tether, USB tether, and Bluetooth tether. As far as I know, there is no adapter for connecting your phone to an ethernet connection for wired tethering.
I was under the impression that all PS3s had WiFi. Am I mistaken? Or does yours just not work?
At any rate, what you can do is use a computer (desktop, laptop, any computer will do) as an intermediary between the phone and the PS3.
1. Tether the phone to the computer (with any of the three, pick your poison).
2. Setup Internet Connection Sharing on whatever connection the phone connects to the computer with.
3. Then all that is left is connecting the ethernet port on the computer to the ethernet port on your PS3 and setting up the connection.
As long as either both ethernet ports are auto-sensing or you use a cross-over cable, it should work.
Click to expand...
Click to collapse
Thanks a lot. I might have wifi on my ps3 I never tried it . But I will now.
Good luck with this, I can assure you that you will have a high bill with in the next few months! PS3 + Wireless Tether = High Bill and possible disconnection just a heads up!
I have unlimited data
Since we're on this topic, why do people keep saying you'll get disconnected or a higher bill if you tether? I've been told by a verizon store rep that Verizon doesn't even start "monitoring" your usage until you go beyond 5gigs/month. I've used at least 3-4gig consistently for the last 3 months with streaming music every day for a few hours each day, sometimes all day.
How does that differ from someone using it for tethering instead of streaming music, downloading apps, etc? Data is data right? Is there a way for Verizon to know you're tethered as apposed to just a heavy phone-only data user?
Has anyone ever really had a problem with this? I mean, it says "unlimited" on the data plan, and I've found no fine print limiting it anywhere so can they really legally do anything? (Thinking false advertising lawsuit if they did......)
suppliesidejesus said:
As far as I know, the PS3 does not have any Bluetooth modem capabilities. With root, your options are WiFi tether, USB tether, and Bluetooth tether. As far as I know, there is no adapter for connecting your phone to an ethernet connection for wired tethering.
I was under the impression that all PS3s had WiFi. Am I mistaken? Or does yours just not work?
At any rate, what you can do is use a computer (desktop, laptop, any computer will do) as an intermediary between the phone and the PS3.
1. Tether the phone to the computer (with any of the three, pick your poison).
2. Setup Internet Connection Sharing on whatever connection the phone connects to the computer with.
3. Then all that is left is connecting the ethernet port on the computer to the ethernet port on your PS3 and setting up the connection.
As long as either both ethernet ports are auto-sensing or you use a cross-over cable, it should work.
Click to expand...
Click to collapse
I have done this before and use it to play MAG almost everyday for a couple of weeks. I never had any lag or disconnects and i never had a high phone bill and never disconnected from Verizon.
piercedtiger said:
Since we're on this topic, why do people keep saying you'll get disconnected or a higher bill if you tether? I've been told by a verizon store rep that Verizon doesn't even start "monitoring" your usage until you go beyond 5gigs/month. I've used at least 3-4gig consistently for the last 3 months with streaming music every day for a few hours each day, sometimes all day.
How does that differ from someone using it for tethering instead of streaming music, downloading apps, etc? Data is data right? Is there a way for Verizon to know you're tethered as apposed to just a heavy phone-only data user?
Has anyone ever really had a problem with this? I mean, it says "unlimited" on the data plan, and I've found no fine print limiting it anywhere so can they really legally do anything? (Thinking false advertising lawsuit if they did......)
Click to expand...
Click to collapse
I've heard that Verizon can and will monitor your usage and if you use huge amounts (probably like 10+ gigs a month) then they may shut you off or at least look into it. Also heard from Gizmodo I think it was, that some cell company's don't ACTUALLY mean unlimited when they say unlimited data. Some probably have caps at about 20+ gigs or something. Never heard which company's it was though. And this all may just be a bunch of crap so don't quote me on this
I know the wireless tether for what ever reason the ps3 will not pick it up atleast it wouldnt for me I tried it a couple times just to check and see if it would work but no luck.
edgeupgx said:
I know the wireless tether for what ever reason the ps3 will not pick it up atleast it wouldnt for me I tried it a couple times just to check and see if it would work but no luck.
Click to expand...
Click to collapse
I too have this problem. Im using android tether and tried many different settings. I changed the channel, the ip, with and without a passcode, and got nothing. I think I do remember seeing in the bluetooth settings something about bluetooth modem. I hope someone can figure it out.
cwhite8883 said:
I too have this problem. Im using android tether and tried many different settings. I changed the channel, the ip, with and without a passcode, and got nothing. I think I do remember seeing in the bluetooth settings something about bluetooth modem. I hope someone can figure it out.
Click to expand...
Click to collapse
the ps3, along with pretty much everything else except for actual computers, cant connect to Ad-Hoc networks as an internet connection.
you can though, if you have a Cat 5e crossover cable (radioshack has em), plug that into your network port, then go into network adapter settings and bridge your network cable port and USB connection port. the ps3 might be able to play off of that, it works on the 360 atleast
Ok well looks like I know what I am going to mess with when I get home. Thanks for the help.
-------------------------------------
Sent via the XDA Tapatalk App
No, I just called Verizon and once you break 20 gig's of tethered data, they shut that **** down.

[Q] Tethering options for data connection?

I'm looking to understand what options exist for tethering the NC to a phone for data. I believe the only method currently supported is by creating an ad-hoc wifi network using software on the phone, and joining this network from the NC.
I have a Blackberry 9700, which cannot be setup as a wifi hotspot. With the release of CM7 build 17, it sounds like Bluetooth works (with limited range). My phone supports Bluetooth tethering because I've set it up with my Windows 7 laptop. I'm curious to find out whether this will be possible with the NC as well.. if not, what other options are there for getting online with my NC (besides having to purchase a phone that has hotspot capability). I used to use PDANet with a Palm Treo back in the day.. I'm also not opposed to physical cable-tethering if this is a possibility.
Thanks in advance.
I would like to know this as well. My Evo is not rooted and I'd like to keep it that way for now, so my only options are PDAnet via physical cable and bluetooth (which I can utilize on CM7 but it breaks wifi) or Easytether (physical).
neoshi said:
I would like to know this as well. My Evo is not rooted and I'd like to keep it that way for now, so my only options are PDAnet via physical cable and bluetooth (which I can utilize on CM7 but it breaks wifi) or Easytether (physical).
Click to expand...
Click to collapse
So are you confirming that you've got Bluetooth tethering working with your phone using CM7? Does the build break wifi permanently, or is it only during BT tethering?
Haven't tried it yet but now that you mention it.. I'm going to try it!
Excellent, can't wait to hear the results..
Will pair, won't connect
Well, that takes that option out of the running. I really prefer a physical connection though, and so far, I haven't seen any micro-micro (assuming this is because of power requirements anyway).
Even with the phone right next to the NC? That's disappointing.. by micro-micro, are you referring to the type of USB cable needed? I don't have the device yet, so I'm not sure what kind of connections it has available. Tethering over BT is the last feature I'm waiting for before pulling the trigger on this bad boy. I plan to use it as a removable CarPC (using my phone for data and an external Bluetooth receiver for GPS).
Yup right next to it. Now, I've seen some guys report that GPS works though via bluetooth and I plan on trying that next (need to charge my BT receiver.. hope the battery still works!). They said you needed a GPS app to fix your location though.
As for micro-micro, yep USB. But then we would probably need a client side app to be able to recognize that kind of connection.
And wifi seems broken with BT ENABLED (not on, just enabled).. going to revert.
Thanks for doing all that testing. Let me know how the pairing goes with your GPS receiver.. if you get that working, you would need GPS software that has all of the maps built-in (since Google Maps, etc, requires a data connection).
My primary use for the NC will be as a car PC, so the only thing holding me back is the Bluetooth tethering with my Blackberry (uses the Dial-Up Networking feature set).
I've been hoping to BT DUN working for my BB 9700 also. At the moment it appears that ppp needs to be enabled in the kernel for this to work. When I run pppd from the comand line it complains about ppp missing from the kernel.
It looks like the pppd program is being compiled with the CM7 build and that the ppp modules can be found in the kernel sources so there is hope. We could ask to have it added as a dynamic module but I not sure how to go about making the request. (I am a noob to the forums and not allowed post in Dev and there may be a another way to make requested that is preferred in any case. )
I also found this program that claims to set up a BT DUN connection via ppp and it does run without faulting on my NC:
android.gval.biz
Thanks for sharing your experiences. I found a post in the developers forum where someone asked how to do the same thing. The link in the response discusses how to get Bluetooth GPS and WiFi tethering to work, but it does not mention Bluetooth tethering to a phone. Unfortunately, I don't have enough posts under my name to respond to that thread, but I've subscribed to it in the hopes that someone else will point it out..
http://forum.xda-developers.com/showpost.php?p=12282264&postcount=281
Same same same same.
Unrooted Evo and although I am having fun with all the great things we can do to our NC's I am really not ready to root my Evo just yet. Having that phone with me is the only reason I am able to walk away from my keyboard at all and just because you can doesn't mean you should.
I run Fedora on my laptop and can tether to my Evo using Azilink and USB cable without a problem but if I wanted to drag my lappie everywhere then the NC wouldn't be any fun atall!
Weird is when we can pair the Evo and the NC via Bluetooth (yes a few inches apart right now) but neither one wants to do the actual connection. The message pops up on both Evo and NC asking to acknowledge the "secret" code and what else to do but say yes to them both. Then they both try and fail to connect.
I guess there is a fix for AdHoc on CM7 but I am not sure how to get the unrooted Evo to create an AdHoc network for the NC to connect to. If anyone has that answer can you let us know? I will keep searching as well.
Deirdre

[Q] USB tethering to a router?

What I am trying to figure out is if I can use my Droid Bionic as the internet source to my router, using the usb tether option.
I am trying to provide a stronger signal to other devices in my house, and to have a private network that will work my printer, satellte tv, etc.
Is this possible?
Not that i know of unless using the wireless tether and using your router to jump the signal.. if tour router supports it.
Sent from my DROID BIONIC using XDA App
Wireless signal repeating is a part of the 802.11n spec. If you have a wireless-N router there should be a firmware option to enable it.
Maybe USB tethering to a PC is the solution. The steps required after that might get complex, but in short your goal is to bridge that connection to your standard ethernet adapter on the PC.
Plug the ethernet from your PC into the router. Put this in place of where your modem typically connects and you should be only a few networking tutorials away from a configuration that works.
USB tethering isn't supported on your router most likely, or any router for that matter. That's why you are going to have to put a PC running Vista+ or Ubuntu 10+ (others may work) for interfacing the connection to a standard ethernet cable.
If a repeater is all you need this won't be useful for you.
Personally, I intend to configure my network to use the 4G connection's superior upload rate, as my ISP at home provides 3Mbps upload while 4G gets 10Mbps.
Using modified firmware on the router will make many things possible. You may want to check out DD-WRT (what I'm currently using) or Tomato.
Do you want both WAN connections (ISP and 4G) to be available to your network?
Sorry if I'm confusing anyone. =)
Sent from my DROID BIONIC using XDA App
Just the 4g.
I currently use the wireless tether option, which provides me 4g internet access for all devices in my house, but I do not have much latitude as far as distance ( the further away the device is from the phone, quality of service declines).
I know that I can USB tether the phone using pda-connect, which works rather well. I just want to use my wireless printer without a lot hassle, and have 1 network that is complete.
Dan
USB.. Not without additional hardware people have already mentioned.
Your router can pick up the WiFi tether from you phone and use it. I have this setup at home with my LinkSys WRT54G. Its called "repeater" mode. I'm not saying it can do it with the stock firmware, but it can thanks to the DD-WRT firmware I loaded onto it. Just google DD-WRT. Many older routers can install it freely. They started charging registrations for some newer routers. That's why I bought a used WRT54G off e-bay for $20 bucks, since I didn't have a router anyways
Sent from my DROID BIONIC using XDA App
I would agree with the previous setup also.
But really, there's no better router than a book and an old dusty PC.
I want to do exactly this.
Currently, I have limited functionality with an old cradlepoint router. The router works fine with PC's and mac's but not the iPad. I narrowed the problem down to the MTU setting which cannot be adjusted on the router or the iPad.
I was thinking about purchasing one of those sapido routers, but I'm not sure if it supports the bionic. The price is right though.
Any update on this thread?
Hey again gang,
So, I did it... I purchased a sapido router from amazon... this one to be exact:
http://www.amazon.com/Sapido-GR-173...OY/ref=sr_1_11?ie=UTF8&qid=1327437644&sr=8-11
I received the router yesterday and connected it to my phone and it works beautifully... better and faster than any other internet service provider we have out here (Time Warner, Local telcom, clearwire, etc...). Just to let all of you know too, I have the 901 ROM installed on my phone, so no more disconnects. I was watching veetle all night and not one hickup.
All I did to get everything to work was go into settings, Wireless & networks, Tetehring & Mobile Hotspot and check USB tethering. The router finds the connection instantly and the green light comes on indicating that we have internet!!
Ethernet and wireless work great to my desktop and laptop. I did try it out with my iPad. The connection to the iPad mostly works, but it does take forever to get some pages. To remedy this, if you do get the router, change the MTU settings from 1492 to 1400 and then everything works beautifully to an iPad.
Best of luck to all of you who decide to use your phone as the main source of internet to your home through the usage of the outstanding sapido router!
Thanks.
Howdy,
Same here. I went with the Sapido RB-1733 from Amazon. Works fine as a regular router, and I can plug my Bionic into the USB port and charge it while its using the tether option. Much better at having a full size router spreading your wifi around the house, besides wired networked stuff.
later...
Purchased gr-1733, but can not get it to work properly. Please tell me the settings you used to get this working. I am using verizon bionic with 4g.
calimansi said:
... I purchased a...
Click to expand...
Click to collapse
I want to tell everybody purchasing routers that support USB built in: your existing network equipment (router) or any old, unused PC can do this for you free.
In fact, there are so many ways to share your 4G throughout your home I won't explain them in-depth unless there are specific questions.
Routers: many routers (Linksys, Buffalo, Belkin, NetGear, ASUS, and many more) contain hardware capable of running open-source firmware. My network contains many flashed routers: Linksys E4200 v1, Linksys E2000, Buffalo WHT-HP-54G, and Belkin F7D7301 v1. These models are all compatible with modified firmware. But keep reading...
ALL YOU NEED IS A USB PORT on your router. The firmwares (assuming your router is compatible) take care of the rest. Be warned, there are ways to brick your routers if you don't read the wiki/forum threads properly. In my opinion, these are much easier to flash than phones.
The DD-WRT supported devices list will let you know if you have a box *already compatible* with DD-WRT. Otherwise, use this reference to shop around for a router with at least:
8 MB flash
1 USB port (you can expand with a powered USB hub)
Support for optware (any Broadcomm router will work!)
This isn't very easy to find but almost any Linksys router has a broadcomm, for example. I can provide reference for any of you that might have questions.
Your router needs writeable space to keep a couple kernel modules that may/may not be built in to the particular DD-WRT flavour/build. Basically, this is something dependent on a per-router basis.
If you have something listed on the supported devices list, I will be happy to provide some reference on whether or not you will be able to do this.
USING A[N OLD] COMPUTER:
Get a linux distribution of your choice (I'll provide links on request)
Enable USB tether on your phone while plugged into a high-speed port.
Configure the connection to route out of your standard Ethernet adapter.
Plug your existing router's WAN/Internet port into the linux computer's Ethernet port.
And from here you troubleshoot. And I can try to help.
I will probably write something up on how to do this on my website once I get things running. For now, I'll subscribe to the thread and take questions here. I'd also like to point out there are many other creative ways somebody can do this. Just keep asking.
Good luck keeping your battery from draining faster than it can charge; I sincerely mean that. WiFi Tether can be killer if using it as a shared connection.
fxmech said:
I want to tell everybody purchasing routers that support USB built in: your existing network equipment (router) or any old, unused PC can do this for you free.
In fact, there are so many ways to share your 4G throughout your home I won't explain them in-depth unless there are specific questions.
Routers: many routers (Linksys, Buffalo, Belkin, NetGear, ASUS, and many more) contain hardware capable of running open-source firmware. My network contains many flashed routers: Linksys E4200 v1, Linksys E2000, Buffalo WHT-HP-54G, and Belkin F7D7301 v1. These models are all compatible with modified firmware. But keep reading...
ALL YOU NEED IS A USB PORT on your router. The firmwares (assuming your router is compatible) take care of the rest. Be warned, there are ways to brick your routers if you don't read the wiki/forum threads properly. In my opinion, these are much easier to flash than phones.
The DD-WRT supported devices list will let you know if you have a box *already compatible* with DD-WRT. Otherwise, use this reference to shop around for a router with at least:
8 MB flash
1 USB port (you can expand with a powered USB hub)
Support for optware (any Broadcomm router will work!)
This isn't very easy to find but almost any Linksys router has a broadcomm, for example. I can provide reference for any of you that might have questions.
Your router needs writeable space to keep a couple kernel modules that may/may not be built in to the particular DD-WRT flavour/build. Basically, this is something dependent on a per-router basis.
If you have something listed on the supported devices list, I will be happy to provide some reference on whether or not you will be able to do this.
USING A[N OLD] COMPUTER:
Get a linux distribution of your choice (I'll provide links on request)
Enable USB tether on your phone while plugged into a high-speed port.
Configure the connection to route out of your standard Ethernet adapter.
Plug your existing router's WAN/Internet port into the linux computer's Ethernet port.
And from here you troubleshoot. And I can try to help.
I will probably write something up on how to do this on my website once I get things running. For now, I'll subscribe to the thread and take questions here. I'd also like to point out there are many other creative ways somebody can do this. Just keep asking.
Click to expand...
Click to collapse
FXMech,
So i've had a Linksys E4200 for some time and after reading your instructions have flashed dd-wrt onto my router. There are a lot of neat features now available but i'm not sure how to get the router to use my phone at an internet source. I'm using a motorola usb data cable and have easy tether set to share my internet and when i plug it into my router i get nothing. any help with this would be appreciated.
fxmech said:
I want to tell everybody purchasing routers that support USB built in: your existing network equipment (router) or any old, unused PC can do this for you free.
In fact, there are so many ways to share your 4G throughout your home I won't explain them in-depth unless there are specific questions.
Routers: many routers (Linksys, Buffalo, Belkin, NetGear, ASUS, and many more) contain hardware capable of running open-source firmware. My network contains many flashed routers: Linksys E4200 v1, Linksys E2000, Buffalo WHT-HP-54G, and Belkin F7D7301 v1. These models are all compatible with modified firmware. But keep reading...
ALL YOU NEED IS A USB PORT on your router. The firmwares (assuming your router is compatible) take care of the rest. Be warned, there are ways to brick your routers if you don't read the wiki/forum threads properly. In my opinion, these are much easier to flash than phones.
The DD-WRT supported devices list will let you know if you have a box *already compatible* with DD-WRT. Otherwise, use this reference to shop around for a router with at least:
8 MB flash
1 USB port (you can expand with a powered USB hub)
Support for optware (any Broadcomm router will work!)
This isn't very easy to find but almost any Linksys router has a broadcomm, for example. I can provide reference for any of you that might have questions.
Your router needs writeable space to keep a couple kernel modules that may/may not be built in to the particular DD-WRT flavour/build. Basically, this is something dependent on a per-router basis.
If you have something listed on the supported devices list, I will be happy to provide some reference on whether or not you will be able to do this.
USING A[N OLD] COMPUTER:
Get a linux distribution of your choice (I'll provide links on request)
Enable USB tether on your phone while plugged into a high-speed port.
Configure the connection to route out of your standard Ethernet adapter.
Plug your existing router's WAN/Internet port into the linux computer's Ethernet port.
And from here you troubleshoot. And I can try to help.
I will probably write something up on how to do this on my website once I get things running. For now, I'll subscribe to the thread and take questions here. I'd also like to point out there are many other creative ways somebody can do this. Just keep asking.
Click to expand...
Click to collapse
Some advice on how to get Android USB tethering to work on dd-wrt would be much appreciated.
Using a Linksys E3000 - DD-WRT Build 19519 installed
JFFS2 Enabled
usbnet.ko, cdc_ether.ko and rndis_host.ko installed
Now stuck at this point.
Thanks in advance
Nice before I even read this I was doing usb teather to my computer. Then I would hook my router up to my computers ethernet port to outers internet port. I have windows 7 so I did network bridge and the router had internet. To bad you need the computer but other than that wifi on router is grwat. Lan is also great. I play xbox live from this setup.
Hehe, I was just going to find some reference on the Ubuntu equivalent of "Connection Sharing," and landed back here forgetting completely about how I've helped motivate this search result.
Here's the deal - I was wrong about a few of my previous posts, I am too lazy to retract and edit out the stupidity,
I have since discovered a fundamental flaw in my logic - "USB tether" is NOT equal to "USB modem" - don't ask me why. However, I can say I know the limitations now.
Bad news: All USB-capable routers supporting TomatoUSB ( http://tomatousb.org ) or DD-WRT ( http://dd-wrt.com/wiki [the main site is useless for regular people, stick to the wiki & forums] ) will not allow this. I have just confirmed in the DD-WRT Kong Mod build for the Linksys E4200 won't do it. To cut to the chase, this build included what I suspected to be the additional modules usually needed. Turns out, those modules are for USB modems, which is a separate type of subscription service, not to mention an additional Dongle to buy. I suppose it's useful for some.
I like to skate by on the cheap, so I won't be able to speak to these (awesome sounding) routers previous people bought. For those of us still wanting to have fancy internet sharing (non-phone-WiFi), you will have your answers revealed. Just not this post. I am not ready to tear down some of my excess equipment and get it rigged up quite yet.
I will be working with Windows 7 and Windows Server 2008 R2 machines at a later date. I anticipate no problems with either, and from my estimation the gist of what's required has already been talked about in this thread.
However, as the resident dork-in-charge of my home office - my specific interest lies in "multiple WAN" on my router. There are 2 reasons to do this. Redundancy or[and?] load-balancing. My new gateway since my last posts in the topic has switched from the E4200 over to an installation of Zentyal 3.0 ( http://zentyal.org ). Zentyal 3.0 is based on Ubuntu Server 12.04 LTS, so I suspect it is possible to tether.
I anticipate a lot of people might stumble here searching The Google. I figure I might as well write this out in a organized, thorough way. More to come as I make room in my brains to type out a relatively coherent tutorial for both OSes.
Sorry guys, 2 people flashed routers per my speculation. If I find any solid info in the future I'll check back.
Sent from my DROID BIONIC using xda app-developers app
Thanks for the update!
Sent from my ADR6425LVW using xda premium
Looks like Android USB tethering to a router is working with the ASUS RT-N66U. I haven't bought the router yet, but I plan to soon.
See here for instructions: http://support.asus.com/Search/KDetail.aspx?SLanguage=en&no=A02827F8-3DB9-CC0E-5F67-85F7D3FB48E4&t=2

Chromecast in hotels

The main thing that I was hoping to do with Chromecast was to use it in hotels while travelling. From what I'm reading, there are 2 major problems that would make this not a good option for hotels:
1. Sounds like there's not a way currently to accommodate wi-fi hotspots that require a web page login. This is the situation you find in most hotels.
2. The DNS is hard-coded to Google's DNS servers. This means that if you're travelling away from your home country and you need to use DNS proxies to reach restricted sources, (e.g., Netflix, BBC, Spotify), you're out of luck.
Those two restrictions make the Chromecast not very useful for my purposes. Root access would have been an approach to fix item #2, but now that's gone. So, I'm wondering if anybody knows of any development that's underway to deal with these issues? I took a quick look at the Chromecast API and I didn't see any way to manage the wi-fi connection or to change the DNS settings. I'm hoping some clever developer will figure out a way to deal with this.
Interesting, I was hoping to do the same thing. Some hotels don't require login but most do now. Has anyone tested it?
You could use a laptop and a micro router. I carry a mini tplink router to hotels to use. You can put it and a laptop on that router then stream from the browser to the chromecast. Not perfect but a workaround. Not sure if there is a way to stream directly from a phone or tablet yet.
Virtual Router should work, as (I believe) it supports multicast. Unfortunately, quite a few wifi cards will crash when using it, though. I have an Alfa AWUS036H that I use for... security testing... but that unfortunately can't sustain a connection with the software enabled.
I've used my rooted phone as wifi hotspot/router and then connect tablet or laptop to control chromecast. Unfortunately if a phone is in hotspot mode, chromecasting on same phone won't work so need to use second device to control chromecast.
Using a travel router would work, and maybe using a second Android phone as well, but all of that is defeating the purpose of using the Chromecast device. If I have to go through all of that, I might as well just use an HDMI dongle with my Android phone instead of the Chromecast.
The advantage that the Chromecast would have over phone+dongle is that the Chromecast is small and easy to attach to the TV and I wouldn't have to disconnect it when I was finished. That plus the fact that I would be able to use the phone as a remote control.
But if I've got to pack a travel router and set it up to run Chromecast, the convenience factor is gone. Also, unless there's a wired connection available, putting the 2nd phone or router in the picture would provide only half of the wi-fi bandwidth and slow the connection. Hotel wireless connections are usually pretty slow to begin with.
If somebody comes up with a solution to fix these issues on Chromecast, then I will definitely use it. Otherwise, I'll stick with the phone+hdmi dongle.
One advantage to using the CC is quality. The mhl adapters just don't have the quality and at a hotel with decent speed the router is not an issue. Besides you will not loose speed if you are plugging your router into the LAN.
woody1 said:
Using a travel router would work, and maybe using a second Android phone as well, but all of that is defeating the purpose of using the Chromecast device. If I have to go through all of that, I might as well just use an HDMI dongle with my Android phone instead of the Chromecast.
The advantage that the Chromecast would have over phone+dongle is that the Chromecast is small and easy to attach to the TV and I wouldn't have to disconnect it when I was finished. That plus the fact that I would be able to use the phone as a remote control.
But if I've got to pack a travel router and set it up to run Chromecast, the convenience factor is gone. Also, unless there's a wired connection available, putting the 2nd phone or router in the picture would provide only half of the wi-fi bandwidth and slow the connection. Hotel wireless connections are usually pretty slow to begin with.
If somebody comes up with a solution to fix these issues on Chromecast, then I will definitely use it. Otherwise, I'll stick with the phone+hdmi dongle.
Click to expand...
Click to collapse
life is better with r00t
willverduzco said:
Virtual Router I have an Alfa AWUS036H that I use for... security testing...
Click to expand...
Click to collapse
Riiiiiiiiight :silly:
willverduzco said:
[I have an Alfa AWUS036H that I use for... security testing...
Click to expand...
Click to collapse
lol i have one of those too, and we all know exactly why you have it
http://readwrite.com/2013/08/06/chromecast-hotel-travel-wi-fi-challenges#awesm=~ofCmrzdqug8DvB
http://www.connectify.me/hotspot-chromecast-best-friend/
yeah connectify gives my really inconsistent results. so far only netflix and youtube have worked. music hasn't at all. If I could figure out the cause I'd buy the pro version while its still on sale.
At one point I was planning to get a WL-330NUL mini router. Watch video here. (Supposedly the world's smallest) Given that it's a WiFi router... I believe it could work with the chromecast dongle using a WiFi connected smartphone/tablet/laptop. Looking at the video it appears that in standalone mode it can route using Ethernet on the WAN end and using a laptop it can route using WiFi in the WAN end. In the later scenario the laptop is used to authenticate with the hotel WiFi network and the router dongle appears to act as an AP. Not 100% sure of the second scenario, but it "appears" to be so. The router can be found online for the same price you paid for your chromecast. If I get a chance, before the end of the week, I might stop by B&H Photo-Video and pick one up.
Edit:
Here is another video that shows the features a bit more clearly
I really think that the Chromecast was designed as a way to turn your TV into a "smart" TV... not so much to be a portable device for media streaming. Even bringing it between three houses is annoying as you need to go through the full setup process each time you move between wireless networks since it only stores the most recent network.
Even if you could get it to connect to a hotel's WiFi I would not use it that way, since there's no option to restrict who on the network can cast content to the device.
raptir said:
Even if you could get it to connect to a hotel's WiFi I would not use it that way, since there's no option to restrict who on the network can cast content to the device.
Click to expand...
Click to collapse
In hotels all the WiFi connected devices are segregated. Try it. Connect two devices to "most if not all" hotel WiFi networks and the two devices can not connect to each other even while connecting from the same room. This is done for security purposes. With the set up I mentioned with the mini WiFi router any devices connecting to the wireless network created by the mini router needs to authenticate with the AP function of the router.
I use a tplink micro router. I plug into the ether net and it still requires that I log in. So I'm not sure if that will even work.
Life is better with root.
tamanaco said:
In hotels all the WiFi connected devices are segregated. Try it. Connect two devices to "most if not all" hotel WiFi networks and the two devices can not connect to each other even while connecting from the same room. This is done for security purposes. With the set up I mentioned with the mini WiFi router any devices connecting to the wireless network created by the mini router needs to authenticate with the AP function of the router.
Click to expand...
Click to collapse
Yeah, that would work. You're relying on the hotel having a wired connection in addition to wireless, which I do not see as often unless you're staying in business hotels.
Still, my post was more trying to point out that design decisions like only remembering one wireless hotspot make it seem like they did not intend this to be used for travelling.
raptir said:
Yeah, that would work. You're relying on the hotel having a wired connection in addition to wireless, which I do not see as often unless you're staying in business hotels.
Still, my post was more trying to point out that design decisions like only remembering one wireless hotspot make it seem like they did not intend this to be used for travelling.
Click to expand...
Click to collapse
Maybe I was not clear enough in my previous post... when "combined" with a laptop the mini router-laptop setup can act as WiFi LAN to WiFi WAN router. The "Laptop's" WiFi adapter links and authenticates with the hotel's WiFi AP and acts as a bridge to the USB connected mini WiFi router. The mini router then acts as a wireless AP for the wireless nodes in your room. Your chromecast and smartphone/tablet would then link and authenticate to the AP in the mini router and talk to each other as they would be in the same WiFi LAN segment. Both of them will then go out to the Internet using the WiFi connection of the laptop WiFi adapter. Take a look at the second video that I added at the end of my initial post.
tamanaco said:
Maybe I was not clear enough in my previous post... when "combined" with a laptop the mini router setup can act as WiFi LAN to WiFi WAN router. The "Laptop's" WiFi adapter links and authenticates with the hotel's WiFi AP and acts as a bridge to the USB connected mini WiFi router. The mini router then acts as a wireless AP for the wireless nodes in your room. Your chromecast and smartphone/tablet would then link and authenticate to the AP in the mini router and talk to each other as they would be in the same WiFi LAN segment. Both of them will then go out to the Internet using the WiFi connection of the laptop WiFi adapter. Take a look at the second video that I added at the end of my initial post.
Click to expand...
Click to collapse
Ah. I guess I'm just not seeing why you would go through all of that hassle when an HDMI cable would do the same thing. The Chromecast is great for convenience, when you remove that it just doesn't seem like a good solution to me.
raptir said:
Ah. I guess I'm just not seeing why you would go through all of that hassle when an HDMI cable would do the same thing. The Chromecast is great for convenience, when you remove that it just doesn't seem like a good solution to me.
Click to expand...
Click to collapse
It might not be a good solution for you, but for those of us that carry a laptop when we travel having two extra dongles would not be much of a hassle. Remember, even if the chromecast had its own browser to authenticate to the hotels WiFi and access the Internet your smartphone/tablet would not be able see it. You need to create your own wireless LAN segment in your hotel room for both devices to connect and a way for both to have access to the Internet via a router in order for the chromecast to work You need to replicate an environment similar to your home wireless network for the chromecast to work as designed.
Edit: Btw, I agree that having a laptop or tablet with separate HDMI port an HDMI cable is a better solution, but since this thread was about chromecast in hotels I was trying to keep the discussion relevant while exploring a "possible" solution.
tamanaco said:
It might not be a good solution for you, but for those of us that carry a laptop when we travel having two extra dongles would not be much of a hassle. Remember, even if the chromecast had its own browser to authenticate to the hotels WiFi and access the Internet your smartphone/tablet would not be able see it. You need to create your own wireless LAN segment in your hotel room for both devices to connect and a way for both to have access to the Internet via a router in order for the chromecast to work You need to replicate an environment similar to your home wireless network for the chromecast to work as designed.
Click to expand...
Click to collapse
I guess it just comes down to a matter of opinion. I do carry a laptop when I travel and I still think that plugging it into the TV with an HDMI cable would be easier than going through all that. The chromecast is less capable but more convenient than an HDMI cable, but if you've got a setup that causes the chromecast to be the less convenient option I just don't see why you'd go with it.
raptir said:
I guess it just comes down to a matter of opinion. I do carry a laptop when I travel and I still think that plugging it into the TV with an HDMI cable would be easier than going through all that. The chromecast is less capable but more convenient than an HDMI cable, but if you've got a setup that causes the chromecast to be the less convenient option I just don't see why you'd go with it.
Click to expand...
Click to collapse
I had updated my post before your reply. In essence we're in agreement about having an HDMI cable, but I believe that the possibility exist for making this work with just a smartphone with bluetooth and the chromecast dongle. My understanding is that the chromecast also has bluetooth capabilities. So a firmware update and basic browser in the chromecast can be use to authenticate with the hotel's WiFi network while the smartphone can act as a remote via Bluetooth. Just speculating here... but who knows.

Categories

Resources