modify wpa_supplicant.conf - Android General

I have a Wiko Pulp, Android 5 rooted.
Its broadcast senseless its manufractor/name/model in Broadcast frames.
Cause it makes traffic(even if already connected) and for privacy i want to modify /data/wifi/wpa_supplicant.conf.
I can do that cause im root. But if i turn off or turn on wifi the values reverted.
Tryed too to edit, remove battery and restart but this dont help(original file seems not to be in RAM and reverted from there)
I can writeprotect the file but then wifi dont get startet anymore. Setting rights to wifi/wifi didnt help(default system/wifi).
There is too /etc/wpa_supplicant.conf but that isnt used cause there the Manufracturer is "MediaTek Inc." and not Wiko.
Then there is /etc/wpa_supplicant_overlay.conf i can edit and they stays, but i cant overwrite or add settings with it.
Seems some linux typical unused file.
Question is who is touching my Files? Where this revert comes from, there must be somewhere(where?) a copy of it or a script that write back the header? Is it possible to start wpa_supplicant with another(other place) wpa_supplicant.config and still add new networks? Doesn know who add the networks. Or somebody know how to patch wpa_supplicant binary to use "passive_scan=1"

Related

WPA Enterprise Auth - confirmed working

WiFi on campus here uses WPA enterprise auth - good. I was shocked when I saw that the phone seemingly didn't support it. Network didn't even appear in the list, and Add Network only supports WPA Personal / WEP. How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
I've been using campus wifi successfully for a few days now. It seems to integrate well enough - the wifi settings menu doesn't seem to break at all, the enterprise-authed network and status are listed correctly including the 'lock' icon, etc.
These instructions are slightly modified from being specific to the particular university (posted locally too, you see). If you can rub some braincells together, this can be adapted. The parts regarding a certificates file may or may not be needed in your setup, for example.
* Get a root shell
* cd /data/misc/wifi/
* cat wpa_supplicant.conf
* The existing supplicant config is displayed - copy and paste it into a text editor (the beginning bits are important, as are your existing networks)
* Paste in a working wpa_supplicant.conf section for your network at the end
* Fill in username and password in the new section. Replace the path for cacerts.pem with /data/misc/wifi/cacerts.pem
* Save the new config onto the SD card
* Save the cacerts.pem (same site) onto the SD card also
* On the handset: In the settings/storage menu, disable the SD card for USB storage (otherwise, can't access it from the shell)
* rm wpa_supplicant.conf
* cp would be used here normally, but it isn't in the stock image: dd if=/sdcard/wpa_supplicant.conf of=wpa_supplicant.conf
* chmod 666 wpa_supplicant.conf (Warning! Readable/Writable by EVERYONE! Use 664 such that only root can write it if you want, but this will possibly disallow changes by the settings app - if chown was available, ownership would be reverted back to wifi:wifi)
* dd if=/sdcard/cacerts.pem of=cacerts.pem
* chmod 444 cacerts.pem (needs to be readable by wifi user)
* The network should appear in the wifi menu and connect if you enable wifi. Reboot if not maybe?
Problems:
* Permissions are a bit wonky due to lack of chown. The process would be cleaner with busybox installed (possible with root), but this process is written to work on a stock RC29 handset.
* It will almost surely fail following an update. Try not to give up root before the WiFi UI is patched
* Maybe there's a reason that enterprise auth is absent from the settings UI
* WiFi settings page may or may not break. WiFi settings page may or may not undo your changes.
A quick troubleshooting tip: if you've dealt with wpa_supplicant before, note that wpa_cli is available to root. Helpful to diagnose any issues that crop up.
Enjoy.
How Apple of them. But WHY? It's wpa_supplicant behind the scenes
Click to expand...
Click to collapse
I suspect it's because the majority of consumers only access wifi networks secured through psk or mac-address. iirc my university used mac-address too. Not sure if that's changed by now. In any case, I wouldn't hold my breath for official support on the G1. Maybe on some future Android device with enterprise in mind.
Anyway, good tips and good first post. Welcome to the forum
busybox has chown
WPA2
Can I ask a question?
The SSID for your campus wifi is not broadcasted, correct? if this is true, then it won't show up and the only way to get access is to add it manually.
Now when you go to add it manually, did you try to change the type of security before you flipped out the keyboard? Just wondering since WPA2 is clearly seen if you have the keyboard in and if you have it out it looks like WPA2 isn't an option but if you try to move the security box with a swipe up with your finger, WPA2 will be shown. I haven't had a single problem attaching to my home or work network using WPA2 PSK since RC19 and beyond.
Yep, busybox has chown - which makes the whole thing cleaner and safer. My instructions were written originally with no assumptions as to previous modding, incl how to get telnet.
The wifi network here does broadcast, but is filtered out due to "unsupported" security. Add network lists wpa2 personal but not enterprise.
I modified my wpa_supplicant.conf file using your instructions and it worked!
Thanks!
Dave
vSymm said:
How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
Click to expand...
Click to collapse
Because there's a substantial amount of UI work that needs to be done for WPA2-Enterprise compared with the relatively common WPA2-PSK.
My advice? If official support is something you'd like, go write it and submit a patch to the Android devs.
Not working
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Confirm that the permissions were set correctly on wpa_supplicant.conf
I'm sure you can find an example for that particular setup online somewhere.
happyface_0 said:
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Click to expand...
Click to collapse
try this:
adb shell
cd /data/misc/wifi
chown 1010:1010 wpa_supplicant.conf
Worked for me too, but the connection was really unstable. I've added the option bssid to wpa_supplicant.conf to prevent roaming. Now it works really well on my desk, but I haven´t tried the rest of the company.
need help connecting
I'm trying to connect to a campus network, I see the SSID detected (as following), and It tries to connect and aborts by itself.
my wpa_supplicant.conf shows this:
network={
ssid="Techwifi"
scan_ssid=1
key_mgmt=NONE
priority=2
}
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
linulli said:
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
Click to expand...
Click to collapse
Yes, I have it working.
Code:
network={
ssid="ssidname"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="user"
password="pass"
phase2="auth=PAP"
}
Note: It seems to drain my G1's battery pretty nicely and it starts to get hot after being connected for a bit. Also, my G1 added disabled=1 to the end of this network after the ADP1 v1.1 update, strange.
Thanks happyface_0,
so I will have a few minutes online.
Is there a way to alter your wpa_supplicant settings on an unrooted German G1 , or how can i downgrade and then alter the settings, does anyone know?
I'd love to know that too, i really want to use wifi at work.
Can we do anything to help you help us?
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Gedomania said:
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Click to expand...
Click to collapse
Neither WPA-Enterprise nor WPA-2 Enterprise are available yet without actually editing the wpa_supplicant configuration manually, even on RC33.
Hmm thats pretty sad, is it actually possible to write a program which can edit the Wpa_supplicant file so that we can manually insert the settings we need to get WPA 2 Enterprise working , even on phones without root?

[Request] Patch for enabling ad-hoc wifi networks in ROMs

Devs,
I use my office LAN connection as a net connection for my 32a Magic phone by creating an ad-hoc network and sharing the LAN connection - basically the opposite of WiFi tethering. I have been successfully using that by following the instructions at http://modmygphone.com/forums/showthread.php?t=22681 (which is applicable for all android phones, I guess). Ad-hoc networks are not enabled by default. The procedure requires changes in the "system/etc/wifi/tiwlan.ini" and "/data/misc/wifi/wpa_supplicant.conf" files.
Making these changes with the Magic touchscreen keyboard is quite tedious.
My request is for ROM developers to:
a) Enable this in their ROMs by default (I guess everyone would benefit from enabled ad-hoc wifi); OR
b) If someone could create a patch that overwrites these files with modified variants that is easy to apply over ANY other ROM (would be useful for those who tend to change ROMs often )
I searched for a solution and posted a question in Sapphire General, but no one chastised me/answered, so am reposting here (on second thoughts, I should have posted here in the first place).
Thanks!
post the modified files here, so ppl can create an update file.
+1 - it would be lovely to have a patch for that!
This would be great for someone like me in a country that charges a lot of money for 3G. Hope it gets implemented.
Files to be changed
I have attached the two modified files:
1) tiwlan.ini (remove .txt) needs to update the one in /system/etc/wifi/
2) wpa_supplicant.conf (remove .txt) needs to update the one in /data/misc/wifi/
This will require you to create an open (no encryption) Wifi network called "androidwifishare" (case sensitive, without the quotes) and share your LAN connection.
Note that overwriting wpa_supplicant.conf will make your phone forget all stored Wifi networks and their keys
slash12345 said:
Making these changes with the Magic touchscreen keyboard is quite tedious.
Click to expand...
Click to collapse
Why don't you just "adb pull", edit on the computer, and then "adb push" the modified files back into the cell phone ? You should be able to do this into any rom, with no need to package this into an "update.zip"
I don't understand anyway why should you create an ad-hoc network .. wireless access points are very cheap, like starting from 30$, why one would use his PC and a dedicated wifi card to create an ad-hoc network nowadays ?
ziokendo said:
Why don't you just "adb pull", edit on the computer, and then "adb push" the modified files back into the cell phone ? You should be able to do this into any rom, with no need to package this into an "update.zip"
Click to expand...
Click to collapse
Because, it's easier to have a wifiupdate.zip that can be stored in the SDCard and can be applied at any time after changing a ROM (without the need for looking around in a PC) using Amon_RA's recovery
ziokendo said:
I don't understand anyway why should you create an ad-hoc network .. wireless access points are very cheap, like starting from 30$, why one would use his PC and a dedicated wifi card to create an ad-hoc network nowadays ?
Click to expand...
Click to collapse
a) Not everyone has a WiFi network _in office_ (please refer to my original post)
b) Its a good way to avoid network data costs (which are high)
c) You get good transfer rates, much better than the mobile network (no 3G here)
As simple as that
i know this thread is kinda old and "dead" but i tried this with my girlfriends magic
works but as soon as the magic connects to the wifi of my G1 it reboots
strange thing
i noticed that this also happens with the free Wifi spot from Mcdonalds at our city
what could that be and why won't it happen when the magic connects to my access point??
thx for help in advance
by
KK
EDIT:
Magic ROM: Cursorsense 1.2.6.1
Device: HTC Magic PVT 32A

Some help for making the droid work

I have a POLA100 with windows mobile 6.1 (anime rom 2.0 french) and android installed on ext2 partitions on my SD card.
I'm having heavy troubles making all the thing work.
When I install with polymod rom (2.1g) almost everything is working (exept camera for example) event wifi, but I can't install apps with the market because of "not enough space" ... wait a second, each ext2 partition is 1GB ...
When I install with an other rom, I can't have wifi (I don't use any data connection), so it isn't really usefull ...
And I don't want to remove windows mobile, cause windows allows me to use all of the capabilities of the phone (camera ...)
Is there any way to get my android market to work properly ?
ReMix3D said:
I have a POLA100 with windows mobile 6.1 (anime rom 2.0 french) and android installed on ext2 partitions on my SD card.
I'm having heavy troubles making all the thing work.
When I install with polymod rom (2.1g) almost everything is working (exept camera for example) event wifi, but I can't install apps with the market because of "not enough space" ... wait a second, each ext2 partition is 1GB ...
When I install with an other rom, I can't have wifi (I don't use any data connection), so it isn't really usefull ...
And I don't want to remove windows mobile, cause windows allows me to use all of the capabilities of the phone (camera ...)
Is there any way to get my android market to work properly ?
Click to expand...
Click to collapse
Look here...post 175...this work
http://forum.xda-developers.com/showthread.php?t=651856&page=18
thanks to SuperJMN
Thanks
In fact yes, that works I just tried it yepee
But, so the the eclair builds are not working on a pola100 ?
So, no eclair build on pola100 ?
And for the warm donut, it looks like the camera definition is lower then on WinMo, i.e : with the barcode scanner, it's all blury and the phone can't scan a 2D barcode.
Normal ?
New day, new problems.
I don't know why, but since yesteray I have heavy battery bugs.
I.E : the battery is going down very quick within android (50% in 2h) with almost nothing activated (no wifi/BT, no gps, no data connection, no sync and apps killed with task killer), and when I plug a usb cable, it doesn't charge.
Can somebody please help me ?
ReMix3D said:
New day, new problems.
I don't know why, but since yesteray I have heavy battery bugs.
I.E : the battery is going down very quick within android (50% in 2h) with almost nothing activated (no wifi/BT, no gps, no data connection, no sync and apps killed with task killer), and when I plug a usb cable, it doesn't charge.
Can somebody please help me ?
Click to expand...
Click to collapse
don´t know why...but if i activate wifi...and deactivacte....i can charge
ReMix3D said:
So, no eclair build on pola100 ?
And for the warm donut, it looks like the camera definition is lower then on WinMo, i.e : with the barcode scanner, it's all blury and the phone can't scan a 2D barcode.
Normal ?
Click to expand...
Click to collapse
if you are in the barcode scanner...please rotate the middle wheel for make it sharper...
Thanks Alexander for the camera fix
For the battery, I haven't tried your method, but I note it in my mind. I restarded on WinMo, where the wifi was activated, I de-activated it and run haret to reboot on android. Now the battery is charging.
I'll check if it drops down quick again.
I'm looking at the battery info, the average temperature of my battery is 35°C, normal ?
Well, I think I found the problem : I often run TaskKiller to reduce the charge on the processor, but it kills the battery update service, I just had to except it, now I know when it is charging.
But anyway, it android seems to use more battery then WinMo, normal ?
Hello, me again ! ^^
I was searching on my phone an option to enable auto-completion when writing.
Well, it works, but only for English ... and I'm French.
It seams that I don't have the French dictionary (not bundled in warm donut ?)
Is there a way to installer the French word dictionary on the phone, or must I absolutely use one of the non-free keyboard available on the android market ?
I've also seen that the HTC-IME keyboard looks pretty cool, but there is no version available for our phone, is there ?
[EDIT] I just tried AnySoftKeyboard, with includes a French dictionary, nice ! But for the HTC-IME ?
Htc ime...go with every language but it´s a long way....
Start....:
Installation Instructions
1. Install both HTC_IME.apk and Clicker.apk.
2. Rename/remove the file /system/lib/libt9.so (I suggest renaming to libt9bk.so). You need root permissions to do this (the program Root Explorer works great.)
3. Menu -> Settings -> Locale & text. Enable 'Touch Input'.
4. Go to a text field and long-hold until a menu pops up.
5. Select 'Input Method' and then 'Touch Input'
1.1 Download the latest htc ime from here
http://forum.xda-developers.com/showthread.php?t=567294
or here:
http://forum.xda-developers.com/showthread.php?t=661525
2.1 make the system root/write access to change the name of libt9
- open terminal
- type "su"
- type "mount -o remount,rw /system"
... and then I could rename the file w/ Root Explorer (must be root explorer..i think)
3.1 change the language: look here:
http://ostebaronen.dk/changing-htc_ime-language-to-danish/
a bit easier: change to htc ime...go to sms and long press on the input text...now a menu come and you can change....
go in a explorer to: data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml (now visible)--and copy it to sd card...
open the xml and change the language code (like in the link)....copy it over the old one....
please do not change the lang setting in text input settings...(you don´t see a lang in this box now)
i think it was all
edit: for the correct view: change to 120 dpi....and take my corrected dialer:
http://forum.xda-developers.com/showthread.php?t=676102
Now it´s all...i hope
Grah, I killed android.
I wanted to change the dpi to 120 with rogue tools, but It did something wrong and the density got to 160...
I searched on the forum and found a androidupdate for 120 with working wifi, set it and ... no more android boot ... Oo
Since then I tester many android update for 110 or 120 dpi with or without wifi, and I never rebooted...
I guess I'll have to install android again.
For further crashes like this, is there a way to create a backup of the system ? .... hum since I'm on a ext2 partition on the sd card, maybe just copy the file to my pc ?
[EDIT] Since I'm going to reinstall the whole thing, I saw that on Myn's Warm Donut main page there is a 480*320 version downloadable, but it can't work on our phone, can it ?
Sorry Alexander, i'm here again.
1st, I could not use the HTC IME cause I can't do this :
2. Rename/remove the file /system/lib/libt9.so (I suggest renaming to libt9bk.so). You need root permissions to do this (the program Root Explorer works great.)
Click to expand...
Click to collapse
I cant set the folder /system/lib to read/write with Root Explorer, so can't delete the file ... And can't test the keyboard.
2nd, I used this TOPIC to boost the sensitivity of the screen on WinMo and it gets realy more reactive, is there a similar fix on Android ?
You need to use a terminal ie better terminal to make the filesysytem read/write
su "make's you super user"
mount -o remount,rw /system "makes filesystem read write"
you can use Root Explorer to rename now "the safe way" or
rm /system/lib/libt9.so "removes file"
thanks, it's working now !
Sorry, here I am again.
Recently I lost the data connection on my phone, no more internet with edge (or 3g, is there a way to active/see what type of connection is used ?).
I tried rebooting the phone many time, activating and de-activating wifi, bluetooth, airplane mode, nothing.
I saw a "modem" application, where it seems I can disconnect and re-connect the data connection, I says "data already turned on" but there is nothing to do ...
Any idea (again) ?
Can somebody help me ? I tried by changing the connection configuration in wimno before launching harret, activating auto 3G, enabling or disabling the data connection, but nothing work, android doesn't connect anymore on data. The modem application says that data is turned on but i have no IP.
Please help.
ReMix3D said:
Sorry, here I am again.
Recently I lost the data connection on my phone, no more internet with edge (or 3g, is there a way to active/see what type of connection is used ?).
I tried rebooting the phone many time, activating and de-activating wifi, bluetooth, airplane mode, nothing.
I saw a "modem" application, where it seems I can disconnect and re-connect the data connection, I says "data already turned on" but there is nothing to do ...
Any idea (again) ?
Click to expand...
Click to collapse
Have you tried APNDroid...? with this you can set data connecion on off...
just tried apndroid, with the widget on "On", mms "On", notifications "On", de-activate all apn "off", it doesn't change anything.
I tried to de-activate and re-activate the data with apndroid, but nothing.
Will I have to again re-install Android ?
Wow, I got it to work again, I had to re-create an apn with the correct configuration to make it work.
But anyway, thanks for all
[EDIT]Ow no, just one thing, I have the data icon with a "E", it means that i'm connected with EDGE (2G), no ? Is it possible to activate 3G ?
An other question, totally apart, is there a plan to port android 2.2 to polaris. Cause it seams that it is much faster than all other versions.

Android tablet kyros mid 7015 -connect to Adhoc aka WiFi tether

Ok eveyone Here is something that myself and adamdietrick
Worked on for a few hours. The tablet is not to great without the internet
So I been racking my brain trying to figure this out.
So what we need to do first is get a few programs from the market place
The programs you will need are:
HydTech's adhoc wifi <-----Install it onto your phone cost like $.99
This program you might want to test without it first.I seem to be able to kill
the app on my phone and still connect just fine.
WiFi Tether <-----Tested it with this one others might work not sure.
For the purpose of making it easy program on your phone the SSID as
androidtether with the key being 0123456789012
There is a way to edit this but I want to keep it simple.
Next on your Tablet you will need the to install a program called gscript.
This is a free program from the market place.
Once you have done all this the next step is to download the zip file below
Extract the zip file and mount your sdcard on your tablet.
Inside the zip there is folder called gscript place this on the sdcard.
Inside the zip there is 5 files.The adhoc.sh and normal.sh have to stay within the gscript folder.
The other 3 files are named
wpa_supplicant.conf
wpa_supplicant.conf.adhoc
wpa_supplicant.conf.normal
These need to be pushed to /data/misc/wifi
I would recommend using droid explorer and then you can just paste them into
the correct directory.
Once you have this done then open gscript and click the menu button
choose add script The first one I named adhoc and then make sure that needs su is checked. Once this is done choose load file and choose the adhoc.sh file
click on save. Now Do the same steps over but this time when choosing load file choose normal.sh then click save.
Now on the desktop press and hold choose shortcuts and goto gscripts then choose one of the ones that you saved.Repeat this but choose the other one that you created.
One thing I have noticed about this is that it's more than likely best to turn the WiFi off when switching between the 2 types of networks. When switching I also noticed that sometimes it takes a little longer for it to connect to the networks.
Hope this works for everyone.
I'm not having any luck with this fix. I am using a Windows Mobile Phone Touch Pro 2 that has WIFI router installed on it. I noticed that you are using a 13 digit key "0123456789012" where as the windows mobile phone only allows for a 10 digit key with the default of "1234567890". I modified the wpa_supplicant.conf.adhoc to have just the "1234567890" key, but when I choose the adhoc script on the tablet, the wifi (androidtether connection) says obtaining ip address, and then eventually says unable to obtain IP. Is there a way to set a static IP in the WPA supplicant, or force this connection to work? Also I notices that network type is set to auto. My phone uses WEP. I wonder if this is the problem??? Is there a way to force the network type in whe wpa_supplicant.conf.adhoc to have a network type of WEP.
Any help you can provide would be appreciated!!!
By the way, I can tether just fine from any Windows laptop to my phone, so I know the phone is not the problem.
apr24991 said:
I'm not having any luck with this fix. I am using a Windows Mobile Phone Touch Pro 2 that has WIFI router installed on it. I noticed that you are using a 13 digit key "0123456789012" where as the windows mobile phone only allows for a 10 digit key with the default of "1234567890". I modified the wpa_supplicant.conf.adhoc to have just the "1234567890" key, but when I choose the adhoc script on the tablet, the wifi (androidtether connection) says obtaining ip address, and then eventually says unable to obtain IP. Is there a way to set a static IP in the WPA supplicant, or force this connection to work? Also I notices that network type is set to auto. My phone uses WEP. I wonder if this is the problem??? Is there a way to force the network type in whe wpa_supplicant.conf.adhoc to have a network type of WEP.
Any help you can provide would be appreciated!!!
By the way, I can tether just fine from any Windows laptop to my phone, so I know the phone is not the problem.
Click to expand...
Click to collapse
Not sure how much difference it will be for a windows mobile phone compared to android so it might have issues. I had this same issue before getting the
HydTech's adhoc wifi installed on my phone not sure what it does but was told to use it. I can kill it and still get it to connect.
Hi, this directory "/data/misc/wifi/" is on your SD card right?
I tryed on my MID7015.
It kept saying: stderr: /data/misc/wifi/wpa_supplicant.conf.
adhoc: No such file or directory
clmlo said:
Hi, this directory "/data/misc/wifi/" is on your SD card right?
I tryed on my MID7015.
It kept saying: stderr: /data/misc/wifi/wpa_supplicant.conf.
adhoc: No such file or directory
Click to expand...
Click to collapse
no this is a directory on the system.
the directory that needs to be on the sdcard is the gscript.
from the cmd prompt you have to go to the sdk
example === C:\android\android-sdk-windows\tools
then type
adb push wpa_supplicant.conf /data/misc/wifi
adb push wpa_supplicant.conf.adhoc /data/misc/wifi
adb push wpa_supplicant.conf.normal /data/misc/wifi
This should fix the issue
Sorry, I am new to this.. I just got my Coby today... How do you go to command pompt? I try to just drop the file on system using the explorer to /data/ and say I don't have enough permission.
I guess I have to install that SDK?
kyros
Ok I fallowed you guide to the T but I can not see my htc hero on my tablet. My laptop sees it but not my tablet. Help me out. I placed the files in the correct dirctories but no go. My tablet is rooted with z4root temp root a my apps that need root wotk fine, but i cant get this to work. Iam on Android 2.1 on both the tablet and my hero.
You know.. I gave up! After screwing around for hours... I lost my wifi on my pad. It say can not scan for wifi...
I was so freaked out! Finally I hold the Power button and the Home Button on power up. Then hit "Reset and erase all users data". I was managed to get my WiFi back....
Screw it! I can't freaking believe they don't have Ad-Hoc on android! I didn't know until I brought this thing!
I believe Android 2.2 support it? When or will we ever going to get this??? Or someone out there can made an application for this...... it will made our life easier!!
sal1ace said:
Ok I fallowed you guide to the T but I can not see my htc hero on my tablet. My laptop sees it but not my tablet. Help me out. I placed the files in the correct dirctories but no go. My tablet is rooted with z4root temp root a my apps that need root wotk fine, but i cant get this to work. Iam on Android 2.1 on both the tablet and my hero.
Click to expand...
Click to collapse
Ok so you did install Gscript and have both the adhoc.sh and normal.sh in the gscripts folder on the sdcard correct? If so then in the program gscripts
you added the scripts into there I am guessing. If this is the case then
You can do the shortcuts like I explained or you can open the gscript program and click either adhoc or normal. Also did you try it with the hydtech adhoc.
I can not find the HydTech's adhoc wifi in the market Place. I guess without that one the tiwlan.ini is going to be missing. Am I right? I just want ot tether from my IPHONE 3Gs to the COBY KYROS. Do I need the TIWLAN.INI ?
tether
I too would like to be able to tether it with my iphone i know i should have got a droi phone but we were already stuck with an atnt contract
on my tablet i don't have the misc or misc/wifi folders in the data folder...should i create them?
stardawg said:
on my tablet i don't have the misc or misc/wifi folders in the data folder...should i create them?
Click to expand...
Click to collapse
Your using the Coby Kyros 7015
havic said:
Your using the Coby Kyros 7015
Click to expand...
Click to collapse
I'm using a witstech a81e+ with froyo 2.2 1122 version
I tried using astro, es file explorer and andExplorer all with no luck creating the folder
i used z4root to root and add superuser
i have also installed su but don't know how to use it 8^/
stardawg said:
I'm using a witstech a81e+ with froyo 2.2 1122 version
I tried using astro, es file explorer and andExplorer all with no luck creating the folder
i used z4root to root and add superuser
i have also installed su but don't know how to use it 8^/
Click to expand...
Click to collapse
Try Root Explorer. It will show folders that other apps will not.
OK...this was a great learning experience, but without payoff
I rooted my device...gave gscript lite to run as su...copied the conf, adhoc and normal files to the /system/data/misc/wifi folder using adb push commands...modified the adhoc and normal files using droid explorer...and lost ability to connect to any wireless network
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
thought..hmmm...maybe if i use the .conf file droid automagically created it will all work...bump bump bum...DOH!
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
BACK WHERE I STARTED WITH NO ADHOC WIFI
Anyone having an issue with Droid Explorer not seeing your tablet? I even followed the steps Droid Explorer provides in the youtube video.
Edit* I was able to copy the files using Root Explorer, but now when clicking Load File in gscript it doesn't list any .sh files.
Edit #2* Okay, I didn't put the .sh files in the gscript folder that is why they didn't show up.
Edit #3* I think I'm just an idiot, but after everything is installed and now I try to turn on wi-fi, it turns on for a split second, then turns itself off.
stardawg said:
OK...this was a great learning experience, but without payoff
I rooted my device...gave gscript lite to run as su...copied the conf, adhoc and normal files to the /system/data/misc/wifi folder using adb push commands...modified the adhoc and normal files using droid explorer...and lost ability to connect to any wireless network
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
thought..hmmm...maybe if i use the .conf file droid automagically created it will all work...bump bump bum...DOH!
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
BACK WHERE I STARTED WITH NO ADHOC WIFI
Click to expand...
Click to collapse
Just wanted to let everyone know I got this working with WMWifiRouter. It appears my Media Net connection on the Kaiser was configured to use a proxy server (wish I had written down what was cause now its gone). Anyway...there is a setting in WMWifiRouter to enable proxy use. Checked that guy and off I went. Now I've cleared the proxy settings in both the Media Net configuration and the WMWifiRouter. It works...but drains the battery bad Anyone know how to tether a droid 2.2 tablet to a wm6.1 Kaiser on ATT network using a usb cable or bluetooth dun?
stardawg said:
Just wanted to let everyone know I got this working with WMWifiRouter. It appears my Media Net connection on the Kaiser was configured to use a proxy server (wish I had written down what was cause now its gone). Anyway...there is a setting in WMWifiRouter to enable proxy use. Checked that guy and off I went. Now I've cleared the proxy settings in both the Media Net configuration and the WMWifiRouter. It works...but drains the battery bad Anyone know how to tether a droid 2.2 tablet to a wm6.1 Kaiser on ATT network using a usb cable or bluetooth dun?
Click to expand...
Click to collapse
I've been using WmWiFiRouter, though I have a Touch Pro 2. I can't get this working at all. If I try connecting without modifications, it won't connect to IBSS (ad-hoc) connections. If I use the scripts above, it turns Wifi on, then right back off again, or errors in scanning. What did you do differently? Are you using a Coby MID7015?
bluedeer said:
I've been using WmWiFiRouter, though I have a Touch Pro 2. I can't get this working at all. If I try connecting without modifications, it won't connect to IBSS (ad-hoc) connections. If I use the scripts above, it turns Wifi on, then right back off again, or errors in scanning. What did you do differently? Are you using a Coby MID7015?
Click to expand...
Click to collapse
I am using a Witstech A81E running Android Froyo 2.2. Sorry if I've posted in the wrong forum
But I did use the scripts attached in the zip file in the original post to get mine working. You have to make sure to change the SSID to match your WMWifiRouter SSID. For testing, use the default "WMWifiRouter". Here is what my wpa_supplicant.conf.adhoc file looks like
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="WMWifiRouter"
key_mgmt=NONE
mode=1
wep_key0=1234567890
priority=20
}
Click to expand...
Click to collapse
I also had to enable using a proxy in the WMWifiRouter configuration. You have to start up the 3G -> Wifi router first. Then select Options -> Configuration -> Advanced. Then select Profiles -> DNS -> Enable Proxy and set the Enable Domain Name Resolution Proxy setting to Enable.
That's what worked for me

[Q] deprioritizing network blocks in wpa_supplicant; scans forever

I have a hacked device that runs android 2.2
fyi sony reader prs t1.
adb allowed me to fix a wifi encryption setting problem which plagued many other official phones, by editing wpa_supplicant.conf
So now, when I'm in range of that hotspot (office), the network{} block is set right in wpa_supplicant.conf, with priority=2 against my home network priority=1.
But, when I'm at home, it does not connect.
Others have thought it's an issue with setting wireless standbye.
My testing controls for this. With standard wpa_supplicant.conf that is missing this hi security network block, the device scans and reveals all local networks and lets me pick.
With my custom wpa_supplicant.conf, it scans forever and never connects and never even shows a list of local wifi hotspots.
So, it's obviously waiting to discover that far away network, instead of listing it as "out of range".
This only happens after I reboot. If I load an empty wpa_supplicant.conf, turn off and on the wifi, then the local networks come up.
If I then load the custom wpa_supplicant.conf, cycle the wifi, again all shows up as it should.
Upon reboot with the custom conf file, just scans forever.
So, is there a way that I can tell wpa_supplicant to relax or ignore that custom network block entry, if it can't see it?
I want to use my device with the custom wpa_supplicant.conf loaded, everywhere. Not to come home, replace the custom wpa config with an empty one and then put back the custom the config before I go to the office.

Categories

Resources