[help]how to edit tiwlan.ini - Click General

I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP

gaolizhou said:
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
Click to expand...
Click to collapse
did you find any solution? btw when i was using WildPuzzel v 8 (Froyo) ROM on my Wildfire, It perfectly connects to BSSI on my laptop.
I have seen that some people thinks that Android do not support it, if its true how come it worked with wilpuzzel
and just now, writing this post, I flashed Kernel HCDR.Kernel_v4.2mc1_Flashable.zip from http://forum.xda-developers.com/showthread.php?t=995301 and now connected Wildfire CM7 with my adhoc network on laptop and its working perfectly...

gaolizhou said:
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
Click to expand...
Click to collapse
Use root explorer. Go to /system. Mount it as RW. Then go to etc/wifi. You will find tiwlan.ini there. Open it with a text editor. Scroll down to the line that shows WifiAdhoc=0 and change it to WifiAdhoc=1. Save the file and restart WiFi. Everything working.
Btw, the CM7 rom for Tattoo connects to adhoc directly. No need to edit if u use that.

Bro can I get twilan.ini
I don't have it
Pls

Related

Wifi connection problems.

I am trying to connect to my university's wireless.
We have two different wireless ssid's that i can connect to with my laptop.
The first, called UBC is unsecured, but when you connect, it takes you to a web page where you enter your username/password.
The second, called ubcsecure, can authenticate with either WPA2 or WPA ( it shows up as WPA2-Enterprise).
The encryption method is AES for WPA2, and TKIP for WPA.
EAP type: PEAP v0 , Authentication protocol is MS-CHAP-V2
there is an option for mutual authentication using a certification server:
secure.wireless.ubc.ca
I am unable to connect to either using the stock HTC magic ROM, the HoFo community rom, and most recently, myHero 1.0.1
I have tried editing /system/etc/wifi/wpa_supplicant.conf to include
network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
Any ideas as to how to connect?
Data wipe.
Try to reset your phone's basic settings.
It could rebuild the information necessary to acquire the specific IP from their connection.
Manually entering the data couldn't hurt either. This is something that usually I would consider consulting the school about. Privatized internet connections could cause a number of issues for those seeking to utilize Wi-Fi.
The NAT settings might be too strict to support a handheld device.
Me too!
have you found any other solution??
i m here in ubc as well with my htc magic 1.5
when i'm trying to connect to ubc,, it keeps requiring the ip but doesnt connet
and ubcsecure doesnt even show up!
is really frustrating not being able to use internet in universityyy..
i thought by activating the wpa enterprise will work for the ubcsercure, i guess not??
will any of the heros rom work??
Im having this problem too.. anyone find a fix?
I have no idea why but ubcsecure seems to be working using JesterBlur ROM. http://forum.xda-developers.com/showthread.php?t=567122
it works on the Dream? or sapphire? I don't think it matters but... be interesting to know
Dream. Theres a version for the Sapphire. Maybe give it a shot? ubcsecure still working here.
Ask for working setting
absolutcamper said:
Dream. Theres a version for the Sapphire. Maybe give it a shot? ubcsecure still working here.
Click to expand...
Click to collapse
Did you use the UI setting or you edit the "wpa_supplicant.conf" file manually?
would you please send us your "wpa_supplicant.conf" file or its ubcsecure part? it would be the great help to have a working setting.
Cheers,
Ali
I used the UI that came up during first boot. How can I get to that file?
the wpa_supplicant is in /data/misc/wifi. But considering how it works using the ui settings, i dont think changing the config file will work...but please still post it.
I also tried replacing the wlan.ko from the jesterblur rom... and doesnt seem to be compatible with magic which is apparently normal because there is a patch for magic users that fixes wifi apparently. I will try the wlan.ko from the fix soon probably to see if it works.
Hi guys,
I'm at UBC with the same problem (I can't even connect to the regular UBC network). I went to the UBC help desk and they basically told me that they don't support android at all. The funny thing is I can connect to the fatport network with no problems but cannot connect to ubc, ubcsecure or eduroam networks on campus. I'm currently runnning on Cyanongen 4.2.4 (waiting for 32a kernel to upgrade to 4.2.5) on a rogers htc magic.
Anyway, the point of this post. If anyones interested in meeting up at UBC to find a solution to this problem it'd be great. I'm hoping we can eventually create a package of some sort that'll fix any android phone but lets focus on fixing the current prob first.
Also @fnkaze - aren't the dream and sapphire the same thing?
Er, i think the dream is the G1 and the sapphire is the G2 aka the rogers magic... well i think the dream has a differnt wifi driver? maybe.. thats the problem
I think the reason why they dont support android is because the stock rogers rom doesnt have native wpa2 support i think.... but the custom roms should have it.. the hero rom does have it... at home my wpa2 wifi works fine
I can also connect to fatport, i think the eduroam is also using the same thing...tho ive heard eduroam seems to work on the rogers rom at different univeristies..
I still have yet to try the jester rom wifi driver tho, ill try it soon...
Thanks for the clarification. And the reason eduroam works at other universities is because the WPA encryption settings are based on the uni's actual/main wireless network. So at different universites the authentication protocols might be a bit different.
What phone do you have? The dream or the magic? The jester rom doesn't work on my magic.
i have the magic, but i think it should work on the magic, they also have a seperate patch to get Wifi working for the it.. so im assuming its possible..
So yeah, Concordia University in Montreal has the same WPA2-Enterprise and this is how I got WIFI to work on my Magic (with HoFo's Sense UI ROM, would still probably work with a rooted 1.5/1.6 ROM)
In fact it will probably work with any rooted Dream or Magic
Remember you need your phone to be rooted for this to work, you will also need to have the drivers installed for your phone from the Android SDK.
- Go into recovery mode
- mount the /data/ folder
Code:
adb shell mount /data
- With ADB Pull the /data/misc/wifi/wpa_supplicant.conf file to your computer (in this example it will go to the tools folder where you have your androidsdk)
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf .
- Make a backup of your conf file in case you mess something up
- Edit it and add in the configuration settings given by your University for Linux wpa_supplicant.conf files, so in your case
Code:
network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
- With ADB Push the wpa_supplicant.conf from your computer to the /data/misc/wifi/ folder
Code:
adb push wpa_supplicant.conf /data/misc/wifi/
mydewji13 said:
UBC help desk and they basically told me that they don't support android at all.
Also @fnkaze - aren't the dream and sapphire the same thing?
Click to expand...
Click to collapse
Honestly that person at the helpdesk probably doesn't even know what Android is. If they says they don't support Android at all, well using their logic any Linux distro using wpa_supplicant.conf isn't supported which OBVIOUSLY isn't the case.
And no the Dream and Magic are far from being the same device.
Thanks!
I'll try this solution and see if it works. Will post back to let you know how it goes.
Hi,
Ok, I just finished installing the sdk, fixing udev to recognize my phone etc...
The problem I'm having is that everytime I run:
Code:
adb shell mount /data
I get the following error:
Code:
mount: cannot read /etc/fstab: No such file or directory
Help?!?!
NVM after reading the adb -help i tried this:
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf /home/myuser
Ok something really wierd happened...I pushed a new wpa supplicant file and the rebooted the phone and it stopped seeing wireless networks! But ubcsecure showed up as a known network. If I long press it an 'forget it' I can see networks again, but still cant connect to any ubc network?
WTF>?
Is there anyway I could use by ubuntu wpa_supplicant settings? Anyone know where the file is on Karmic? b/c I cant find it at all

help connecting tatto to ad-hoc network

hi guys, i somehow tried a guide to connect tattoo to ad-hoc network... but i am struck at vi editor.... i want to edit .ini file using vi editor....
it says permission denied....
can anyone help me regarding this please.... i am using windows 7 32bit ultimate.....
guide would be appreciable...
Maybe a stupid question, but are your Tattoo rooted?
kaleun said:
Maybe a stupid question, but are your Tattoo rooted?
Click to expand...
Click to collapse
stupid question ???
Click to expand...
Click to collapse
i dont know why u r saying that.... but let me tell u first, my tattoo is rooted & i installed 5faif's 1.5 cooked ROM & its running fine here....
does this rooting solves wifi connection problem which was there before ???
i also have one question for you, now tattoo is rooted, can i transfer files & receive files through bluetooth ???? if yes which is the best software to do so ???
Bluetooth OBEX
Bluetooth OBEX probably doesn't work on 1.6 as there are dependencies issue.
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
ok i will do that... thanks marsdroid.
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
5[Strogino] said:
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
Click to expand...
Click to collapse
yes, its enough.
How to configure HTC and PC to use Adhoc wireless connection
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
hi..
i have try to copied the downloaded file, but the tattoo says that there's not enough space to paste the file.. fyi, i'm also have rooting the tattoo
any suggestions?
andreabianchi1984 said:
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
Click to expand...
Click to collapse
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
kongkows said:
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
Click to expand...
Click to collapse
U need to chmod something ..and use a boot.img that workd better or just a new Rom.. i use fyodor 0.5 and root explorer , amon ra recovery... start there
...it migth be u need the tattoohack.so module to RW system
Thx
Marsdroid
marsdroid said:
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
Click to expand...
Click to collapse
Done all that but:
On phone wifi manager app keeps asking me for password after i choose connect.
It also displays: Channel:1, Security: [IBSS], BSS: ba:88:7d:ed:52:47
It tries to connect for few secs and that goes to Disconnecting... state
On XP connection for
Network Authentication I tried with both Shared and Open and for
Data Encryption tried with both Disabled and WEP.
I even tried
network={
key_mgmt=NONE
}
I rooted phone by using 27-may-r3-modaco-custom-rom-for-tattoo-with-online-kitchen
I know that post is a bit old story but this thing ruined my Saturday. Please help me save what is possible
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
SAuRoN92 said:
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
Click to expand...
Click to collapse
Im still on XP (because half of my good equipment wont work on win7 (marketing thing)).
I used Conectify on other machine up until I updated conectify to latest version few days ago after which it just wont connect.
I will go and by access point hardware (which wont work on win8

[Q] wifi?

when i use my wifi it says that it is conected but it doens not work does anyone knows a fix
If you are using (wifi-adhoc network) then Tattoo does not connect to ad hoc networks through the wifi manager but we can hack it to allow scanning and connecting to ad hocs. I’ve been trying to figure this out for the longest time. Before you begin, you need to root your tattoo and be comfortable using the command line. We will be editing tiwlan.ini and wpa_supplicant.conf. I will be showing you 3 ways to edit the files. Using vi and adb and root explorer.
root explorer is the simple and best way.....
Settings:-
edit tiwlan.ini to read:
WiFiAdHoc = 1
dot11DesiredSSID = HydtechAdhoc (or whatever name u want)
dot11DesiredBSSType = 0
edit wpa_supplicant.conf to read:
ctrl_interface=tiwlan0
update_config=1
eapol_version=1
ap_scan=2 (tells wpa_supplicant to scan hidden networks)
network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}
it works for me.....
im sorry but i haven't said somethings here they come
i am uising the latste release of the cm7 rom so maybe the problem lies here?
are you using adhoc wifi connection(connection through pc) or normal wifi??
i am using a normal wifi and when i am connected to the internet i can only use it for 5 minuts and than i must shut down the screen and unlock it afther that i can use it for 5 minuts etc.
I had the same problem while I was using stock (htc 1.6 rom).
My recommendation is that you update tattoo to Kalim's ROM.
ok but where excacly is the fault becasue i am on a 1.6 rom now and i don't have that porblem now
guuso50 said:
ok but where excacly is the fault becasue i am on a 1.6 rom now and i don't have that porblem now
Click to expand...
Click to collapse
I figure out with WEP security no problem, but with WPA2 the connection is working but internet is not open...I am on 1.6 original Htc. I don't have any idea why.

MY X8 CANNOT RUN barnacle wifi tether...pls help

hey..it can't run in my phone x8, pls help...
i had root it (2.1 version)
after i click "start", a text show me that "it sharing my network"
at first time, my ipod/computer can search "barnacle", but it cannot connect to my 2G
i tried to reinstall the barnacle wifi tether, then, my ipod/computer haven't found "barnacle"..........
i tried to reinstall my x8, same problem occur.........
ps. my english is not good-,-thx for read
pls help~~~~~~~/_\
Tether not works on x8 because of hw limitations
Sent from my X8 using XDA App
It works on my X8, do not use WEP key
se_gila said:
It works on my X8, do not use WEP key
Click to expand...
Click to collapse
i haven't use wep key...
wt is yr x8 version?
when i updated, it cannot run..../_\
my version is E51i ( 2.1 update1 ) (M76XX-TSNCJOLYM-53404015 ) ( 2.6.29 [email protected]#1 ) ( 2.1.1.A.0.6)
it works on my x8 im using minicm(http://forum.xda-developers.com/showthread.php?t=964223) , i would use access control making you need to tick a box on your device on the clients tab before that device gets internet. WEP does work but as i find you can't use letters in the password only numbers.
Oups !
Sorry
I have barnacle wifi tether work on miniCM nobodyatall but it does not work on CM7-65 racht... Using the same setting and method but so far no luck...
mamafuck1 said:
hey..it can't run in my phone x8, pls help...
i had root it (2.1 version)
after i click "start", a text show me that "it sharing my network"
at first time, my ipod/computer can search "barnacle", but it cannot connect to my 2G
i tried to reinstall the barnacle wifi tether, then, my ipod/computer haven't found "barnacle"..........
i tried to reinstall my x8, same problem occur.........
Click to expand...
Click to collapse
Mine is work. Anyway, sometimes it takes time to connect with my macbook, but it works fine. I'm using SROM V2 based on minicm (froyo).
can u tell me yr phone's detail?
version etc.
my phone's detail is ...
E51i
2.1 update1
M76XX-TSNCJOLYM-53404015
2.6.29 [email protected]#1
2.1.1.A.0.6
i really really want to share my wifi to my ipod...>_<"
hope be help........
I remember read it somewhere that version 2.1 and 2.2 can use Barnacle WiFi tether but not on version 2.3
Sent from my X8 using XDA App
deani77 said:
I remember read it somewhere that version 2.1 and 2.2 can use Barnacle WiFi tether but not on version 2.3
Sent from my X8 using XDA App
Click to expand...
Click to collapse
i've only used it on stock 2.1, miniCM and froyobread haven't tried a 2.3 ROM so can't comment but 2.1 and 2.2 work.
I also can't get my X8 working with Barnacle. Its an E51i running official (rooted) 2.1 update 1 build 2.1.1.A.0.6 My netbook PC is running windows 7 starter.
Barnacle installs okay and when started the PC sees the nework but gets stuck 'identifying barnacle' and says no network access.
I've found a load of info regarding the X10 elsewhere on this forum:
For the phone:
1. Install Barnacle
2. Make sure wifi is off then open the app, push the menu button and select "settings"
3. Scroll to the bottom, click the DHCP
4. Click "DNS 1 (optional)" and set it to 8.8.8.8 (as stated on page 1 of this post)
5. Push the back button
6. Click on the "WAN" and set it to "rmnet0" (without quotes)
7. Click on the "LAN" and set it to "athwlan0" (without quotes)
DO NOT PUSH THE "START" BUTTON
Thats it for the phone side but if you want to do some extras, you can change the "port" in the NAT section and "gateway" in the DHCP section.
For the PC:
If you know how to view your connections, skip to step 3.
Windows XP Users:
(I'm on my Win7 netbook at work using the x10 wifi as we speak, not XP, so ill try to get this correct)
1. Click the "Start" button (or press the windows key), click on Control Panel
2. Click on "Network Connections"
For Vista/7 Users:
1. Click the "Start" button (or press the windows key)
2. Type "view network connectons" (no quotes) and press enter when it stops loading
For All Users:
3. Right click on your wireless connection and click "Properties"
4. In the box towards the middle of the Properties you should see "Internet Protocol Version 4 (TCP/IPv4)", double click it to open its properties
5. At the bottom, click the "Use the following DNS server addresses:" and set it to 8.8.8.8 (to match the phone)
6. Click "Ok" on both Property windows
Thats it. You should now be able to click the "Start" in the Barnacle app and connect. If your still not getting internet but are connected to the phone with your pc's wifi, run thru the steps again for the PC but while being connected.
Click to expand...
Click to collapse
But I can't get any combo of these settings to work on my X8 and I haven't been able to find any real answers in this or other X8 specific threads. So can anyone provide some step-by-step noob-proof instructions, like those above but for the X8?
um okay ignore my previous post - I left my phone switched off for a few minutes and rebooted it and barnacle is working fine. I used the settings as outlined above, with a five-character WEP key
Sparks1337 said:
um okay ignore my previous post - I left my phone switched off for a few minutes and rebooted it and barnacle is working fine. I used the settings as outlined above, with a five-character WEP key
Click to expand...
Click to collapse
ths, i am trying yr method,,,hope can help!_!
um....do you have set yr pc???
i want to connect to my ipod touch....and i don't know how to set with my ipod....
God! look at those neons at topic "WITH THAT UGLY CAPS LOCK", and I can't say it's better than your name...
As a user said before, tether doesn't work natively due to kernel limitations, with problems as yours I would advice to test another rom, or Full wipe / Fix permissions in xrec.
Sparks1337 said:
I also can't get my X8 working with Barnacle. Its an E51i running official (rooted) 2.1 update 1 build 2.1.1.A.0.6 My netbook PC is running windows 7 starter.
Barnacle installs okay and when started the PC sees the nework but gets stuck 'identifying barnacle' and says no network access.
I've found a load of info regarding the X10 elsewhere on this forum:
But I can't get any combo of these settings to work on my X8 and I haven't been able to find any real answers in this or other X8 specific threads. So can anyone provide some step-by-step noob-proof instructions, like those above but for the X8?
Click to expand...
Click to collapse
7. Click on the "LAN" and set it to "athwlan0" (without quotes)
in this step....i have some problems
when i click Start, it show:
Data network is ready
.int file prepared
WIFI: driver loaded
WIFI: Could not set address of athwlan0 No such device
DHCP: Could not get address of athwlan0: No such device
WIFI: Could not get flags of athwlan0: No such device
NAT: waiting for local Interface
Stopped unexpectedly!
AFAIK tether is only working with android 2.2 or above
I have used Barnacle on 2.1 droid and with 13 char WEP only letters.
I have problems with it on 2.2 ROMs tho... problems with connecting to the ad-hoc its creating.
works for me in CM 1.0.0/1.0.1, and FB... have set a 10-char WEP key. not sure if this helps but make sure your WiFi is OFF when u launch barnacle

[SOLVED] Share AD-HOC notebook (or netbook) with Xperia X10

I'll post the setting that should be done in the Xperia X10, so that it Internet share of the notebook (or netbook) through an AD-HOC network. I spent several hours trying, but I did what many say is impossible!
1. The android X10 must be root;
2. Have installed a program that allows editing of files (here I am using the Root Explorer);
3. Create an AD-HOC network in notebok and allow sharing the internet with other devices;
4. Enable Wi-Fi X10;
5. Add Wi-Fi network, the SSID setting the exact name of the AD-HOC network notebook and also the type of security (Open, WEP, WPA/WPA2 PSK, EAP or 802.1x);
6. Disable Wi-Fi X10;
7. Go to the folder "data / misc / wifi", it contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
8. Edit and save the file so that it is as follows:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
9. Go to the folder "system / etc / wifi" (click on "Mount R/W," is at the top right of screen). This folder contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
10. Edit and save the file so that it is as follows:
ctrl_interface=wlan0/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
11.After saving changes, click the file "wpa_supplicant.conf" and hold until the menu of options. Click "Permissions" and leave only the option marked "READ" in Owner, Group and Others, then click OK.
This last step is not executed lose all changes made since the system returns the initial values.
Note: When editing the files "NOT" leave spaces between the function and value. EX: mode=1 (correct), mode = 1 (wrong).
In step 10 in "ctrl_interface=wlan0/" DO NOT confuse "ZERO" with the letter "o". Read "wlan(ZERO)/"
12. Restart X10.
Once restarted just turn on AD-HOC network and turn on the notebook's Wi-Fi X10 that it undertakes to find the ip to connect.
Im gonna test tomorrow, thanks
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
someone2kill said:
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
Click to expand...
Click to collapse
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Cristiano123 said:
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Click to expand...
Click to collapse
it doesnt work for me, when wifi is activating, it doesnt see my network...I will buy a cheap wifi router.
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Cristiano123 said:
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Click to expand...
Click to collapse
It's Vista home premium. Wifi Analyzer app sees the network as ad-hoc (for that it's better than gingerbread wifi scanner) but it cannot connect because of android.
I dont know which permissions on data/misc/wifi ?
And also when I edit, it says OPEN SHARED, I deleted OPEN to keep SHARED
Today I tried again, but I overwrite on files, I renamed bak to conf but it didn't work, so I had to restore my system on x10, then I restored my data apps and I've lost superuser rights, it was the mess, man. now my phone is ok.
chriscx said:
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Click to expand...
Click to collapse
For me it's working fine... Just sometimes it show as it can't find the network, but i just have to disable wifi on my xperia x10 and turn it on again, and if i don't have the ad-hoc network created, it tries to connect to it anyway and says "obtaining IP adress from "asdasd"... I use stock android 2.3.3 with Win7 and the android stock wifi software...
I created a ad-hoc network on my notebook with the name "asdasd" and password with WEP security as "1234567890". That's how i have my both files equal. I only see now that they shouldn't be exactly the same as Cristiano123 show in his post. I have both files in system and data like this, try it so maybe it should work. For me it works fine Don't forget to save the stock files!!! Try this for both files:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="asdasd"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=1234567890
frequency=2412
}
with win 7, you can use connectify or virtual router, some people said it works.
for Vista: I read this:
/system/etc/wifi/tiwlan.ini
WiFiAdhoc = 1
dot11DesiredSSID = MonSSID
dot11DesiredBSSType = 0
http://forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc/
I dont have time to check today
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Cristiano123 said:
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Click to expand...
Click to collapse
yes I did, but I give up
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
chriscx said:
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
Click to expand...
Click to collapse
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Cristiano123 said:
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Click to expand...
Click to collapse
im not able to port it, my mom cant stop saying im dumb, anyway, devs are trying to port ICS now...
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
sErDArcAAn said:
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
Click to expand...
Click to collapse
Good day!
Go until folder "system / etc / wifi" and copy file "wpa_supplicant.conf", place same here as attachment.
Also verify folder "date / misc / wifi" exists file "wpa_supplicant.conf" if yes copy it and place here as attachment with following name "wpa_supplicant.conf2".
I will check the contents of these files and tell you how you will connect to ad-hoc network.
thx for the info...
i will try this later in my xperia x10 froyo..
hi TS..
it always says that obtaining ip address and nothing happen.. i will be disconnected and if turn on again the wifi. it will scan and it will turn into obtain and it will be disconnected. can you help me with this one?
i edited everything as shown on the first post. im using windows7 and oodie's miui rom. It wont connect. Says obtaining ip address that disconects that again obtaining ip addres

Categories

Resources