| Prev |   3     4   5   6     7   15 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 as a Wifi Hotspot, part 2 (https://talk.maemo.org/showthread.php?t=48075)

BlackDiamond 2010-04-12 10:32

Re: N900 as a Wifi Hotspot, part 2
 
I still have a problem using Titan's kernel. The mobilehotspot backend seems to start properly, I see the hotspot on my computer but can't manage to connect.

Here is what dmesg give me:
Code:

[40089.625946] wl1251: 151 tx blocks at 0x3b788, 35 rx blocks at 0x3a780
[40089.649414] wl1251: firmware booted (Rev 4.0.4.3.7)
[40089.828460] wlan0: Trigger new scan to find an IBSS to join
[40094.672668] wlan0: Trigger new scan to find an IBSS to join
[40097.477478] wlan0: Creating new IBSS network, BSSID 16:32:aa:a8:1f:10
[40098.700866] wlan0 reports beacon loss when not associated
[40100.742950] wlan0: no IPv6 routers present
[40104.563323] slide (GPIO 71) is now open
[40127.649353] wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
[40136.688323] slide (GPIO 71) is now closed
[40158.406982] wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
[40189.212066] wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
[40220.008941] wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
[40243.313751] wl1251: ERROR Power save entry failed, giving up
[40249.205169] wlan0 reports beacon loss when not associated
[40249.462249] wl1251: ERROR Power save entry failed, giving up
[40250.789886] wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
[40256.476043] wlan0 reports beacon loss when not associated
[40256.578369] wlan0 reports beacon loss when not associated
[40256.680572] wlan0 reports beacon loss when not associated
[40256.782714] wlan0 reports beacon loss when not associated
[40262.423065] wl1251: ERROR Power save entry failed, giving up
[40269.053741] wlan0 reports beacon loss when not associated
[40269.156005] wlan0 reports beacon loss when not associated
[40269.845336] wl1251: ERROR Power save entry failed, giving up
[40277.235839] wlan0 reports beacon loss when not associated
[40277.337860] wlan0 reports beacon loss when not associated
[40277.440185] wlan0 reports beacon loss when not associated

EDIT: removed the lines related to PC Suite Mode connection

BlackDiamond 2010-04-12 21:47

Re: N900 as a Wifi Hotspot, part 2
 
Nevermind, I uninstalled nmap and mobilehotspot is working properly now.

arkanoid 2010-04-12 21:57

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by BlackDiamond (Post 607614)
Nevermind, I uninstalled nmap and mobilehotspot is working properly now.

nmap? how can it interfere?

assetburned 2010-04-13 00:22

Re: N900 as a Wifi Hotspot, part 2
 
hmm i just installed the 0.3.0 version, rebooted. and was able to start it without problems. but i couldn't find it with my macbook.
so i stopped it and tried to start it via the terminal.

now all i get is the same error eitama got on page 3. even after another reboot of the N900.

Flynx 2010-04-13 04:35

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by assetburned (Post 607806)
hmm i just installed the 0.3.0 version, rebooted. and was able to start it without problems. but i couldn't find it with my macbook.
so i stopped it and tried to start it via the terminal.

now all i get is the same error eitama got on page 3. even after another reboot of the N900.

I think eitama and I had the same problem. Try installing my tweaked backend and see if that helps.

eitama 2010-04-13 07:42

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by Flynx (Post 607947)
I think eitama and I had the same problem. Try installing my tweaked backend and see if that helps.

Flynx, I actually gave up on mobilehotspot untill pr1.2 comes,
and managed to get Bluetooth DUN working.
But I saw your post, and decided to give it one more try! and it worked!!!!!!!!!!!!!!!!!

I put you backend,py file, rebooted after install and it worked!
Thanks mate, I don't know what you changed there but I suggest this be incorporated into the original package.

rambo 2010-04-13 11:26

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by eitama (Post 608122)
I put you backend,py file, rebooted after install and it worked!
Thanks mate, I don't know what you changed there but I suggest this be incorporated into the original package.

It's a simple sleep to make sure the gprs0 interface is fully up before we try to start dnsmasq. In theory the backend already waits for IcD to return that the connection is up before continuing but it might be that IcD returns a bit prematurely or something.

In any case I'll be making a slightly smarter wait-for-interface system soonish.

eitama 2010-04-13 11:34

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by rambo (Post 608408)
It's a simple sleep to make sure the gprs0 interface is fully up before we try to start dnsmasq. In theory the backend already waits for IcD to return that the connection is up before continuing but it might be that IcD returns a bit prematurely or something.

In any case I'll be making a slightly smarter wait-for-interface system soonish.

I Understand, Just to let you know - Your application made my life better.
http://talk.maemo.org/showthread.php...375#post608375

BlackDiamond 2010-04-13 17:05

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by arkanoid (Post 607636)
nmap? how can it interfere?

I don't know (yet), but I uninstalled nmap (the one from devel), and I could connect to my N900 even without reboot. The only strange thing remaining is the connection is not encrypted even when I set WEP in the frontend (I didn't have time to investigate).

Flynx 2010-04-13 17:23

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by eitama (Post 608122)
Flynx, I actually gave up on mobilehotspot untill pr1.2 comes,
and managed to get Bluetooth DUN working.
But I saw your post, and decided to give it one more try! and it worked!!!!!!!!!!!!!!!!!

I put you backend,py file, rebooted after install and it worked!
Thanks mate, I don't know what you changed there but I suggest this be incorporated into the original package.

I'm glad I was able to contribute in some small way. rambo will have a much more elegant solution soon, when he has time. I think I read somewhere he has a phd thesis to finish up or something.


| Prev |   3     4   5   6     7   15 | Next | Last
All times are GMT. The time now is 18:12.

vBulletin® Version 3.8.8