Related
I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (for the Hermes). It should currently be "BTPAN1".
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc")
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. I imagine this will drain your battery in a hot minute, so bring your charger.
UPDATE (28-Oct-2007): Attached are some more beta releases of patched intshare.dll. I've created versions for most of the adapter names people have requested. By renaming this dll to intshare.dll and copying it to \Windows, Internet Sharing will use TIACXWLN1 (or whichever dll you use) when Bluetooth PAN is selected. I.e., if you use this, you will not need to make the registry changes above.
This will handle the registry part, but of course you'll still need to set up the ad-hoc network on your own.
UPDATE (03-Nov-2007): I've attached a beta version of the patched Internet Sharing app. It's in its own cab so it won't overwrite your existing IS. This app replaces Bluetooth PAN with 802.11b/g Wireless Ethernet. No registry hacking required. This app is well suited to replace the MS version on cooked ROMs.
If you use an adapter other than TIACXWLN1 then replace intshare.dll just as before.
UPDATE (08-Nov-2007): Attached is v 0.9.1 of the Internet Sharing Mod. This update addresses the 10 minute disconnect bug most people have experienced.
best,
fluxist
This is the first thing I'll try when i'm at home again!
I can't believe this! Waiting for this since i got my Hermes. Thx for this development. This is the greatest effort since Hard-SPL and WM6 upgrade.
Now I can connect my XBOX360 to the Internet without starting my PC and sharing it over PC-LAN. USB-Charger is at the Front of the XBOX360.
I hope it will work.
You said the Max-Connections can be reworked. Does this mean it will support Ad-Hoc AND WLAN-Routing to many recepients too?
This worked for me too on a Kaiser/TYTN II
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
odessaranger said:
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
Click to expand...
Click to collapse
not sure what you mean by replacing the connection. With ICS, obviously you cant share your connection over BT while sharing it over WIFI. and you can normally use wifi to connect to another computer by using an ad-hoc connection and manually entering a private ip on the same subnet for each computer.
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
boniestlawyer said:
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
Click to expand...
Click to collapse
Were you able to use more than one client connected?
I'll admit..when I saw this my first thought was that this was another "How can I do internet sharing via wifi" and the title was just misleading..instead I find myself very impressed with your accomplishment. Very well done! As a "hack" untill you figure out how to mod the dll which I'm sure is only a matter of time now that you have pointed everyone in the right direction, you can export the registry key for both the Bluetooth adapter and the Wifi one and "import" whichever one you want to use at a given time...it's not pretty but it should work.
Some issues of concern would be that the AP is wide open and can be connected to by anyone with no password etc...the bluetooth pairing allowed some security but using the wifi doesn't have the same shared key protection...or am I missing something obvious?
fluxist said:
I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
When I used it I was only able to get one client to connect, however there is a reg value, HKLM\Comm\BTPAN1\Parms\MaxConnections that may help if it is changed from 1 to 2 (or whatever). But I haven't tried.
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. So that's a good thing, although I imagine this will drain your battery in a hot minute, so bring your charger.
I was going to release a patched intshare.dll so that the normal Internet Sharing utility can do this, but I'm having trouble changing the section addresses in the dll to the right values after I add data. If anyone knows how to do this PM me and I'll give you the details.
best,
fluxist
Click to expand...
Click to collapse
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
I ran into same issue with XP internet sharing. Another workaround is to have a linux machine do NAT( since you can specify the IP used there) to whatever other clients you want and have it connected via bluetooth dun or bluetooth PAND (which is the solution I use to give internet to my replaytv and a couple of laptops in the house)...my edge connection is my main internet feed..a cacheing proxy such as wwoffle, squid of my personal preference "polipo" helps alot to when using gprs/edge etc since it helps with the latency.
fluxist said:
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
Click to expand...
Click to collapse
Impact on BT?
What a brill find. Well done.
Does it break anything with bluetooth?
Tx
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
if someone manages to get this working with xbox 360 make a tutorial plx ;D
superflysocal said:
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
Click to expand...
Click to collapse
thats what i wanna know , could i use my hsdpa connection via wifi to my psp?
I'll do a tutorial when i'm at home again. Maybe somebody with know-how can make a cab-file v1.0 for this "WLAN-Modem hack".
This surely will be a great app.
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
when you say click "IEEE 802.11b/g Compatible Wi-Fi" do you mean the wifi network adapters in my case would be "tiacxwln compatible wireless ethernet"? im trying it on a 6700 WM5
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
Got it - except on my device it's Programs -> accessories -> IS
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
Check - but is the T1ACXWLN1 device specific? If so, how can I find the interface ID on my device?
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
For me it's settings -> connections -> network cards, but I don't have an IEEE 802.11 listed. I connected to an existing AP, and found that my 'SDIO WLAN Wireless Adapter' does receive a DHCP address, so I tried changing it to 192.168.1.1...
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
Found this and set up my WING-FI network.
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
The client PC connects to WING-FI, but never receives an IP address...
What could I be doing wrong? Is it the hardware ID in the registry? I've created the network with WPA, then after the connection problems, with no security - but still no change.
Thanks!!
Ryan
neonstorm said:
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues...
Click to expand...
Click to collapse
Very likely the string TIACXWLN1 needs to be something different. Check HKLM\Software\WZCSV\Parameters\Interfaces\
There should be a key there with the name of your wireless adapter. It should end in "1".
And if not there, it should also be visible under HKLM\Comm\
Let us know how it works out.
EDIT: I just noticed you typed T1ACXWLN1. The string must be TIACXWLN1. That's "i" not one.
fluxist
I own a PPC6700 as well and I was able to get it working no problem other than the fact that our wireless adapter is not the same as the one mentioned. The reg edit is the same it's just the first network adapter in the list when you create the network settings.
fluxist said:
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
Click to expand...
Click to collapse
If you send me the dll I could look into it.
i have some experience with editing dlls.
good work man
I didn't get much response on my previous question about proxy support for the stock rom, so I was wondering if any of the alternate roms include it. I would very much like to have access to the internet at work, but the school district requires loggon through a proxy server (content filter) before you can access the WiFi network. I realize that port restrictions that the district places on the network will likely prevent me from accessing the market, gmail, or voice search. But at school, I would most like to just access flash based educational website for kids.
Any thoughts on this? The district is moving toward ipads as the tablet platform of choice because of the lack of proxy support with Android. But the ipads lack of support for flash really hinders what I want a tablet to be able to do for me. (Yes, I want my cake and eat it too!) Is this too much to ask?
I connect my gtab to my schools wirelesss that is using 802.1x EAP for wireless security. I had to install a mod that changed the settings app and allowed advanced wireless settings. That allowed me to put in the authentication type, domain name, password, etc. Once connected, I ran a mod that set it back to the original settings apps. I asked in your previous post as to whether you are having problems actually getting on the wireless or once on, you can't bet by the web filter. We use websense here. Once I got on the wireless, there was an websense authentication dialog that popped up. Once I put my domain\username and password in, it works fine.
It won't even let me connect to the district network because I don't have anywhere to enter the proxy settings in the wifi set up box.
Assuming you have Pershoot's or Clemsyn's Kernel (or one of the better ROMs), you need something like ASProxy. I use it at work all the time and it does the job. There is a free program called TransParentProxy which is more limited but does allow you to quickly test settings without spending any money.
I do not see a proxy settings in the wpa_supplicant.conf file. My understanding of this file is it lists all possible settings settings available for Wi-Fi configurations.
# This file describes configuration file format and lists all available option.
Click to expand...
Click to collapse
Previously I've only needed to access a proxy after connecting to the network. Perhaps you have run into a problem getting connected to your network using the tablets Wi-Fi settings manager. So connecting to the network might be your first step and then connecting to the proxy your 2nd.
I found the free Wifi Advanced Config Editor (WifiACE on the Android Market) to have a GUI to easily configure advanced Wi-Fi settings not found in the tablet's settings. I realized when trying to set up an advanced configuration I needed to create a new connection in the tablets WiFi Settings with the security of NONE to avoid having some of the wrong settings configured by default. Then using the information from the my network admin I manually set the options via the WifACE GUI, un-checking NONE, and bingo I got connected.
I recommend WiFiACe with one caveat: make sure you have a way (like adb) working and know how to backup, delete, and restore files and that you make a back up of all wpa_supplicant.conf files on your tablet.
My caveat comes because my first reboot after I got connected to the Enterprise network at work the Wifi would not start or run. It would only display "error" and do nothing. Several reboots later it still wouldn't start and without Wi-Fi running there is no way to make configuration changes either through WifiACE or the tablets Wi-Fi Settings. I had to use the adb shell to delete the newly configured wap_supplicant.conf and create a new connection via the tablets Wi-Fi Settings and then make the necessary changes through WifiACE. Once that was done it ran and connected. Now after multiple reboots it still works and connects. Without the ability to delete the file I'm afraid I would have had to re-flash my tablet to get Wi-Fi to work again.
I don't think you've ever mentioned what ROM you're running. If you're running stock, you will have a very difficult time, in fact it may be impossible. If you're running a different mod, there's hope. Now, assuming that you got ClockWordMod (CWM) installed, you can probably be successful in at least connecting to the wireless. If you don't have CWM installed, here's a good place to start:
http://forum.xda-developers.com/showthread.php?t=865245
Once you have CWM installed, go to this thread:
http://forum.xda-developers.com/showthread.php?t=857939
This will give you the zips for installing a differernt wireless config tool that will allow you to put in the 802.1x EAP config. Once you can successfully connect, you back out the the tool you installed.
Has anyone gotten their Tablet S to connect to WiFi via an ad hoc connection? I found this in the Market ZT-180 Adhoc Switcher but don't know if it works with our Murata WiFi module.
I did try the wpa_supplicant hack, but afterward I was only able to see ad hoc connections. Actually connecting to them failed each time.
I tried wifiAdHocEnabler from the market, same result, i can see the adhoc networks now but it keeps on obtaining IP address on Sony tab S when I try to connect
I tried it on my desire hd, it worked (connected to the adhoc) but no internet, I am still trying to figure out how to solve it
Hi,
This was already discuss here:
http://forum.xda-developers.com/showthread.php?t=1290313&highlight=ad+hoc
I was able to connect my tablet to my android phone internet
Thanks rimsilva for pointing out that post
the issue is still there, I can see the adhoc and the tab keeps trying to obtain IP address
I can use my iphone hotspot to connect my tablet to internet, simple and easy
SudaDreamS said:
Thanks rimsilva for pointing out that post
the issue is still there, I can see the adhoc and the tab keeps trying to obtain IP address
Click to expand...
Click to collapse
Have you tried busibox and wifiadhocenabler in the tablet.
I had the same issue with a specific rom in my android phone, the wifi tether was running but my laptop was always obtaining IP address.
In your phone you are using native tether or external application? Please try wireless tether or wifi tether beta (look in Google)
I am using htc P3600 WM6 (Trinity) as wifi hotspot with WMWifiRouter
I can detect it using other windows mobile 6 device and I can surf internet on other WM6 easily. This is why I guess the issue is in android (Sony S & htc Desire HD 2.3.3 Leedroid)
& yes I tried the wifiadhoc enabler and after trying it only i was able to detect the hotspot but I couldn't connect (obtaining IP)
I tried the adb method, root explorer method, Xoom files, Nook files all are giving same result (obtaining IP)
Sorry guys, I'm confused as to why it sounds so complicated.
I have no problem connecting my new unrooted tablet s to wifi using my iphone hotspot or connecting to wifi at Mcdonald, Starbuck or other government building or libraries.
I don't need any app at all.
Kermit33 said:
Sorry guys, I'm confused as to why it sounds so complicated.
I have no problem connecting my new unrooted tablet s to wifi using my iphone hotspot or connecting to wifi at Mcdonald, Starbuck or other government building or libraries.
I don't need any app at all.
Click to expand...
Click to collapse
Look that we're talking about different things, that may cause the connection problem.
My experience is with Android --> Android connection. I had no success with MIUI .35 Kernel in my Ideos, but with CM7 and now Aurora ICS works perfect.
I thought SudaDreamS was trying the same but no, he is on WM6 and maybe is limitation between both systems.
Now you are talking about iOS and routers....
SudaDreamS look at this thread:
http://forum.xda-developers.com/showthread.php?t=1192961
http://android.stackexchange.com/questions/17190/tethering-hc3-2-with-windows-mobile
PS: your tablet is rooted right?
rimsilva said:
Look that we're talking about different things, that may cause the connection problem.
My experience is with Android --> Android connection. I had no success with MIUI .35 Kernel in my Ideos, but with CM7 and now Aurora ICS works perfect.
I thought SudaDreamS was trying the same but no, he is on WM6 and maybe is limitation between both systems.
Now you are talking about iOS and routers....
SudaDreamS look at this thread:
http://forum.xda-developers.com/showthread.php?t=1192961
http://android.stackexchange.com/questions/17190/tethering-hc3-2-with-windows-mobile
PS: your tablet is rooted right?
Click to expand...
Click to collapse
My tablet is not rooted.
Thanks again rimsilva,
well both links didn't help much
I tried to use a static IP to overcome (obtaining IP address issue)
The great news is .. I was able to connect but no internet surfing on the tab yet and on the other wm6 as well, there was no surfing
anyhow, I'm still trying
hope some1 will suggest some solution or help by thinking with me
---------- Post added at 05:08 PM ---------- Previous post was at 05:05 PM ----------
Kermit33 said:
My tablet is not rooted.
Click to expand...
Click to collapse
You can't tether to ad-hoc then, anyhow you might tether to access points
I managed to connect by removing the security of the network, speed is fine, it works perfectly now, since I'll be using it on the go, I wont need the security that much + the WMWifirouter shows how many devices are connected, so it's gives partial sense of security
Thanks to rimsilva for trying to help
SudaDreamS said:
I managed to connect by removing the security of the network, speed is fine, it works perfectly now, since I'll be using it on the go, I wont need the security that much + the WMWifirouter shows how many devices are connected, so it's gives partial sense of security
Thanks to rimsilva for trying to help
Click to expand...
Click to collapse
Holy crap! I did the same thing and it worked. Can't believe I didn't try that before. I'm using Connectify-Lite on my laptop in Afghanistan and it was driving me nuts to not be able to connect my Tablet S.
hi all
i hit a wierd issue with adhoc p2p on my tablet S. my tablet is rooted and i have reference to all the available HC adhoc wpa_supplicant binary available out there..
scenario with adhoc connections setup on Win7 works fine(static IP setup). im able to ping the wifi ip of my Win7 from tablet S.
However, it failed to talk to talk to my adhoc device "OBDKey WLAN". It(tablet S) will see the adhoc ssid and connects to it(static ip setup). but it will goes into connect/disconnect loops. I ran a terminal to constantly ping my device adhoc IP but its always 'host unreachable'. Im constantly seeing errors :
I/wpa_supplicant( 2932): CTRL-EVENT-DRIVER-STATE HANGED
V/WifiMonitor( 155): Event [CTRL-EVENT-DRIVER-STATE HANGED]
ip route shows the correct network routing for network 192.168.0.0/16
netcfg shows my wlan0 is up and running with the static IP.
wpa logs that its able to connect to the adhoc ssid too.
(attached is the log of the occurance describe above.)
I did make sure its not the adhoc device faulty by testing with my HTC phoen. I was able to connect to my adhoc device using my HTC DHD (rooted with LeeDroid) and ping both ways.
Is there any kind souls who can point me to the right direction to solve this? am running out of ideas.
/etc/wifi/wpa_supplicant.conf contents:
$ cat /etc/wifi/wpa_supplicant.conf
cat /etc/wifi/wpa_supplicant.conf
update_config=1
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi
eapol_version=1
ap_scan=1
fast_reauth=1
wpa_supplicant refs:
http://forum.xda-developers.com/showthread.php?t=1083182&page=2
http://forum.xda-developers.com/showthread.php?t=1069569&page=2
http://forum.xda-developers.com/showthread.php?t=1033314&page=14
http://androidtablethacks.com/android-tablet-hacks/how-to-enable-adhoc-wifi-on-android-tablets/
solved my issue with adhoc wifi keep d/c
zerod78 said:
hi all
i hit a wierd issue with adhoc p2p on my tablet S. my tablet is rooted and i have reference to all the available HC adhoc wpa_supplicant binary available out there..
scenario with adhoc connections setup on Win7 works fine(static IP setup). im able to ping the wifi ip of my Win7 from tablet S.
However, it failed to talk to talk to my adhoc device "OBDKey WLAN". It(tablet S) will see the adhoc ssid and connects to it(static ip setup). but it will goes into connect/disconnect loops. I ran a terminal to constantly ping my device adhoc IP but its always 'host unreachable'. Im constantly seeing errors :
I/wpa_supplicant( 2932): CTRL-EVENT-DRIVER-STATE HANGED
V/WifiMonitor( 155): Event [CTRL-EVENT-DRIVER-STATE HANGED]
ip route shows the correct network routing for network 192.168.0.0/16
netcfg shows my wlan0 is up and running with the static IP.
wpa logs that its able to connect to the adhoc ssid too.
(attached is the log of the occurance describe above.)
I did make sure its not the adhoc device faulty by testing with my HTC phoen. I was able to connect to my adhoc device using my HTC DHD (rooted with LeeDroid) and ping both ways.
Is there any kind souls who can point me to the right direction to solve this? am running out of ideas.
/etc/wifi/wpa_supplicant.conf contents:
$ cat /etc/wifi/wpa_supplicant.conf
cat /etc/wifi/wpa_supplicant.conf
update_config=1
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi
eapol_version=1
ap_scan=1
fast_reauth=1
wpa_supplicant refs:
http://forum.xda-developers.com/showthread.php?t=1083182&page=2
http://forum.xda-developers.com/showthread.php?t=1069569&page=2
http://forum.xda-developers.com/showthread.php?t=1033314&page=14
http://androidtablethacks.com/android-tablet-hacks/how-to-enable-adhoc-wifi-on-android-tablets/
Click to expand...
Click to collapse
Ok, i have resolved my issue above. Even thou i was using a adhoc enabled wpa_supplicant, my adhoc wifi device is have constant disconnecting upon connecting and with Xoom adhoc HC built wpa_supplicant adhoc enabled, i get the above wifi errors (hung state) from wpa_supplicant.
After spending much time on it, i discover that my tablet S is doing wireless b,g,N. Looking further it seems my device only does a,b,g. Digged the whole /system for wifi related things and managed to find out some info in wmiconfig and wlan_tool.
So in wlan_tool, there is a commented line :
#WMODE="bg"
uncomment the above line will make your wifi to only communicate in b or g mode. And viola... problem solved. Connections remains strong and i do not face any d/c on my adhoc wifi connection to my device.
how to add ad hoc wifi capability to S
O.k., big newb here. I just read up on lots of threads on how to make the tablet S work with ad hoc wifi (I have a verizon thunderbolt). but, everything is way over my head.
Question, does the tablet S have to be rooted to enable it to work on ad hoc wifi?
I think all the forums and threads that I have read indicate that to be true. Obvious next question would be how...
Thanks in advance.
Yes, you have to have your tablet rooted to try any of the ad hoc solutions.
Hellomofo said:
I think all the forums and threads that I have read indicate that to be true. Obvious next question would be how...
Thanks in advance.
Click to expand...
Click to collapse
Here is where to begin...Tablet S root solution
Thanks. I'll start there.
No need to modify wpa_supplicant binary
I changed data/misc/wifi/wpa_supplicant.conf instead of wpa_supplicant.
Step1:First i scanned my adhoc network using Wifi Manager. It shows adhoc networks. I ignored it's warning and tried to connect. It'll fail.No problem! We now have the adhoc network listed in wpa_supplicant.conf.
Note: you can skip this step if you know how to edit wpa_supplicant.conf manually or if your device already lists adhoc networks on scanning.
Step2: You'll need to root your device if you're doing this through your device itself. If you use adb you may not need to root your device.(I had root access by default through adb. So rooting the device wasn't necessary for me). If you're using pc(windows or linux), i recommend Android Commander.
Pull and/or edit data/misc/wifi/wpa_supplicant.conf. Add the following line
ap_scan=2
Find line like
network={
ssid="your adhoc name"
bssid=*some value*
.
.
}
Delete bssid line.
Add/Change the following
scan_ssid=1
priority=1
mode=1
Push back/save the modified file.
chown ownership back to system.wifi. Type the following in adb
#chown system.wifi data/misc/wifi/wpa_supplicant.conf
Advantage: Safer than modifying system/etc/wifi/wpa_supplicant binary. Saves you the trouble of compiling modified wpa_supplicant or finding a compiled one for your platform.
Drawback: This is just a temporary solution.You'll have to repeat this process for every new adhoc network as it doesn't enable adhoc forever. It is good for connecting to your home network or other know networks, but if you want to connect to any adhoc network you scan,then this is not your method. Because, wpa_supplicant.conf will be overwritten every time you scan a new network.
Hi, guys, here's my problem.
My Galaxy S2 using my own WiFi is unable to retrieve some content from web. This content is:
apps icons in Android Market,
Picasa images,
Accuweather forecasts
and some others.
Other devices using the same WiFi has no problems with it. S2 switched to other ISP than my WiFI also has no problems with it.
While trying to narrow possible causes I've picked an example image, which is problematic to my S2+WiFI combination:
https://lh3.ggpht.com/NpoJbnyQbI1kEIlrWhP_t7lj9lN519RkPB3mxQS2z6pTFjh01R3ISeyYnj4AccBSsQ=w788 (an icon of an app from Adroid Maret, remove space from url).
It won't open on my phone using WiFi, so I checked host availability. I've run on my phone following command:
Code:
[email protected]:/ $ ping lh3.ggpht.com
ping: unknown host lh3.ggpht.com
But on my PC using the very same WiFi:
Code:
C:\Users\Grzegorz>ping lh3.ggpht.com
Badanie photos-ugc.l.google.com [173.194.70.132] z 32 bajtami danych:
Odpowiedź z 173.194.70.132: bajtów=32 czas=27ms TTL=47
Odpowiedź z 173.194.70.132: bajtów=32 czas=25ms TTL=47
I'm stuck, what should I do now?
Have you any ad blockers or DNS stuff running ???
jje
Nope, it's clean Android 4.0.3.
Echo request for lh3.ggpht.com on your phone does not work. On your PC you get a response from 173.194.70.132. Just to make sure your problem is related to DNS (and not to some lower service): did you try to ping the IP address 173.194.70.132 from your phone? Do you get a response?
Yes, the host is reachable from phone using IP dot address, only name resolving does not work.
Ok, looks definitely like some DNS problem. As you already confirmed that your hosts file is fine the only thing I can imagine is your phone using some 'wrong' DNS server for address lookup.
To make (almost) sure you use a set of different DNS servers you could disconnect your phone from the wifi and enable a 3G data connection. Make absolutely sure you are not connected to your wifi. Now again run 'ping lh3.ggpht.com'; do you get a response?
Yes, that is the case.
Another weird thing is that phone on 3G resolves lh3.ggpht.com as 173.194.35.139, while PC on WiFi as 209.85.148.132. My 'hosts' file contains only localhost reference.
When I switch to WiFi while pinging that host, pings keep successful, unless I restart terminal session — after that I get 'unknown host' message.
Is there DNS configuration in Android somewhere?
OK, it seems I fixed it.
My WiFi works in a bigger subnet and hides all connected WiFi devices as as single computer.
I've installed on my Phone app called Set DNS from former Android Market, which allowed me to change both primary and secondary DNS. Initally both addresses were pointing to WiFi router itself which seems to work fine for my PC. I've changed it to DNSes of that bigger subnet I'm connected to. And it did the trick. Hopefully it won't mess settings for other WiFis I use to connect.
Thanks for showing me right direction!
Rooted Thunderbolt - Connect to wifi quit working
I recently purchased a used rooted Thunderbolt. So far I've only used it on wifi networks and had no issues. Yesterday, when I try to turn the wifi on it never turns on and at some point it ultimately says error. I did some looking around and found that turning the wireless router off and then back on can often take care of this. I did this and it resolved the problem.
I'm having the same issue today only this time turning the router on and off doesn't solve the problem.
Here is some info about my phone:
Android Version
4.0.4
HTC Sense Verion
3.6
Software Number
NusenseROM_ReBorN_5.2_040813
Kernel Version
3.0.16-g65bd5ca
[email protected] #1
PREEMPT
Baseband Version
2.03.00.0201r.0.02.02-1211r
PRI Version
1.41_002.1.64_002
PRL Version
00000
ERI Version
5
I once had the same issue with a Droid Incredible, however, after a few days it started working again without me doing anything (intentionally) to resolve the problem.h
Does anyone have any suggestions?
The receiver might be going out but you could try flashing a different kernel or rom. Someone else just posted that their receiver went out.
Sent from my ADR6400L using Tapatalk 2
That's not real encouraging.
I think I'll install OSMonitor tomorrow and see if it gives any clues what is going on.
I found some suggestions at techrepublic.com blog titled "smartphones/troubleshoot-wi-fi-connections-on-your-android-phone/" [I'm new to this forum so I can't post a link or Figure B]"
There are a couple suggestions about changes in the wireless/advance settings. One is to select Proxy and make sure the phone is not set up for a proxy. The post is a few years old and I don't see this option on my phone. The other is to set a static IP Address which again I don't see as an option:
"6. Tap Advanced (Figure B).
7. Tap the Proxy setting and make sure your Android device is not set up for a Proxy. (Unless the Wi-Fi network you are on requires a Proxy, this setting will get in the way of your device's access to the Internet.) If you tap on Proxy and see an IP address or domain, delete it.
Figure B
Most likely the Proxy and Port settings will not be set, but it's always good to check if you're having frequent issues with Wi-Fi.
Static IP address
Another troubleshooting approach is to give your Android device a static IP address. This could reveal if the router you are trying to connect to is having issues with handing out DHCP addresses, or if your device is getting a bad address. To configure a static IP, tap Use Static IP and then fill in the settings (IP Address, Gateway, Netmask, DNS).
The only issue with setting up a static IP is that address will apply to all wireless networks, so only use this for troubleshooting if you just connect to one Wi-Fi network."
Any idea how (or if) I can do this?
wifi won't start - more info
I hope somebody is still tuned to this thread.
I have a rooted HTC Thunderbolt. It is running NuSenseROM_ReBorN_5.2_040813. I am having the same problem with the wifi not turning on.
I've run: logcat > /sdcard/logcat.txt and I've attached the log file.
If I run: ifconfig wlan0, I get:
wlan0: No such device
Anyone have any suggestions?