Wifi adhoc problem - LG Optimus 2x

I've recently upgraded my phone to cm10.1 and now i have a very big problem. I cant connect to my wifi adhoc that comes from my laptop.
Before when i was using cm10 i used the app called WiFiAdhocEnabler and it worked fine. Now on 4.2.1 i cant do the same.. i cant find the wifi network that are adhoc but i can find the others. Does anybody have ideea how can i solve this..?
Thank you very much for your help.
Regards,
cRyTek

edit wpa_supplicant.conf
I achieved the adhoc connection with the latest CM10.1 20130110-NIGHTLY
- Create a wifi connection with the adhoc connection information.
- stop wifi
- using a root editor edit the file "/data/misc/wifi/wpa_supplicant.conf.
in the corresponding wifi connection, add "mode=1" as in here:
"network={
...
ssid="<YOUR_ADHOC_SSID>"
mode=1
....
}"
- now you can reactivate wifi.
This work for me
Note:
- You should configure both the computer and the O2X ip with static information.
crytek1224 said:
I've recently upgraded my phone to cm10.1 and now i have a very big problem. I cant connect to my wifi adhoc that comes from my laptop.
Before when i was using cm10 i used the app called WiFiAdhocEnabler and it worked fine. Now on 4.2.1 i cant do the same.. i cant find the wifi network that are adhoc but i can find the others. Does anybody have ideea how can i solve this..?
Thank you very much for your help.
Regards,
cRyTek
Click to expand...
Click to collapse

Thank you for answer but i got a little problem. when i open /data/misc/wifi/wpa_supplicant.conf with root browser i cant find what u say. All i have is :
ctrl_interface=wlan0
update_config=1
device_name=star_open_eu
and some other things about device, lg..
Theres nothing about ssid. Did i got it wrong? Should i add all that thing in there :
"network={
...
ssid="<YOUR_ADHOC_SSID>"
mode=1
....
}"

That is because before editing the file you have to create the connection.
On the wifi connection page of the phone parameters, press "+" to create a new connection. Fill in your adhoc connection information.
Once it is done, you can the disable wifi and edit the file.
Note: I have succeed on doing adhoc connection only in "open" and "open WEP" security.
crytek1224 said:
Thank you for answer but i got a little problem. when i open /data/misc/wifi/wpa_supplicant.conf with root browser i cant find what u say. All i have is :
ctrl_interface=wlan0
update_config=1
device_name=star_open_eu
and some other things about device, lg..
Theres nothing about ssid. Did i got it wrong? Should i add all that thing in there :
"network={
...
ssid="<YOUR_ADHOC_SSID>"
mode=1
....
}"
Click to expand...
Click to collapse

thx.. i'll try

i did as you said and the phone connect to the netword for 2 seconds and then it stops.. It might be because i didnt do this:
Note:
- You should configure both the computer and the O2X ip with static information.
Click to expand...
Click to collapse
My laptop ip is dynamic and i don't know how to use a static one. When i create the adhoc netword i cant change anything about the ip.
Any ideea?

Search google with your os version and "static IP"
crytek1224 said:
i did as you said and the phone connect to the netword for 2 seconds and then it stops.. It might be because i didnt do this:
My laptop ip is dynamic and i don't know how to use a static one. When i create the adhoc netword i cant change anything about the ip.
Any ideea?
Click to expand...
Click to collapse

Related

is there a way to share pc internet connection with phone like WM

i am wondering is there a way to share pc internet connection with phone like WM ???
Ha_Mi said:
i am wondering is there a way to share pc internet connection with phone like WM ???
Click to expand...
Click to collapse
You can make wifi hotspot (if you have wifi) from your pc by Connectify.
oh, i have to make a wifi access point in my laptop then coonect via phone the internet shares..?
or u talking about a option in the phone which named wifi hotspot .??
I forget the steps in Windows XP, but for Windows 7 go to the
-Network and Sharing Center
-Set up a new connection or network
-Set up a wireless adhoc (computer to computer) network
and follow the steps to setting up the connection. Then, at the last step, enable internet sharing. It'll let other computers, or, well, anything that can access a wireless network connect to your PC. Secure it with a password if you want to be safe.
Notes: Some devices will not be able to connect. There may be a software bug or they've not been designed to work with adhoc networks. I'm not sure if the laptop can connect to an alternative wireless network while it's hosting an adhoc network. If you want to share internet, you may need to be plugged directly in with an Ethernet cable.
Yeah my internet connection is from my lan..
but my phone don't detect my network which created from laptop, what's the problem..?
How is this is Nexus one Q&A? This is not even android related lol
Ha_Mi said:
Yeah my internet connection is from my lan..
but my phone don't detect my network which created from laptop, what's the problem..?
Click to expand...
Click to collapse
You're probably creating it using the way described above, ad-hoc network setup. Android by default doesn't recognize ad-hoc networks. Some custom ROMs solve this issue, but stock setup won't allow you to see the ad-hoc network. Use Connectify.
Thank u very much but unfortunately this only works in 7, i have vista now....
I want share my pc internet with my Nexus one, isn't here best place for asking such a question ??
Jack_R1 said:
You're probably creating it using the way described above, ad-hoc network setup. Android by default doesn't recognize ad-hoc networks. Some custom ROMs solve this issue, but stock setup won't allow you to see the ad-hoc network. Use Connectify.
Click to expand...
Click to collapse
Sorry, I've been using CyanMod for too long I can never remember if it's supported by default or not.
To the OP, sorry if I've caused any inconveniences.
i'm using connectify now, but still my phone can't find the network, waht should i do??????
Did you set your network to Infrastructure? Also make the SSID visible, do not hide it.
i'm using v2 & i can't see such setting that u said, where can i find them to change..?
IF you have a windows 7 PC, i advise you to use conectify or virtual rooter. You can also follow the instructions in the following link - http://www.technospot.net/blogs/how-to-enable-windows-7-virtual-wifi/ - it will enable in your windows 7 pc a virtual ap). Hope it helps you
SOUSAFRUI @ NEXUS ONE
Thank u i'll try & report..
THe link is dead..!?
there is nobody here who could share pc internet connection with his/her nexus one..?!
HELP Me PlEasE....

[Q] how to use adhoc wifi?

how to use adhoc wifi?how to use adhoc wifi?
As I know adhoc NOT supported
Sent from my GT-N7000 using XDA App
There is something called "wifi Direct" which might be another name for the same thing. Read about it in the user manual, which can be downloaded from Samsung in a pdf. Sorry no link.
If your trying to use the Adhoc to tether other devices to your Note to use it's data connection, then you go into your Settings -> Wireless and network -> Tethering and portable hotspot, enable this, set up a password if you wish, then you can connect to it via wifi now.
Does the phone see wifi adhoc?
Sorry to bring up this thread, didn't want to start a new one.
Now that many people own the nexus. Can someone tell me if the phone can connect to a wifi adhoc? To avoid misunderstanding, this is not the same as tethering phone's internet to other devices (that what's Wifi Direct is about, I think). This is the phone using internet from pc via adhoc wifi (for example using the program Connectify).
Thanks
There is a guide for galaxy s2, just google it (cannot post link), you need to change wpa_supplicant file
Worked for me
sorry for bringing it up again.
changed wpa_supplicant to the one from galaxy s2 and changed permissions. But didnt work for me!
Anyone got files for me so i can use adhoc wifi?
i really need it! thanks a lot guys
padampadam said:
sorry for bringing it up again.
changed wpa_supplicant to the one from galaxy s2 and changed permissions. But didnt work for me!
Anyone got files for me so i can use adhoc wifi?
i really need it! thanks a lot guys
Click to expand...
Click to collapse
If you used this guide "Connect to adhoc Wireless Networks on your Galaxy S2 (SC-02C)" the is should work, maybe it depends on firmware, I have N7000XXKK5
well with this wpa_supplicant i can see the ad-hoc but i cant connect.
And although my note freezes if i use this one. isnt there one especially build for the SGN?
i have kernel N7000XXKK9
I don't understand, if you want to connect to a PC via wifi to use the PC's internet, then isn't it then down to setting the PC as the adhoc and connecting you phone via wifi as if it was connecting to an wireless router? Or Wi-Fi Direct (which is the phone connecting to other devices, not other devices connecting to the phone i.e. tethering)? Can anyone clarify what the issue is?
Keethos said:
I don't understand, if you want to connect to a PC via wifi to use the PC's internet, then isn't it then down to setting the PC as the adhoc and connecting you phone via wifi as if it was connecting to an wireless router? Or Wi-Fi Direct (which is the phone connecting to other devices, not other devices connecting to the phone i.e. tethering)? Can anyone clarify what the issue is?
Click to expand...
Click to collapse
The issue is that, by default, the Nexus can't see adhoc wifi and therefore can't connect to it. You need to somehow modify wpa-supplicant to be able to see adhoc wifi.
luffyp said:
The issue is that, by default, the Nexus can't see adhoc wifi and therefore can't connect to it. You need to somehow modify wpa-supplicant to be able to see adhoc wifi.
Click to expand...
Click to collapse
yup, thats it!
But we are in Galaxy note forum although the problem is the same..
Oh I see, I did not realise that there was such an issue, thanks for clarifying that for me!
Install Connectify it will help..
Sent from my GT-N7000 using XDA App
santhanvg said:
Install Connectify it will help..
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
not on my freaking old notebook. doesnt support infrastructure mode..
is there any custom rum supoorting adhoc yet?
try this:
http://forum.xda-developers.com/showthread.php?p=21832029#post21832029

Wifi - Obtaining IP address

I have been having this strange wifi problem lately.. I am not able to connect to my home wifi network.
It says obtaining IP address but never connects.. This problem only occurred recently.. I was able use my home wifi before.
After googling around, i tried the following.
1. I went to advanced setting and used static IP. This time it got connected. But i was not able to connect to internet.
2. Did a factory reset.. Then flashed stock using ODIN. Still no luck.
3. I changed the encryption to WPA-PSK... Didnt work.
Can somebody help with this issue please?
ashok_jigsaw said:
I have been having this strange wifi problem lately.. I am not able to connect to my home wifi network.
It says obtaining IP address but never connects.. This problem only occurred recently.. I was able use my home wifi before.
After googling around, i tried the following.
1. I went to advanced setting and used static IP. This time it got connected. But i was not able to connect to internet.
2. Did a factory reset.. Then flashed stock using ODIN. Still no luck.
3. I changed the encryption to WPA-PSK... Didnt work.
Can somebody help with this issue please?
Click to expand...
Click to collapse
Hmm..did u flash any kernel?
I had this problem when I tried to update busybox. But since you have re-flashed stock.
Are you sure its a problem on your phone and not with the router? Try connecting to a different router.
Sent from my GALAXY Ace.
Remove the WiFi connection from your phone, click on forget.
On your router,from the configuration page, change the WiFi security to open then try connecting using phone.
If it works then remove connection from phone again (click forget), and configure your router to WPA or any other such algorithm. Then connect again.
My brother has this problem, have you tried other wifi networks? It may be able to connect to other routers. What does it say after "obtaining ip address", does it connect or do you get disconnected?
Xr01d_GT said:
Remove the WiFi connection from your phone, click on forget.
On your router,from the configuration page, change the WiFi security to open then try connecting using phone.
If it works then remove connection from phone again (click forget), and configure your router to WPA or any other such algorithm. Then connect again.
Click to expand...
Click to collapse
Hey thanks a lot.. You fixed something which google couldn't
help
Xr01d_GT said:
Remove the WiFi connection from your phone, click on forget.
On your router,from the configuration page, change the WiFi security to open then try connecting using phone.
If it works then remove connection from phone again (click forget), and configure your router to WPA or any other such algorithm. Then connect again.
Click to expand...
Click to collapse
Hey bro , i tried what you say and there is no result unfortunately

WIFI not work X8 - ?ROUTER settings? !

Hi guys!
I have problem,that my wifi won't work. It's connected but there's no internet connection. If I change security, i get wifi connection but after few minutes,I lost internet connection but wifi is connected. Same problem on my father HTC WILDFIRE S.
On my laptop wifi works well.
I search on web and there are some people having that trouble,but I didn't find solution. I don't want to use static ip,because I lost router connection,I must use DINAMIC IP for working router.
My router adress is 192.168.2.1
Help me what settings I must to set,change in my router settings. I attach photos from broadband router what settings I have set! Please attach your settings that I can set this on my router. I wan't my normal wifi back.
Thank you all!
Fix
Hey there 2010matej.
What router are you using? I have had similar problems that I fixed. Also, some friendly advice would be taking your internet IP off the thread. It can be useful for some people with less favorable intentions.
Also, I'm not sure if it is XPERIA X8 specific.
EDIT: Have you paid this month for internet?
Deftone said:
Hey there 2010matej.
What router are you using? I have had similar problems that I fixed. Also, some friendly advice would be taking your internet IP off the thread. It can be useful for some people with less favorable intentions.
Also, I'm not sure if it is XPERIA X8 specific.
EDIT: Have you paid this month for internet?
Click to expand...
Click to collapse
Router: Canon CN WF514:
I have this problem for so time. Yes we always paid for internet!
Ok. I have asked a friend of mine he said that there are a few ways to deal with this problem:
1) A hard reset. Just use a pencil or pen to press the reset button. Hold it there for 4 seconds and the rooter will reset. This will make you start as if from the beginning.
2) Check for any 'broadcast' settings. Enable any that have been disabled.
3) Disconnect any wires and power plugs then clean them and reconnect them.
I'm sorry if this does not work. I have tried quite hard to help but unfortunately this is all I got. My friend also gave me the link to this manual just in case.
http://www1.canyon-tech.com/files/Canyon/Networking/WiFi_U/CN-WF514/CN-WF514_manual.pdf
Hope it helps
Thanks for reply. I hard reset router last because I can't go to 192.168.2.1 router web page,but when I reset wifi start working. I just again set security. Maybe is problem in security,but wifi is SLOW
2010matej said:
Thanks for reply. I hard reset router last because I can't go to 192.168.2.1 router web page,but when I reset wifi start working. I just again set security. Maybe is problem in security,but wifi is SLOW
Click to expand...
Click to collapse
Internet is slow at night so maybe this is the problem. Otherwise, try changing your channel. You may get better results. Go to speedtest.net and test your speed. Then come back. Also, connect the wire from router to laptop and it will be faster.
Hit the thanks if I helped anywhere.
Deftone said:
Internet is slow at night so maybe this is the problem. Otherwise, try changing your channel. You may get better results. Go to speedtest.net and test your speed. Then come back. Also, connect the wire from router to laptop and it will be faster.
Hit the thanks if I helped anywhere.
Click to expand...
Click to collapse
It's not that. Wifi on laptop is fast,just on x8 is slow. When I go on weekend to Croatia,where is internet very,very,very slow on laptop,is fast on x8,WTF!
Good to hear you fixed it anyway.
Deftone said:
Good to hear you fixed it anyway.
Click to expand...
Click to collapse
I didn't fix it . Fast on laptop,slow on x8 or no connection!
i think your problem is based on PPPOE connection type.
thing you do is you connect to your wifi but not to your operator.
THINGS YOU HAVE TO DO:
->go to http://www.torrapk.com/download/apps/WIFIPPPOE_v1.0/WIFIPPPOE_v1.0.php and download wifi pppoe apk
->install (root is needed).
->NOW connect to your wifi as usual.now when icon is displayed open the pppoe apk and insert your opereators username and pasword.(probably same as on your computer/laptop)
and DONE
glad to help
Lukenda said:
i think your problem is based on PPPOE connection type.
thing you do is you connect to your wifi but not to your operator.
THINGS YOU HAVE TO DO:
->go to http://www.torrapk.com/download/apps/WIFIPPPOE_v1.0/WIFIPPPOE_v1.0.php and download wifi pppoe apk
->install (root is needed).
->NOW connect to your wifi as usual.now when icon is displayed open the pppoe apk and insert your opereators username and pasword.(probably same as on your computer/laptop)
and DONE
glad to help
Click to expand...
Click to collapse
I don't think that is needed at all.. Some routers are really cr*p when WPA2 encryption is used..
I'd try setting it to WEP and trying again.. If it's better, then proceed to MAC allow your devices so your network is secured.
Set the wireless channel to 11 for a strong signal too.
Then in advanced wireless settings on your x8 make sure that NEVER is selected as the sleep policy.
Remove your router in your x8 wireless settings and then set it up again..
Good luck!
Sorry I was under the impression that it wasn't working before at all and now it is. Will read further in future but I have to say that I can't refute or build on lukenda's advice.
I hard reset router again,I didn't set security,but wifi won't work on phone. I don't want to install apps to have working wifi,because I didn't have problems 2 months ago ! And my channel is set to 11!
Lukenda said:
how do you know?
been in this situation?
i have.
i am almost 99% sure the problem is going to be solved by my way.
we are in the same region.
slovenia-croatia.
Click to expand...
Click to collapse
Calm down man. No need to oppress. Great you have experience. Fine. You submitted your advice now just wait for a thanks or further problems. No need to start hate. I thought your advice was great.
2010matej said:
I hard reset router again,I didn't set security,but wifi won't work on phone. I don't want to install apps to have working wifi,because I didn't have problems 2 months ago ! And my channel is set to 11!
Click to expand...
Click to collapse
it is only one app and i use it too.
try.
if it is not working check your wieres on router.
2010matej said:
Man what settings you have in your router? Send me photo,you can PM me! I don't want install apps,I want to get back same settings when my wifi works like a charm! I reset settings,router,nothing help ! I don't have PPPOE! I have dynamic ip,on other settings I can't open router page!
Click to expand...
Click to collapse
are you able to connect using your computer or laptop?
show me screnshoot of conect-to.exe
Lukenda said:
are you able to connect using your computer or laptop?
show me screnshoot of conect-to.exe
Click to expand...
Click to collapse
Yes I'm connected on PC and on Laptop,screenshoots is attached on first post!
2010matej said:
Yes I'm connected on PC and on Laptop,screenshoots is attached on first post!
Click to expand...
Click to collapse
kinda dissapointed,not pppoe..-
okey.
try to set static ip from your android.-
go to wirelles ,wifi settings,advanced,and add static ip.(your own) =)
Lukenda said:
kinda dissapointed,not pppoe..-
okey.
try to set static ip from your android.-
go to wirelles ,wifi settings,advanced,and add static ip.(your own) =)
Click to expand...
Click to collapse
Like I'm saying,just if i set dynamic ip my wifi works. If I set static ip,PPPOE,... I can't open 192.168.2.1 anymore or I just don't have connection not on phone not on laptop,pc!
What to set in PPPOE? I'll try to set pppoe tommorow!
THX for helping brate!
well use your usename and password as on computer (if u have one)
-razumijes hrvatski?

[Q] Cannot connect to any wifi network

Regards to all members of xda forum
as the title says, I have a problem with connecting to any wifi network, already spent two days searching different forums, I've tried various CUSTOM ROM (zeus, miui, stock 2.2.2), but without success, currently using ParanoidAndroid V2.52...
i see all wifi network, when it connects just stuck on connecting, then disconnect... router is 100% OK, connects with PS3 or other device OK...
obviously a problem with the MAC address, in advanced wifi is set to always and my MAC address is 74:A7:22:E5:09: DA... but in the etc / wifi / nvram.txt in line macaddr = 00:90:4c:c5:00:34 ??? not same as orginal...
any help is welcomed :good: and sorry on my bad English
pemac1987 said:
Regards to all members of xda forum
as the title says, I have a problem with connecting to any wifi network, already spent two days searching different forums, I've tried various CUSTOM ROM (zeus, miui, stock 2.2.2), but without success, currently using ParanoidAndroid V2.52...
i see all wifi network, when it connects just stuck on connecting, then disconnect... router is 100% OK, connects with PS3 or other device OK...
obviously a problem with the MAC address, in advanced wifi is set to always and my MAC address is 74:A7:22:E5:09: DA... but in the etc / wifi / nvram.txt in line macaddr = 00:90:4c:c5:00:34 ??? not same as orginal...
any help is welcomed :good: and sorry on my bad English
Click to expand...
Click to collapse
Why dont you try to set your MAC adress then? But if it doesnt work with any ROM, what about your wifi device, might it be broken? Did you already try to connect to other wifi networks? Did it work there? What channel does your router use? Maybe change it to another (between 1-10 I would say) one and try again?
Happy answering and testing
N00BY0815 said:
Why dont you try to set your MAC adress then? But if it doesnt work with any ROM, what about your wifi device, might it be broken? Did you already try to connect to other wifi networks? Did it work there? What channel does your router use? Maybe change it to another (between 1-10 I would say) one and try again?
Happy answering and testing
Click to expand...
Click to collapse
thanks for the anwser
I think that wifi device is not broken, bcuz i connect 4-5 time in 2 days... but page from browser not open... maybe 100-200kb download and stuck... then disconnect...
how to rewrite the address in the etc / wifi / nvram.txt ... I tried with root manager and busybox tutorial from this forum but without success
EDIT: i made some progress... in router settings i change to United States (even I am in Europe - Bosnia) and channel 9... connect each time but not open any page in browser ???
The address in nvram.txt is a dummy MAC address and should interfere with the actually MAC address once it's fully powered on.
xonar_ said:
The address in nvram.txt is a dummy MAC address and should interfere with the actually MAC address once it's fully powered on.
Click to expand...
Click to collapse
today i connect (router settings: US, channel 9, mac address 74:A7:22:E5:09A) work 1h without any problem, full speed, then disconnect and all day can no longer connect with same settings :/
mac address in nvram.txt is 00:90:4c:c5:00:34 ???
is there any other rom to try
pemac1987 said:
today i connect (router settings: US, channel 9, mac address 74:A7:22:E5:09A) work 1h without any problem, full speed, then disconnect and all day can no longer connect with same settings :/
mac address in nvram.txt is 00:90:4c:c5:00:34 ???
is there any other rom to try
Click to expand...
Click to collapse
The mac address in nvram.txt is dummy address. It's only used if it fails to get proper MAC address or haven't got it yet.
Perhaps it's hardware issue.
Sent from my LG-P970
xonar_ said:
The mac address in nvram.txt is dummy address. It's only used if it fails to get proper MAC address or haven't got it yet.
Perhaps it's hardware issue.
Sent from my LG-P970
Click to expand...
Click to collapse
everything is possible, I do not know what more to say ... Thanks for your help
all good

Categories

Resources