[TOOL] SSH Tethering (no root required) - Android Apps and Games

A few days ago I read about the great Koushik Dutta's ClockworkMod Tether and now, with the last release of SSHDroid (1.9.4+ is required), I want to provide you another alternative to CWM that doesn't require root too: SSH Tethering !
As you probably know, we can use (generally speaking) SSH tunneling to provide a SOCKS proxy for ours application (more info here at the "dynamic port forwarding" paragraph) so, if we could use SSHDroid in this way, we would have a ready to use proxy for "tethering" like the CWM's one!
Advantages:
Doesn't require a separate tethering plan
Not blockable or detectable by carriers
Doesn't require root
Doesn't require to install additional software on your PC
Requirements:
Device drivers installed (99% of you "should" already have that , this is out of the scope of this thread)
SSHDroid or SSHDroidPro (the pro version is not required)
There is no need to write any additional software since we already have all the tools (on all platforms) required to accomplish the job: please note that you don't need to enable USB/WiFi tethering on your device for making this work!
I already packed a ready to use version with all the tools required (Windows only by now), here it is:
SSH Tethering
SSH Tethering + Preconfigured Firefox
Steps:
Extract one of the above packages
Connect your device to the PC with USB
Start SSHDroid on your device (the preconfigured packages assume that you haven't changed the default port): please note that you probably need to disable the option "Require WiFi" in this circumstance.
Open the package directory on your PC and double click on "run_root.bat" or "run.bat" (depending if SSHDroid is running with root privilegies or not)
Wait that the console window disappers and enter the password in putty ('admin' is the default one) once required.
Ready! The proxy is active (the shipped version of putty can be iconized in the tray): you only need to configure an app of your choice for using it (if you are using the "SSH Tethering + Preconfigured Firefox" package, Firefox should automatically start and you can already use it!)
An advanced guide (in particular for Linux and Mac users) will come shortly!

I just wanted to say thank you for putting this together. I've tried this on windows vista and it worked great. Very easy. I'm wondering how I can use this to connect winamp for shoutcast streaming.

Hi can you reupload the one with pre-configured firefox? The multiuploader links no longer work. Thanks.

NguyenHuu said:
Hi can you reupload the one with pre-configured firefox? The multiuploader links no longer work. Thanks.
Click to expand...
Click to collapse
Sorry for the delay, links updated
P.S.: I hadn't the time to write a good guide yet sorry...

Strange, the multiupload links still are bad. It does't load. Can you upload to another file host or directly into xda attachment?

NguyenHuu said:
Strange, the multiupload links still are bad. It does't load. Can you upload to another file host or directly into xda attachment?
Click to expand...
Click to collapse
Links are working here, dunno why aren't for you
I attached the "lite" version in the main topic since the firefox one is too big..

Thanks! Maybe it is blocked in my country (USA). I downloaded the lite version and will try it.
EDIT: When you have time can you provide instructions to configure firefox so we can use our existing firefox install instead of the portable version? thanks!!

NguyenHuu said:
Thanks! Maybe it is blocked in my country (USA). I downloaded the lite version and will try it.
EDIT: When you have time can you provide instructions to configure firefox so we can use our existing firefox install instead of the portable version? thanks!!
Click to expand...
Click to collapse
It's very easy: just set the network configuration with "manual proxy" and socks host = 127.0.0.1, port = 5080.
Here it is what you should get:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope it helps

Thank you, will test it soon.

Also, set your network.proxy.socks_remote_dns to true in firefox. Do this by using about:config.

Thanks. Do any of you know of an easy way to toggle back and forth between these settings in cases where we are at home for example and have real connection and then when we are on the road we can tether?

berserker_devel said:
An advanced guide (in particular for Linux and Mac users) will come shortly!
Click to expand...
Click to collapse
Hey man I really appreciate you doing this but I have some questions.
could you use ssh -L 5080:[email protected]:22 [email protected] to set up a http proxy?
I'm trying to tether my unrooted acer tablet to my rooted evo and I'm running into two issues:
1. no loopback device support in my tablet. It's blocked due to no root access I think...I think.
2. no ssh -D support using terminal in lubuntu 12.04. Although I think I can solve this by adding the openssh package.
Again, thanks so much for this.
---------- Post added at 03:18 AM ---------- Previous post was at 03:17 AM ----------
NguyenHuu said:
Thanks. Do any of you know of an easy way to toggle back and forth between these settings in cases where we are at home for example and have real connection and then when we are on the road we can tether?
Click to expand...
Click to collapse
I know in google chrome you can get proxy switchy! or any proxy switch. Then just click it in the upper right corner. I'm sure firefox has the same add on.

pwhitersxs said:
Hey man I really appreciate you doing this but I have some questions.
could you use ssh -L 5080:[email protected]:22 [email protected] to set up a http proxy?
I'm trying to tether my unrooted acer tablet to my rooted evo and I'm running into two issues:
1. no loopback device support in my tablet. It's blocked due to no root access I think...I think.
2. no ssh -D support using terminal in lubuntu 12.04. Although I think I can solve this by adding the openssh package.
Again, thanks so much for this.
---------- Post added at 03:18 AM ---------- Previous post was at 03:17 AM ----------
I know in google chrome you can get proxy switchy! or any proxy switch. Then just click it in the upper right corner. I'm sure firefox has the same add on.
Click to expand...
Click to collapse
Awesome, will try!

NguyenHuu said:
Awesome, will try!
Click to expand...
Click to collapse
Anytime! Make sure you reply with the results to help others!
I'd like to keep this thread going and get more advanced ssh techniques and information.

pwhitersxs said:
Also, set your network.proxy.socks_remote_dns to true in firefox. Do this by using about:config.
Click to expand...
Click to collapse
Good point pwhitersxs! I forgot to mention that the preconfigured Firefox package has that option set to true

I'm having a hard time getting my evo to ' ssh [email protected]' in lubuntu 12.04. Keep getting permission denied. I tried sudo -i or -s to no avail.
I setup adb and did:
./adb forward tcp: 22 tcp:22
ssh [email protected]
Keep getting permission denied or access denied. Maybe I'll try to setup a key and see if that helps? I'm lost on why it won't connect. Using the package for windows, it works perfectly, just does not want to work in lubuntu.

ok, got it to work. For those who are interested in using this with any variant of ubuntu this is what I did. I'm on lubuntu.
open a terminal:
sudo -i
enter your password
now do a passwd and re-enter your password. the reason I discovered, this is what causes the access denied to localhost. Once I did this step, I no longer got access denied. You may be able to skip this if you have no problem.
now ssh [email protected] to test. enter password and it'll take you to your own computer. this is just to test. If you have a problem, make sure you have openssh and openssh server installed.
---ADB---
follow cyanogenmods guide to install adb. Once downloaded,
cd to directory
./adb*kill-server
sudo ./adb*start-server
./adb*devices
your device should show. If not, check that usb debugging is on. I had an issue with the sdk not downloading properly. Fixed with updating/installing openjdk. else, google it
Now since my ssh droid is on port 24 this is what I did.
./adb forward tcp:24 tcp:24 and forwarded ports
ssh -D 5080 [email protected] -p 24
add proxy anywhere to chrome, add your port which for me is 5080, enjoy.
---CONDENSED LIST OF COMMANDS---
sudo -i
cd /home/user/android-sdk-linux/platform-tools
./adb kill-server
sudo ./adb start-server
./adb devices
./adb forward tcp:24 tcp:24
ssh -D 5080 [email protected] -p 24

Hey,
This seems great and I'd love to use it, but when I try to run "run.bat" it says:
adb server is out of date. killing...
*deamon started successfully*
Then a putty fatal error saying:
server unexpectedly closed network connection
Can I have any help? Running a Win7 machine. Sorry for the newb question...

article
Nice work Berserker. While trying to preconfigure Firefox and mirror it for you I cranked out an article on your SSH Tethering (in addition to another on your daemon apps), check it out: mobilitydigest.com/tether-under-the-rader

Was trying to setup and run from linux, however am getting "error: cannot bind to socket" when entering the adb forward command using default port of 22, I assume due to sshd running.
Switching SSHDroidPro over to 24 per pwhitersxs's example, I am able to bind the ports, and able to run the ssh command, which essentially opens an ssh session to the phone. But am unable to browse the internet at this point (chromium proxy setup - socks 127.0.0.1:5080 as per example in thread above).
[21:48 ] > adb forward tcp:24 tcp:24
[21:48 ] > ssh -D 5080 [email protected] -p 24
SSHDroidPro
/storage/extSdCard #
Note I have key for user root so am not manually entering any password...​
EDIT - DOH nevermind... had wrong socks version selected lol. It's always the small things :banghead:
Once I selected SOCKS 5 everything worked like a champ! Well Done! :good:

Related

X11 "Ported" to Android *implements debian shell and VNC

Yep:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's official you can run X-Windows and your choice of GUI (Gnome, KDE, IceWM etc on an Android device!
Screenshots are below!!
Here are instructions about running X-Windows and more specifically the LXDE Desktop GUI on the G-1.
LXDE is an energy saving and extremely fast and performing desktop solution. It works well with computers on the low end of the performance spectrum such as new generation netbooks and other small mobile computers
While IceWM, performance-wise runs the fastest - LXDE is also pretty good, and just plain 'prettier!
I have included options for either Desktop in the instructions below.
Prerequistes; Debian Shell instructions here: http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=251
Also if your 'debian.img' file is a little small you may want to resize it - instructions here:
http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=1610
You need three basic packages:
From the Android OS:
Download VNCviewer for Android from our repo here:
http://www.androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=16
or from google here:
http://code.google.com/p/android-vnc-viewer/
Now copy the .apk file to your sdcard and then run 'Apps installer' from the Market to install that.
From the terminal, boot your debian shell and then type:
apt-get install tightvncserver (return)
apt-get install lxde (return)
or if you want a really basic desktop use IceWM:
apt-get install icewm (return)
Now you need to setup your vncserver
at the prompt type:
export USER=root (return)
vncserver (return)
This will create an x-windows session and a startup file
in the /root/.vnc/ directory. Vncserver will also ask you to set up two passwrds. You will need the first password to log in, but just say no to the second password.
The next thing to do is to kill the session you just started: vncserver -kill :1
This is so you can edit the startup file to set it up correctly.
go to /root/.vnc
type
nano xstartup
comment out the line for xsession:
#/etc/X11/xsession
add these two lines:
icewm &
lxsession
or if you decided to go for IceWM instead:
icewm &
xterm
save the file (trackball then 'o', and exit nano (trackball then 'x'.
Then restart an x windows session by vncserver ( you should kill it after you are done with x-windows later on).
This next bit does some housekeeping and sets up the VNC service each time you boot your debian shell - saves messing about everytime!
Now back inside your debian prompt you need to edit your /root/.bashrc file
cd /root
nano .bashrc
Add the following near the top of the file:
export USER=root
cd /
rm -r -f tmp
mkdir tmp
cd /
vncserver -geometry 480x320
(this sets your resolution - you can change this if you will be connecting via your computer).
save the file (trackball then 'o', and exit nano (trackball then 'x'.
Type 'exit' to exit the Debian shell.
reboot the phone.
Once rebooted go into Terminal and boot yor Debian shell.
Press the HOME button to revert back to the Android OS while leaving your Debian shell running.
Open androidVNC from your android programs menu.
Connect to 'localhost' port '5901' and enter your password.
Viola, you now have XWindows running on your phone. Obviously you can connect to your phone's new desktop GUI with a VNC viewer from your computer too jsut enter it's ip address instead of localhost.
To make the cursor work with your finger:
Press the MENU button on your device and select 1:1 then just press the trackball ONCE!
Now whenever you want a proper x-windows Desktop GUI right there on your phone, just run the debian shell with 'bootdeb' and it sets up your vncserver. Then just press home to leave it running and get back to your android menu, where you can choose to VNC directly onto it.
Cool eh?
When you are finished just exit androidVNC, if you want to get back to your Debian shell, HOLD DOWN the home key to bring up your running processes and switch to it.
What the heck, you could even install GNOME or KDE but it may be a little slow! I can't be arsed to try it, but if you can, be sure to let us know how it goes.
Your videos and photos of your device running X are welcomed. As usual if you like this, use the SHARE button below.
Click to expand...
Click to collapse
Excellent news!
thanks for sharing this here
so what does this mean exactly?
just a windows-like gui?
what about my android gui? what happens there?
d3rrty1 said:
so what does this mean exactly?
just a windows-like gui?
what about my android gui? what happens there?
Click to expand...
Click to collapse
X11 runs as a daemon (or service) in the background on most *nix machines (android, now included) and windows machines using cygwin, etc.
You can connect to it locally or over the network.
As of yet, there has been no native GUI implementation of the X client on android, but we can now run a VNC server and connect to that (locally on the android phone or over the netowork with a computer, etc) using a VNC client.
So, as-is, this runs independently from your android gui and does not affect it at all.
alapapa said:
X11 runs as a daemon (or service) in the background on most *nix machines (android, now included) and windows machines using cygwin, etc.
You can connect to it locally or over the network.
As of yet, there has been no native GUI implementation of the X client on android, but we can now run a VNC server and connect to that (locally on the android phone or over the netowork with a computer, etc) using a VNC client.
So, as-is, this runs independently from your android gui and does not affect it at all.
Click to expand...
Click to collapse
so it's essentially setting up a "fake" vnc while connecting to it at the same time since it is the local network (i.e. your phone)? do i still have full access to all of my apps?
We've had this in another thread for a month or so now.
d00m said:
We've had this in another thread for a month or so now.
Click to expand...
Click to collapse
Interesting, because this is relatively new public news. Cheers to the spread of knowledge.
gmaster1440 said:
Interesting, because this is relatively new public news. Cheers to the spread of knowledge.
Click to expand...
Click to collapse
that's what i was thinking... i do think d00m meant more along the lines of VNC though... i wasn't asking about VNC, so it is partially my fault for not being clearer... i meant what exactly x11 did/does
gmaster1440 said:
Interesting, because this is relatively new public news. Cheers to the spread of knowledge.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=472204
X11 is Linux's GUI server
I tried to follow along but the instructions to move the busybox.bin to /data/busybox does not work. I read up on the original thread and its instructions to install busybox but it does not work.
I keep getting "/data/busybox is a directory" error msg. Any ideas?
wergeld
Im getting a grey screen in VNC. Anyone know what might be a cause?
Im guessing it has to do with editing those last 2 files. I installed LXDE.
wergeld said:
I tried to follow along but the instructions to move the busybox.bin to /data/busybox does not work. I read up on the original thread and its instructions to install busybox but it does not work.
I keep getting "/data/busybox is a directory" error msg. Any ideas?
wergeld
Click to expand...
Click to collapse
if you have any of jf's modified rcXX images, (which you more than likely do..) you already have busy box nd don't need the other one
Okay. Yes I have JF 1.43 running now.
I went ahead with the rest of the install of the debian image.
I then get to the point where it says to type in "bootdeb" and I do that.
Now I get the ASCII penguin YAY!
But then it gets past the
INIT: Debian booting...
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!
chroot: cannot execute /bin/bash: No such file or directory
....extra umount errors for FUN!
Reverted back to Android console
#
Okay, so now what?
wergeld
Okay. Yes I have JF 1.43 running now.
I went ahead with the rest of the install of the debian image.
I then get to the point where it says to type in "bootdeb" and I do that.
Now I get the ASCII penguin YAY!
But then it gets past the
INIT: Debian booting...
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!
chroot: cannot execute /bin/bash: No such file or directory
....extra umount errors for FUN!
Reverted back to Android console
#
Okay, so now what?
wergeld
K, I have 1.43 running.
I now get an error after I type in "bootdeb":
chroot: cannot execute /bin/bash: No such file or directory.
This error occurs after the penguin ASCII art and the starting of the AutoMounter.
Any ideas?
wergeld
wergeld said:
Okay. Yes I have JF 1.43 running now.
I went ahead with the rest of the install of the debian image.
I then get to the point where it says to type in "bootdeb" and I do that.
Now I get the ASCII penguin YAY!
But then it gets past the
INIT: Debian booting...
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!
chroot: cannot execute /bin/bash: No such file or directory
....extra umount errors for FUN!
Reverted back to Android console
#
Okay, so now what?
wergeld
Click to expand...
Click to collapse
Try
modprobe ext2
then type
bootdeb
That worked for me
now just wondering.. how to remove all of this if i decide to?? remove debian and everything that was installed?
apt-get install error
Whenever I apt-get install any app i get the same "Reading package lists... Error!" "E: Unable to parse packagge file /var/lib....." "E: The package lists or status file could not be parsed or opened."
Any ideas on how to fix?
apt-get update
Smokuevo said:
apt-get update
Click to expand...
Click to collapse
Still getting the same "unable to parse file /var/lib/apt/lists/ftp.de.debian.org_debian_dist_lenny_main_binary-armel_Packages" error

VPN Connections (Cisco VPNC GUI) for BusyBox 1.17.1+

EDIT: The Problem with the "ps" command described below only happens with "newer" Versions of BusyBox. The modified Version works with BusyBox 1.17.1 (confirmed) and most likely with 1.17.0 since they changed "ps" in 1.17.0 (quote from changelog: "ps: fix non-DESKTOP option handling code"). If you have installed an older Version of BusyBox or an older Version is included in your ROM you can get "VPNC Connections" from the market or the developer page. The market Version works with Busybox 1.16 (confirmed) and maybe with older Versions. If you run the original Program or my modified apk with a other Version of Busybox than 1.17.1 or 1.16 it would be nice if you tell me which version works so i can update this posting.
(To check your "BusyBox" Version use adb (command: adb shell busybox) or a Terminal emulator (command: busybox) )
Original posting:
Hey,
First of all i hope its right to post this here and not in "Themes and App" forum. Since i modified the VPN Connections App to work with LeeDroid ROM i think this should be the right subforum since it is a ROM specific APP.
"Prolog"
After messing around with the "VPN Connection app" (get-a-robot-vpnc) i got it working with LeeDroid 2.1/2.1a Rom by editing some code. Since i have almost no idea of coding i'll tell what i modfied (i took some code from the Issue List of google code of get-a-robot-vpnc).
But First:
Min Requirement:
-HTC Desire (rooted)
-LeeDroid 2.1/2.1a ROM
-Knowing what you are doing!
---or----
FroYo Rom with:
-HTC Desire (rooted)
-Busybox (Same Version as in LeeDroid)
-tun.ko (same Version as in LeeDroid)
-Knowing what you are doing!
Why did you edit the code?
1. The App didn't recognize a working connection. After connecting the app tells you that the connection failed, although the vpnc process is running. This is because the "ps" Version of busybox (the one coming with LeeDroid - dont know which version this is atm) isnt compatible with the 0.99 release of VPN connections. (Compare to Issue 122 ) The app checks a working connection with this command:
Code:
ps | grep 'vpnc$'
If i try this though adb shell i dont get any output even if vnc is running. But by using this:
Code:
ps | grep '[v]pnc --script'
I get an output like this (PID might be different):
Code:
6727 0 0:00 /data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach
After editing this part of the code the app recognizes the working connection correctly.
2. Even if vpnc is running properly i still didn't get the IP of the VPN Network (checked with "http://www.whatismyip.com"). This has something to do with IP Tables. After i used this command in "adb shell" (as mentioned inIssue 114, Issue 124 and the LeeDroid Rom thread):
Code:
su
ip ru del table wifi
i got the ip of my Network.
So i changed the vpnc-script coming with the svn revision 140 to this: http://code.google.com/p/get-a-robo...script&token=69c1649b4f4dfa8358813b317d7eda24
I dont knwo if this is still a problem with the ip tables fix for OpenVPN coming with LeeDroid 2.1a (or with the MOD for 2.1) since i didn't try it with that. The modified code works with or without the mod for wifi and gprs so there was no need for me to try it without the changes.
Exact Steps of how i edited the code
As I said i can't code (at least i understand the "ps | grep" command ) and i didnt work with Eclipse or the SDK before (i only used the adb tool). All i did was to include availaible code from the Issue list and created an apk. You can do this yourself following the steps.
1. Have a working Eclipse (mine is 3.5) with SDK Tools for Android and "Google APIs Plattform 2.2 API Level 8). Check here how to install.
2. Download the svn from here
3. Open (svn root dir)/packages/apps/get-a-robot-vpn-fronted/ with eclipse. Do this by making a "New Android Project" and select "create project from existing source". Project name should be changed to "get-a-robot-vpn-frontend" to apply the patch.
4. If you have the following Error in the Problems you might remove it (worked fine for me):
Code:
DialogInterface.OnClickListener(){} must override a superclass method VPNC.java /VPNC2/src/org/codeandroid/vpnc_frontend line 541 Java Problem
As I said: I have no idea of coding and since its code from the original app i just ignored this error. Some who knows what this does might wanna change it or report it to the Issue List .
5. Apply this patch (1.) or this patch (2.). Do this by rightclicking on the Project -> Team -> Apply Patch.
The first patch changes the "ps grep" AND gives you a Notification icon (if notification is enabled in the Options) for a RUNNING connection (not only for disconnects like in the original app).
The second patch only changes the "ps grep". Since its only one line of code you can edit it also by yourself.
6. Modify the "vpnc-script" (/assets/vpnc-script) accordingly to/replace with this version:
This lets the vpnc script do the "ip ru del table wifi/gprs" for you.
7. Export as apk and install it.
8. ???????
9 Profit
Other ROMS than LeeDroid.
I didn't try this (yet) with any other ROM. According to Issue 124 the "ip ru del table wifi/gprs" is an Issue with all FroYo Roms, but i have no idea about the "ps" version of busybox. You can try the following before using my vpnc.apk or building your own:
1. Get the official apk (http://code.google.com/p/get-a-robot-vpnc/downloads/list) (V 0.99) and install it.
2. Create a New VPN Connection.
3. Connect. (dosn't matter if the app tells you the connection failed)
4. Use the following command in "adb shell":
Code:
ps | grep '[v]pnc --script'
If you get an output this version should work for you. If not then the original version may already work and you arent reading this.
5. Use the following command in adb shell (for either wifi of gprs):
Code:
ip ru del table wifi
---or----
Code:
ip ru del table gprs
6. Check your IP to see you are connected through the VPN.
If you get an output in 4. and your IP is correct after doin step 5 this apk should work for you. If you dont get any output on step 4 you might wanna find out what version of "ps" your busybox is using and change the "grep" command accordingly (someone who has more idea of linux then me might be able to help you).
Epilog
I tested the App on Leedroid 2.1 and fresh installed (wipe) 2.1a and it worked as intended. If you try it on an other ROM some feedback would be nice.
Have Fun
melethron
Attachment: The App
YOU SHOULD KNOW WHAT YOU DO BY INSTALLING THIS! I GIVE NO WARRANTY! BEST WOULD BE TO BUILD THE APK YOURSELF ACCORDING TO THIS POST!
http://dl.dropbox.com/u/11091326/Android/vpnc.apk
http://rapidshare.com/files/420985331/vpnc.apk.html
Thanks alot! You saved my day because I can't use the WPA 802.1x enterprise with LeeDroid 2.1a cause HTC forgot to implement the certificate-selection-field in WiFi-settings. So I have to use the VPN server of my university.
That's awsome my friend. I was searching for something like this 3 weeks now cause i need it for my university. I works great on my Custom Rom.
The only glitch is that when in VPNconnections it has a date under my server set up, 1970 and when i connect it say failed to connect.
BUT IT IS CONNECTED even if it says failed. i tried connecting with ConnectBot, BTEP SSH Client and AndFTP and all works perfectly....
Nice job my friend!!!
ROM and "Not connected" Bug
Hey,
@soCram: What ROM do you use? If it's not LeeDroid i can update my posting to add the ROM its working with.
@lambrospower:
lambrospower said:
The only glitch is that when in VPNconnections it has a date under my server set up, 1970 and when i connect it say failed to connect.
Click to expand...
Click to collapse
Do you mean the original VPNconnections (from market or from here ) or the one that i modified and posted here? Because i had exact that problem you described with the original version. Thats the reason i applied the patch and packed the .apk new. It is (as i already said) because VPNconnections uses "ps" to check if "vpnc" is running. (Besides the other problem with the "ip ru del table wifi" stuff)
If you want that Problem to be fixed you can try the following commands in a Terminal (either use "Terminal Emulator" or "Connect Bot") after starting the conncetion:
1.:
Code:
ps | grep 'vpnc$'
2.:
Code:
ps | grep '[v]pnc --script'
You should get an output on one of these 2 commands. The output should look like this (1. Number might be different):
Code:
1234 0 0:00 /data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach /
1. If the 1. command works for you, then get the original version from here or from the market:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. If the 2. command works then the patched version in this thread should work.
3. If you get an output like this:
Code:
sh: ps: command not found
...then you don't have "busybox" and need to install it (don't know how since LeeDroid has it included)
4. Well and if the 1. command works and the original programm is telling you are connected but it doesn't work then it might be because of the ip tables. Then try this (also after you are connected):
for wifi
Code:
ip ru del table wifi
for gprs:
Code:
ip ru del table gprs
If it works then i might pack you a new .apk with the "ip ru ..." fix but without the "ps" patch.
If you have questions go on and ask. It shouldn't be that hard to get it to work proberly, since the bug is only the method "VPNconnection" is using to check if "vpnc" is running.
I can't "code" and im no "pro" but at least i know some "basic shell commands" and can edit that simple part of the code and pack *.apk new, so we might to get i run properly for you.
Btw: Credit for the Programm goes to wmealing and babak.mozaffari. Credit for the "ps patch" goes to nikolas.pooch. All I did was to apply the patch to the code and build the .apk new since the devs don't work on the programm for quite some time and didn't fix the reported issues.
kind regards
melethron
i downloaded the attached vpnc.apk
i get a message with 1...
6829 root 1300 S /data/data.org.codeandroid.vpnc_frontend/files/vpnc
edit: i downloaded the file from code.google and it worked wonders
but what is the
VPN connection
and what VPN Network
my university vpn works when i have both enabled or deisabled the VPN connection.
and with VPN Network connected
Vpnc script
Hey lambrospower
lambrospower said:
i downloaded the attached vpnc.apk
i get a message with 1...
6829 root 1300 S /data/data.org.codeandroid.vpnc_frontend/files/vpnc
Click to expand...
Click to collapse
Ok, then you have a different version of "ps" from your busybox version. Then you don't need to use my modified vpnc.apk. Do the following to fix it:
1. Uninstall my apk.
2. Get the one from the market or the google code page (links/QR in the posting above)
3. Connect (it should tell you now that you are connected, since the original version uses the first "ps grep" command to check the connection)
If everything works fine you are done.
If not and "VPNConnections" tells you that you are connected but the IP doesn't change and you can't use the stuff you need to do with vpn then it's a problem with the ip table (i think this is a general problem with froyo ROMS that is also happening with openvpn but i don't know for sure). To fix this do the following:
4. In terminal
Code:
su
then for wifi:
Code:
ip ru del table wifi
or for gprs
Code:
ip ru del table wifi
if your connection works fine after that command you should replace the vpnc script file:
5. Get the vpnc-script file from here.
6. Push this file with adb to:
Code:
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script
This includes the "ip ru del table wifi/gprs" command in the script so it updates your ip table when you connect and disconnect.
I will update my first posting these days and build a new .apk with only the changes to the vpnc-script file and without the patch that fixes the "ps" issue with some "busybox" versions. I don't have much time atm. So just follow the steps above and it should work.
kind regards
melethron
Edit:
lambrospower said:
edit: i downloaded the file from code.google and it worked wonders
Click to expand...
Click to collapse
Ok. But thats a bit strange since i thought that every froyo ROM has the "ip table" issue. Does your ROM include the "ip table fix" for OpenVPN? Does it disconnect proberly?
lambrospower said:
but what is the
VPN connection
and what VPN Network
my university vpn works when i have both enabled or deisabled the VPN connection.
and with VPN Network connected
Click to expand...
Click to collapse
I just disabled it and i also still can connect. As i said it's not my program and i can't code so i don't really know what it does and if this a bug. I think the devs aren't really active and fix know bugs....
well it's not a bug. I think that VPN Connection is something different than just connecting to the network.
You can disconnect by the vpn network just fine if you just click and hold your network name and choose disconnect. Its the vpn connection setting that i dunno what it is
@lambrospower
I had some issues with "sh" and Samba Server in Lee's Rom (not Lee's fault - i replaced the sh of busybox with the sh in /system/bin). That's why i looked again in the Issue with the "ps" command. The reason the original Version (market/google code) of VPNC Connections works for you is that you use an outdated Version of BusyBox in your Rom (27 January 2010 -- BusyBox 1.16.0 (unstable)) while Lees ROM uses a newer Version (25 July 2010 -- BusyBox 1.17.1 (stable)) (see: busybox.net) .
2 melethron:
Thakns, VPN IPSEC works on Desire like charm with your version of vnpc.apk.

[MOD] Ubuntu *Working On Epic!!* NOW UPDATED TO V1.2 (03/13/2011)

IMPORTANT INFO
First I gotta give a shoutout to KellyLewis3985 because he's helped so much with modding the script to need less work for install, run faster, and have more programs work.
NEEDED!
Must Be ROOTED
1. Busybox (Preferrably the most updated version).
2. Superuser.
3. Android SDK (With knowledge on how to use it).
4. AndroidVNC (Search exactly that in the market. It will say "Android VNC Viewer").
5. Terminal Emulator (Also available in the market).
6. Patience when working with this.
UPDATE!!
Thanks to the persistance of urboy4mbx, we now know a little more information to get it working. While both KellyLewis3985 and myself were running custom ROMS, we didn't think about testing it for the stock build. So due to urboy4mbx's will to get this installed, we now know you MUST have a custom ROM installed. There's probably ways to get it to work on the stock build, but it's going to take a little more work. For now, make sure you have a custom ROM, download, and install the files, and if we got our scripts right, it should boot right up for you.
DOWNLOAD FILE!
NOTE: When you download this zip, you will need to extract it, and inside the extracted folder will be the folder "sdcard", DO NOT!! Place this entire folder in your "ubuntu" folder, simply open it and copy all the files from it to your "ubuntu" folder on your sd card.
Download File...
Ubuntu: Epic Edition v1.2 <---These are the files you will need to run Ubuntu. It will come with "bootlinux", "fsrw", "mountonly", "ubuntu.img", "ubuntu.sh", and "unionfs".
INSTRUCTIONS!
Options For Transferring Files To Phone
First Option...
Your first option of course is the easiest. Simply connect your phone to the computer, and mount your sd card. Once on the sd card, you are going to create a new folder labeled "ubuntu". Open this folder and transfer all the files from the downloaded zip file into this folder. After you have transferred the files to your "ubuntu" folder on the sd card, unmount the sd card, but leave the phone plugged in.
Second Option...
Your second option is "adb push". Here is the command for "adb push" if you cant, or don't feel like mounting your sd card.
First you need to create your destination folder. Do so with this set of commands.
cd C:/sdk/tools (Of course you might have your sdk folder in a different location, just cd to that location)
adb shell
su
cd /sdcard/
mkdir ubuntu
exit
Now you should be back at "C:/sdk/tools", or wherever you have your sdk folder located. Next, you push the files to your folder. In order to push the files, you first need to open the zip folder, and copy all the files into your tools subfolder in the sdk folder. Then push the files with this set of commands.
adb push bootlinux /sdcard/ubuntu
adb push fsrw /sdcard/ubuntu
adb push mountonly /sdcard/ubuntu
adb push ubuntu.sh /sdcard/ubuntu
adb push unionfs /sdcard/ubuntu
adb push ubuntu.img /sdcard/ubuntu
The "ubuntu.img" file may take a little longer, as it is the largest file that needs to be transferred.
NOTE: You cannot have your sd card mounted to use adb. You must be unmounted.
INSTALLATION
1. Ok, first thing you have to do is make sure you're still cd'd to "C:/sdk/tools". Now you need to type "adb shell". You will then most likely be prompted with the symbol "$". To continue, type "su" and the symbol should then change to a "#". NOTE!!!! After adb shell, YOU MUST TYPE "su", or the program will not boot!!!
2. Next you are going to cd into the Ubuntu folder on your sd card. (cd /sdcard/ubuntu) Once in, you're going to type the command "sh ./ubuntu.sh".
After that runs through, the next thing you're going to enter is "bootlinux". Once you get the prompt "[email protected]" you have successfully installed ubuntu on the Epic.
With this new update, there is no need to install any other files, as we have added them into the image file for you so it should do so automatically. If you have issues, let us know and we will try to fix it.
PREPARING YOUR VNC TO LOAD UBUNTU!
NOTE: There is no need to type this into your adb shell. This is for information purposes only, i've displayed the code and it's position at the bottom of this post along with screen shots to show you what it should look like.
With our new update, it's a lot easier to get everything up and running, but we don't have the capability of storing the vnc server to start every time we start up ubuntu, as it was causing issues. Until we get this issue fixed, you have to start the vnc server like this:
rm -rf /tmp/.X*
export USER=root
vncserver -geometry 1280x800 (Or whatever you would like your resolution to be. We have found this to be the nicest so far.)
Ok, at this point, everything should be set up to run.
NOTE: After the initial install of ubuntu on your phone, when you want to get it to start again, all you have to do is go into the terminal emulator, first type "su" to give it superuser permissions, then type "bootlinux", it will run through it's script and give you the "[email protected]" prompt. After you get that prompt, simply type the "rm -rf /tmp/.X*", "export USER=root", and "vncserver -geometry 1280x800" prompts and you can then start vnc again.
All the info you need for vnc will be as follows.
Nickname: "root"
Password: "ubuntu" (This is a set password, so it will be the same for everyone.)
Address: "localhost"
Port: "5901"
Change Log
Version 1.2
-Modified to make it ext4 compatible.
-Modified img to make it a little faster and more stable.
That's really all I had to do for this version, as it was working before.
Version 1.1
-Modified the scripts to run smoother, faster and use less memory while running.
-Added some custom wallpapers.
-Mozilla Firefox now works.
-Modified scripts to make Ubuntu more interactive.
-Modified the .img to install everything needed instead of you having to do it.
Issues
-Firefox randomly closes. Just reopen and restore.
-After using the vncserver Ubuntu doesn't truly shutdown without a reboot. Fix in progress.
-When wanting to start Ubuntu, after initial install, you have to go into the terminal emulator and type "su", then "bootlinux", allow that to complete giving you the "[email protected]" prompt. Then type "rm -rf /tmp/.X*", "export USER=root", and "vncserver -geometry 1280x800" to start the vnc server. After that you can go right into vnc and start Ubuntu up. We ARE currently working on a fix for this issue.
If you have any issues please post. Your input helps us make this better for you.
Here's a couple tricks we picked up.
1. You can use the arrow pad on your keyboard to direct the mouse.
2. If you long press on the screen and keep your finger on it, you can slide the mouse with your finger.
3. Long press on something, is a left click.
4. Double tap on something, is a right click.
5. To get symbols to appear, such as "-", you have to HOLD the function key while hitting the symbol.
And i'm sure there's more, but there's a couple for now.
After the installation and the first time you setup the vncserver. You have to use this command everytime to start the vncserver again.
rm -rf /tmp/.X*
export USER=root
vncserver -geometry 1280x800
New links.
Ubuntu
http://db.tt/4z8uDst
New Scripts.
http://db.tt/lDjNNQn
Were working on a fix for this.
Here is the latest update. I dont know if its going to work for everyone. I suggest creating a folder inside the ubuntu folder to put the scripts you have in. Unzip this and replace the scripts in the ubuntu folder.
Please make a backup.
If you have any issues please post. Your input helps us make this better for you.
Yeah I'm on this as soon as I leave buffalo wild wings.
Sent from my SPH-D700 using XDA App
going to sleep soon for school in the morning, also will try tomorrow. naaao this is epic!
Since this is a full operating system, what are the chances or installing silverlight and being able to stream netflix?
Sent by a little green robot
As Of Right Now, The Internet Is Having Issues On This One, But Kellylewis And I Have Already Scripted Another Version Of Ubuntu And It Is Internet Compatible . We're Running It Now To Get The Bugs Worked Out And Will Have It Up Soon. After That, You Can Try To Download Whatever You Want, Considering It's An OS, And See If It Works... I Have Not Tested Downloading Anything.
The New Ubuntu Will Come As A Update, So Install This One The Way I've Instructed, And The Update Will Simply Replace The Files. The New One Is Faster, Internet Compatible, And Nicer Looking All Together. This One Still Works, But Please Be Patient For The Update. Thanks Everyone.
No matter what I do Im stuck here...
Also, If You Change The Port And It Says "VNC Cannot Connect" Or Something Like That, Back Out To The Terminal Emulator, And Hit "Exit" And "bootubuntu" Again And Change The "localhost" Number Again. Whatever The "localhost" Number, Change The Port Number To Match. Ex: "localhost:4" > "5904", "localhost:7" "5907".
Click to expand...
Click to collapse
I get "VNC connection failed!" on any port.
TIA for any help! thanks.
First, Exit From The Terminal Emulator, And Open It Back Up. Type "su" Then "Bootubuntu" Without Any Other Commands. It Should Boot It Up Still And Then When You Get The Localhost Prompt, Type "Exit" And "Bootubuntu" Again. This Time It Should Come Up Localhost:2 ...As Long As You Copied My Code, It Should Have Put The VNC Server In The Boot File So When Ubuntu Was Booted Up, It Would Automatically Start The Server. Anyways, When You Get "localhost:2" Change Your Port To 5902. Do That And Let Me Know What Happens.
Why Do You Type Like This? It's Really Annoying!
infamousjax said:
Why Do You Type Like This? It's Really Annoying!
Click to expand...
Click to collapse
Because That's How I Type... You Aren't Required To Look At This Thread, So If It Bothers You, Just Hit The Back Button. Otherwise, How I Type Should Be Of No Importance, So If You Want Ubuntu, Run The Script To Get It And You'll Never Have To Worry About How I Type Ever Again. It's Completely Up To You.
most excellent. hooks up without a glitch or a hangup or anything!
is lxde the only desktop you have used? would other replacement desktops work? im not saying lets throw gnome on there...but i wonder how it would run...takes a minute to get used to but runs like a champ!
so could this really the first step and getting the phone to fastboot into a ubuntu partition?
newkidd said:
most excellent. hooks up without a glitch or a hangup or anything!
is lxde the only desktop you have used? would other replacement desktops work? im not saying lets throw gnome on there...but i wonder how it would run...takes a minute to get used to but runs like a champ!
so could this really the first step and getting the phone to fastboot into a ubuntu partition?
Click to expand...
Click to collapse
If you like this one YOUR gonna love the next one. Its so much faster and looks amazing.
infamousjax said:
Why Do You Type Like This? It's Really Annoying!
Click to expand...
Click to collapse
Why would you come in to someones thread that has worked hard to give to the community and bash them? It makes no sense unless your jealous of him. Go whine about something else somewhere else. Thank you and have a nice day.
Here Are Some Screen Shots From The Next Ubuntu Version We're Working On ...Isn't It Gorgeous??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Give Us Some Feedback And Let Us Know What You Think
This guy mr im going to bed. Lol wait until you see what im doing.
Sent from my SGH-T959 using XDA App
I figured for all the skeptics I would put a bad pick up of the next update. Especially when it says drocap2 in it.
Sent from my SGH-T959 using XDA App
KellyLewis3985 said:
Why would you come in to someones thread that has worked hard to give to the community and bash them? It makes no sense unless your jealous of him. Go whine about something else somewhere else. Thank you and have a nice day.
Click to expand...
Click to collapse
SERIOUSLY? THAT IS NOT BASHING HIM. WHEN PEOPLE YELL AND SCREAM BY TYPING IN ALL CAPS IT IS JUST AS ANNOYING, DON'T YOU AGREE? HE WAS JUST POINTING OUT THAT TYPING THE WAY HE DOES IS A PAIN IN THE ASS TO READ. IF YOU CAN'T UNDERSTAND THAT THEN YOU MAY BE RETARDED. JUST LIKE PEOPLE WHO TYPE IN ALL CAPS. THANK YOU.
Sent from my SPH-D700 using XDA App
KellyLewis3985 said:
Why would you come in to someones thread that has worked hard to give to the community and bash them?
Click to expand...
Click to collapse
Because it legitimately detracts from the quality of an otherwise fine thread.
Also, it would be helpful if the landscape screenshots could be rotated so the text is right-side up. Thanks!
Just a noob question before I start... This only runs after you've booted it from the terminal emulator? As in your phone is still running all its original phone software (and by this I don't mean stock software, just phone software in general, custom or otherwise) and this is something you can boot on top of that? Maybe my terminology is wrong here, but that's at least how it appeared to work to me and I just wanted to check! Thanks!
wjsmaggle said:
Just a noob question before I start... This only runs after you've booted it from the terminal emulator? As in your phone is still running all its original phone software (and by this I don't mean stock software, just phone software in general, custom or otherwise) and this is something you can boot on top of that? Maybe my terminology is wrong here, but that's at least how it appeared to work to me and I just wanted to check! Thanks!
Click to expand...
Click to collapse
yeah it pretty much runs as a virtual machine on top of android...i only tested it and everything but android is always running...it grabs data and internet from the phones 3g/4g connection.

Native Arch Linux on Infinity TF700t – v0.9 [JB 4.2]– User Thread

10/15/15 - This project is closed. Lost all files pertaining to the Arch Linux specific install. Kexec thread is still active. Sorry
[FONT=Verdana, sans-serif][FONT=Verdana, sans-serif]Disclaimer: Use at your own risk. You CAN BRICK your device[/FONT]:
[/FONT]9/2/2013
- Wifi still needs to be connected manually.
From Android, download these two packages: netctl and dialog and place in somewhere you can get to from Arch...
In Arch open a terminal and remove the following (I can't remember which was installed so ignore any errors...):
Code:
sudo systemctl stop wicd
sudo systemctl NetworkManager
sudo systemctl disable wicd
sudo systemctl disable NetworkManager
sudo pacman -R wicd-gtk
sudo pacman -R networkmanager
Next install the following:
Code:
sudo pacman -U /pathyousavedto/dialog-1.2_20130523-2-armv7h.pkg.tar.xz
sudo pacman -U /pathyousavedto/netctl-1.3-1-any.pkg.tar.xz
Then each time you login (sorry ), open a terminal and enter:
Code:
sudo wifi-menu wlan0
I'm still trying to figure out what the issue is with wifi...
8/31/2013
Dev work contines again...
- Fixed the DPI issue, in /etc/X11/xorg.conf, add the red to the monitor section
Code:
Section "Monitor"
Identifier "MonitorLVDS"
VendorName "Nvidia"
ModelName "T33 Tegra3"
Option "DPMS" "true"
[COLOR=Red]Option "DPI" "240 x 240"[/COLOR]
[COLOR=Red]#[/COLOR]DisplaySize 218 136
EndSection
You could use 213 if you wanted smaller... I'll fix the font sizes too in the next update.
- Onscreen keyboard in lightdm: edit as root (sudo) /etc/lightdm/lightdm-gtk-greeter, remove red - add blue
Code:
[COLOR=Red]#[/COLOR]keyboard= [COLOR=Blue]xvkbd -secure -geometry 1500x400+250+750[/COLOR]
Looks like you still have to click the Accessibility icon in the top right to make it show though.
8/14/2013
New rootfs is up. Auto-connect wifi is not working. See the Arch wiki Wireless Setup for manual instructions. I left NetworkManager service running (may work for someone?) so be sure to disable it before trying to connect manually. Also I suggest you not install /home to mmcblk0p8, I haven't updated my home files yet.
8/13/2013
I am putting my old rootfs and home files links back up. They "work" (wifi doesn't, I think). I have a rootfs with no auto wifi upped but not tested yet. Maybe tomorrow.
See the Dual-boot Linux on Asus Infinity TF700t thread for beta installers.... Remember to NOT choose /home on mccblk0p8, only in the rootfs!
Development thread is here - Not updated....
[FONT=Verdana, sans-serif]This rootfs is designed for those who are experienced Linux users. If you are not comfortable with or don't know what the command line is, this is not for you.[/FONT]
SUGGESTED Requirements[FONT=Verdana, sans-serif]: TWRP 2.5+ and CROMI 4.X/5 CROMi-Xenogenisis[/FONT] - *NEW*
[FONT=Verdana, sans-serif]Downloads:[/FONT]
[FONT=Verdana, sans-serif]1) rootfs-archtf700t-8-14-2013.tar.lzma[/FONT]
[FONT=Verdana, sans-serif] md5sum dad956c791e54eb1e841db41438601f0[/FONT]
[FONT=Verdana, sans-serif]2) archtf700t-home.tar - /home files for those installing home to Sdcard[/FONT] (Also see below)NOT UPDATED
[FONT=Verdana, sans-serif]3) moreD_cn installer - arch-42-kexec-installer-v0.9.zip[/FONT] (13 Mb)
MD5: 8b4f79b27807f94d8561b83c943e65eeSee Dual-boot thread
I have a modified moreD_cn's installer to allow you to correctly install your /home to SDcard. It is best if you only use this during a fresh install. REMEMBER if you have an existing install you MUST back up your home directory first or you WILL loose your /home files. Once installed you can copy them back.[FONT=Verdana, sans-serif]
Installing:[/FONT]
[FONT=Verdana, sans-serif]1) In Terminal Emulator:
Code:
# su
# mkdir /data/media/linux
2) Copy "[/FONT][FONT=Verdana, sans-serif]installer??.zip"[/FONT][FONT=Verdana, sans-serif] to /sdcard
3) Copy [/FONT][FONT=Verdana, sans-serif][FONT=Verdana, sans-serif]rootfs-archtf700t-8-14-2013.tar.lzma[/FONT] to microsd or SD
4) Boot to recovery
5) NANDROID BACKUP!!!
5) Install "[/FONT][FONT=Verdana, sans-serif][FONT=Verdana, sans-serif]installer??.zip"[/FONT] - It stays at 90% for a while ~20 minutes
6) Enjoy dual-boot Linux Again...[/FONT]
[FONT=Verdana, sans-serif]7) REMEMBER, if you installed /home to anywhere other than in the rootfs (ie mmcblk0p8) and didn't use the modified installer, [/FONT]see roscop2k's excellent Linux tutorial (Thank you roscop2k!)
[FONT=Verdana, sans-serif]When logging in using Pad-Mode (no dock), make sure to tap the password text box TWICE and then tap Focus on the xvkbd.[/FONT]
[FONT=Verdana, sans-serif]Also type your login password carefully, if you make a mistake you will need to reboot... I'm working on it...[/FONT]
[FONT=Verdana, sans-serif]When you do updates for the time being use this – “sudo packer -Syyu --ignore xorg-server,xf86-input-evdev” otherwise you WILL break X[/FONT]
[FONT=Verdana, sans-serif]Highly suggest changing user and root passwords because here they are:[/FONT]
[FONT=Verdana, sans-serif]User:root Password:root[/FONT]
[FONT=Verdana, sans-serif]User:archtf700t Password:archarm[/FONT]
[FONT=Verdana, sans-serif]Thanks again to rabits, roscop2k and others for the help and encouragement![/FONT]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Openbox
[FONT=Verdana, sans-serif]Keyboard remapping layout[/FONT]
Basic rootfs
For anyone daring, here is the plain jane *basic rootfs. You can start a fresh adventure here. Also this will be the base for future patch updating. I will add a short tutorial on getting wireless and touch working soon?...
June 16th, 2013
rootfs-archarm-tf700t.tar.lzma 122mb
I will update this base monthly.
Reserved
Reserved
workdowg said:
[*]accelerated graphics (not using proprietary drivers yet ) - Any suggestions? I have no idea where to start
Click to expand...
Click to collapse
Get the "Linux for Tegra" stuff from NVidia - it includes drivers for X. Or grab them from rabits' Ubuntu image.
_that said:
Get the "Linux for Tegra" stuff from NVidia - it includes drivers for X. Or grab them from rabits' Ubuntu image.
Click to expand...
Click to collapse
I'm working on a PKGBUILD to install them right now... I'll need to do this because Arch is a rolling release and I want to just keep adding to to the original rootfs.
Edit: I have to find a different way to install. I broke my rootfs... My problem is Arch handles things a little different than Ubuntu, so I can't just copy some stuff, it comes from different places. And I'll have to figure that out...
workdowg said:
I'm working on a PKGBUILD to install them right now... I'll need to do this because Arch is a rolling release and I want to just keep adding to to the original rootfs.
Edit: I have to find a different way to install. I broke my rootfs... My problem is Arch handles things a little different than Ubuntu, so I can't just copy some stuff, it comes from different places. And I'll have to figure that out...
Click to expand...
Click to collapse
_that said:
Get the "Linux for Tegra" stuff from NVidia - it includes drivers for X. Or grab them from rabits' Ubuntu image.
Click to expand...
Click to collapse
Got a working rootfs and a backup image... Trying linux4tegra again...
I'm preparing a rootfs image using a modified script from rabits repo... Going to test it installing fresh and see how it goes...
Re: Native Arch Linux on TF700t
workdowg said:
I'm preparing a rootfs image using a modified script from rabits repo... Going to test it installing fresh and see how it goes...
Click to expand...
Click to collapse
Success! My new roots installed it boots I will be uploading to my website tomorrow. I'm on my way to work right now...
Edit: I also got the new Tegra 3 drivers working! Yea!
Sent from my VM "Evo 3D" using 2ʞןɐʇɐdɐʇ .
New rootfs build 0.7
Rootfs is posted for downloading...
Hello,
First, thank you, for your work, archlinux is a nice alternative to ubuntu.
I installed it today, without any problem during install process.
Booted a first time in Arch without the dock, arrived to gdm and has explained i your install doc, i focused the login window then the xvkbd to enter password for archtf700t but it's not returned to login window, no dot or nothing happen once i hit enter. If i type password from xvkbd then clic on log in button, auth fail (Authentification failure).
So then i docked the tf700, this time dot appear on password field, i tried archtf700t password but once password entered i still on gdm screen with "currently logged in" green checked on right of the user name, but i don't log in. Tried then root, once password is typed and confirmed login button became grayed and stay like this forever (wait 5 minutes).
Tried with openbox, Gnome, Gnome Openbox and xfce session, same result.
For archtf700t there's maybe something wrong with home directory, and maybe root isn't allowed to log in by gdm ?
I don't found how to switch to vt1 in order to test terminal log in (considering i never was able to log from gdm thus i never disabled gdm as suggested )
I probably missed something, keep trying.
Thank in advance
Regards
roscop2k said:
Hello,
First, thank you, for your work, archlinux is a nice alternative to ubuntu.
I installed it today, without any problem during install process.
Click to expand...
Click to collapse
Glad to hear it!
Booted a first time in Arch without the dock, arrived to gdm and has explained i your install doc, i focused the login window then the xvkbd to enter password for archtf700t but it's not returned to login window, no dot or nothing happen once i hit enter. If i type password from xvkbd then clic on log in button, auth fail (Authentification failure).
So then i docked the tf700, this time dot appear on password field, i tried archtf700t password but once password entered i still on gdm screen with "currently logged in" green checked on right of the user name, but i don't log in. Tried then root, once password is typed and confirmed login button became grayed and stay like this forever (wait 5 minutes).
Tried with openbox, Gnome, Gnome Openbox and xfce session, same result.
For archtf700t there's maybe something wrong with home directory, and maybe root isn't allowed to log in by gdm ?
Click to expand...
Click to collapse
It seem to be a feature with xvkbd. you have to make sure to click the password line first, then vlick focus button and then click password line again(should have a flashing cursor).
I didn't like Onboard keyboard because it is ugly in gdm, but may have to go back to it for next update...because it works correctly.
I don't found how to switch to vt1 in order to test terminal log in (considering i never was able to log from gdm thus i never disabled gdm as suggested )
I probably missed something, keep trying.
Thank in advance
Regards
Click to expand...
Click to collapse
Keyboard remapping is only happening in X right now, so F keys aren't mapped yet...
Re: Native Arch Linux on TF700t
Links are wrong. I have to fix it in a few hours, when I get to work. It is Ok to use, just the wrong version, 0.7.
Sent from my VM "Evo 3D" using 2ʞןɐʇɐdɐʇ .
workdowg,
First i find why i can't login before (even with keyboard) my microsd inserted in the tablet is formated in ext4, once i remove it, i don't have any authentification failure anymore. Probably the same thing with sdcard port on dock, didn't it ? I'll try this tomorrow.
so the reason why i wasn't able to login with xvkbd before (if we exclude the microsd card issue) is because i don't clicked to passwd field again after pressing focus, my bad so.
root still don't login from gdm (probably disabled for security reason i guess)
archtf700t log in from openbox (don't yet tried other sessions) but just after i still have an empty blue screen (no guys, not the same from Microsoft ...) with xvkbd. I wait several minutes but nothing happen, need to power off the tf700
i'll update with 0.75 tomorrow. By the way, to update i need to restart the installer with the new rootfs image, right ?
One last thing, did you kept e17 in your setup ? should be more handy for tablet style, normally.
Regards.
Re: Native Arch Linux on TF700t
roscop2k said:
workdowg,
First i find why i can't login before (even with keyboard) my microsd inserted in the tablet is formated in ext4, once i remove it, i don't have any authentification failure anymore. Probably the same thing with sdcard port on dock, didn't it ? I'll try this tomorrow.
so the reason why i wasn't able to login with xvkbd before (if we exclude the microsd card issue) is because i don't clicked to passwd field again after pressing focus, my bad so.
root still don't login from gdm (probably disabled for security reason i guess)
archtf700t log in from openbox (don't yet tried other sessions) but just after i still have an empty blue screen (no guys, not the same from Microsoft ...) with xvkbd. I wait several minutes but nothing happen, need to power off the tf700
i'll update with 0.75 tomorrow. By the way, to update i need to restart the installer with the new rootfs image, right ?
One last thing, did you kept e17 in your setup ? should be more handy for tablet style, normally.
Regards.
Click to expand...
Click to collapse
Root login is a no no....
I pulled v0.7.5. I build the wrong rootfs. I was messing around with the new Tegra drivers and got a little mixed up. They didn't work correctly, I need to follow all of the link files.
I have to build and upload it again in the morning/afternoon. E17 worked well. I didn't have the Tegra3 drivers then... I'll definitely try it again. Maybe in .8.0
Sent from my VM "Evo 3D" using 2ʞןɐʇɐdɐʇ .
a few things in my experence so far. first as one the issue of what roscop2k was having where i go to login and it hands with the login greyed out. this happens on both root and the tf700t account. this doesnt happen all the time but it does happen. root login is not disabled i have done it.
roscop2k the blue screen you got with just the keyboard is all openbox gives you. there are no menu bars or anything in the openbox setup you have to right click to get a menu with applications.
the big issue i am having is with date/time. it doesnt remember the date and defaults to like 1999 or something silly and it is making all my ssl connections complain so i have to change it each time i boot and with a dual boot it will prolly happen often as the android side gets better battery life.
i have played around a bit with changing users and stuff it would be cool if there was a way to on the first boot of the image it knows to prompt the user to create an accound so it has the username they like and such. and for some reason the /etc/ssh/ssh_config has the default port set to 12222 is there a reason that is set as the default that i am just not getting.
--jezzirolk
Hi jezzirolk,
Thank for the tip about "blue screen", how did you guess i never used Openbox before ?
ok, get logged as user, start testing environment by installing e17 and walking around.
Re: Native Arch Linux on TF700t
jezzirolk said:
i have played around a bit with changing users and stuff it would be cool if there was a way to on the first boot of the image it knows to prompt the user to create an accound so it has the username they like and such. and for some reason the /etc/ssh/ssh_config has the default port set to 12222 is there a reason that is set as the default that i am just not getting.
--jezzirolk
Click to expand...
Click to collapse
I'll work on a boot user script. Thanks for reminding me about the ports. I forgot I used that...
Time is another story. You need to make sure you set it up. Search the Arch wiki.
Also the REAL new rootfs is up... I triple checked it this time...
Sent from my VM "Evo 3D" using 2ʞןɐʇɐdɐʇ .
Hi workdowg,
0.75 work like a charm.
i'll try to test bluetooth soon, need some mods here (localisation, homedir, etc)
ToDo:
(...)
Install and configure E17 as a third option (v0.8.0??)
Click to expand...
Click to collapse
Openbox looks great, xfce is a bit heavier but comfy too, if people want e17 (like me) or something else, they just have to install it. In previous message i asked if you kept it (e17) because you set it in 0.6.0, that's all. Don't bother you with e17 setup imho.
btw, you should tips people about the space requirement of the setup itself. When you install rootfs from Aroma installer, you need to choose rootfs size, 4Gb should be enough if home is outside i think.
If you've tests to do feel free to ask.
Regards
Re: Native Arch Linux on TF700t - v0.7.9
roscop2k said:
Hi workdowg,
0.75 work like a charm.
i'll try to test bluetooth soon, need some mods here (localisation, homedir, etc)
Openbox looks great, xfce is a bit heavier but comfy too, if people want e17 (like me) or something else, they just have to install it. In previous message i asked if you kept it (e17) because you set it in 0.6.0, that's all. Don't bother you with e17 setup imho.
btw, you should tips people about the space requirement of the setup itself. When you install rootfs from Aroma installer, you need to choose rootfs size, 4Gb should be enough if home is outside i think.
If you've tests to do feel free to ask.
Regards
Click to expand...
Click to collapse
v0.7.9 is up. Many little tweaks for those who aren't as familiar with Arch.
I did add the min requirements in the OP.
Thank for testing...
I'm working on E17. If I can get the Tegra 3 drivers to behave it will probably be my default. I used it on my desktop for a while. Since I got a 8core AMD with 16gb ram and an ssd drive I've been running KDE. It flies on my system...
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
Hi, I have installed Arch Linux but I never used Arch Linux before and I was hoping someone that has got it up and running on their Asus would be willing to write up a noobs guide to installing and setting up the basic items needed.
Thanks.
Alan

[APP][2.2+][ROOT][WiFi] Reaver-GUI for Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reaver for Android v1.30
Reaver-WPS GUI for rooted devices with bcm4329/4330 wifi chipset or working external wifi card.
INFO:
Reaver for Android, short RfA, is a simple-to-use Reaver-GUI for Android devices with monitor-mode support.
It has some very cool features:
Detects automatically WPS-enabled routers.
All Reaver-Settings are accessible from a simple-to-use GUI.
Activates and deactivates Monitor-Mode automatically when needed.
Provides a simple way to connect when Reaver finds the WPA-Key.
External script support
Project status: PRE-FINAL
What does this mean?
There are some features which are not implemented yet.
Developement will continue very soon.​
Installation
Download/install bcmon.apk from HERE and RfA.apk from the bottom of this post. RfA may also download bcmon automatically.
Run bcmon, if it crashes try a second time.
If all runs fine, start RfA. If not, your device may be not bcmon compatible. Please see second post.
After selecting an WPS-enabled router, click on "Test Monitor-Mode".
Now you can use RfA, don't uninstall bcmon.
Steps 1 - 4 are only for the installation, they don't have to be repeated once done.
FAQ:
What is this awesome app actually usefull for?
Well, RfA is able to unveil the actual WPA(2)-Key of many routers within 2 - 10 hours.
WHAT?! I though WPA(2) is safe?
It used to be, but then many router models got WiFi Protected Setup, short WPS, implemeted, which is pretty vulnerable. (Details)
Basically it's a Brute-Force attack with Reaver against a 8 digit pin with 10^4 + 10^3 possibilities.
What is Reaver?
Reaver-WPS is a pentesting tool developed by Tactical Network Solutions.
It attacks WPS-enabled routers and after the WPS-Pin is cracked, it retrieves the actual WPA-key.
Reaver provides only a terminal interface, which is ok for notebooks etc., however it's a pain on Android devices.
Because of this I developed RfA.
Doesn't Reaver requires monitor-mode and so can't work on Android?
Yes, Reaver needs monitor-mode, but thanks to bcmon (or external wifi cards) some Android devices are now monitor-mode capable.​
bcmon compatibility
Developed and tested on: Nexus 7 2012 (Stock 4.3)
RfA *should* work on all devices with bcmon support (Broadcom bcm4329/bcm4330 chipsets)
Simply try by installing bcmon. Don't worry, if something goes wrong a simple reboot should fix everything.
For external wifi cards please see second post.
Tested & works on:
Nexus 7 2012 (Stock 4.3, Cyanogen 9)
Huawei Honour (Cyanogen Mod based ROM)
bcmon does NOT work on:
Samsung Galaxy S3/4/5
HTC One
LG G2
Nexus 4/5
Nexus 7 (2013)​
Credits & used tools:
Monitor-Mode over bcmon.apk:
Omri Ildis, Ruby Feinstein & Yuval Ofir
See: bcmon.blogspot.com
Reaver-WPS:
Tactical Network Solutions
See: code.google.com/p/reaver-wps/​
Disclaimer
Attention: Hacking of networks is illegal without having the permission of the owner! The developer is not responsible for any damage etc. this app could cause.
This software is only intended to show a big security hole, not to be able to surf in the neighbours Wifi​
XDA:DevDB Information
Reaver-GUI for Android, App for all devices (see above for details)
Contributors
SOEDI, bcmon team & Tactical Network Solutions
Version Information
Status: Stable
Current Stable Version: 1.30
Stable Release Date: 2014-07-01
Beta Release Date: 2013-11-04
Created 2013-09-24
Last Updated 2014-09-27
Second Post
If anyone has working Andorid drivers for external Wifi cards, please let me know,
If the layout looks strange on your phone, please send me a screenshot, so I can fix it
I have only a tablet and HD phone (emulator works to slow), so can't test the layout properly.
Usage of custom-scripts
To make RfA less dependent from bcmon, which seems to be dicontinued, I introduced custom monitor-mode-activation scripts.
Please note that those scripts only have sense for you, if you are already able to use monitor-mode on your device. Ether via special firmware for the internel wifi card or a kernel, which properly supports external wifi cards. Those scripts serve only as a "connector" between your wifi interface and RfA.
In order to enable this function you need to open RfA settings, tap on "Monitor-Mode settings" and disable the "Use bcmon" checkbox.
There are 3 different scripts you can specify:
Activation script
This script will be executed in it's own directory.
It should enable monitor-mode and exit.
Example:
Code:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo "rfasuccess"
exit
Click to expand...
Click to collapse
Warm-up script
RfA will read in this script as textfile and execute the commands internally. This is needed to execute reaver in the same terminal session as the script.
It should do all prepartions before Reaver is started. At least it has to cd into the directory where the reaver binary is.
Example:
Code:
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
Click to expand...
Click to collapse
Stop script
This script will be executed in it's own directory.
It should disable monitor-mode and exit.
Code:
#!/bin/bash
svc wifi enable
echo "rfasuccess"
Click to expand...
Click to collapse
Additional Information
You have also to specify your wifi-interface.
The given examples are those scripts, which RfA uses by default when you enable the "Use bcmon" checkbox.
The activation and stop script have to echo "rfasuccess" in order to tell RfA that they were executed properly. With this method you can also implement a sort of error-checking, by returning "rfasuccess" only when everything went fine.
Click to expand...
Click to collapse
Interesting.... nice job.
But better not let this get into the wrong hands, with these Admin Password hacking apps going on, anyone can take over someones router.
Sent from my super rare, old Scroll Excel running Android 2.3 using the offical app.
DOES DAT APP RUN ON DEVICES STILL ROCKIN 2.3?
Great job folks.
But for some reason user mode bcmode do not work well on HTC HD2 and my custom firmware, so I am using system module bcmon which create eth0 monitor interface instead of wlan0 (wifi0).
Can you please add interface selection or auto-detect interface in monitor mode ?
Tnx !
interface support
Hi,
RfA supports wlan0 and eth0 interface.
The problem seems to be the startup script and location of the Reaver binary, which seems to be different on your HD2.
Please describe exactly how you start monitor-mode, so I can update RfA
regards,
SOEDI
SOEDI said:
Please describe exactly how you start monitor-mode, so I can update RfA
Click to expand...
Click to collapse
Ok.
I have downloaded module src code from https://code.google.com/p/bcmon/source/browse/#svn/trunk/bcm4329/driver/src/bcm4329
Compile for my kernel and use with script that switch drivers with:
Code:
insmod bcm4329.ko firmware_path=fw_bcm4329.bcmon.bin
Firmware version is from https://code.google.com/p/bcmon/source/browse/#svn/trunk/bcm4329/fw
After that I can use sniffer like airodump (airodump -i eth0) and aireplay without need to switch monitor mode with airmon.
---------- Post added at 08:01 AM ---------- Previous post was at 07:11 AM ----------
Ahh, I have just researched the problem.
Problem is at enable_bcmon
Code:
./enable_bcmon
error: SIOCGIFFLAGS (No such device)
error: SIOCGIFFLAGS (No such device)
Couldn't find device index: No such device
I have also tried to start reaver with ./reaver -i eth0 -b 90:F6:52:C0:22:9C -c 1 -a -vv -w -S, but old problem with this drivers occurred, failed to associate to AP (it is not range problem, it is old known inject problem with kernel module driver)
Just have to find a way to make new bcmon working.
[/COLOR]Ahh, I have just researched the problem.
Problem is at enable_bcmon
Code:
./enable_bcmon
error: SIOCGIFFLAGS (No such device)
error: SIOCGIFFLAGS (No such device)
Couldn't find device index: No such device
I have also tried to start reaver with ./reaver -i eth0 -b 90:F6:52:C0:22:9C -c 1 -a -vv -w -S, but old problem with this drivers occurred, failed to associate to AP (it is not range problem, it is old known inject problem with kernel module driver)
Just have to find a way to make new bcmon working.
Click to expand...
Click to collapse
Ok, I see where the problem is....
The method to activate Monitor-Mode over bcmon.apk is:
Code:
define some paths
./enable_bcmon
But if you have self compiled modules:
Code:
sh setup.sh
?define tools path?.
Also on the bcmon website they said they fixed injection. Have you installed the newest firmware files and modules?
If you want to use bcmon.apk instead, maybe try to reinstall BusyBox. Some users reported this fixed their problems.
After you got your Monitor-Mode working, post it and I will update RfA.
reagrds,
SOEDI
First of all thank You SOEDI
Finally someone did it.. reaver is on android...
However i find the job of making it functional only half done...
as i understood from reaver forums it works best with wireless cards based on RTL8187 chipsets
in addition on the site of those modded bcmon drivers there is a statement that it doesn't support radiotap (be it mode or whatever) wich reaver seems to require..
so my idea is why not expanding Your application by adding linux kernel driver to support usb OTG (on the go) plugged in the android device's usb port...
search for phrase "android pcap" in google and You'll find it on kismet wireless
sorry for lack of link.. aperently i'd have to write 9 additional posts to post one
there is a source code down on that site too.. and it's monitor mode with no root priviledges..
plus additionally You also could add a functionality to Your gui to choose between built-in card and the one plugged in via USB-OTG to select wich one the gui is going to use..
So.. how about it? it could be mindblowing if You'd suceed
I'd bet You'd probably make a lot of peapole happy out there
sorry 4 my eventual spelling mistakes engilsh is not my native though..
regards
GusT.
Radiotap Headers
Hi,
The new bcmon.apk method supports radiotap headers, tested and worked At least with bcm4330 on Nexus7.
Monitor-Mode over USB-OTG would be cool, but I'm working on 3 other projects, so this will take some time...
At least it's working pretty good for a beta release
For me, the precess stops at "Switching wlan0 to channel 6".
I have a Galaxy S2 (i think it has a bcm4330 chipset) and android 4.2.2
I got stuck on "Waiting for bacon from etc etc.." is it normal?
ElmirBuljubasic said:
I got stuck on "Waiting for bacon from etc etc.." is it normal?
Click to expand...
Click to collapse
typically that means nobody is using the AP at that time
Reaver
Stuck on waiting for beacon:
Usually this is a range problem.
Try to start another attack, maybe on a different router.
Stuck on switching wlan0 to channel....:
The only solution I have is to simply restart the attack.
Usually this fixes the problem...
Hey great job on getting this working! Been waiting for this for a while, the aircrack solutions out there just take too long for a phone to crack through wpa/wpa2.
I'm having some issues though btw im on samsung galazy s2x which has the bcm4330. First off the bcmon starts up and enables monitor mode just fine but when I come to scan networks in reaver it nevers successfully finds any. I've tried to increase scan time and i've enables scan fix but nothing seems to work. I know my device is in monitor mode since i can scan for networks on another app, I can also reveice data packets but it's just not working on here any ideas? thanks awesome work!
The solution is pretty simple:
RfA scans in Managed-Mode, then enables Monitor-Mode and passes the data to Reaver.
So RfA can handle the Monitor-Mode on it’s own, no need to start bcmon first
Simply start RfA with wifi on
regards,
SOEDI
Thanks for the clarification now once I've scanned for networks connections come up like it should but i'm getting a new problem when testing monitoring mode it fails. I believe that this could be because of bcmon since the app doesn't seem to properly install the modded drivers. I could be wrong. I think i'm running into compatibility issues with my rom. I'm using MIUI I'm gonna try cyanogenmod to see if it helps anything.
hi
great work but im having a problem i have a htc wildfire s
evry time i start cracking a network i get (illigal instruction ./reaver wlan....)
and then nothing i think this is from my rom mostly but im not sure
my phone is fully rooted thx in advance
Alright well guess mini was causing problems with it so I guess that's not compatible working great on 4.3
Sent from my SGH-T989 using XDA Premium 4 mobile app
I'm on 09/26 cm 10.2 nightly and using galaxy s2, router is Linksys wrt110. First I wasn't able to get past "switching wlan0 to channel 1"
And if I enabled monitor mode in bcmon before scanning in rfa no router is found. how I got it to work was to scan first and once I found my router i tested for monitor mode. Before starting attack i used home button and then open bcmon and enabled monitor mode ( I had already said yes to install tool on first run), press and held home button and went back to rfa and started attack.
This was the result.
I do have a question though.. This was tested on my own router and my password is set to 0123456789 on the router. So what exactly do I have to enter from the result to connect?
I tried this on Kali as well and I got similar result, can remember if it was exact same.
I tried the WPA psk and the pin as passwords and was not able to connect to router. And my router is set to wpa2. Is that why? I kno this is off topic but I'm curious
Sent from my GT-I9100 using Tapatalk 4 Beta
Wow, seems like RfA has some problems with the S2.
Cool workaround!
Regarding your problem:
The shown WPA PSK is the hash of your real WPA Key.
Sometimes Reaver fails to get the plaintext Key and shows instead the hash.
However, if you use the hash as WPA Key it should work. Had tried this a few times and worked fine
regards,
SOEDI
EDIT:
Of course, you have to use the hash withoud the ' ' as key. Wanted only to mention this
RfA should have shown a Dialog with the Key and a connect button. Did it?

Categories

Resources