●●[ROOTED][GUIDE]Wifi Reverse teTher-Windows and Ubuntu-Ad hoc Networks●● - Android Software Development

●●[ROOTED][GUIDE]Wifi Reverse teTher-Windows and Ubuntu-Ad hoc Networks●●
This guide teaches you to reverse tether your Android phone via WiFi. That is, it allows you to use your Ethernet connection of PC on your Android phone. It is useful for those who do not have WiFi routers and data connection. So if you have unlimited data plan for your computer, why not share the connection with your phone?
I am not the developer of the files supplied
Requirements:-
1.Rooted Phone
2.Wifi enabled Laptop or PC
3.Root explorer or any other application which gives system access
4.File in the attachement
Procedure :-
Phone:
Download Wpa_supplicant.zip and extract "wpa_supplicant" from it, save it on your SD card.
Open Root Explorer, and grant it superuser access when asked for.
Navigate to system -> bin and long press on wpa_supplicant; Select copy, and paste the file into any folder on your SD card.
Now navigate to the file you downloaded, copy it in same way, and paste it back to system -> bin. Note, you might need to mount the system as R/W instead of R/O by pressing a button on the top just before pasting the file.
Reboot.
▬▬Ubuntu (Must work for other Linux Distros too)▬▬:
Open Network Connections
Goto Wireless tab, select add, and set the following:
SSID:
Mode: Ad hoc
Leave other things unchanged, and go to Ipv4 settings tab
Set method to Shared to other computers
Go to Wireless security tab and set Security to WEP 40/128 bit key and set key to a numeric password (or hexadecimal one).
Check the connect automatically box on top of the tabs and press Save.
Your Android phone must now detect this network, and you can establish the connection by using your security key.
▬▬Windows XP, Vista, 7▬▬
Download and Install Connectify from www . connectify.me/download-lite/
Start Connectify Hotspot by giving a name and password to your hotspot and selecting the Ethernet connection to share. Make sure the security type is WEP or Open.
Disable your firewall (Simply adding it to exceptions doesn't work for AVG at least)
Now your phone should be able to see the hotspot and establish the connection using the password set.
Known Issues :
1.Random disconnections (Very less frequency)
2.Disconnections due to screen lock / sleep on laptop
3.For me Security mode does not works
HIT THANKS IF IT WORKED
ENJOY

I think there is an easier way for windows although I cant test it right now.
In network settingfind option to create new network. Create an ad-hoc network.
In start menu search for "network connection".
In network connections, highlight both the network you just created and the network that your internet comes from.
Right click and select bridge networks.
Shouldn't require doing anything to your phone or even being rooted. As I said I havn't tested this but I don't see why it would not work.
Does anyone know if there is a way to reverse tether over USB?

dmobbjr said:
I think there is an easier way for windows although I cant test it right now.
In network settingfind option to create new network. Create an ad-hoc network.
In start menu search for "network connection".
In network connections, highlight both the network you just created and the network that your internet comes from.
Right click and select bridge networks.
Shouldn't require doing anything to your phone or even being rooted. As I said I havn't tested this but I don't see why it would not work.
Does anyone know if there is a way to reverse tether over USB?
Click to expand...
Click to collapse
For USB tethering there are many third party application in play store.
And I have seen in many devices that after creating ad-hoc network also ... the device doesn't gets connected to internet.
Edward Cullen

Even if the network is bridged to a regular internet network?

I guess you missed attaching the files needed. even though they are included in the link in your signature about the same thread in other forum

File attached

dmobbjr said:
Even if the network is bridged to a regular internet network?
Click to expand...
Click to collapse
yeah

thanks mate.......................

Hi
thanks for this. But I downloaded and pasted the wpa_supplicant file in my rooted Galaxy S2 (Wanamlite rom) and I canno't activate the wifi anymore.
Any tips ?
thanks

Related

terminal services client help!

can sum1 please post step by step instructions on how to connect to another computer on a home wireless network, network is 100% would love to get this working!
thanks
Make sure both wifi adapters are ON (both PC and PDA)
1. On your PDA, go to Start->settings->Connections->Network cards
You should find two tabs "Wireless" & "Network Adapters"
2. Click on Add New (in the wireless tab)
3. Give a convinient name, and select "This is a device-to-device (ad-hoc) connection"
4. Complete it by hitting OK
5. Go to "Network Adapters" tab, and choose "tiacxwln Compatible Wireless Ethernet..." adapter
6. Provide a specific IP address (eg. 192.168.1.2) & subnet mask (eg. 255.255.255.0)
7. Press OK to complete it!
8. Now, on your desktop, double click on your wireless connection tray icon, and then click on "Properties" button
9. Double click on "Internet Protocol (TCP/IP)" in the list to get the tcpip properties
10. Select "Use following IP address, and specify an IP (eg. 192.168.1.1) & subnet (eg. 255.255.255.0)
11. Press Ok, and close all dialogs
12. Now, right click on your wireless tray icon and select "View available wireless networks"
13. If you've got all the above steps right, you should find the Adhoc network you created on your PDA (...you should find the name you provided in step 3!)
14. Connect to it, and you have your wifi adhoc connection established!
Now you can do the following -
1. You can browse the contents of your desktop through Resco by setting up a simple Network drive (as long as you have a username and password for a user account on your desktop, it should be pretty straight forward to do it in resco!)
2. You can use Terminal services client
a. Fire up TSC, and type in your computer's name and press connect
(you can find out by right clicking on your "My Computer" icon and then clicking on properties) Eg. "Laptop" (without the quotes)
b. press connect, and you should see a login screen!
c. Enter your username and password that u use on ur desktop, and you should get things rolling Wink
Cheers!
San
ok, don't want to use adhoc, have a netgear dg834g, are the instructions the same for the adhoc, as in the ip setup?
One point to note, at least on my setup...
If I try TSC and enter my servers name it attempts to connect via GPRS,3G. If however I enter the IP address it connects with Wifi perfectly.
Not sure why but I can live with it...
Regards
gooroo said:
One point to note, at least on my setup...
If I try TSC and enter my servers name it attempts to connect via GPRS,3G. If however I enter the IP address it connects with Wifi perfectly.
Not sure why but I can live with it...
Regards
Click to expand...
Click to collapse
My bet would be that your wifi might not be giving you DNS services and your GRPS is.
You would think so, but my laptop and all the other PC's in the house happily connect using TSC to my server using its NAME instead of it's IP. I just thought it was some thing to do with the Universal.
Anyone knows how is possible to set a different port of 3389 default?
I try to write 192.168.1.X:XXXXX but it's impossible..it says The server name is invalid.
Thankx
No one?
Klaus said:
No one?
Click to expand...
Click to collapse
No way to redirect on the client side but you could redirect on the server side with a port forwarding type app. Kind of defeats the purpose of obscuring port 3389 though.
the problem with wifi gprs umts vpn and tsc all relate to the same issues, namely "." in the addresses.
the full stop and name issues usually relate in some way to the "my work" and "internet" designations of your connection types.
to cut a long story short, if you are having difficulty using IP addresses (I have never got a name to work), then place the IP address you are trying to use in the exceptions section of your connection type.
this way, the OS allows the "." in the addressing.
I think the "." issue is not allowed when you are the "my work" connection type, as this is designed or expects to a name for the connection. this is so even if you are using myserver.mydomain.com as the addressing.
if it detects the fullstop, it assumes you want to use the "internet" connection, disconnects what you are looking for and starts using the "internet" designated connection, and if it cant find one uses the 3g/gprs and auto launches.
what a wonderful system, and I dont really fully understand the need for "my work" versus "internet" but it is at operating system level from microsoft, and occurs on all the WM2005 devices as far as I can establish.
if you search on "my work" vpn gprs or similar through the forums, you will find a detailed outline and explanations.
i encountered the problems when trying to use TSC over a VPN over either WIFI or 3G, it simply kept cutting out after 2 seconds, or couldnt find it.
IP addresses are far better, far faster if you can use them and know them, add these into your exceptions as you will find that they rarely change and it should all start coming together.
hasnt been mentioned and dont know if it is different for the m5000 on WM5 (iam using an m1000 with SDIO WIFI)
If i have the PDA Connected on the Wireless network to enable me to connect through TSC i always have to ensure that my work network is selected for both of the two options in Network Management, (start/settings/connections/connections/advanced/select networks)
The top one 'programs that connect to the internet should connect using' is the key one for me, i have an orange gprs connection i need to ensure this has orange gprs or it will not connect, and vise versa if connecting through wireless it has to be My Work Network

[Q] how to set default to only computer to computer or to all available

in my diamond when i enable wifi there is a window popup with list of wifi access points but they are all access points and not adhoc.
my network at home is adhoc but the diamond dont show it. i have to select dismiss and then go to settings connections wifi and select only computer to computer or all available to see my home networks but every time the setting go back to only access point.
how to change defaults? this is really help me.
thank you!!!

Can't reach \\UNC path while on WiFi

This is my premiere post on xda.
I don't seem to figure out how to access my network shares through the HD2 filemanager.
Everytime I try to go to Filemanager\Menu\GoTo\Open path\New Path ... and state something like: \\Server\Share and hit Go. I end up with a stopsign.
"It's not possible to connect" I'm then presented with 2 choices.. "Settings" and "Close"
Heading towards settings brings me to "connections", and I probably have something not quite right there.
I have two sections. My PhoneCompany Internet Settings and "My worknetwork". However I'm only able to play with Modem, VPN or Proxies there. Can't really figure out what to do here.
Anyone with the key to success willing to share this divine knowledge?
I can connect to a share using a UNC path over WIFI with no problem. I don't use the inbuilt file manager, I'm using Total Commander.
I shared a folder on my desktop PC (Windows 7) and the put the path (\\PC-Name\Share-Name\), username and password into the LAN settings in TC and it connected right away.
I use it quite a bit to transfer files to/from PC and phone.
Give TC a go. Linky
You don't need Total Commander at all.
To get File manager to connect to shares over Wifi, do this...
Go to the Settings tab, then touch MENU, All Settings
Touch CONNECTIONS
Touch CONNECTIONS
Touch the ADVANCED tab
Touch SELECT NETWORKS
You will see two separate settings, one for "Programs that connect automatically to the Internet" and one for "Programs that connect automatically to a private network".
You will probably see the top one is set up to connect to your service provider's GPRS (in my case it says "Virgin GPRS").
The bottom one is probaby set to "My Work Network". The problem is, "My Work Network" isn't set up to do anything, it's a dummy setting.
So change it to be the same as the top one, again in my case "Virgin GPRS".
Then touch OK, OK, OK, X
Now you can go into File Explorer and connect to your file shares on your PC, using...
MENU, Go To, Open Path, New Path...
Type in \\servername\sharename
and unless your security is set up wrong, it should connect.
Hope this works for everyone.
Incidentally, when you try to connect, you may find it first connects to your service provider, but then it uses the Wifi. Don't panic!

[Q] wifi Sharing

i followed the below step to create a WIFI hot spot from my windows XP. however my Galaxy TAB don't see the network i created but i can see with other devices and computer is there is a trick to it ?
#
Click to open the "Start" menu, then click to open the Control Panel. In the Control Panel, click on "Network Connections."
# 2
Right-click the Ethernet network connection with which the computer accesses the Internet and click "Properties."
# 3
Click on the "Advanced" tab of the "Properties" dialogue box. Click to mark the box next to "Allow other network users to connect through this computer's Internet connection." Click the "OK" button to close the dialogue box. If a "Local Network" message box pops up with an explanation, click the "Yes" button to proceed.
# 4
Right-click on your wireless connection in "Network Connections." If the connection is disabled, you need to enable it. Right-click again if necessary and choose "Properties" in the right-click menu.
# 5
Select the "Wireless Networks" tab in the "Properties" dialogue box. Click the "Add" button in the "Preferred networks" region of the dialogue. This opens a dialogue box called "Wireless network properties."
# 6
Select the "Association" tab of the "Wireless network properties" dialogue. Type your choice of name for your Wi-Fi network in the "Network name (SSID)" field and check the "This is a computer-to-computer (ad hoc) network" box.
# 7
Ensure that the "The key is provided for me automatically" box at the bottom of the dialogue box remains unchecked.
# 8
Choose "Open" in the "Network Authentication" drop down menu and choose "WEP" in the "Data encryption" drop down menu.
# 9
Type your choice of password in the "Network key" and "Confirm network key" fields.
# 10
Click the "OK" button to save changes and close the "Wireless network properties" dialogue box. Click the "OK" button on the wireless network adapter's "Properties" dialogue box.
Not 100% clear on what you are hoping to achieve. The purpose of the WiFi hotspot function is that the Tab can be used as a WiFi access point, the PCs you connect to the Tab hotspot should be able to see the internet via the Tabs mobile data connection (3G/GPRS). If you achieved this then you had it working correctly. I don't believe there is any functionality intended to let the Tab access data on the PCs connected to its hotspot.
Hey thanks for the reply. I'm sorry i was not clear.
I'm not trying to connect the PC using the Tablet. I'm tryin to coonect the tablet using the PC.
My PC connect to the internet using Wired LAN. i wanna use the the PC WIFI to send my WIRED LAN to the tablet ( Network Sharing )
Thanks again
As standard, Android can't see and won't connect to adhoc networks (which is what your "hotspot" is).
Search these forums for wpa_supplicant.conf, or adhoc, for the solution.
Regards,
Dave
Thanks a bunch guys. one last question. i found a post that talk about this, and have a patch to download. bu im not sure how to download it into the Tablet, and if it will work on the tablet. would that effect my reguler WIFI if i download it ?
Thank s again
mssidah said:
Thanks a bunch guys. one last question. i found a post that talk about this, and have a patch to download. bu im not sure how to download it into the Tablet, and if it will work on the tablet. would that effect my reguler WIFI if i download it ?
Thank s again
Click to expand...
Click to collapse
no, you can use both adhoc mode(pc to tablet connection) and infrastructure mode( access point to tablet) if you do the hack.
you need to be rooted and with root explorer installed on you tablet to achieve the trick.
We almost can do the ad hoc patch - but not quite yet - through clockwork recovery - which is still under development. So what other flashing tool can we use?

Manually Modify Windows 8 Wireless Network Profiles

I ran into a problem today where I entered in some details incorrectly to a hidden wireless network profile and then discovered that MS have removed the Wireless Network Manager so I couldn't delete or correctly configure that network as it would not get listed in the metro wireless interface.
After a bout of searching online I've found that this seems to be a rather common problem that has no real fix to be found.
After digging around on my machine I've discovered the wireless profiles are stored in C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces
where the first sub folders list guids for respective wireless devices on you machine which contains xml files pertaining to the wireless profiles for the respective wireless devices. it seems same to manually delete the files or edit.
Hitsuji666 said:
I ran into a problem today where I entered in some details incorrectly to a hidden wireless network profile and then discovered that MS have removed the Wireless Network Manager so I couldn't delete or correctly configure that network as it would not get listed in the metro wireless interface.
After a bout of searching online I've found that this seems to be a rather common problem that has no real fix to be found.
After digging around on my machine I've discovered the wireless profiles are stored in C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces
where the first sub folders list guids for respective wireless devices on you machine which contains xml files pertaining to the wireless profiles for the respective wireless devices. it seems same to manually delete the files or edit.
Click to expand...
Click to collapse
Or you just right click on the SSID in the Available Wireless Network list and either select Forget this network or View connection properties :silly:
Donny1987 said:
Or you just right click on the SSID in the Available Wireless Network list and either select Forget this network or View connection properties :silly:
Click to expand...
Click to collapse
Not if you mistype the SSID, or your not in range of the router when you wish to modify the profile, or you have multiple profiles that share the same SSID.
Hello,
What you are looking for is managed via the registry now.
Visit This:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
Hope this helps
Think netsh is your friend here...
Sent from my HTC One X using Tapatalk 2
1wayjonny said:
Hello,
What you are looking for is managed via the registry now.
Visit This:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
Hope this helps
Click to expand...
Click to collapse
What a piece of crap...
Remove saved WiFi profiles in Windows 8.1
How to delete a saved WiFi profile in Windows 8.1 (using command line):
1. Open command prompt as administrator
2. (Optional) List saved WiFi profiles:
netsh wlan show profiles
3a. Delete a specific WiFi profile:
netsh wlan delete profile name="your profile name"
or
3b. Delete all saved Wifi profiles
netsh wlan delete profile name=*
Thanks..
Hitsuji666 said:
I ran into a problem today where I entered in some details incorrectly to a hidden wireless network profile and then discovered that MS have removed the Wireless Network Manager so I couldn't delete or correctly configure that network as it would not get listed in the metro wireless interface.
After a bout of searching online I've found that this seems to be a rather common problem that has no real fix to be found.
After digging around on my machine I've discovered the wireless profiles are stored in C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces
where the first sub folders list guids for respective wireless devices on you machine which contains xml files pertaining to the wireless profiles for the respective wireless devices. it seems same to manually delete the files or edit.
Click to expand...
Click to collapse
It Worked! Tried everything from registry to netsh to right click. Was a friends CPU, think his version of windows disables these options I dunno but this did the trick. Thanks.

Categories

Resources