Jump to content

Nexus One connect to Ad hoc wifi?


Guest Roy Roy

Recommended Posts

can Nexus One connect to Ad hoc wifi? I have rooted but how I need to edit to made the N1 connet to my notebook with Ad hoc sharing Wifi ?

I tried and tried and tried and finally gave up. There is no solution to date :)

Link to comment
Share on other sites

Guest Roy Roy
I can create local area networks with my computer and connect just fine

How come? do you meaning you N1 via wifi router connect to your PC?

However, I'm asking for N1 direct connect PC (vis ad hoc mode)

Link to comment
Share on other sites

Guest Jonnyw2k

Just out of intrest have you thought about looking into putting your netbook into "Wireless Access Point" mode, some wireless cards allow you todo it. Basically means that your phone will see the PC like router, not sure if it is possible with your set up but its worth researching.

Link to comment
Share on other sites

Guest Roy Roy
Just out of intrest have you thought about looking into putting your netbook into "Wireless Access Point" mode, some wireless cards allow your todo it. Basically means that your phone will see the PC like router, not sure if it is possible with your set up but its worth researching.

But that not enough, boz I have the 3G unlimited date SIM in my Nokia N82 and using the Joikuspot share thr 3G network to my 2 notebook and iPod. However, I can't connect my N1 to N82 since my N82 using the AD HOC sharing 3G data.

Edited by Roy Roy
Link to comment
Share on other sites

Guest Roy Roy
Ahh ok, Are you sure your network is adhoc, because according to what I read about Jokiuspot the Nokia N82 acts like a wireless router.

It like wireless router but using the adhoc mode for N82........I want to turn to AP node but can't :)

Link to comment
Share on other sites

  • 2 weeks later...
Guest bobtentpeg

AND YOU'RE STILL SCREAMING LIKE A JACKASS

If its a /true/ adhoc network then you can connect just fine with an N1. But, your n82 doesnt seem to be creating a real Adhoc network, but rather a proprietary ad hoc stream

Link to comment
Share on other sites

Guest TochOne
AND YOU'RE STILL SCREAMING LIKE A JACKASS

If its a /true/ adhoc network then you can connect just fine with an N1. But, your n82 doesnt seem to be creating a real Adhoc network, but rather a proprietary ad hoc stream

N1 Doesn't connect to any ad-hoc network. can u network it & use your laptop internet from N1? how?

Link to comment
Share on other sites

I tried and tried and tried and finally gave up. There is no solution to date ;)

Adding your ad-hoc SSID in Settings->Wireless & Network, then do the following modification in data/misc/wifi/wpa_supplicant.conf:

1)Add

ap_scan=2

at the beginning.

2)Locate the "network" section corresponded to your ad-hoc network, add "mode=1" in that section.

3)If the previous two steps don't solve the problem, try adjust the priority of the ad-hoc network to the highest: make sure "priority=1" in its network section, and modify other sections' priorities sequentially.

It works for me!

Link to comment
Share on other sites

Guest CAPCHER0110
Adding your ad-hoc SSID in Settings->Wireless & Network, then do the following modification in data/misc/wifi/wpa_supplicant.conf:

1)Add

ap_scan=2

at the beginning.

2)Locate the "network" section corresponded to your ad-hoc network, add "mode=1" in that section.

3)If the previous two steps don't solve the problem, try adjust the priority of the ad-hoc network to the highest: make sure "priority=1" in its network section, and modify other sections' priorities sequentially.

It works for me!

I'll try,thand you...

Link to comment
Share on other sites

Guest android_lovah
I'll try,thand you...

thanx for your feedback.

do you know what tool to use in order to edit such types of files? is there an editor directly to use on the N1, or is it necessary to copy it to SD -> edit on PC?

thanx

Link to comment
Share on other sites

thanx for your feedback.

do you know what tool to use in order to edit such types of files? is there an editor directly to use on the N1, or is it necessary to copy it to SD -> edit on PC?

thanx

when in 'adb shell' there is 'vi' by default. but its kind of hard to use.

vi /path/to/file, navigate with 'h' (left), 'j' (down), 'k' (up), 'l' (right), enter editing mode when at the appropriate position with 'i', write whatever you want and go back to view-mode with esc. repeat until finished. then, in view-mode enter :wq (there will be a prompt at the bottom after entering the : w = write, q = quit). done. easy huh?

or you can always do

adb pull /path/to/file .

your-favorite-editor file

adb push file /path/to/file

which is probably a lot easier.

the first solution works on the terminal emulator on the phone as well, so i thought it might be worth explaining.

Link to comment
Share on other sites

Guest android_lovah
when in 'adb shell' there is 'vi' by default. but its kind of hard to use.

vi /path/to/file, navigate with 'h' (left), 'j' (down), 'k' (up), 'l' (right), enter editing mode when at the appropriate position with 'i', write whatever you want and go back to view-mode with esc. repeat until finished. then, in view-mode enter :wq (there will be a prompt at the bottom after entering the : w = write, q = quit). done. easy huh?

or you can always do

adb pull /path/to/file .

your-favorite-editor file

adb push file /path/to/file

which is probably a lot easier.

the first solution works on the terminal emulator on the phone as well, so i thought it might be worth explaining.

thanx alot, xkonni. i thought there would be an easier way too... :D like a GUI editor in which i could do all that. anyway, good to know.

since then, i've flashed CMb5 and the Ad-hoc WiFi problem is solved. i can connect without any problems :D

Link to comment
Share on other sites

thanx alot, xkonni. i thought there would be an easier way too... :D like a GUI editor in which i could do all that. anyway, good to know.

since then, i've flashed CMb5 and the Ad-hoc WiFi problem is solved. i can connect without any problems :D

a little vi-knowledge can be a life-saver in some situations... its available almost anywhere... routers etc...

Link to comment
Share on other sites

Guest TochOne
Adding your ad-hoc SSID in Settings->Wireless & Network, then do the following modification in data/misc/wifi/wpa_supplicant.conf:

1)Add

ap_scan=2

at the beginning.

2)Locate the "network" section corresponded to your ad-hoc network, add "mode=1" in that section.

3)If the previous two steps don't solve the problem, try adjust the priority of the ad-hoc network to the highest: make sure "priority=1" in its network section, and modify other sections' priorities sequentially.

It works for me!

Doesn't work for me. Now N1 can find ad-hoc network but can't connect to it.

Link to comment
Share on other sites

Guest DistortedLoop

I'm using MCR 1.6.

Can't find any ad-hoc networks with my Nexus One either.

Manually entered ones show as not in range.

They are legit, as iPhones and laptop can see each other.

Link to comment
Share on other sites

Guest DistortedLoop
Adding your ad-hoc SSID in Settings->Wireless & Network, then do the following modification in data/misc/wifi/wpa_supplicant.conf:

1)Add

ap_scan=2

at the beginning.

2)Locate the "network" section corresponded to your ad-hoc network, add "mode=1" in that section.

3)If the previous two steps don't solve the problem, try adjust the priority of the ad-hoc network to the highest: make sure "priority=1" in its network section, and modify other sections' priorities sequentially.

It works for me!

Cyanogen and MCR both have the same wpa_supplicant.conf file. This is it:

##### wpa_supplicant configuration file template #####

update_config=1

ctrl_interface=eth0

eapol_version=1

ap_scan=1

fast_reauth=1

Your instructions don't fit into that scheme (there's no network section even after manually adding the ad-hoc network).

Changing to ap_scan=2 alone doesn't help.

Edited by DistortedLoop
Link to comment
Share on other sites

Guest android_lovah
Cyanogen and MCR both have the same wpa_supplicant.conf file. This is it:

Your instructions don't fit into that scheme (there's no network section even after manually adding the ad-hoc network).

Changing to ap_scan=2 alone doesn't help.

wow! i finally made it work!!! :(

DistortedLoop, you will have first to go to WiFi Settings and via Add Wi-Fi network add the Ad-hoc WiFi network's information (DDIS, encryption, password).

I, then, disabled WiFi (dunno if it's necessary) but was thinking that I'll be writing into a WiFi config file, so the service should be off.

then, since there is no file editor on Android (some1 please prove me wrong here because vi is really a stone age tool), you go and edit the wpa_supplicant.conf file via the vi command's functionalities:

- trackball works, so that way you can point your cursor

- "i" for inserting text (I've added "ap_scan=2" in the 1st line, and then "mode=1" in a new line below the password line)

- trackball + "1" = ESC

- then press ":" to put you to the end of the file

- then enter "wq" to save the edited text.

It works fine. I even disconnected and reconnected again - all works like a charm.

Thanks for the info! :(

PS: did this since I've changed from CyanogeneMod's ROMs to MoDaCo's ROM, where none of them has this built in.

Link to comment
Share on other sites

Guest TochOne
wow! i finally made it work!!! :(

DistortedLoop, you will have first to go to WiFi Settings and via Add Wi-Fi network add the Ad-hoc WiFi network's information (DDIS, encryption, password).

I, then, disabled WiFi (dunno if it's necessary) but was thinking that I'll be writing into a WiFi config file, so the service should be off.

then, since there is no file editor on Android (some1 please prove me wrong here because vi is really a stone age tool), you go and edit the wpa_supplicant.conf file via the vi command's functionalities:

- trackball works, so that way you can point your cursor

- "i" for inserting text (I've added "ap_scan=2" in the 1st line, and then "mode=1" in a new line below the password line)

- trackball + "1" = ESC

- then press ":" to put you to the end of the file

- then enter "wq" to save the edited text.

It works fine. I even disconnected and reconnected again - all works like a charm.

Thanks for the info! :(

PS: did this since I've changed from CyanogeneMod's ROMs to MoDaCo's ROM, where none of them has this built in.

Doesn't work for me with original ROM (rooted)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.