[SOLVED] AdHoc Wifi on G3. WORKING! Simplified TUT with Images

Does this work for you?


  • Total voters
    45
Search This thread

jinxskore

Senior Member
May 8, 2011
225
88
Kohima
PLEASE DO NOT MENTION HERE THAT CONNECTIFY, VIRTUAL ACCESS POINT OR ANY OTHER SOFTWARE SAYING THEY ALLOW THIS TOO.
BECAUSE THESE SOFTWARES DO NOT SUPPORT ALL WIFI ADAPTERS AND NEED SPECIFIC OSes IN ORDER TO OPERATE. THIS IS FOR THOSE WHO CAN'T USE OTHER SOFTWARES SUCH AS THOSE MENTIONED ABOVE

*********************************************************

Share your Internet & Transfer files wirelessly with Encryption Support [ROOT ACCESS REQUIRED]


This mod does NOT remove any functionality of the original WiFi.
It only improves over it.
So saying, if this can be implemented by custom Rom devs in their releases/updates, that would be nice :)

Some would wonder why create or modify something which perfectly works on their home Wifi Network. Well, I would say, you wont ALWAYS be in the vicinity of your home network, would you? And when you are in a place where there are only wired means of internet access and no Wireless Access Points, what do you do? Ofcourse, you may be able to connect your laptop to the wired LAN in that area.
And share this wired internet to other wireless devices through its Wifi adapter with the exception of your Android Phone. Why? Because, Android DOES NOT support adhoc wireless networks.

OK. Lets get down to business and get this working. Just follow the steps and you will be just fine. To avoid any complications, please first try with exact settings.
****************************************************************
Download the modded wpa_supplicant file

Flash the mod via CWM.

If CWM is not on your phone, please try the following:
Extract contents of "wpa_supplicant.zip". From the extracted files/folders, find wpa_supplicant (FILE) and copy it to SDCard.
On Phone, with Root Explorer, copy "wpa_supplicant" file to /system/bin and replace original file :)
(Note that Root Explorer have to be in RW mode. Toggle the top right button to switch between RW & RO)

*PLEASE BACK UP YOUR ORIGINAL "/system/bin/wpa_supplicant" just in case...*

You are now done with modding part. Only proper settings remain. :D

****************************************************************
On Your Computer (Windows XP, for other OSes, please see links below)

1) Start>Control Panel>Network Connections
2) Right Click "Wireless Network Connection"
3) Select Properties

01WirelessNetprop.jpg


4) Select Internet Protocol (TCP/IP)>Properties

02TCPprop2.jpg


5) Set details as in picture and press OK
6) You will be back to Wireless Network Connection properties. Select the Wireless Networks TAB

03WirelessNetTAB2.jpg


7) Press Add button

04PreferredNetwork.jpg


8) Set details as in picture and press OK (ofcourse, Network key may differ) :D

9) Press OK

Note: Restart Whenever Needed

****************************************************************
On Your Galaxy 3 (Phone-side configuration will be same regarless of which OS/platform you use)

1) Menu>Settings>Wireless and network>Wi-Fi settings

01SC20110718-222424.png


2) Menu>Advanced

02SC20110718-222443.png


3) Check Use static IP and Set details as in picture
4) Menu>Save
5) Turn on Wi-Fi

03SC20110718-222526.png


6) Now You can see the network we have created on the computer

04SC20110718-222548.png


7) Press on it and select Connect.
8) Voila!!! We have connection to an Ad-Hoc network. No router!!!

****************************************************************
SHARE Internet Connection:
Start>Control Panel>Network Connections
Right Click the connection which have internet access and select
Properties>Advanced
Under Internet Connection Sharing, check Allow other network users to connect through this computer's Internet connection

To do file manipulation on Phone's SDCard, download:
SwiFTP FTP Server for Android
FileZilla Client for Windows

Others such as SAMBA may also work. Just try it! :)
*Manipulation on PC side is much more convenient than on the Phone ;)
****************************************************************

If things don't work, you can try the following:
Ensure "The key is provided for automatically" is unchecked.
Ensure "This is a computer-to-computer network" is checked.
Ensure Wifi is turned on on both devices
Disable encryption
Disable firewall.
****************************************************************

Would appreciate if anybody can help with a full detailed working TUT with screenshots on OSes other than listed below :)

TUTORIALS for other OSes:
Windows Vista by neo1691
Windows 7 by brjshshrma




Credits
Mariusz Nowak
blackplatypus
szym
neo1691
brjshshrma


Works on:
Windows XP (SP2 and SP3), Vista, Seven, all Linux family, Mac and any other which supports ad-hoc connections
:D

IF I HAVEN'T JUSTIFIED IN GIVING ANYONE THE CREDIT THEY DESERVE, PLEASE FEEL FREE AND DROP ME A MESSAGE :p

PLEASE BACK UP YOUR ORIGINAL "wpa_supplicant" just in case...
 
Last edited:

neo1691

Senior Member
Dec 19, 2010
1,293
252
Germany
awesome!! if it works i am gonna rock!! i had been trying this since ages..!! :D
quick question!! doe it works on vista?? or ubuntu required???
 

i_rnb

Senior Member
Dec 9, 2010
1,514
249
Paris, France
How to use it? I just installd it via cwm.. But how to make it work?

Any help?

Sent from my GT-I5800 using Tapatalk
 

ghiurtuv

Senior Member
Mar 23, 2011
154
11
Srry for my noob-ism but can anyone explain what this do?for what is it?

Sent from my GT-I5800 using XDA App
 

jinxskore

Senior Member
May 8, 2011
225
88
Kohima
Srry for my noob-ism but can anyone explain what this do?for what is it?

Sent from my GT-I5800 using XDA App

The main objective here is, simply put, use wifi to transfer file between computer n your phone instead of usb/bluetooth WITHOUT THE NEWS OF A ROUTER :)

Also, reverse wifi tether aka use your computer's internet (laptop with wifi n no router is available) from phone.
 
  • Like
Reactions: vipinkane10

vipinkane10

New member
Dec 3, 2010
4
0
I have done everything and both my system(ubuntu 11.04) and android(kyrillos v6.1) got connected.
but, how to share file and others stuffs???
and what all I can do with it and how ???
 

jinxskore

Senior Member
May 8, 2011
225
88
Kohima
I have done everything and both my system(ubuntu 11.04) and android(kyrillos v6.1) got connected.
but, how to share file and others stuffs???
and what all I can do with it and how ???

Hey! Congrats! You have done very well!!
You have done 90% of the work.:)
Okay...
To share files, you need to give the computer a service from your phone.
You have to run some kind of server on the phone. FTP????

Well, I prefer SMB (Samba). So, I use "Samba File Sharing", freely available in market. Does the job for file transfer or manipulation from the computer side.:D

Inorder to have internet running on your phone through computer, you need two things:
1. Wireless Card (The through which you have connected your phone to computer)
2. A modem or a LAN card or any other interface which connects you to the INTERNET.

I dont know about Ubuntu but Im sure the logic is the same.
You have to configure your modem/connection of internet to SHARE with other devices connected to your computer (in this case, number 2). This is called Internet Connection Sharing in Windows.

Hope you got the point.
Im sorry I couldnt be more helpful.:(
 

tusshar.gaba

Senior Member
Jan 16, 2011
473
52
New Delhi
hey only 2 ques for u man ..
im using 3g usb device(like a pendrive)-tata photon plus to connect my laptop to internet ..so will this work as an internet connection sharing to my amdroid phone ????

and how to find laptop's ip address ??

Sent from my GT-I5800 using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    PLEASE DO NOT MENTION HERE THAT CONNECTIFY, VIRTUAL ACCESS POINT OR ANY OTHER SOFTWARE SAYING THEY ALLOW THIS TOO.
    BECAUSE THESE SOFTWARES DO NOT SUPPORT ALL WIFI ADAPTERS AND NEED SPECIFIC OSes IN ORDER TO OPERATE. THIS IS FOR THOSE WHO CAN'T USE OTHER SOFTWARES SUCH AS THOSE MENTIONED ABOVE

    *********************************************************

    Share your Internet & Transfer files wirelessly with Encryption Support [ROOT ACCESS REQUIRED]


    This mod does NOT remove any functionality of the original WiFi.
    It only improves over it.
    So saying, if this can be implemented by custom Rom devs in their releases/updates, that would be nice :)

    Some would wonder why create or modify something which perfectly works on their home Wifi Network. Well, I would say, you wont ALWAYS be in the vicinity of your home network, would you? And when you are in a place where there are only wired means of internet access and no Wireless Access Points, what do you do? Ofcourse, you may be able to connect your laptop to the wired LAN in that area.
    And share this wired internet to other wireless devices through its Wifi adapter with the exception of your Android Phone. Why? Because, Android DOES NOT support adhoc wireless networks.

    OK. Lets get down to business and get this working. Just follow the steps and you will be just fine. To avoid any complications, please first try with exact settings.
    ****************************************************************
    Download the modded wpa_supplicant file

    Flash the mod via CWM.

    If CWM is not on your phone, please try the following:
    Extract contents of "wpa_supplicant.zip". From the extracted files/folders, find wpa_supplicant (FILE) and copy it to SDCard.
    On Phone, with Root Explorer, copy "wpa_supplicant" file to /system/bin and replace original file :)
    (Note that Root Explorer have to be in RW mode. Toggle the top right button to switch between RW & RO)

    *PLEASE BACK UP YOUR ORIGINAL "/system/bin/wpa_supplicant" just in case...*

    You are now done with modding part. Only proper settings remain. :D

    ****************************************************************
    On Your Computer (Windows XP, for other OSes, please see links below)

    1) Start>Control Panel>Network Connections
    2) Right Click "Wireless Network Connection"
    3) Select Properties

    01WirelessNetprop.jpg


    4) Select Internet Protocol (TCP/IP)>Properties

    02TCPprop2.jpg


    5) Set details as in picture and press OK
    6) You will be back to Wireless Network Connection properties. Select the Wireless Networks TAB

    03WirelessNetTAB2.jpg


    7) Press Add button

    04PreferredNetwork.jpg


    8) Set details as in picture and press OK (ofcourse, Network key may differ) :D

    9) Press OK

    Note: Restart Whenever Needed

    ****************************************************************
    On Your Galaxy 3 (Phone-side configuration will be same regarless of which OS/platform you use)

    1) Menu>Settings>Wireless and network>Wi-Fi settings

    01SC20110718-222424.png


    2) Menu>Advanced

    02SC20110718-222443.png


    3) Check Use static IP and Set details as in picture
    4) Menu>Save
    5) Turn on Wi-Fi

    03SC20110718-222526.png


    6) Now You can see the network we have created on the computer

    04SC20110718-222548.png


    7) Press on it and select Connect.
    8) Voila!!! We have connection to an Ad-Hoc network. No router!!!

    ****************************************************************
    SHARE Internet Connection:
    Start>Control Panel>Network Connections
    Right Click the connection which have internet access and select
    Properties>Advanced
    Under Internet Connection Sharing, check Allow other network users to connect through this computer's Internet connection

    To do file manipulation on Phone's SDCard, download:
    SwiFTP FTP Server for Android
    FileZilla Client for Windows

    Others such as SAMBA may also work. Just try it! :)
    *Manipulation on PC side is much more convenient than on the Phone ;)
    ****************************************************************

    If things don't work, you can try the following:
    Ensure "The key is provided for automatically" is unchecked.
    Ensure "This is a computer-to-computer network" is checked.
    Ensure Wifi is turned on on both devices
    Disable encryption
    Disable firewall.
    ****************************************************************

    Would appreciate if anybody can help with a full detailed working TUT with screenshots on OSes other than listed below :)

    TUTORIALS for other OSes:
    Windows Vista by neo1691
    Windows 7 by brjshshrma




    Credits
    Mariusz Nowak
    blackplatypus
    szym
    neo1691
    brjshshrma


    Works on:
    Windows XP (SP2 and SP3), Vista, Seven, all Linux family, Mac and any other which supports ad-hoc connections
    :D

    IF I HAVEN'T JUSTIFIED IN GIVING ANYONE THE CREDIT THEY DESERVE, PLEASE FEEL FREE AND DROP ME A MESSAGE :p

    PLEASE BACK UP YOUR ORIGINAL "wpa_supplicant" just in case...
    4
    Please refer to the ppt file for the setup on Windows7.
    2
    I m gonna make a tutorial for win7 :)

    Sent from my GT-I5800 using XDA App
    2
    Tutorial To Enable Ad Hoc On Vista

    Hi Guys!! First of all a very hearty congratulations and tons of thanks and love for jinxskore for successfully enabling ad hoc on our beloved g3.

    So whats the talk is all about???
    - If you don't have a wifi router for your laptop and your 2g data sucks on mobile BUT you have a super fast internet on your laptop (wired/non-wifi), then folks ad hoc is for you.
    - what it does is that it makes your laptop works as a wifi router (nearly :p) and share the super fast inter ON laptop WITH our android phone..!!!

    So how it works on vista

    -First flash the wpa given in the first post!! :D
    -Then come configuring Windows Vista.

    1.Go to start>network>network and sharing center (see top of the window)>manage network connections (see left side pane). It will look something like this>

    AD%20Hoc%201.png


    Now as you see there are two connections. 1st is the wired connection where all your internet settings are stored.!! 2nd is the wireless connection which we will have to configure!!

    2.Right Click on your Wireless Network Connections>select Internet Protocol v4 (TCP/IPv4)>Properties. Now Fill up the fields so that it looks like this.!!

    Ad%20HOC%202.png

    Now done with configuring wireless network!

    Now right click on the Local Area Network (Wired Network)>properties>Sharing Tab>Check/Tick both the boxes>Click Settings >Check/Tick All the boxes again>Done. :D

    Done with configuring the part!! Now lets create Adhoc :D

    Go to start>network>network and sharing center (see top of the window)>manage wireless networks (again left side of pane)>Add.

    -Create an Ad Hoc network>Next>Give a network name>select WEP for security type>Insert some cool password>(you may choose to save networks)>Next> Whoo you are connected..!!!!

    Now configuring mobile..!! :D
    Go to settings>wireless and networks> Wifi settings>options>Advanced
    In IP settings It should look like this..!!!

    AD%20Hoc%203.png

    Done with it..!! Now Go back to wifi settings and enable wifi..!! You get the name of Ad Hoc connection you have created. select it.. Enter Password and here you go...

    enjoy fast internet wifi on your android without any wifi router!!!! :D

    Please SAY thanks to the person who made it possible!! :D
    2
    I have done everything and both my system(ubuntu 11.04) and android(kyrillos v6.1) got connected.
    but, how to share file and others stuffs???
    and what all I can do with it and how ???

    Hey! Congrats! You have done very well!!
    You have done 90% of the work.:)
    Okay...
    To share files, you need to give the computer a service from your phone.
    You have to run some kind of server on the phone. FTP????

    Well, I prefer SMB (Samba). So, I use "Samba File Sharing", freely available in market. Does the job for file transfer or manipulation from the computer side.:D

    Inorder to have internet running on your phone through computer, you need two things:
    1. Wireless Card (The through which you have connected your phone to computer)
    2. A modem or a LAN card or any other interface which connects you to the INTERNET.

    I dont know about Ubuntu but Im sure the logic is the same.
    You have to configure your modem/connection of internet to SHARE with other devices connected to your computer (in this case, number 2). This is called Internet Connection Sharing in Windows.

    Hope you got the point.
    Im sorry I couldnt be more helpful.:(