[Q] SSH Droid used on a rooted DHD does not work anymore - Android Software/Hacking General [Developers Only]

Hello there!
Thanks to the many useful threads on this forum, I successfully rooted my Desire HD and implemented ad-hoc Wi-Fi support (in order to control my AR-Drone).
Everything went well so far, since I can connect to "non ad-hoc" networks as well as ad-hoc ones.
But I find myself stuck with a problem which I do not know where to start to try and solve it.
See, I think this has to do with the wpa_supplicant (and not wpa_supplicant.conf) file I modified using >this one<, which is the one that allowed me to detect ad-hoc networks.
I used the recent one (the "-v2" file in the thread) and since ad-hoc works fine now, I assume it has been successfully placed into the /system/bin directory.
The problem is, before this manipulation I could SSH my DHD using the very useful SSHDroid, but now, I just can't connect to my phone using SSH anymore, and I do not get why since I can connect from my phone to the Internet using my home's Wi-Fi network, and SSHDroid does not monitor anything wrong and seems to be correctly launching.
I tried uninstalling and reinstalling SSHDroid but the result is the same.
Where should I start to investigate?
Thanks a lot!

Related

G1 connecting to another G1 tether?

I have 2 G1's both are running cyanogenmod 4.2.15.1. One has a data plan, and the other does not, is there any way to connect the non-data G1 to the other through wifi tether? Every time I try, it just doesn't show up as an availiable network to connect.
Ask Google about enabling ad-hoc mode. Or you could tether through Bluetooth PAN:
http://forum.xda-developers.com/showthread.php?t=666988
I didn't try this, but both approaches should work.
Do you have some knowledge on unix systems?
I do remember hearing about Android not being able to connect to any ad-hoc wifi. I am not aware of anyone being able to do it.
Sent from my T-Mobile G1 using the XDA mobile application powered by Tapatalk
mytharak said:
I do remember hearing about Android not being able to connect to any ad-hoc wifi. I am not aware of anyone being able to do it.
Click to expand...
Click to collapse
Then now you are ;-) Many people use ad-hoc mode, there are plenty of howtos in the internet.
I've done it before... I use the WiFi tethering app available through Google Code. The project is Android-WiFi-Tether (sorry, I'm too new to post links). I don't know what app you are using to tether, but check the settings to see if it's got the SSID hidden.
but have you been able to use wifi tether to share the phone's connection with another Android phone? I've never had to, but I do remember hearing about problems with it. Then again it was a while ago and things could have very well changed.
Sent from my T-Mobile G1 using the XDA mobile application powered by Tapatalk
Yes, I have been using that exact version of wifi tether. Iphone, samsung, and blackberry phone can connect, but no matter what I try I just can't get the g1 to even see the connection. I have changed the ssid, enabled WEP encryption, and even changed the channels to no avail............I guess it just wasn't ment to be LOL. I can't even connect using the bluetooth PAN option either
Ehh... again, from the beginning...
It is possible to use both ad-hoc and BT PAN on G1, but they are not supported officially, so you must do some hacking. Wireless Tether for Root does it for you, but it can start server only, not connect to existing networks and I don't know whether there is an app which simplify that second task.
You could try to find some app or howtos about doing it manually - through hacking. As I mentioned before, there are plenty of them in the internet.
Finally...
I would like to thank everyone for the help, I finally got it done, I just had to edit some settings using the terminal. If there is anyone else out there wanting to do the same as me, just search for ...How to connect to Ad Hoc networks using Tmobile G1 Android at hydtechblog"dot com"
Newest CM (5.0.7) sees and connects my Ad-Hoc network normally! :-D
Brut.all said:
Newest CM (5.0.7) sees and connects my Ad-Hoc network normally! :-D
Click to expand...
Click to collapse
yet another reason to get the nexus one, but then again mine does now too LOL
So the client phone can be hacked to be able to recognize and connect to ad-hoc, but this generally requires root access....... correct?
I have been unsuccessful at getting my wife's non-rooted Eris to my rooted Droid.
Sub-Standard said:
So the client phone can be hacked to be able to recognize and connect to ad-hoc, but this generally requires root access....... correct?
Click to expand...
Click to collapse
Yeah, exactly
Also there are patches floating around to add ad-hoc support (to connect to them like to normal AP networks), so maybe some roms have it, but most (all?) of devices just can't use ad-hoc on original rom.
I would have just used wired tether...
Never had a problem with ANY android device I've connected to my g1.
I just like to keep things simplistic in specific situations...
Sent from my HTC Dream using the XDA mobile application powered by Tapatalk

[Q] AD HOC Network

Hey all. I recently installed TnT 2.2 and although everything was working well I am not able to connect to Wifi Tether of Barnacle. I am of the understanding that with TnT 2.2 you can see an Ad Hoc network and it should work well. My issue is that I see that Ad Hoc network off my phone however it just sits in "obtaining address" mode and will not let me connect.
My GTab will connect to my home wifi just fine and I already tried turning everything off and on multiple times. Any suggestions?
jon2332 said:
Hey all. I recently installed TnT 2.2 and although everything was working well I am not able to connect to Wifi Tether of Barnacle. I am of the understanding that with TnT 2.2 you can see an Ad Hoc network and it should work well. My issue is that I see that Ad Hoc network off my phone however it just sits in "obtaining address" mode and will not let me connect.
My GTab will connect to my home wifi just fine and I already tried turning everything off and on multiple times. Any suggestions?
Click to expand...
Click to collapse
I've written multiple writeups on How to connect Adhoc for Android devices and luckily the GTab is one of the easiest... All you need to do is replace the /system/bin/wpa_supplicant with the one in the package in this link;
http://forum.xda-developers.com/showthread.php?t=754961
as the GTab runs v0.5.11 of wpa_supplicant so this is just a direct drop in... then Adhoc connections will show up just like Infrastructure AP only with '*' in front of their name... dynamic just click to connect just like an Infrastructure AP...
Thanks! But...
Thanks for getting back to me so quickly!
I just had a couple more if you don't mind. I read through the thread that you posted. I'm still confused about one thing...so the TnT 2.2 ROM doesn't already have the correct wpsupplicant file because I can view the adhoc running off my Droid Incredible it just will not actually connect? It sits in "obtaining address" mode.
Anyway, I tried the two workarounds I thought I found. First, without copying the new file, I tried using static IP but while using both Barnacle and Wireless Tether from the Android store neither connected.
Second, I tried dumping the wpsupp file from the thread you pointed out however I don't have permission to delete or copy files either through the Root Explorer on my GTab or via my PC. (I did download FTP Server app for the GTab so I have been able to copy and paste files on my GTab via my PC in the past).
I'm sorry for all the confusion. Like I'm sure you've heard many times before, I'm not only new to Android but no the most computer savvy guy out there. Any more help would be greatly appreciated! Thanks!
jtbnet said:
I've written multiple writeups on How to connect Adhoc for Android devices and luckily the GTab is one of the easiest... All you need to do is replace the /system/bin/wpa_supplicant with the one in the package in this link;
http://forum.xda-developers.com/showthread.php?t=754961
as the GTab runs v0.5.11 of wpa_supplicant so this is just a direct drop in... then Adhoc connections will show up just like Infrastructure AP only with '*' in front of their name... dynamic just click to connect just like an Infrastructure AP...
Click to expand...
Click to collapse
TnT Lite 2.2.x has this file already, so something else is going on. I think I added it back in 2.0.2 or 2.0.3.
Hey Roe...
I figured that was the case. I am now wondering if it's something my my Droid Incredible. Like I said, I can view the Ad HOC on my GTab however no matter what I do it simply will not connect after attempting to obtain the address.
I guess I'll keep messing around. If you come across anything let me know!
Thanks again Roe. And by the way, I REALLY appreciate your work on the flash. It works great!!!!
To get my ad hoc working on my droid I had to turn of the access control settings. Barnacle and wireless tether couldn't work with it set. Some builds aren't able to use it. I'm running cyanogen 6.1 on droid 1.
Sent from my GTablet-TnT-Lite using Tapatalk
Thanks
Thanks for the responses guys. I did find a work around though. A guy on another site demonstrated how to hack the Droid Incredible so I can turn on the 3g hotspot already inherent to Android 2.2 without getting charged. It works great! Guess I will have to see if that's the case. Thanks again.

[Q] Tethering Xoom to a TP2

Alright, So I just bought a US Wifi Xoom yesterday and got all the updates up to Android 3.2.. So far so good. Now I'm trying to tether it to my touch pro 2 (windows mobile 6.5). So the first obvious problem I came around was that the Xoom is not able to detect ad-hoc networks. I searched the forums and found that the only way around this was to root the xoom and change some files/settings not something that I am comfortable doing yet with android (I'm an android Noob). The other way around this would be to get the Touch Pro 2 to broadcast the SSID in infrastructure mode and I wasn't able to find any programs that were capable of doing that (I currently have Tom Codon's Wifi Sharing App and ICS Control 0.2.1) So I then went ahead and tried tethering via Bluetooth to find out that the Xoom only supports tethering to NAP devices and my Touch Pro 2 (as of now) is only able to set up a PAN.
Does anyone know of a way to tether these two things together preferable without rooting the Xoom?
If the only way for a Xoom to tether to a Windows Mobile 6.5 device is to root the Xoom, could someone provide me a link to a guide for Noobs rooting the Xoom (I did find the 1 Click app, however I wasn't able to download it.. it was a password protected file on mediafire.com) An app that rooted the device for me would be ideal.
Thanks in advance.
I'm using WMWifiRouter on my Win 6.5 phone (Omnia II - Verizon). You'll need to use the bluetooth tether option. It's not the fastest but it works.
+1 to Bluetooth tether on the wifi router app for Winmo. That would be the only way to do it without rooting the Xoom.
If you do root the Xoom (which is easier than you probably think) you can flash the zip file in my signature (via ClockworkMod recovery) to add ad-hoc connectivity to the Xoom.
This is the best guide for beginners IMHO: http://forum.xda-developers.com/showthread.php?t=1130996
Either way best of luck.
What version of WMwifirouter are you guys using? I know everything before 0.91 is free but I don't know if it supports bluetooth networking.
I use Android myself but a google search lead me to this post on PPC geeks.
"go to settings-connections-wifi-network adapters
then go to remote NDIS HOST
For Bluetooth. go to the "Bluetooth PAN Driver"
use the settings below for Bluetooth tethering to work:
192.168.0.1
255.255.255.0
gateway: leave blank"
Thought it might help if you find a version of wifirouter to use.
mr_wrong_0 said:
I use Android myself but a google search lead me to this post on PPC geeks.
"go to settings-connections-wifi-network adapters
then go to remote NDIS HOST
For Bluetooth. go to the "Bluetooth PAN Driver"
use the settings below for Bluetooth tethering to work:
192.168.0.1
255.255.255.0
gateway: leave blank"
Thought it might help if you find a version of wifirouter to use.
Click to expand...
Click to collapse
I'm assuming the settings-connections wifi network adapators remote ndis host is for the windows mobile phone? I'm done see where remote NDIS Host shows up.
As for the Bluetooth PAN Driver, I tried running the wm6btpan and when I execute it on the phone, I get Error 1062.
I have a TP2 and a Xoom.
I would suggest rooting, flashing CWR and then the ad_hoc enabling patch.
It is quite simple to do, follow the link someone posted above...

[Q] WPA_Supplicant Adhoc mod

I've recently bought one of these Chinese Flytouch3 clone type tablets & gotta say it's not bad at all. The only problem being the lack of mobile connectivity.
I was about to try using the modified WPA_Supplicant file when I discovered that there is already a file called WPA_Supplicant.adhoc already in the system/bin folder as well as a file called WPA_cli.adhoc.
I renamed the standard files to .old & then removed the .adhoc file extensions and lo & behold I can now see & connect to my touch pro 2 that is running xda wifi router.
HOWEVER I have no internet access
The tablet see's the xda router & connects to it, the phone shows that it has a connection from the tablet but thats it I can't get any further.
Tablet is running android 2.2 & with the new WPA_Supplicant.adhoc file in use I can still access my home wifi network.
OK scratch that, after a few connect & disconnects all is working fine.
Tablet is logging on to the xda wifi on the phone and internet access is actually a good speed, seems slightly quicker than on the phone itself actually?
Only thing I have to do is manually reconnect each time, can't get the tablet to remember the wep password & auto connect but thats hardly a biggy.
Maybe others could have a look to see if WPA_Supplicant.adhoc already exists in there devices also?
Also anyone know what the WPA_cli file is for?

[Q] How to setup AdHoc on CM7 or any alternative to a Wifi Router?

Hello!
I recently moved away to a new home and I don't have a wifi router at this time and don't actually need one for just my G3. But still want to try whether any alternative is possible. I stumbled upon what a trick called "AdHoc" but according to the guide, android nativly doesn't support Adhoc (or something like that).
So I am looking for a way to make it work OR any other way to get wifi on my phone. Probably something like reverse tethering.
Thanks!!!
EDIT :: I am also tried using adhoc for myself but, the phone gets stuck on "authenticating" .
So you want to tether your phone to your computer?
I use a program for Connectify to make my own private hotspot using whatever wired connection my laptop has. Its entirely free though probably not the most lightweight or "hack-y" way of doing it.
We had a guide for tethering your PC internet for froyo in which we had to replace WPA supplicant file but it's of no use to you (cm 7)
I myself had tried adhoc of Microsoft but it is way too difficult to configure
You did not mention anything about your PC
If it is from Dell you get a program known as peer net with which you can get wifi in your home. This works with our galaxy 3
Also I think cm7 supports Adhoc as the program mentioned above works flawlessly with it
If it is true then try connectify, virtual router and other programs
If you succeed in configuring wifi be prepared to use the slowest internet speed possible
Sent from my GT-I5800 using XDA

Categories

Resources