maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Nokia N9 wifi hotspot (https://talk.maemo.org/showthread.php?t=84553)

ThraxZzz 2012-05-28 10:22

Nokia N9 wifi hotspot
 
Hey guys,sorry for a new thread

Here's the problem,when i activated my hotspot,only devices like ipad,iphone can see my phone connection,but other phones such as samsung etc etc cant see,why?


PR-1.2

Hope somebody helps :)

michaelmhk 2012-05-28 10:31

Re: Nokia N9 wifi hotspot
 
Most android does not support ad-hoc wifi(n9 user ad-hoc wifi hotspot)
You need to enable it on your android(I think you should root your android devices to do so)

ibrakalifa 2012-05-28 10:31

Re: Nokia N9 wifi hotspot
 
mine work flawlessly, maybe your samsung is blind for a while? :D

jk, try to restart the wifisharing and device first

ThraxZzz 2012-05-28 13:21

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by michaelmhk (Post 1213717)
Most android does not support ad-hoc wifi(n9 user ad-hoc wifi hotspot)
You need to enable it on your android(I think you should root your android devices to do so)

How do I enable it?

ThraxZzz 2012-05-28 13:22

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by ibrakalifa (Post 1213718)
mine work flawlessly, maybe your samsung is blind for a while? :D

jk, try to restart the wifisharing and device first

Hahhaa,how can a phone go blind? :p
I scanned a few times,still nothing :)

praveenchand 2012-05-28 18:43

Re: Nokia N9 wifi hotspot
 
you have to hack wpa_applicant.conf file. for this your phone should be rooted. how to root and how to hack this you can easily find on net just with a google search.

Creamy Goodness 2012-05-28 20:41

Re: Nokia N9 wifi hotspot
 
?? I'm pretty sure you have to replace the wpa_supplicant binary file with one that is compiled with the changes to allow it to handle adhoc wifi. I did this on my ICS tablet, works fine. Just make sure whichever file you replace is for a similar build of android and disable wifi while you swap it in and update the permissions.

ThraxZzz 2012-05-28 21:47

Re: Nokia N9 wifi hotspot
 
Thanks all! :) Working Great! ;)

kumardodla 2013-02-09 06:20

Re: Nokia N9 wifi hotspot
 
Is there any way to change the ad-hoc wifi-hotspot to any other in N9.

thedead1440 2013-02-09 06:23

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by kumardodla (Post 1321936)
Is there any way to change the ad-hoc wifi-hotspot to any other in N9.

Its the kernel; you would need to modify the kernel to allow for infrastructure hotspot instead of ad-hoc which is not an easily surmountable task from what I read previously...

ivgalvez 2013-04-02 14:48

Re: Nokia N9 wifi hotspot
 
I am able to see the ad-network created by the N9 from both a Dell Streak 5 (running Cyanogenmod 7) and from the N900 running Fremantle (CSSU Testing+KP).

However, none of them are capable of connecting to the network. In the Dell Streak I see that the device is waiting to receive an IP while the N900 gets stuck trying to connect.

Every configuration parameter in the N9 Hotspot application are set to default, so I don't know what could be the problem.

Worst thing is that after activating the Wifi Hotspot application and trying to connect, even turning it off, the N9 is unable to connect to any Wifi network. A reboot is needed to get the wifi working again.

I have also checked that my laptop is capable of connect and use the Internet from the N9 Hotspot with Windows 7 64 bits.

Kroll 2013-04-02 21:36

Re: Nokia N9 wifi hotspot
 
Hey there
Don't wanna start new thread so i gonna ask here
My computer's (laptop and desktop) can connect to the N9 but they can't access to the Internet through N9. Do I need to set IP or something manually? Or it should work automatically by default settings?

edgar2 2013-04-06 11:37

Re: Nokia N9 wifi hotspot
 
@Kroll
it used to work, since a month or so it doesn't. i have no idea why. like you, i can connect to the wifi hotspot with several devices, but with neither one of them is it possible to do any web browsing. strangely enough, there seems to be a tiny bit of data transfer going on, both up and down.

Kroll 2013-04-06 21:58

Re: Nokia N9 wifi hotspot
 
@edgar2
yeah, same thing.
I wonder if hotspot application has been broken in last firmware version...

edgar2 2013-04-07 07:18

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by Kroll (Post 1334519)
@edgar2
yeah, same thing.
I wonder if hotspot application has been broken in last firmware version...

i doubt it's the firmware upgrade, since i've been using it fine with pr1.3

thedead1440 2013-04-11 20:14

Re: Nokia N9 wifi hotspot
 
I had around >1 month ago similar symptoms of my Lumia not being able to access the internet even though connected to the hotspot.

At that time I put it down to the Lumia being the cause but reading the posts here kinda confirms the N9 may have been the cause...

Funny thing is I just tried it and it works for all my devices... What concerns me however is I got an ad for Joikuspeed; this kinda makes me feel that Joikuspot are disabling their application remotely... If they are suddenly able to remotely send ads they surely retain the ability to disarm their app too hence we are somewhat screwed...

Dinho 2013-04-13 15:20

Re: Nokia N9 wifi hotspot
 
I too noticed the ad for joiku-something when I launched the wifi hotspot app. I also experienced the same issue edgar2 reported. I thought it was due to T-Mobile blocking my hotspot, but even after calling T-Mobile and making sure that hotspot is enabled on their side, hotspot still doesn't work.

danested 2013-04-13 15:33

Re: Nokia N9 wifi hotspot
 
I have the advert too, but I'm able to hotspot and connect to it ony desktop. Can anyone see if it is possible to use the hotspot application from the older PR if thos fixes the problem? For some reason i think the advert feature got added onto the software in the last release.

Dinho 2013-04-19 15:59

Re: Nokia N9 wifi hotspot
 
I just tried to use my MacBook with N9's hotspot and it worked. However, a Windows 7 laptop was not able to connect to the Internet. Even though the systems indicates that there is Internet connection for IPv4, I cannot open any web pages.

At first I thought this was an issue with Windows devices, as a Windows 8 tablet cannot connect to the hotspot either. But when I try to connect the iPad to the hotspot, it doesn't work either. It behaves just like the Windows 7 laptop, i.e. connects to the hotspot, receives Wifi signal, gets assigned the proper IPv4 address (within the range I have specified in the app), but cannot load any web pages. This is strange because the iPad used to be able to browse the web using the hotspot connection.

Can anyone shed some light on this issue?

TheN9er 2013-04-19 16:09

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by Dinho (Post 1337348)
I just tried to use my MacBook with N9's hotspot and it worked. However, a Windows 7 laptop was not able to connect to the Internet. Even though the systems indicates that there is Internet connection for IPv4, I cannot open any web pages.

At first I thought this was an issue with Windows devices, as a Windows 8 tablet cannot connect to the hotspot either. But when I try to connect the iPad to the hotspot, it doesn't work either. It behaves just like the Windows 7 laptop, i.e. connects to the hotspot, receives Wifi signal, gets assigned the proper IPv4 address (within the range I have specified in the app), but cannot load any web pages. This is strange because the iPad used to be able to browse the web using the hotspot connection.

Can anyone shed some light on this issue?

Hmmmm....weird. I've connected my ipad and macbook to my N9's hotspot throughout this week and had no problems. Also, the only time I see the ad is after I stop the hotspot session.

edgar2 2013-05-22 17:34

Re: Nokia N9 wifi hotspot
 
i don't know if this was the reason for wifi hotspot not working, but this was the solution: i changed my internet connection APN from one back to the other. in my case for a long time i used to have standard "internet.saunalahti", which gives a NAT ip address, but i had changed it to "internet4", which gives a public ip address. for some reason changing back to NAT ip address fixed wifi hotspot.

go4clicks 2013-06-04 11:30

Re: Nokia N9 wifi hotspot
 
I had same problem. What I did is, I changed port numbers from nat menu in n9. After that it start work fine :)

jalyst 2013-09-08 06:59

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by thedead1440 (Post 1321938)
Its the kernel; you would need to modify the kernel to allow for infrastructure hotspot instead of ad-hoc which is not an easily surmountable task from what I read previously...

Has there been any more progress on this front?
Infrastructure after all is far more widely used, & far better in practice than ad-hoc.

jalyst 2013-09-08 07:03

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by TheN9er (Post 1337354)
Hmmmm....weird. I've connected my ipad and macbook to my N9's hotspot throughout this week and had no problems.

Can you explain how you did that or point to a good article/tute?
I have a rMBP, last time I looked into tethering I had problems getting it working.
Also read that it's damaging to the battery, might be best to connect via BT for simple browsing etc.

mcbook 2013-09-08 08:19

Any news on infrastructure mode?

jalyst 2013-09-08 08:20

Re: Nokia N9 wifi hotspot
 
Yes that's what I asked :)

juiceme 2013-09-08 18:36

Re: Nokia N9 wifi hotspot
 
Well basically ther are few requirements that need to be met;

1.) You need to be running a NAT enabled kernel.
2.) You need to load a different firmware file to wl1271. (default is /lib/firmware/wl1271-fw.bin which does not support infrastructure AP)
3.) You need to assign IPv4 addresses, DNS parameters and routes to clients with DHCPD.

How joikuspot gets around these things; it routes the packets via userspace which is a silly and unnecessary way to do it :D
This is only done as for some reason the IP forwarding&nat functionality was not included in the default kernel....

jalyst 2013-09-09 16:27

Re: Nokia N9 wifi hotspot
 
All of that seems completely doable, (1) IIRC has already been demonstrated.
(3) seems like it should be relatively easy to do, the only thing that's not so clear is (2).
Is there a different fw file out there which does support infra AP?
Surely someone's already investigated all this & laid-out a nice/shiny tutorial?
Assuming it's surmountable... :)

Quote:

Originally Posted by jalyst (Post 1372821)
can you explain how you did that or point to a good article/tute?
I have a rmbp, last time i looked into tethering i had problems getting it working.
Also read that it's damaging to the battery, might be best to connect via bt for simple browsing etc.

*bump* TIA.

juiceme 2013-09-09 18:26

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by jalyst (Post 1373154)
the only thing that's not so clear is (2).
Is there a different fw file out there which does support infra AP?

https://gforge.ti.com/gf/download/fr...-m1-rc2.tar.gz

Quote:

Originally Posted by jalyst (Post 1373154)
Surely someone's already investigated all this & laid-out a nice/shiny tutorial?

Feel free to do it :D

---------- edit ---------

The page to look for directions is here:
http://processors.wiki.ti.com/index....Wireless_Build

juiceme 2013-09-09 19:34

Re: Nokia N9 wifi hotspot
 
Now as I checked it, the wireless driver in N9 kernel tree seem to be missing some parts related to the AP functionality.
I'd say you need to patch /drivers/net/wireless/wl12xx/ from the TI demonstration code to N9 kernel.

jackburton 2013-09-09 21:07

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by juiceme (Post 1373197)
Now as I checked it, the wireless driver in N9 kernel tree seem to be missing some parts related to the AP functionality.
I'd say you need to patch /drivers/net/wireless/wl12xx/ from the TI demonstration code to N9 kernel.

I've tried this myself and it seems there are other patches/backports needed from kernels 2.6.34 and later.

I am going to try some more.

juiceme 2013-09-10 04:31

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by jackburton (Post 1373233)
I've tried this myself and it seems there are other patches/backports needed from kernels 2.6.34 and later.

Allright. Have you checked if the needed patches relate only to wireless/wl1251 and wireless/wl12xx modules or is there some more generic changes?

jackburton 2013-09-10 07:18

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by juiceme (Post 1373293)
Allright. Have you checked if the needed patches relate only to wireless/wl1251 and wireless/wl12xx modules or is there some more generic changes?

Following the porting section here:
http://wireless.kernel.org/en/users/..._older_kernels

There seems to be different functionality that starts in 2.6.34 that is needed for more advanced functions. I'm definitely not experienced with this stuff, just learning...

Anyway...

Where it says Kernel 2.6.36 and older I followed the first link for SDIO runtime PM support http://www.spinics.net/lists/linux-mmc/msg03966.html. I tried to find out what this patch is and couldn't see a git commit. There is a link to a wizery.com for git sources, but the link doesn't work. However, going to http://wizery.com/kernel.php shows where this committer's patches ended up in the kernel git.

You'll see various commit messages there including this one:
Code:

038d925 wl12xx: Enable AP-mode
I went ahead and did a git reset to that commit and checked the Makefile for the kernel version and it is 2.6.38-rc1. This leads me to believe that AP mode wasn't there until this release and/or that it may depend on non-module functionality/symbols in kernels up to that point. This seems to be the case with the references to sdio, mmc, and power management stuff mentioned in the list of patches in the porting to older kernels section of the wiki.

Another example is the Lenient generic runtime pm callbacks patch mentioned. This again seems to come from wizery.com as
Code:

05aa55d PM / Runtime: Lenient generic runtime pm callbacks
The kernel wiki page with a link to the mailing list submission here references a file drivers/base/power/generic_ops.c that doesn't exist until 2.6.34.

I verified this by going here,here, and hitting it here.
I'm beginning to wonder if getting the 2.6.34 kernel working on the N9 would be feasible at this point, but I have never gotten this deep.

jackburton 2013-09-10 07:20

Re: Nokia N9 wifi hotspot
 
Also, I tried to compile the TI code awhile back and kept running into problems with that version of compat-wireless posted there. The issues were all related to missing symbols in the 2.6.32 kernel but started appearing in 2.6.34.

jackburton 2013-09-10 23:11

Re: Nokia N9 wifi hotspot
 
So I managed to compile the latest Linux backports, but it causes a reboot loop on my N9. I'm now attempting to apply the patches mentioned at http://wireless.kernel.org/en/users/Drivers/wl12xx

I'm not experienced with this, so who knows if it will work or not. Anybody else experienced with backporting kernel functionality?

jalyst 2013-09-11 02:29

Re: Nokia N9 wifi hotspot
 
Not me, unfortunately, my N9 currently isn't even set-up right to play with the sort of stuff you are.

juiceme 2013-09-11 06:00

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by jackburton (Post 1373524)
So I managed to compile the latest Linux backports, but it causes a reboot loop on my N9. I'm now attempting to apply the patches mentioned at http://wireless.kernel.org/en/users/Drivers/wl12xx

I'm not experienced with this, so who knows if it will work or not. Anybody else experienced with backporting kernel functionality?

I've done some work on that :)

Usually when you get it to hang or reboot, the clues can be found from the console output. It's pretty easy to hook up to actually, you just need a cheap USB<->RS232 converter, something like this CP2102 module which cost under 2 euros on ebay.

When using it, an adapter is nice but you can do without, usually I just press the RX&GND pins on end of the RS232-cable to the phone connectors by hand and reboot the device... the contact is good enough to get the boot message so I know where it slips from the rails :D

jackburton 2013-09-11 11:25

Re: Nokia N9 wifi hotspot
 
How do you connect those leads to the N9? Where is the serial port?

juiceme 2013-09-11 11:41

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by jackburton (Post 1373616)
How do you connect those leads to the N9? Where is the serial port?

The serial port pins (rather, square pads on the pcb edge) are visible when you take off the sim tray. GND and TX, the only pins you need when logging messages are the 2 rightmost pads nearer to edge. The RX pin which you only need if you want to type commands to the console is further inside the device, behind the TX pin.

There are schematics on the net, showing the pins, but now I am in a meeting so I cannot dig out them for you.

jackburton 2013-09-11 12:19

Re: Nokia N9 wifi hotspot
 
Quote:

Originally Posted by juiceme (Post 1373622)
The serial port pins (rather, square pads on the pcb edge) are visible when you take off the sim tray. GND and TX, the only pins you need when logging messages are the 2 rightmost pads nearer to edge. The RX pin which you only need if you want to type commands to the console is further inside the device, behind the TX pin.

There are schematics on the net, showing the pins, but now I am in a meeting so I cannot dig out them for you.

Awesome. I found the documentation. Thanks.

I have a USB to RS-232 DB9 Serial Adapter (Prolific PL2303HX Chipset).

Can I use this by connecting the appropriate pins to the DB9?


All times are GMT. The time now is 19:09.

vBulletin® Version 3.8.8