As title says, wifi works properly with security disabled open wifi networks.
Tested with MT4G tethering (CM7) and DD-WRT Cisco/Linksys wireless router
This setting does open your wifi for public use, however you may still control access through router settings like: disabling SSID broadcast, or: MAC access and control filters.
YMMV.
Why is this posted here? And not IN the cm7 thread?
Sent from my SGH-i917 using XDA Windows Phone 7 App
Related
Just bought the Malata Dock for my Gtab. I'm currently running Zyhong's Gtab beta 3.2.
As stated by others, Pandora and Google Market fail to stream/download when using Ethernet only.
This is still early and hopefully a dev will point me in the right direction, but I am able to make the tablet use the ethernet connection for Pandora and Market.
Boot Gtab on dock with Ethernet connected. At this point most things work except Pandora/Market.
Using my Droid Inc, I turned on Wireless Tether in Infrastructure mode.
Configure wireless on the tab. Once it connects, go to Settings -> Wifi and modify the wireless connection. I configured the ip address, gateway and DNS 1&2 to work as if the wireless connection was the wired connection.
At this point Pandora and Market will begin to work using the Ethernet. I confirm this by downloading "Angry Birds" from the market. 18MB download in about 30 seconds. Checked phone during this time and it had no bars on 1X...no way it was using the cell connection.
My current theory is the previously stated "Connectivity Status = True" setting. I'm guessing this gets set once the Wifi connection is establish.
If I now drop the wifi connection, Pandora and Market breaks.
I'm curious if it is possible to write an app or script to rename wlan0 to eth1 and eth0 to wlan0. I'm assuming the test for connectivity status = true is set to check wlan0 ?
Any ideas?
Another theory is that there are no DNS servers configured for the wired connection.
I'll be trying that later.
I don't have enough posts yet to ask in the developer forums for help....so if you know one of the devs who are interested in the dock, please point them over here.
With that said, I tested if setting the DNS server manually would have any effect. It appears that DHCP is setting the DNS servers after all with a wired only connection.
So I'm back to the Connectivity Status = True issue.
I'll be looking at how that check is performed and what initiates it. If I can cause the check to be performed on eth0 instead of just wlan0 I think that will fix it.
konman2k4 said:
Another theory is that there are no DNS servers configured for the wired connection.
I'll be trying that later.
Click to expand...
Click to collapse
Got my dock today. With wireless turned off, I can boot on the dock & draw a dhcp ip.
Can't be a DNS issue or you wouldn't be able to surf the net.
Can surf net via browser, play videos/music/pics from my Windows Media Center, Netflix plays fine & can even receive email (as long as the app is the one that does the checking & not me telling it to).
Pandora, Crackle, Market, Amazon App tore, & SlideME not worky (some say no connection while others just hang).
Turning on wireless at the same time results in drawing different ip for wireless. Netcfg show eth0 up with an ip/mask, wlan0 up with an ip/mask. Ifconfig shows data transfer on both interfaces (and different mac addresses).
Must be something the the apps are looking for wifi. or could it be that this is a phone OS & phones don't have ethernet connections (and that ethernet is not listed in Settings, Wireless & Networks)?
At work we don't have wireless, so I used my phone with "wireless tether" to make a connection. Once the wireless network is seen and connected to, I modified the wireless network settings on the tablet so that the gateway, dns, subnet mask and IP are all valid on the wired connection. As for IP just make one up that is not already in use that is valid for the wired network subnet.
This basically tells the tablet that yes you are connected to a wireless network, but with a routing trick you are sending all your traffic out the wired connection.
Since the dock charges the tablet, I connect the phone to the tablet to keep it charged while the wireless tether app is running.
BTW...if you install opera and flash, you can change your agent string to "desktop" within opera and use the web version of pandora all without having to do the fake wireless trick.
I can confirm Pandora and the Market works just fine doing this....as for you other apps I haven't tried those.
konman2k4 said:
At work we don't have wireless, so I used my phone with "wireless tether" to make a connection. Once the wireless network is seen and connected to, I modified the wireless network settings on the tablet so that the gateway, dns, subnet mask and IP are all valid on the wired connection. As for IP just make one up that is not already in use that is valid for the wired network subnet.
This basically tells the tablet that yes you are connected to a wireless network, but with a routing trick you are sending all your traffic out the wired connection.
Since the dock charges the tablet, I connect the phone to the tablet to keep it charged while the wireless tether app is running.
BTW...if you install opera and flash, you can change your agent string to "desktop" within opera and use the web version of pandora all without having to do the fake wireless trick.
I can confirm Pandora and the Market works just fine doing this....as for you other apps I haven't tried those.
Click to expand...
Click to collapse
Read you origianl post. My point was that it is not a DNS issue since with wireless turned off & starting the tab on the dock, internet works. If DNS was the issue then the browsers/etc would not be able to resolve the urls.
But, I did verify your theroy while making sure that there was no possiblity the tab was communicating via your cell/wifi.
I connected mine to the dock with wireless & ethernet connected. Verified both interfaces were up via ifconfig. Wifi connected to wireless access point & ehternet connect directly to a switch. Disconnect access point from switch so no physical connection to lan/wan from the access point, that way wireless connection to tab stays up but it goes nowhere & the only physical connection to the lan/wan is via ethernet. Mail works, Market works, Amazon store works, Pandora works.
Has to be the Connection Status issue in Android that is casuing the problem. Current ROMs must not take ethernet into consideration when checking status. I saw sample code on the net for Connection Status that only looks for Wifi.
I believe we need a rom dev to pursue this for it to work correctly.
Haven't been back to this thread in a bit, but now that I have my 10 posts, i'll start asking around in the Dev community if somebody can point me in the right direction.
konman2k4 said:
Haven't been back to this thread in a bit, but now that I have my 10 posts, i'll start asking around in the Dev community if somebody can point me in the right direction.
Click to expand...
Click to collapse
I did a new post in the Q&A forum back on 5 Aug & pointed it back here. Here's the new post http://forum.xda-developers.com/showthread.php?t=1204015. So far 59 views and a big 0 responses.
So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Jiraffe said:
So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Click to expand...
Click to collapse
I did flash NFHimself's ROM without any issues. My wireless LAN was working fine. Did not noticed any issue on my side. Try with another Wireless router without all the setup you've done. Pretty sure the issue is with your routers.
I don't understand why you are not able to reach you LAN with google's DNS configured...? Do you have some sort of DNS entry specific to your LAN configured into your router?
the problem seemed to solve itself when i switched my router's DNS server daemon from UDHCPD to dnsmasq.
And I couldn't reach my lan when i had both dns servers forced to google's servers as google's servers don't know how to route to addresses inside my lan. But that's not a bug, that is how it is supposed to work.
Good !
Sent from my MB860 using xda premium
Hello,
SG2/i9100 Droid: 2.3.5
Im running my Ovpn Client fine - everything gets routed - dns is fine too so no issues
But i want to use Wifi and USB tethering to give VPN Connection to my Laptop or any other connected Devices
Since the phone is the router it should not be nessesary using masquerading but routing not really works
Anyone accomplished that already?
Ife tried it with USB and Wifi tether - i can ping the tun interface from the laptop but i cannot ping the vpn server itself
i can do a traceroute from pc - but it stops at the tether gateway on the phone so no routing forward
from the phone i can ping both
the routing table on the phone is as it should be - vpn net is routed to the ptp adress of the server and routing interface is the tun adapter
Ife also activated the forwaring - but it should be active anyway because of the active routing for the normal net
Ife also check iptables filter and nat rules but they are pretty emtpy - btw what is android using to masquerade the theter part ?
anyone any idea?
so it must be a firewalling thing ?
Bump
Really noone tried using the phone as an router?
Sent from my GT-I9100 using XDA App
Yeah I'd like to get this working too please. Tried last night without success using both USB and WiFi... perhaps can figure something more useful out with looking at iptables of phone? Maybe we'll have to configure manual route to get from tethered subnet of phone onto the VPN.
Here we go:
http://forum.xda-developers.com/showpost.php?p=33749904
So I have the Wireless Tether root app. I have also removed the T-Mo Direct Share Manager app. Wireless Tether starts correctly with the only error being ad-hoc mode (this have always happened on all of my Android devices) but the SSID is never listed on any device when I go to connect. Any ideas?
ssid broadcast is on?
which wireless tether app?
WiFi Tether... I've tried the beta and the latest stable version. There is no option that I see for SSID Broadcast.
try foxfi.
Prior to Android 9 the WIFI gateway IP was always static, now it changes upon hotspot creation. Now it can be set to static?
Alternatively, can I use some hostname of the device where hotspot is created to resolve its IP to the clients of the hotspot?
@elmmm
What do you mean with "hotspot creation"?
My understanding is that a Wi-Fi hotspot is the wireless access points, typically in public locations, that provide Internet access to mobile devices such as your smartphone when you are away from your home.
jwoegerbauer said:
@elmmm
What do you mean with "hotspot creation"?
My understanding is that a Wi-Fi hotspot is the wireless access points, typically in public locations, that provide Internet access to mobile devices such as your smartphone when you are away from your home.
Click to expand...
Click to collapse
I mean sharing Android device's internet connection. At least on my devices it's also called Wifi Hotspot.