[Q]wifi ad-hoc network? - Touch Pro2, Tilt 2 Windows Mobile General

hey all anybody out there is able to connect to ad-hoc networks?
its the only thing that keeps me from using android cuz i use my phone as a link to the internet
I tried some stuff posted in other places but it didn't work
thx in advance

So you want to tether the data connection on your phone to your laptop, or the other way around...?
XDAndroid wifi tethering app - that'll allow you to tether your data cxn on your phone to a wifi enabled PC.
If you want the other way around... bleck, not sure.

i don't want to tether my brother uses the computer all the time and im stuck with ad hoc in winmo,
there is a solution all over the internet like this one http://exop.pro/blog/2010/08/15/ad-hoc-support-for-android/
but i don't know if it will support our phones because i don't know how to apply patches
p.s this requires a rooted phone whatever that means

husam666 said:
i don't want to tether my brother uses the computer all the time and im stuck with ad hoc in winmo,
there is a solution all over the internet like this one http://exop.pro/blog/2010/08/15/ad-hoc-support-for-android/
but i don't know if it will support our phones because i don't know how to apply patches
p.s this requires a rooted phone whatever that means
Click to expand...
Click to collapse
XDAndroid is already rooted... Comes that way.
You can try to apply the patch, no clue. Never used it.
So I assume the laptop has a wired internet connection, and it's being shared as an ad hoc connection thru the laptop?
I'd say two choices - try to fiddle with the patch, or just spend $30 and get an actual router

WTF!!!
Definitely go for the router, mate.
You are trying to solve a problem possibly creating a new one, but a hundred times bigger.

tried to mess with my system image by mounting it and replacing the files no luck at all (you will get error when starting wifi);
I should go for a faster internet connection such as wimax that comes with a router
thx for support guys

husam666 or anyone else who got this working,
I saw in another thread you got this working but you didn't say how. I tried to edit my froyo.user.conf but I didn't know what I was doing and it didn't work. Can you tell me how you got it to work? Which file and how to edit froyo.user.conf?
Specifically, I'm running Froyo7 on my Rhodium and trying to connect to an ad-hoc network that is broadcast from another cell phone (a Nokia--so no infrastructure available).
Thanks!

matt300 said:
husam666 or anyone else who got this working,
I saw in another thread you got this working but you didn't say how. I tried to edit my froyo.user.conf but I didn't know what I was doing and it didn't work. Can you tell me how you got it to work? Which file and how to edit froyo.user.conf?
Specifically, I'm running Froyo7 on my Rhodium and trying to connect to an ad-hoc network that is broadcast from my other cell phone.
Thanks!
Click to expand...
Click to collapse
Seems Android doesn't support ad-hoc out of the box, which it seems you already know.
I would much prefer to use a real AP, as opposed to anything adhoc. But that's just me.... What is your other phone? That isn't capable of putting up an actual AP?
lol, just read your sig. If the other phone is the Tytn, I feel your pain.

Actually, I still have the Tytn (still works!), but I'm using a Nokia E71 as my main phone at the moment. Too much of a pain to pop the sim card out when I want to use Android and the Nokia's Joikuspot (equivalent to WMWifi Router) is ad-hoc only.

yeah i got it to work actually, i found drivers somewhere, but sorry dude, it's been a long time and i forgot where

yeah i got it to work actually, i found drivers somewhere, but sorry dude, it's been a long time and i forgot where
Click to expand...
Click to collapse
If you get the time, could you copy the relevant lines out of your froyo.user.conf file?
I've tried two versions of the wpa supplicant I found, wpa_adhoc-signed from http://forum.xda-developers.com/showpost.php?p=7674767 and wpa6_adhoc-signed from another thread.
My guess is I was editing the froyo.user.conf incorrectly.

If there is some way to fix ad-hoc permanently, I wouldn't mind integrating it into the build. If stine is cool with it, it'll get baked into the system image. If he's not... I'll just include it with the bundle .
Let us know if you figure it out.

is it possible (in general) to put it in Infrastructure mode?

AkumaX said:
is it possible (in general) to put it in Infrastructure mode?
Click to expand...
Click to collapse
Not when using WMwifirouter (Windows Mobile) or Joikuspot (Symbian) as the access point. I don't keep my sim card in the Rhodium full time but it's nice to have internet on it when I need it.

Cool, Working!!
OK, I finally got it right. Here's what I did:
Downloaded the wpa_adhoc-signed.zip file from this post: http://forum.xda-developers.com/showpost.php?p=7674767
Copied just the wpa_supplicant file to the root of the sdcard (it's inside of the wpa_adhoc-signed/system/bin folder of that zip file)
Using Notepad++, inserted the following line into the froyo.user.conf file:
mount --bind /sdcard/wpa_supplicant /system/bin/wpa_supplicant see this post: http://forum.xda-developers.com/showpost.php?p=10984380&postcount=1
Here's how the last section of my froyo.user.conf file looks:
# custom shell commands, these commands run last
custom_shells{
chmod 777 /etc/dbus.conf
mount --bind /sdcard/wpa_supplicant /system/bin/wpa_supplicant
#echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch
rm -f /sdcard/fsck*.rec
modprobe ipv6
modprobe xt_owner
modprobe ipt_REJECT
#echo "Hello!!!" # example
#echo "You can create your own commands here" # example
}
Seems to be running nice and stable with my Nokia E71 providing the internet connection using Joikuspot and secured with WEP. Tried switching back to my home network secured with WPA2 and it still works as well.

matt300 said:
OK, I finally got it right. Here's what I did:
Seems to be running nice and stable with my Nokia E71 providing the internet connection using Joikuspot and secured with WEP. Tried switching back to my home network secured with WPA2 and it still works as well.
Click to expand...
Click to collapse
Cool! Looks like this will have to be shoehorned into the system - so it'll have to be something stine accepts. Thanks!

this is what i added to my config file:
Code:
--bind /sdcard/wpa_supplicant /system/bin/wpa_supplicant
i had the wpa_supplicant file in the root of my sdcard
and yeah, the drivers also fixed WEP

husam666 said:
and yeah, the drivers also fixed WEP
Click to expand...
Click to collapse
Damn! Well I guess we're really going to have to find a way to implement those. Awesome... I wish I would've noticed this last time this thread was popular .

arrrghhh said:
Damn! Well I guess we're really going to have to find a way to implement those. Awesome... I wish I would've noticed this last time this thread was popular .
Click to expand...
Click to collapse
lol, i tried to tell you more than once, in different threads, i guess you were busy

husam666 said:
lol, i tried to tell you more than once, in different threads, i guess you were busy
Click to expand...
Click to collapse
Hum... I guess I vaguely remember the adhoc conversations, but I don't recall the WEP ones. At least I didn't realize that they went hand-in-hand...
We probably did talk about it. I've lost a lot of things in the ether... Oh well, I'll try not to forget it next time we're scrambling to do a release .

Related

WIFI Issue

I finally received my HTC desire today. After playing for a while, I found that it has a problem connecting to a hidden WPA2 secured wireless connection. Can anyone share some light with me here??
No probs here, tested with a couple of networks (hidden, of course)...
should install my new Linksys tonite (or on friday), and will post if anything goes wrong with that.
JapanLover said:
No probs here, tested with a couple of networks (hidden, of course)...
should install my new Linksys tonite (or on friday), and will post if anything goes wrong with that.
Click to expand...
Click to collapse
Hidden with WPA2?? impressive....you must be the lucky one!
sorry, WPA
I have the same issue.
I have a Draytek 2820n modem/router and my Desire will only connect to it if the SSID is not hidden (using WPA2 - that's what the router tells me).
Same problem here. At work the wlan is WPA2 with hidden ssid. Google'd the problems, and seems to be a known issue with Android.
Protac said:
Same problem here. At work the wlan is WPA2 with hidden ssid. Google'd the problems, and seems to be a known issue with Android.
Click to expand...
Click to collapse
I had a similar problem, and there is an application on the Market which is supposed to handle this. Sorry, I don't know whether it works, because finally I used SSID broadcast. I think the name was HiddenSSDI Enabler.
Jade_user said:
I had a similar problem, and there is an application on the Market which is supposed to handle this. Sorry, I don't know whether it works, because finally I used SSID broadcast. I think the name was HiddenSSDI Enabler.
Click to expand...
Click to collapse
I've just tried HiddenSSID Enabler on my Desire and it appears to work OK. You need the wi-fi turned on to enable it but you get no indication that it is enabled. I just rebooted (to be sure) and it works. If wi-fi is off when you enter your SSID, it will tell you that it can't find it - which seems logical to me.
Thanks for the tip Jade_user.
Sorry to hijack but it is along the same lines..
When I attempt to connect to my wifi router it gets stuck on Obtaining Address.. So I thought to myself right... set up static IP address for the desire... Connected.. Brilliant... except its not.. can't get on any web pages or any thing else that requires a connection!
I have been able to connect to other wifi spots fine but just doesn't want to seem to work on my router at home! I have checked the settings on the router and all appears to be fine (never had a problem before with any of the multitude of devices that have been connected). Checked the spectrum and the wifi channel appears to be all clear.
The SSID is not hidden, the security is WEP... the router is the stock job sent by O2 (they call it O2 Wireless box II, I forget the real model name but I am pretty sure its a rebranded Thompson..). I have a similar router at another address and it connects fine on that one and both are on ASDL2 lines.
Sorry for the long post but tried to include as much info as possible! Its really annoying not be able to get on the wireless as its a basement flat and phone reception is dire to say the least!!
Many thanks in advance,
Pixie
I have the same issue, phone thinks it is connected to wifi just fine, but no data.
However, after investigating a bit more, it seems that it is the DNS lookups that fails, since in that situation, surfing directly to an ip address works just fine, but not if it requires a dns lookup !?!
Hmmm... I just changed the security to WPA and now it is working fine :S.. still annoying because now we are going to have to change all other devices over.. Might be worth a punt in your case tunedude?
REB1 said:
I've just tried HiddenSSID Enabler on my Desire and it appears to work OK. You need the wi-fi turned on to enable it but you get no indication that it is enabled. I just rebooted (to be sure) and it works. If wi-fi is off when you enter your SSID, it will tell you that it can't find it - which seems logical to me.
Thanks for the tip Jade_user.
Click to expand...
Click to collapse
Can you tell me where in the option there is a feature called "HiddenSSD enabler" just cant seem to find them anywhere. Maybe I am blind, can you share some light???
kuailan said:
Can you tell me where in the option there is a feature called "HiddenSSD enabler" just cant seem to find them anywhere. Maybe I am blind, can you share some light???
Click to expand...
Click to collapse
Have you looked in the Market? It's not a standard option, you need to install it from the Market - just search for HiddenSSID.
REB1 said:
Have you looked in the Market? It's not a standard option, you need to install it from the Market - just search for HiddenSSID.
Click to expand...
Click to collapse
Ya found it, install it...but no effect?? dont even know if the program work. It just have the screen to type the SSD?? and then enable button. I have clicked many times on the button, but nothing happen. In the Wifi setting, I created the name but still it says out of range.
There is nothing wrong with the WIFI, when I broadcast the SSID, it work just fine. Anyway, I give up...I just broadcast them.
Just add MAC filtering as mentioned before - more secure than hidden SSID
EddyOS said:
Just add MAC filtering as mentioned before - more secure than hidden SSID
Click to expand...
Click to collapse
I'm using both - just to make sure.

4G Tethering over WiFi Speed Issues?

Today, I finally tried a proxy server as part of my tethering testing and it seems to have finally unlocked the 4G tether speeds over WiFi. It's certainly not a perfect solution for all situations, but I thought I'd put something here in the general section where some Sense users would be more likely to run across it.
Could someone try this under Sense with 4G over WiFi and let me know if it improves your speeds? I went from being stuck at 0.4Mbps to getting the usual 4G speeds I normally see (anywhere from 2.2Mbps to 10Mbps)!
What you'll need to do is install filterproxy from the Android market (it's free). This will start a proxy server on your EVO. I believe the intended purpose of filterproxy is to block certain sites from your browser on your phone, but only if you browse using the proxy. filterproxy has a side effect allowing the phone to act as a proxy server for other devices that connect to it.
Once you've installed filterproxy, start tethering and connect your computer to the tether. Configure your browser's proxy settings to use your phone as a proxy. The method for changing your browser's proxy settings varies from browser to browser, but here are a few.
Internet Explorer 8:
Click on Tools -> Internet Options -> Connections tab -> LAN settings
Check the box for Use a proxy server and enter the appropriate settings
Firefox:
Tools -> Options -> Network tab -> Settings
Select Manual proxy configuration and enter the address and port in the HTTP Proxy section
Check the box for Use this proxy server for all protocols
Chrome:
Click on the Customize tool icon in the upper right of Chrome and select Options from the menu
Click Under the Hood on the left
Click Change proxy settings
Click LAN settings
Check the box for Use a proxy server and enter the appropriate settings
For the proxy address, you'll need to enter the IP address that your phone is using for its WiFi access point. In CM7 this should be 192.168.43.1. For Android Wireless Tether it can be changed, but by default it is 192.168.2.1 (I think). If you can't find it, open adb shell or terminal emulator and type 'netcfg'. At the bottom you should see something like this:
wl0.1 UP 192.168.43.1 255.255.255.0 0x00001043
The 192.168.43.1 is the address being used for the WiFi access point. The port for your proxy is the port that filterproxy is using. By default it is 8000, but you can change it within the filterproxy app.
NOTE: changing your proxy server settings may prevent your browser from connecting to the Internet whenever you're not tethering. You'll have to check or uncheck proxy boxes or try making different shortcuts like this.
Originally posted here:
http://forum.xda-developers.com/showpost.php?p=11580191&postcount=5319
hey very curious here about this...i get crap speeds when tethering my internet on 4G....like really crappy...i use wireless tether and easytether pro for wired share...i downloaded the app filter proxy...how do i work it ? i am completely confused as to how to set it up etc...if you could help me there i could help test this out...ty
edit: just to let u know ur awesome !!! i live in a 4G area but never got the speeds my phone did while tethering...using ur method i get watever 4G is putting out now...its awesome...anywhere from 3MB to 9MB down speeds...fantastic !!!!!
First off I just want to say, Dees_Troy, you are a freaking Champion! I've been looking around too long for this answer to my prayer! I tried it out your workaround and it worked immediately and it was way too easy! I'm using an Evo 4G and I'm on Fresh 3.5.0.1 (Sense Rom). My speeds were ~.5 MBPS. I just did a speed test (on my pc, not phone) and hit ~3MBPS and now I am streaming and surfing like a crazy person. Thank you so much for posting this workaround!
Tethering worked fine for me...Pretty cool but needs to be faster ha!
I'm running 2.2 on my Evo 4G and this is what i got after doing this:
Before the fix via Speedtest.net:
DL: 66.1
UL: 117.8
After the fix:
DL: 323.9
UL: 85.6
Wrong thread.
Thanked you though for your contribution.
Cool Stuff
Hey this is great to know, I don't have 4g service in my area yet but it did seem to increase my tethering speed regardless. Also learned a little something about proxy settings
any idea how to do this on a Mac? i can't get it to work.
JoshuaD80 said:
any idea how to do this on a Mac? i can't get it to work.
Click to expand...
Click to collapse
Get a PC. Easy Fix ;-)
Just messin with ya a little bit bro, but seriously.
JoshuaD80 said:
any idea how to do this on a Mac? i can't get it to work.
Click to expand...
Click to collapse
Well first go into the safari browser options/tools, then look for lan settings to start with.
Mac Safari/Preferences/Advanced/Proxies/
Can you be very specific for the non-computer/smart phone experts please? There is mention in this post and the original linked post about changing settings...I am not sure how to do that. Is it in the phone settings, the filerproxy settings or on the computer settings?
Sorry to be a newb...
Staffman412 said:
Can you be very specific for the non-computer/smart phone experts please? There is mention in this post and the original linked post about changing settings...I am not sure how to do that. Is it in the phone settings, the filerproxy settings or on the computer settings?
Sorry to be a newb...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=13653126&postcount=159 Slightly more detailed. Can elaborate more if needed.
Nice thread...makes much more sense to me. i have 1 question...item #3 states, "open up terminal emulator..." I have no idea what that means...sorry.
Also, I understand (in theory about the rooting and bricking dangers of rooting a phone, and I am not sure I should do that...due to my obvious lack of skill. It seems like this does not require rooting your phone, or does it?
Thanks for your help (and patience).
Staffman412 said:
Nice thread...makes much more sense to me. i have 1 question...item #3 states, "open up terminal emulator..." I have no idea what that means...sorry.
Also, I understand (in theory about the rooting and bricking dangers of rooting a phone, and I am not sure I should do that...due to my obvious lack of skill. It seems like this does not require rooting your phone, or does it?
Thanks for your help (and patience).
Click to expand...
Click to collapse
Yes and no....to use filterproxy you don't need to be rooted. But you need to be rooted to use terminal emulator [app with root] along with wireless tether [tether without paying the sprint 30$/mo]
If you paid the fee, then you could bypass step 3. Rooting isn't hard if you use unrevoked. I can walk you through it, the whole process takes about 5 minutes, and you can unroot if you ever had to take your phone in for servicing.
Thanks. My only concern is not understanding what I did to my phone and not being able to restore it if needed. You make is sound simple.
I guess what I need is the dummy's guide to how to get free wi-fi, with minimal risks. Is that possible?
Thanks again.
Staffman412 said:
Thanks. My only concern is not understanding what I did to my phone and not being able to restore it if needed. You make is sound simple.
I guess what I need is the dummy's guide to how to get free wi-fi, with minimal risks. Is that possible?
Thanks again.
Click to expand...
Click to collapse
Sure thing. Shoot me a pm, so as we don't bloat this thread. I'd get you rooted and all set up with minimal risks and walk you through it.
when i open up terminal emulator and type in netcfg, it gives me a permission denied error. i've never used this program before, so it's probably something really simple but not sure. i have an evo, rooted, no custom roms. thanks
DP13
dietpepsi13 said:
when i open up terminal emulator and type in netcfg, it gives me a permission denied error. i've never used this program before, so it's probably something really simple but not sure. i have an evo, rooted, no custom roms. thanks
DP13
Click to expand...
Click to collapse
Try typing su before you type netcfg.... example: su netcfg
su means sudouser in linux language
type is su first, now it gives me SU: Permission Denied. like i said im not familar with this at all or linux, but when i type in the SU NETCFG it gives it in all caps. is that the problem? it wont let me type lower case. any other suggestions? Thanks for the help.
edit: my first line when i open up emulator is
$ export PATH=/data/local/bin:$PATH
$
im uninstalling and reinstalling the proxy and emulator now just to try if that makes a difference. plus im a new member so need to wait 5 minutes between posts and edits so its a pain, lol.

[Q] Enterprise Wifi Authentication 802.1x PEAP

Hi all,
I've done a number of searches and tried some of the available solutions for other products (Nook, Galaxy) but can't seem to get this to work on my Galaxy Nexus.
I am trying to connect to our wifi network at the office which uses PEAP authentication. I can set it up fine from a laptop but can't get it to work on the phone. Anyone have it working?
I know this is an older thread, but I am having the same problem at work on my Galaxy Nexus. I tried a few apps that used to work on my other phones (most notably, Marcus95's well-known Wifi Advanced Config Editor), no dice. The app's author mentions he is aware of the issue and will fix it... once he gets enough donations to buy a phone to test his code on. Not a good sign.
Any ideas on manually configuring this? Any ideas are welcome.
My work uses peap and leap for their wifi's
I use a free app called LeapWifi
Its great and works like a charm
contagous said:
My work uses peap and leap for their wifi's
I use a free app called LeapWifi
Its great and works like a charm
Click to expand...
Click to collapse
I'll try it, thanks. If anyone has info on what these apps actually modify on the phone, I would be interested in investigating this further with a programmer buddy of mine.
Finally, no go. This is really annoying, why hasn't Google figured out how to integrate enterprise networking in its wifi management? Why does this work for some phones but not others? Frustrating to say the least.
Ok, I've been digging into this and it seems that the problem has to do with how the wpa_supplicant conf file (normally found under /data/misc/wifi) is written to by apps that support enterprise wifi configuration. As market apps don't seem to help at this point, I tried to manually add a wifi profile to connect to my work network, then checked out the logcat to see what was going on. I found multiple instances of what looks like the following, each line including different frequencies:
Line 327: I/wpa_supplicant(11577): wlan0: Trying to associate with 8c:b6:4f:a7:f1:11 (SSID='MYWORKWIFINETWORK' freq=2412 MHz)
Looks like a connection can't be made and the wifi interface is stuck. So, I checked out the wpa_supplicant file and the part that is specific to my work wifi setup looks like this:
ctrl_interface=wlan0
driver_param=use_p2p_group_interface=1
update_config=1
device_type=0-00000000-0
network={
ssid="MYWORKWIFINETWORK"
scan_ssid=1
key_mgmt=IEEE8021X
auth_alg=OPEN SHARED
eap=TTLS
identity="MYUSERNAME"
password="MYPASSWORD"
phase2="auth=PAP"
wep_key0="hjxfjxg"
priority=4
}
The problem is that when I try to edit key_mgmt to insert WEP and delete the wep_key0 value (as my work network generates keys automatically), there is no connection. This wasn't a problem when using the same method under a Google Nexus One nor an LG G2X phones, using Froyo, Gingerbread or even ICS, only on the GNex.
Is it a conf file syntax problem, or something entirely else at play here? Any insights would be welcome.
Ok, apparently, I'm the only one having this problem.
I am working with a tech support person at my workplace to see what is going on, I'll try to report back when I get some insights on how to fix this.
GenghisKhan67 said:
Ok, apparently, I'm the only one having this problem.
I am working with a tech support person at my workplace to see what is going on, I'll try to report back when I get some insights on how to fix this.
Click to expand...
Click to collapse
Please respond if you've figured this out. My work's authentication settings are very similar to yours. I'm running CM9 and am having the same problem. Thanks!

MTP and Linux mess

I find it unacceptable that a Linux based operating system has so much difficulty connecting/mounting to the most popular Linux package out there (ubuntu). After 3 hours of searching and trying different methods I gave up. Was doing it remotely for a friend in a different state but I doubt that made a difference. Am I missing an easy fix here? I don't want to use androids or whatever that app is. Also gMtp won't allow any transfer gives errors.
Sent from my Thunderbolt using xda premium
loveubuntu said:
Am I missing an easy fix here?
Sent from my Thunderbolt using xda premium
Click to expand...
Click to collapse
Source is available, fix it.
loveubuntu said:
I find it unacceptable that a Linux based operating system has so much difficulty connecting/mounting to the most popular Linux package out there (ubuntu). After 3 hours of searching and trying different methods I gave up. Was doing it remotely for a friend in a different state but I doubt that made a difference. Am I missing an easy fix here? I don't want to use androids or whatever that app is. Also gMtp won't allow any transfer gives errors.
Sent from my Thunderbolt using xda premium
Click to expand...
Click to collapse
Agreed. However, I found that this method worked for me.
There seems to be an issue with copying over an existing file on the android device which throws an error, but if you delete the file on the phone first, then copy all is good.
Not ideal, but a whole lot better than I was expecting!
Hope this helps.
-Barry
I've never liked the idea of USB transfers, plugging in cables is too much like manual labor
You can install an SSH server on your phone and then use sshfs on your PC to connect to it. The real bonus is it's a much better way to get to a terminal on your phone as well.
For really large files you can also transfer using a USB memory stick with the right cable and software.
I barely ever plug my phone in. I use both airdroid and filexpert (both in market) to do web or http file transfers!
Just my preference.
barryflanagan said:
Agreed. However, I found that this method worked for me.
There seems to be an issue with copying over an existing file on the android device which throws an error, but if you delete the file on the phone first, then copy all is good.
Not ideal, but a whole lot better than I was expecting!
Hope this helps.
-Barry
Click to expand...
Click to collapse
link is dead. Also, I don't understand the remedy. Erase the file from the phone? I'm trying to copy it to the phone and have no success. Thanks for your reply.
sd00 said:
I barely ever plug my phone in. I use both airdroid and filexpert (both in market) to do web or http file transfers!
Just my preference.
Click to expand...
Click to collapse
OTA file transfer is fine but requires unlimited data plan. I'm looking for an old fashioned usb connection. I never thought I'd say this but I am just about to "miss" Gingerbread.
Put the device in Camera (PTP) mode and it works fine. Someone correct me if I'm wrong, but I think the only drawback is that you can't transfer files over 4GB?
I see you're running Ubuntu, try this if the above method doesn't work well for you: http://www.omgubuntu.co.uk/2011/12/how-to-easily-mount-the-galaxy-nexus-on-ubuntu-11-10-via-unity/
alexluckett said:
Put the device in Camera (PTP) mode and it works fine. Someone correct me if I'm wrong, but I think the only drawback is that you can't transfer files over 4GB?
I see you're running Ubuntu, try this if the above method doesn't work well for you: http://www.omgubuntu.co.uk/2011/12/how-to-easily-mount-the-galaxy-nexus-on-ubuntu-11-10-via-unity/
Click to expand...
Click to collapse
That seems to be a popular method but was not successful. I was doing it remotely for a friend and will do it again when I see him next month.
Also, the PTP appears not to show the whole 32 GB partition. I can't be sure since I was working on it via teamviewer and did not have my hand on the phone.
I agree with the OP that this is a PITA. In the past I have done the majority of my transfers to my phone via wifi anyway, but transferring HD video to the phone would be considerably faster via a wired connection. I admit that I did not try to hard to get it working after the first few times (most tutorials on the web seem focused on 11.10 and I use 10.04), and have just resorted to wifi transfers.
loveubuntu said:
That seems to be a popular method but was not successful.
Click to expand...
Click to collapse
fyi it worked for me only partially - I can get files off my GN but not on to it - nautilus hung when I tried it
loveubuntu said:
Also, the PTP appears not to show the whole 32 GB partition. I can't be sure since I was working on it via teamviewer and did not have my hand on the phone.
Click to expand...
Click to collapse
MTP and PTP both show only the contents of sdcard/media I suspect this is intended to stop end users breaking their phone.
I've moved to airdroid - it needs to have the computer and the phone on the same wireless network and uses that network, it doesn't use a carrier so shouldn't use any of your data allowance.
I agree it's suboptimal but no-one here is responsible for the decision to make the GN without a fat32 partition.
HeyItsLou has some good for getting MTP working on 11.10. He's pulled the updated source from the 12.04 repos and has a nice tutorial for getting it working. http://ohheyitslou.blogspot.com/2011/12/galaxy-nexus-enable-mtp-file-transfer.html
damn, just use adb push already. or like someone said, a ssh server on the phone. edit config to limit only to a known ip or mac address,
or even better, ask for help in google groups, or check aosp bug tracker. 3hrs to solve or reach a conclusion is nothing.
/me sent this from a i9250 using tapatalk
It is indeed a big mess. I found a tutorial for using it with Fedora here: http://blog.offenders.org/?p=101 (I can't post links yet...)
It involves recompiling the mtpfs drivers, and it still doesn't work 100%.
I've also tried doing a 'reverse tether', i.e. connecting the USB cable and selecting 'Settings/More/Tethering.../USB tethering'. Then (if you run an SSH server on the phone) you can connect using SSH over the USB cable.
Unfortunately it's still a bit clunky, and I frequently find myself connecting to a Windows machine instead, just to avoid the trouble.
Adb push would be OK for me but this is for those I've setup with ubuntu and preached a no "windows" world to. I'll try the airdroid for him but we need a simpler solution. I usually setup these computers as a dual boot of xp/vista/7 and ubuntu 11.04. I guess as it was suggested is better to boot into Windows transfer the files and then get out. Ughhh
Sent from my SHIFTAO5P using xda premium
jhuntdog said:
HeyItsLou has some good for getting MTP working on 11.10. He's pulled the updated source from the 12.04 repos and has a nice tutorial for getting it working. http://ohheyitslou.blogspot.com/2011/12/galaxy-nexus-enable-mtp-file-transfer.html
Click to expand...
Click to collapse
I tried this, but I got some errors saying that it couldn't find the packages at the beginning of his blog post. I tried continuing on (since I saw that I had the packages installed)... the really odd thing is that once in mounts (eventually) and I go into my Nexus folder, the only folder I see is Playlists, and that folder is empty.
EDIT: I got this working. I had to track down the packages and download them to a local folder and install from there. Then I rebooted and ran Lou's script again. I'm seeing all my folders now. If you JUST see "Playlists" it means you don't have the right packages.

[Wifi][0.8][WIP][Testers Wanted]WPA Supplicant 0.8.x

So, I've been messing around with the source for a couple weeks and finally managed to make a wpa_supplicant based on the 0.8.x code which compiles, loads, and seems to connect to the internet.
Do I know why? Not really. I was working on it mostly just to get back into practice with code and I had some knowledge of the wpa supplicant from messing with the ad hoc and multicast. (Both of which mods are not applied to this supplicant as I wanted to keep it simple until it built correctly.)
Anyhow, the stupid thing finally loads and appears to work. And hopefully it'll be compatible with HashCode's new kernel when that has wifi in it.
If anyone is willing to download and see what does/does not work, I'd appreciate it.
This is totally a testing version, not general use. I honestly don't even know what the 0.8.x version of the wifi supplicant is supposed to do better than the 0.6.x version. But it's a higher version, so it must be better, no?
So, here's the download (Updated 4:30pm 9-Apr-12 CDT).
New version appears to fix encrypted networks, so all unknown on what works/doesn't.
jd
To install:
Download the file. I'm assuming you have ADB running and that you you're in the directory you saved the file to. No I'm not going to help with this part.
adb shell cp -a /system/bin/wpa_supplicant /system/bin/wpa_supplicant_06x
adb push wpa_supplicant /system/bin/wpa_supplicant_08x
adb shell chown root.shell /system/bin/wpa_supplicant_08x
adb shell chmod 755 /system/bin/wpa_supplicant_08x
Now shut off the wifi on the kindle
adb shell cp -a /system/bin/wpa_supplicant_08x /system/bin/wpa_supplicant
Now turn on the wifi.
To revert:
Shut off your wifi
adb shell cp -a /system/bin/wpa_supplicant_06x /system/bin/wpa_supplicant
Turn on wifi, or if it will not, then reboot.
jd
Flashable zip?
Or push with ADB?
:EDIT:
Disregard this post, I posted before he posted directions in post #2.
Extra post just in case
Can i haz packet injection?
Krunk_Kracker said:
Flashable zip?
Or push with ADB?
:EDIT:
Disregard this post, I posted before he posted directions in post #2.
Click to expand...
Click to collapse
LOL, I think I was actually writing post 2 as you posted. Since you got in before the second placeholder
There's no new functions in this that aren't in the stock WPA supplicant. I kinda mashed the ti driver against the 0.8.x supplicant code and then snipped off anything that didn't match. That's why I'm not sure what's not going to work.
From all my looking through the WPA supplicant, I haven't seen anyplace where it interacts at the packet level. I believe that's done driver-side. WPA supplicant seems to manage network names and settings only. I had high hopes of finding how the nic decides to roam originally but not even that seems to be accessible.
Sorry, but if you downloaded prior to this post, please download again. I found a problem with connecting to encrypted networks. (Had been using work guest network for testing previously.)
Fortunately it was a not difficult change and so I uploaded new version to fix that known issue.
Thanks again to anyone testing.
jd
jd,
I was only trying to encourage thought around the idea of getting monitor mode / injection working on this driver, and since I have no clue how to make it work myself, I figured I would get those working on the wifi to have a look how to recompile the drivers (hopefully) lol.
can i use root explorer for this?
@d33dvb No worries, I wasn't offended. Just trying to set the bar on what the new supplicant is capable of. Really, it seems to be basic management of the settings needed to connect to a SSID. So I'm really not sure what was added between 0.6 and 0.8 - it's not like the industry added a WPA3 encryption standard or anything. Googling wpa_supplicant 0.8 accomplishes little, I don't seem to find any change log after 0.7.3. Which is listed as current development version.
Anyhow, I'm hoping it's incremental improvements to network management. I already checked it wasn't a magic bullet fix to our multicast initialization bug so I'll have to reapply that fix when I get that far. At the moment I'm trying to use this as an opportunity to learn to use git so I won't have to keep reapplying these patches by hand each new version from CyanogenMod.
@paranoid_android85 I don't see any reason why you couldn't use root explorer to put the file in place if that's what you're comfortable with. I just wrote the instructions using ADB because that's what I'm comfortable with.
Short alternate instructions, somehow make a copy of your current /system/bin/wpa_supplicant. Shut off wifi, replace the wpa_supplicant file with the one in this thread. Match up the file owner and permissions to the original file. Re-enable wifi.
Since I haven't heard from anyone else, I'll go ahead and post my results.
Been running this on my KF for about 3 days and the only real bug I've found is that the network icon remains grey.
I know I've seen it posted before but do not remember where, but can anyone tell me what the thing is checking to switch from grey to blue?
jdommer said:
Since I haven't heard from anyone else, I'll go ahead and post my results.
Been running this on my KF for about 3 days and the only real bug I've found is that the network icon remains grey.
I know I've seen it posted before but do not remember where, but can anyone tell me what the thing is checking to switch from grey to blue?
Click to expand...
Click to collapse
When it's blue, it means it has contacted Googles servers
Sent from my Amazon Kindle Fire using Tapatalk 2
Krunk_Kracker said:
When it's blue, it means it has contacted Googles servers
Sent from my Amazon Kindle Fire using Tapatalk 2
Click to expand...
Click to collapse
Any idea which servers? I receive gmail notifications, app update notifications, etc. I signed into Google talk. All with a still grey network icon.
I had been hoping to find an error in the logs that would indicate what's not happening, but the logs look clean.
So any additional info anyone has on the process would be helpful.
jdommer said:
Any idea which servers? I receive gmail notifications, app update notifications, etc. I signed into Google talk. All with a still grey network icon.
I had been hoping to find an error in the logs that would indicate what's not happening, but the logs look clean.
So any additional info anyone has on the process would be helpful.
Click to expand...
Click to collapse
IIRC, I believe it is for syncing.
Like Google Books. If you read it on your tablet, it uploads the last page read to the sync servers so when you access it from your phone, it will pick up where you left off.
#wpa_supplicant -v
reloc_library[1318]: 1057 cannot locate 'get_rfc3526_prime_1536'...
CANNOT LINK EXECUTABLE
I'm running cm7 on a passion device...

Categories

Resources