[Q] Wi-Fi phone configuration & my network - General Questions and Answers

I have a 16-node network (used mostly as a cluster computer for meteorological work), Ethernet, 3 switches, all through an ActionTec DSL gateway/router. There is an edge machine with dnsmasq for dns cache'ing and firewall. My ISP assigns three IP addresses, one of which is my network's gateway address. The ActionTec has DHCP turned "on" although I use SNAT, DNAT, and masquerading on my side. I use my internal network to serve an Apache Web site as well.
The Wi-Fi (and other reception, for that matter) is not very good here, so I bought a TrendNet TEW-636APB Wireless Access Point. It's plugged into one of the switches. The Linux hosts and hosts_files are correctly configured and dnsmasq is configured to assign an IP Address to the TEW-636APB based on its MAC.
Everything works just fine, but most importantly, the HTC One (T-mobile) has no Internet connectivity, even though I can read the IP Address assigned to the phone. Everything is on the same subnet, by the way.
Any suggestions to get Internet up and running? I regularly use bash and c-shell as well as other languages but this one has me stumped. Any suggestions?
Mike
Minneapolis, Minnesota

Additional Info for Wi-Fi Issue
I ruled out some issues in the meantime. The TEW-636APB seems to work fine. I changed each of the config options: same problem. BUT, a laptop connected using Wi-Fi for data works just fine!
On the smartphone (that HTC One), the only URL that connects is on my own network, that is, the Web site served on my subnet and inside my network works just fine. Anything outside of my network fails.
When I turn off Wi-Fi on the cell phone (and use T-Mobile), the Web works just fine.
Very confusing. Any suggestions?
Michael

Might be a DNS problem...
wxmanmichael644 said:
I ruled out some issues in the meantime. The TEW-636APB seems to work fine. I changed each of the config options: same problem. BUT, a laptop connected using Wi-Fi for data works just fine!
On the smartphone (that HTC One), the only URL that connects is on my own network, that is, the Web site served on my subnet and inside my network works just fine. Anything outside of my network fails.
When I turn off Wi-Fi on the cell phone (and use T-Mobile), the Web works just fine.
Very confusing. Any suggestions?
Michael
Click to expand...
Click to collapse
Hi Michael,
It seems to me like this a DNS problem, you should try opening google using it's ip address ( try using http ://173.194.35.132/ ) to check connectivity. Also if your phone is rooted you should be able to use some terminal like tool and try to ping some hosts to rule out the dns problem.
Cheers,
Stefan.
P.S.: please use thanks if information was helpful

Related

DNS Configuration For FTP (Public Seems Blocked?) Help Please!

I have had Serv-U and No-IP setup for the last couple of years without issues, but I recently upgraded to the new Clear (Clearwire) modem which seems to be blocking outside access.
Windows is configured, internet works, printer sharing works, internal sharing, etc. I can ping out, I can access my FTP server when I choose the local IP - but when I ping my external IP or try to put it in the browser it won't work.
I have forwarding setup, even bypassed my router but still I can't seem to gain access. I have included several photos, I believe there's an issue in my DNS or IP settings, I'm just unfamiliar with this router and my knowledge on IP shaping only goes so far.
I have an HTC Evo 4G, and I use my smartphones very very heavily, and without external access I'm pretty much in the dark while I'm away.
Any ideas would be greatly appreciated. I am also unsure if I have port forwarding setup correctly on my D-Link DGL-4500.

Captivate Wifi/3G data issue

Has anyone had a problem with the Captivate when in both WIFI and 3G coverage the phone will not download or open a webpage? If I shut off one or the other it works but if both are active it hangs up and doesnt download.
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
jhannaman82 said:
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
Click to expand...
Click to collapse
Hey, I think I'm running into this issue at my workplace (we definitely use those Cisco APs, I see them all around). I'm connected, I have an IP, but I can't browse anywhere.
Here's the weird thing though: I can connect to the company's wifi in any other building (I guess different APs?) than the one I'm in and wifi works fine. It's just the building my cubicle's in that doesn't work and it's infuriating!
well thats dumb.
I had that happen once since I bought the phone on launch. I restarted my phone and it went away.
I've had this problem as well, usually my phone switches to only wifi pretty quickly though, so I don't notice much. The phone acts like it is using the 3G connection because the arrows are both indicating data coming and going, but nothing actually happens unless only one or the other is on.
i need to check this at more places but at home i have a standard dlink dl-624 router with no security over comcast. i think my issue initially was because of the wifi sleep policy (see below) but now i am just getting really really slow speeds. pages seem to load slower than 3G....(i mean really cinemaxHD is showing last of the mohicans in pan and scan)....also the pages time out very very frequently.....
Anyone having problems check out the advanced setting for wifi. The phone has a WIFI sleep policy. my default setting was to disconnect from wifi after the screen locks. my screen locks after 30 seconds. so basically it always looking for my network. you can change it to never.
I want to reiterate our findings again. There are multiple threads on other forums concerning this as well. When it comes to wifi, the captivate has a major problem. DHCP does not work on enterprise networks. Period. It is a driver issue. The network can be open or using any form of encryption, the results are thr same. I had numerous software, hardware and network analyst tackling this issue all week in my department. It is related in part to most enterprise networks not using a default subnet mask of 255.255.255.0. There is a workaround, but it is not a fix. You can either set a static from your static pool of ip's in wifi settings, or, if u connect to multiple networks, use wifi static from the market to remember and apply seperate static configs accross multiple networks which is what were having to do currently. This affects all captivates, one which we consider a major problem with deploying this phone to our other users.
Sent from my SAMSUNG-SGH-I897 using XDA App
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
floppy__ said:
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
Click to expand...
Click to collapse
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
jhannaman82 said:
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
Click to expand...
Click to collapse
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
floppy__ said:
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
Click to expand...
Click to collapse
Its hit or miss really, seems the wifi radio stack locks up and stops responding according to our trace logs. yes i have tried both our internal DNS server's as well as googles. Everywhere else works perfectly. But at work with our Cisco open (no security) APs, it doesnt work most of the time. Through whos ip address??? I have a static set from our static pool to make sure dhcp was not the culprit. Its def the device, and not my netwrok. I have over 100 of these APs deployed here.
Wifi works great everywhere else (at home with WPA2, etc). There is def a problem with enterprise cisco APs.
Netmask issue and cisco AP's
Posted this over in development thread.
http://forum.xda-developers.com/showpost.php?p=7698066&postcount=410
Make sure your netmask is correct.
Thanks jhannaman82
I just wanted to give a big thanks to jhannaman82 for posting his company's findings with these wifi issues. My wifi works 100% at home on my linksys tomato router (of course, with a netmask 255.255.255.0). But on my college campus they use an enterprise router setup with 255.255.0.0 and I have been going NUTS trying to figure out if it is my captivate or the network.
I can sometimes get a few minutes of working connection, but it always seems to crap out within 1 or 2 minutes.
I will attempt to fiddle around with switching the dhcp to static IP, and will post my results. Thanks!
edit: no luck with static IP fiddling so far. from my laptop (connected wirelessly), I gathered that the netmask is actually 255.255.248.0... when I set my captivate's netmask to anything other than 255.255.0.0, it does not connect. It says "connected" when I set the netmask to 255.255.0.0, but as usual no data will transfer (it seems). I'm at a loss. *shrug* Hopefully there's a driver update or something.
Thanks jhannaman82!
I just wrote a script with the GScript app: "ifconfig eth0 netmask 255.255.255.0", and have a shortcut on homescreen. The problem was that the netmask was wrongly set to 255.255.0.0 on my office wifi. Now all I need to do is tap on this shortcut at office, and the connection works!
Has anyone contacted Samsung about this ?
I'm hoping this gets fixed soon... This refuses to stay connected at my school. Huge pain.
I entered in an IP address and 255.255.252.0 for my netmask after seeing what it was on my computer and turn on flight mode and tested the wifi and now it's working. I'm not sure if it's just one of those fluke connections that I get... but we'll see.

Wifi proxy suddenly works on Android

Okay folks got a bit of a strage development that I could use some help with.
As we all know, Android does not currently support Wifi proxy servers, at least it has no way to access the settings. I live on campus and the wifi is piped through a proxy server to the internet and I found the lack of wireless to be quite annoying (especially the hole it was burning in my pocket!)
Anyway, I had bought a wireless router to have internet all around my apartment. The network is hidden and my HTC Desire wasn't connecting to it. I eventually found out that this was because the network was braodcasting in mixed b/g/n mode. I changed it to b/g only and the phone connected.
I hadn't really expected it to connect to the internet because there was still no proxy set up but to my surprise it did! I checked my data counters and only the Wifi one was going up. The network my router is connected to uses the same proxy as the campus wireless so there is definately a proxy.
An even stranger development is the fact that since then, when I connect directly to the campus wireless network (not to my router) the internet still works. I keep checking the data counters and its not using up any 3G data. I checked my IP address online and it corresponds to the campus IP address. I also switched off the wifi and checked again and the IP changed to my cell provider.
I haven't tried connecting to a different wireless network since then and I didn't change any settings. I'm using an unrooted HTC Desire with stock ROMs. I had downloaded WifiAce but I since removed that and the proxy still works.
So what I'm wondering is, can anybody confirm this or give any thoughts on how this is working? Does anyone also know if the data counters available on the market acurately track data usage or do they simply assume that if the wifi is connected that the phone is downloading via wireless and not cell.
If anyone has any thoughts on this or could go out of their way to try and confirm it I'd be grateful.
(update) I found that it doesn't work on one of the networks, the oldest one on campus. Not sure why this is yet
You are correct. I found out this a long time ago. It also happens with some wireless MAC Laptops. You have to define the broadcasting channel.
Stupid Question, I'm Sure...
Omnichron said:
You are correct. I found out this a long time ago. It also happens with some wireless MAC Laptops. You have to define the broadcasting channel.
Click to expand...
Click to collapse
I wonder if you could explain what "defining the broadcasting channel" means...in case I occasion similar difficulties joining a public wifi network?
It's a dumb question, I'm sure...but I've never actually owned a router.
Between my dearly-departed, slightly hacked XV6800, followed by Tetherberry on my 9530...Wireless Tether on my CM7 Droid (only in a pinch) and the Clear Wireless dongle on my laptop (shared via Connectify), I think I'm missing several years of typical AP experience.

[Q] Wifi Tether and DDWRT for a complete home network

OK, my wife and I each have Sprint Samsung Galaxy S3's. We both have Wifi Tether TrevE mod installed and working and we also have a linksys router running DD-WRT.
I have wanted for a long time to create a stable home network with the router using our phones for internet. Reason being, We both have laptops that need access to our WiFi networked printer. And I also wanted to create a networked storage.
I started out trying to use the Router as a repeater bridge. The problem here is that in that mode there is no DHCP server in the router, so when you turn off WiFi Tether in the phone, there is no IP assignment taking place since it is handled by the phone. This is ok for the printer because we can set a static IP, but not ok for the laptops because they need to have auto ip assignment for all the other networks they might encounter. Plus I'd like to be able to have a friend come over and use the printer if need be without having to change his IP address. So this setup is unstable.
Then I tried the Router in Repeater mode. In this mode IP addresses are being assigned and everyone can see everyone else on the network. The problem here though, is that the Router and all connecting devices have to be in a separate subnet than the WiFi Tethering phone, i.e, Tethered Phone on 192.168.1.x and Router on 192.168.2.x (as far as I can tell anyway, I've tried putting them on the same subnet but fail to get internet access.) It's a problem because I have Samba Filesharing installed on the phones and the tethered phone is in a different subnet and not visible on the network. I want all devices visible.
So that's kind of where I am now, Wifi Tether on both phones (each setup with same settings so either phone can be used as our internet gateway) but they are on a separate subnet from the rest of the network while tethering.
How do I get all of my devices to be visible on the network?
Do I need a different setup in DD-WRT?
Currently it is setup in Gateway mode with DHCP server and wireless is in repeater mode with a VLAN setup with a different SSID from the WiFi tethered phone.
Do I need to usb tether the phone to the router? I have a usb port on the router but I've not found good instructions for getting the phones internet through to the router that way and I'm not sure that I would want it that way since I wouldn't be able to walk around with my phone.
Is there a way to make devices in different subnets visible to each other? Some kind of bridging or static routing or something?
Is it possible to have the phone connect to the router in a normal manner and for the router to then share the phones internet connection with the rest of the network? Then at least the router could run DHCP and be stable even without the phones.
Again, just to clarify, I want a home network with devices connecting to my WiFi router running DD-WRT and internet being provided by one of our phones, but with the network remaining intact when the internet provided phone is removed. Thanks for your help.
Bonus questions:
Is it possible to harness the power of both of our phones internet connections into one network by any means possible?
Are there any other wifi/tethering apps or another version of WiFi Tether that offer more features or the functionality of DD-WRT?
did you see this?
http://forum.xda-developers.com/showthread.php?t=1548844
pbmurdoc said:
did you see this?
http://forum.xda-developers.com/showthread.php?t=1548844
Click to expand...
Click to collapse
Thanks. Not much new there other than Barnacle. Didn't know about it, tried it, doesn't work on my phone. I would like to see a version of WiFi Tether with some more options though, why couldn't we have one with the same options as DD-WRT?
I did some more reading and I think what I need to do is link the subnet created by the router to the primary router (the phone serving Wifi Tether) through static routing. Unfortunately the static route needs to be done through the primary router and WiFi Tether doesn't include features like that.
I'll do some more experimenting and see what happens.
[A] Cellular Phone/USB Modem As WAN Connection
Answer is in the DD-WRT Wiki, here (http://www.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection).
Or just google "DD-WRT Cellular Phone/USB Modem As WAN Connection", it should be the #1 result.
Their WIKI is a great resource.
Good luck!
EDIT:
In retrospect, I am unsure about linking to the DD-WRT site... external and all. If this is a no-no just let me know and I will delete the link.
DD-WRT Client Bridge worked for me
I was able to do what you're trying to do by configuring my DD-WRT router as a Client Bridge.
I can't post the link, but there are directions I followed exactly on the DD-WRT wiki in the section:
DD-WRT wiki mainpage / Linking Routers / Client Bridged
I'm connecting my router to the tether via wifi, and connecting my wired devices to the router. I haven't had it working long, but so far it has been great.
Got it, sort of
Just to update this thread. The client bridge is a great way to connect a wired network to the bridge but loses out on creating a stable wi-fi network when the phone tether is turned off.
Anyway, the final setup I managed was having the DD-WRT router set as a wireless repeater with a computer connected to it running a DHCP server. The computer takes care of the IP addreses so that we have a stable wired/wi-fi intranet when the phone is not sharing it's internet connection.
Update: I founde another solution/project based on OpenWRT
http://ofmodemsandmen.com/
my exploits using a Linksys E3000 have been documented here:
http://tweakedrom.com/forum/viewtopic.php?f=6&t=7
I kind of like the USB tether thing. The E3000 Router USB power charges and maintains my SCH-i605 (Verizon Samsung GN2) running CM12.1. I use this as a backup connection or in the event of main cable modem service disruption at the house. It is also great for traveling (hotels) or camping (car 12v adapter for router, or power inverter)
I just bought a used Asus RT-N66U router. Out of the box it supports USB tethering with android phones and dual WANs for failover/load balancing. ROOter also works, tested the x86 build on an old PC. I'm looking to cut out my ISP completely and just use 4G from the phone for internet. The issue I have run into is that I can't appear to do DDNS or port forwarding. My wireless carrier (verizon) appears to be employing a double NAT. If I perform a speedtest on the ookla app, I get 2 IP addresses in the results, an "internal" and an "external". Both are in the public range but I can't DDNS in with either of the IPs, nor can I get any kind of service working.
Anyone have a solution for this? I'm not 100% sure but I wonder if using the SIM card in a dedicated USB 4G modem (not tethering via the phone) would get me a direct IP? I suppose I could also sign up for a VPN service and run OpenVPN on the router but that'd cut down on speeds I think. I've also heard about punching holes for ports but I'm not 100% sure how that works, I assume I still need some 3rd party public IP for relaying or something.

WiFi DNS issue

Currently running Sow Nice OJC on my G920T. I've been running into some odd WiFi issues...namely with DNS and addressing. At my and my girlfriend's house, WiFi is pretty much pointless as I get DNS errors. Her connection is using the standard Xfinity all-in-one modem/router which isn't configurable worth a damn...but her phone and tablet work fine via WiFi, as does my laptop. At my house I have my own modem and router; I have the DHCP server set up to use Google's public DNS servers. All my devices in my house work fine...Xbox, computer, even Chromecast...but for whatever reason my S6 runs into DNS errors which of course disables WiFi Calling as well.
I have tried running static IP and manually setting Google DNS as well as other DNS; it doesn't seem to help. I have also tried toggling airplane mode. I haven't experimented much with other connections that aren't Comcast, so I will include that in my troubleshooting. I am unsure if this is related to the issue I was having with connecting to my GoPro via WiFi.
Anyone else out there running Lollipop have DNS issues (or don't) and have found a solution? It isn't a huge issue at the moment as I have good signal at both places, but I would like to be able to use WiFi for the bandwidth...
Still working on this...it appears to be an IPv4 issue. All devices in my house happily get an ipv4 address alongside ipv6. Not the S6....it only uses ipv6.

Categories

Resources