Xperia X8 with wifi ad hoc working!!! - XPERIA X8 General

First of all, sorry if my english is not good. I had been searching on the web for a method to connect my xperia x8 to a ad hoc wifi (in my case is from my laptop). There are many ways but none worked for me so I decided to upgrade the firmware to the MiniCM6 1.0.1 - with miniCM theme (Froyo/Cyanogenmod 6.1.3) and now it can detect al the ad hoc wifi nearby. I did not have to change any file just the upgrade. It is very stable and has a nice look. Take a look at:
http://forum.xda-developers.com/showthread.php?t=964223
You have to configure the ip static on the xperia (and also the net mask, dns1, dns2, gateway). To configure the ad hoc wifi on laptop/PC with windows xp go to:
http://www.youtube.com/watch?v=mCBC5Mr70rQ
just change the Network Authentication to Open and Data Encryption to disable. No one will connect to your wifi if don't have the coorect static ip
Maybe this post is not usefull but I think there are many people in the same situation I was and this could help them.
Bye

Related

Wireless Ad Hoc Connection

Hi there
Hope somebody can help me with this...
I ve set up an wireless ad hoc connection between my laptop, which is connected to a wired broadband connection, and my Xperia. When I look for the network, my Xperia finds the ad hoc network and I can connect to it no problem what so ever.
however, the problem then is that I cannot do much more once I m connected to my computer. I cannot find the folders which I specifically made available for network access nor can I surf the internet over the laptops' connection (which I normally should be able to do with an ad hoc connection)
anybody who has tried the same thing and succeeded? help would be appreciated
thanks
Amanox said:
Hi there
Hope somebody can help me with this...
I ve set up an wireless ad hoc connection between my laptop, which is connected to a wired broadband connection, and my Xperia. When I look for the network, my Xperia finds the ad hoc network and I can connect to it no problem what so ever.
however, the problem then is that I cannot do much more once I m connected to my computer. I cannot find the folders which I specifically made available for network access nor can I surf the internet over the laptops' connection (which I normally should be able to do with an ad hoc connection)
anybody who has tried the same thing and succeeded? help would be appreciated
thanks
Click to expand...
Click to collapse
I have not done it with my xperia but had this problem with a WM6 device before. The problem is that windows mobile will not get a server assigned ip address and dns server address. You must specify a static ip and dns server, then it will work. And next time you want to connect to another network you must remove the static settings. Pretty annoying.

[Q] Ad Hoc WIFI Issues

Hi All,
I need some help with WIFI. I've set up my pc (connected via ethernet) to share internet via an Ad Hoc WIFI connection. The connection works but I have to manually connect to it every time. How do I make Android treat Ad Hoc networks same as Router based WIFI?
Thanks
I can't answer your question but I can, however, provide you with a possible workaround.
If you're using Windows 7, download and install a free software called Connectify. It turns your PC into a full blown access point. Just used it during a trip to share a hotel ethernet connection and it worked like a charm.
Thanks for replying. I heard about connectify but I use XP.

Wifi finally connected but cant browse

ok - i have gone through about 6 roms now and im constantly getting the same story.
i primarily use CM based roms cuz those are the only ones that seem to connect to ad-hoc networks shared from my computer. when i use CM7 roms the internet constantly connects and disconnects and when i use CM6 roms the phone says im connected but the PC doesnt see any present connections.. not even with connectify or the other hotspot programs seem to help
its strange cuz i also have an aria with a CM6 rom which connects flawlessly but the HD2 cant even be seen on the network.
PLEASE can anyone help me out with this problem? I've been awake for the past 2 days trying to fix this problem from all sorts of angles and i still cant connect to an ad-hoc wifi
i just tried connectify but the problem is the same, it says im connected but still there is no data coming from the computer. my MAC address appears fine so i have no idea what is causing the problem
not even changing the channels, editing wpa_supplicant, using static IP or DHCP... nothing helps..
just realized that if i try to connect while other devices like my aria are currently connected, the other devices get disconnected from the network.. no idea whats causing that but could use some insight
There is another longer thread with someone having the same or at least very similar problems. All non-Sense builds he's tried have wifi "connecting", but not actually transferring any data. When he loads up a Sense build, it all works fine. I'd look it up, but search unavailable for "10 minutes". I did comment on it though.
You wrote you try to setup an ad-hoc WiFi connection. This means you connect two devices together, not to a network (if you want to use your laptop as Internet bridge it's a more complex config).
You're talking about DHCP in ad-hoc connection... Do you setup a DHCP server on your computer (is this even possible)?
You said when you have other devices connected... this is not ad-hoc.
I think you try to connect the wrong way, sorry if I misunderstood but you have to provide more info for me to help.
As general advice:
Check for your ROM thread as initially their was a problem with all devices (with Android on HD2) having the same MAC (has been solved)
Start first to try to connect to a "normal" WiFi network
Make sur of the network config (try with basic b/g instead of n, n+...)
First step could be to setup a basic b/g network with DHCP enable, SSID broadcast, no security (wep,...): the kind of network you have when you take your access point out of the box.
No other advice... hope this will help.
Check the IP you have on your phone when connected. If it's kind of 169.xxx this can't work. It's auto IP from the device itself.
thanks for the response mate. Unfortunately, there are not many unsecured "routed" wifi connections available where i am to test - thats why i have to rely on the laptop to feed internet to my phones through an adhoc network.
let me explain what im doing:
im currently trying to use internet sharing from my laptop on my phones - i have 2 android phones, an aria and an HD2 - both of which connect to the internet through an ad-hoc wifi connection to the the laptop which has LAN internet connection.
the only way to connect is by issuing each device a static IP
eg. laptop - 192.168.0.1,
aria - 192.168.0.3,
HD2 - 192. 168.0.2
whenever i try to use DHCP i get "obtaining IP address" from the phones until it auto-disconnects.
using a static IP-Config, the aria connects and browses effortlessly. But the HD2 wont. Just says "connected" but the pc says "waiting for peers to connect" and doesnt feed any data to the HD2. Additionally, i found out that if the aria is already connected while attempting to connect the HD2, the aria gets kicked from the net..
if it helps, my rom is CMN V_2.0.. its the only one that gets me "connected", so to speak..
Then I will not be very helpful as I seldom use ad-hoc and bridge connection.
I connect my HD2 to my home network only (works in WEP or WPA anyway).
Just what I know:
1/ for ad-hoc you can't use DHCP (or you may have to activate a server on your laptop, this will add complexity to your setup)
2/ ad-hoc is only between 2 devices (1 laptop and 1 phone for ex), it could explain that when you connect the HD2 the other one is "kicked out".
3/ On your laptop you have to bridge your connections. Anyway, if with another device you can connect and broose, then your laptop setup has to be ok.
4/ if you're connected you may find a good IP in the HD2 (anyway if you use fix IP it has to be ok).
5/ to connect to a server you need a DNS. this is maybe what is missing. Usually when you connect to an access point you use the "AP IP". Not sure it can work here.
Try to manually put the DNS address in your HD2.
Just to make one test:
a/ from your laptop "ping" an Internet server (xda for ex).
--> Start menu, type "cmd", in the cmd windows type "ping server_name"
b/ from your HD2 try to connect with the IP instead of the server name.
This is the puprose of a DNS, to give your device the IP of a server.
NB: to find the DNS server used by your laptop:
In cmd type "ipconfig /all" it will give some info, you may find your DNS in it.
Sorry, no other idea...
I read again what you write and I think you can forget my previous post.
The answer from your laptop is different with the two phones.
I don't think it's a DNS problem.
Sorry, I will be useless! Hope someone with the same network config will help.
My home network is totally different.
If it's specific to your rom you can try to check in your ROM's post if other have the same problem. If no, try to ask there is someone has the same connection setup.
Edit: check this link, it seems that many people with non-sense build has problem with WiFi (I use sense build, always):
http://forum.xda-developers.com/showthread.php?t=907670
i would use a sense build but it seems all of them take up quite a lot of space from internal storage - im always left with 500-400Megs from the 1GB of space
its just odd because when i had a G1 (before i got my HD2) it connected effortlessly as well.. even more so, both aria and g1 could be connected to my laptop's adhoc simultaneously
OOOOHHH!!! i just rememberd hearing something about internet pass-through, but im not sure how ti works.. i will give it a try

HD2 Android WiFi Problem - Experience Sharing

The strangest thing I have even experienced, and perhaps can save you time and headache.
** Summary (for those not wanting to read the whole story, but just the fix)
If your HD2 Android can connect to your home WiFi but cannot access Internet, check if your WiFi network uses a 192.168.20.x IP subnet address. The HD2 Android's USB port uses the same subnet, causing a conflict. If you change your home WiFi to use any other subnet, it will work fine.
** The Long Story
Been reading and admiring all the Android developments in XDA-Developers for some time, finally decided it was time to give it a try. Picked one of the more popular and stable MDJ Froyo (Desire HD) for SD and loved it.
Problem is couldn't use the Internet via WiFi from my home. Internet via GPRS works fine, Internet via USB/PC works fine, just not WiFi. The connection to WiFi is successful, picks up a DHCP IP address just fine, but no Internet.
Oh well, perhaps there is a WiFi bug in HD2 Android not reported so never mind.
Wait! On a business trip, when HD2 Android connecting to the hotel's WiFi, Internet works fine! Subsequently in many other places WiFi works also flawlessly.
Must be the WiFi router at home. Not too surprising as I don't use much wireless but wired all my other computers (including notebook PCs), it is faster anyways.
So went back and tested WiFi on a notebook PC (prior to that upgraded the WiFi router's firmware), PC connects and works, but HD2 Android still not. Tried all kinds of WiFi and encryption combination (BGN, BG, G only, WPA2, WPA, WEP), just nothing works for HD2 Android. >> Conclusion: not the WiFi router at home, just HD2 Android working with this particular WiFi router.
Finally (but forgot what app it was), I saw the USB port binding to 192.168.20.x subnet, exactly the same as my LAN subnet in the WiFi router.
Bingo, changed the LAN subnet to something else (really anything is fine because it is inside a NAT so not an issue getting out to the Internet) and HD2 Android works like a charm.
Hope this helps.
sorry, can you explain more where to change in the router settings? i can't find anything to change in my wireless settings
Look up the LAN (local area network setting) in your router, where the IP address for most WiFi router is set to use 192.168.0.1
In my case the WiFi router is set to use 192.168.20.1 (and DHCP to pass out 192.168.20.x IP addresses).
By changing the IP address of the router, most router automatically change the DHCP assignment to corresponding subnet, say from 192.168.20.1 to 192.168.x.1
x can be any of 0 to 255, just not 20 for my case or it causes conflict with HD2 Android.
Hi Dear friend , And Thanks for sharing experiences.
I have the same problem , but my router's setting is :
IP Address : 192.168.1.1
and my Starting IP Address : 192.168.1.100
IP Pool Count : 101
DHCP : Enabled
NAT : Enabled
Default Route : YES
but no webpage loaded , the weather not work . but the meebo messenger
with my yahoo ID just worked .
so how can i fix it ?
tnx
I notice the conflict (with my 192.168.2.x) when I checked the HD2 IP addresses (after connecting to the WiFi). When I see the USB port bound to 192.168.2.x I know the two just conflict with each other.
If something (meebo messenger?) works but not others... could it be your HD2 not getting name resolution (DNS ?). Say if you try opening this do you get the Google page:
http://74.125.153.104/
** This is Google's page without the need to resolve via DNS.
webmice said:
I notice the conflict (with my 192.168.2.x) when I checked the HD2 IP addresses (after connecting to the WiFi). When I see the USB port bound to 192.168.2.x I know the two just conflict with each other.
If something (meebo messenger?) works but not others... could it be your HD2 not getting name resolution (DNS ?). Say if you try opening this do you get the Google page:
http://74.125.153.104/
** This is Google's page without the need to resolve via DNS.
Click to expand...
Click to collapse
hi my friend. I tested it with IP but nothing changed.
but some of the WebSites with SubDomain Loaded. like : http://2.farsihiphop.com
and can u tell me how can I know about the port nimber . like USB port.
i think my Android's Kernels have been changes. maybe i'll can find something like this (equal IP address)
thanks.
I have following problem : At my university i have hidden Wifi network, locked with password.. But, ofcourse, we cracked their password, and now we can use their WiFi.. But i cant use it.. On WM i could use it .. One more thing to mention, there is a proxy u need to setup before u can go on internet trough that Wifi network.. but thats not my concerne yet.. I cant get connected to that Wifi.. I make new conn, with password and other settings, and it keep saying : Connecting... Disconnected...
Any ideas to help me ?
Thanks in advance
I had the same problem. I solved it by updating the radio to version 2.14.50.2. I think this version works best.
For me 2.15.50.14 works, too...

A Nice Method for Kindle Fire connecting to Ad-Hoc WiFi from Laptop

There's no developer published wpa_supplicant replacement for Kindle Fire's system/bin/wpa_supplicant till now.
So I find ZT-180 Adhoc Switcher.apk is so well to switch Kindle Fire to support Ad-hoc WiFi.
download link:
ZT-180 Adhoc Switcher.apk(174.35K)
http://dl.dbank.com/c0qlpiozc1
A lot of ways to setuo WiFi hotspot with laptop, but Bzeek is the most useful one and it supports both Win XP and Vista.
Bzeek(supports XP & Win7)
http://www.bzeek.com/static/index.html
download:
http://www.bzeek.com/static/bzeekPlugin/bzeekPlugin-setup.exe
I met a problem with Bzeek as well as lots of guys met that after restart the Windows, Bzeek is alway Off instead of On, even you can't turn it On.
So I check google and found that
Personal Hotspot Status
Your Personal Hotspot is Off
Some of the Bzeek settings are not yet in effect. Please restart your computer for the Bzeek settings to take effect. If the problem persists, please contact Bzeek for support.
Click to expand...
Click to collapse
Admin reply:
Maybe the Bzeek service is not running for some reason on your machine.
If it is not solved after boot you can run services.msc and make sure the bzeek service is running.
Click to expand...
Click to collapse
It's a BUG for Bzeek due to their lack of maintance?
So manually if you like, you should go to
Start > Run > services.msc
Open Windows System Services
Get Bzeek Service and make it START
For easy use I build .bat file to TURN ON or TURN OFF Bzeek Free WiFi service effeciently. You can download them here
BzeekTurnOn.bat(18B)
http://dl.dbank.com/c04pwaal9s
BzeekTurnOff.bat(18B)
http://dl.dbank.com/c04pwaal9s
included scripts are simple so you can build your own:
net start bzeeksvc
Click to expand...
Click to collapse
for START
net stop bzeeksvc
Click to expand...
Click to collapse
for STOP
Install ZT-180 Adhoc Switcher.apk
Before running it you'd better ROOT your Kindle Fire for higher user ability.
Run ZT-180 Adhoc Switcher
You should see Switch to Infrastructure mode / Switch to Ad-hoc mode button.
Click Switch to Infrastructure mode and it turns to Switch to Ad-hoc mode then you can click Settings button to set SSID and WEP password if possible.
I put into Bzeek Free WiFi as SSID as I'm using Bzeek and WEP is not selected for Bzeek. If you use other name and with WEP, just do your way.
Now the button display Switch to Ad-hoc mode, just click it and turn it to
Ad-hoc Mode, click Enable WiFi button and it will connect to Bzeek Free WiFi rapidly
Then it will ask you put in your Bzeek username and password, finally you can share the internet with WiFi Ad-Hoc from your laptop happily!
I post this method to a Chinese forum and you can check screenshot images and download links there better.
http://bbs.mydoo.cn/thread-54577-1-1.html
Succeeded to connect to an Ad-hoc, thx for your method. XD
The method can be shorten as below
1. Go find ZT-180 Adhoc Switcher.apk , just google it, there will be several links.
2. Install the apk on a rooted KF.
3. Open it, tap settings before switch to Ad-hoc Mode
4. Input the SSID of the Ad-hoc WIFI you want to connect to. Also fill WEP (if needed) area.
5. Switch to Ad-hoc Mode. Wait a minute and you'll find your KF is connected to the Ad-hoc specified above.
There will be a "x" on KF's WIFI mark, but it doesn't matter, the ad-hoc link is working.
I tested connecting to my PSP, iPhone, Laptop(win7, ad-hoc wizard provided by OS), so I think it support all kind of Ad-hoc. Did a ping test to iPhone and Laptop for confirming. Ping works, so I think it should work fine.
P.S.
Seems it has no thing to do with Bzeek. Just use any ad-hoc.
Sure, actually Bzeek is a solution for my LAN in LAN network to share the internet service.
Any Ad-Hoc is supported!
iphone, PSP, Laptop ...
Worked nicely! Got it to work, but now I cannot get back into "Infrastructure Mode".
I even went as far as doing a device reset through the device settings. Now I can't even register my device. ---Tread with caution---
Wouldn't recomend "zt-180 ad hoc switcher" on the Kindle fire.
EDIT: STRIKE THE ABOVE COMMENT. Stupid me, spent hours looking at file permissions etc, and even did a unroot and reset. My problem? For some reason my KF was the only hardware not connecting to my router. A router reboot fixed it. KF found and connected instantly after rebooting the router.
for me it works perfect - if somthing goes wrong look for the wpa_supplicant.conf in /data/misc/wifi. delete all entries except the first two.
they should be:
ctrl_interface=tiwlan0
update_config=1
save the file and turn on wifi
can someone provide me the original wpa_supplicant
can someone provide me the original wpa_supplicant , I overwrited that file last night and the system restarts repeatedly when opening applications.
the original wpa_supplicant from system\bin ...
Is there an app which can scan for unencrpyted ad-hoc connections ? Thanks
look for 'Wifi Analyzer' on the market
Damn... I tried this. Couldn't install ZT-180 at first as it was missing something so I needed to install busybox (had to use the "busybox installer" app from the market as the "busybox" app didn't work).
Got ZT-180 working and tried sharing my PC's VPN ethernet connection over adhoc... but it keeps dropping out. Is there a problem with sharing VPN connections over adhoc networks, I had this problem with connectify.me too.
I really really need VPN on the Fire as I can't seem to get it sharing from my PC...
For CM7, I've successfully let my kindle fire connect my WiFi hotspot of my android mobile through ZT-180 Adhoc Switcher.apk.
I've tried several versions of CM9, seems no current versions could find/connect ad-hoc WIFI, ever using ZT-180 Adhoc Switcher.
Anyone got the same situation? or get any solution? thank
I tried this application ad hoc mode in my rooted kindle. I started my barnacle wifi tether using my sony ericcson w8......kindle could not see the broadcasted ssid. Why? Pls advise.
if you use zt-180 adhoc switcher then you have to configure the options
enter your ssid & configure your security
b63 said:
if you use zt-180 adhoc switcher then you have to configure the options
enter your ssid & configure your security
Click to expand...
Click to collapse
Have done so.... I also turned off password ... still not working...any other trouble shooting tips?
Sent from my Kindle Fire
help!about ad-hoc
To use the Notebook to share the WIFI is always useful,especially when you don't have a Wireless router.
The WIFI shared by computer is AD-HOC mod,and the KF can't find it.I have tried many methods to solve it but not work.Even use the software-ZT-180 ADHOC switcher,the KF can connect to the WIFI,but still can't surf the internet.
Now my KF is using the 6.3 version.
Who knows the method for it please help me.Thinks a lot!
i'm using connectify on the laptop - just google for it
without it i had the same issue ...

Categories

Resources