Reply
Thread Tools
Posts: 12 | Thanked: 3 times | Joined on Dec 2011
#1
Hi,

My N9 has some issues keeping wireless connection. It happens at home with a Linksys WAP54G or in the office (we've a Zyxel there, don't know which one). Other devices like my dell laptop have no issue. Home and Offie are using WPA2.

Symptoms: after a while, even if the Wifi symbol is displayed, and that the configuration panel says I'm connected, none of the applications can access to the Internet. Twitter feeds on the notification area are blocked, Twitter app can't connect, browser can't display requested pages, calendar sync displays "can't connect to google" in the notification area.

Simply turn internet connection off and on again solves the issue. But that's a bit odd.

Is it a known issue ? I'd like to fill a bug into the harmattan bugzilla, but I've no idea on how to log or give debug hints.

On the other hand, I wanted to run a script that would turn wlan off and on every quarter or so, to work around the problem, but I can't find how to do it. I tried ("user" user or devel-su) if-down wlan0, ifconfig wlan0 down, but this does not work - or it seems so.

Any hint would be greatly appreciated !
 
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#2
See this thread....
http://talk.maemo.org/showthread.php?t=80094&page=5
watergate was having issues until he re-jigged his AP/router config.
It may not have any impact, but tis worth a try...
There's other revealing threads but can't find them OTTOMH.
 
Posts: 245 | Thanked: 186 times | Joined on Dec 2011 @ Toronto-Canada
#3
It also happens with me if I keep the power saver to 'ON'... while in 'AUTO' it doesn't.

Qorax
 
Posts: 12 | Thanked: 3 times | Joined on Dec 2011
#4
Actually I've no issue to connect to my access point - this works like a charm, but it does not stay connected.

Nevertheless, I just changed the channel - no reason to not give a try. I was running channel 5 while InSSIDer tells me a bunch of neighbours are using channel 4 (how do they survive ?), so I moved to channel 9 which is unused, as well as 7, 8 and 10, so the frequency is less crowded.

Let see if this goes better tonight
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#5
Yeah, you could download the wireless-tool from the sdk repo and then do "iwconfig wlan0 power off".. i have put it in a while-loop which i turn on when i need wifi.. or i do as you and just update the ap. I think could have with the ps-poll.. but are not sure. Hopefullt they solve it.. have set up a bug on it before.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 12 | Thanked: 3 times | Joined on Dec 2011
#6
Originally Posted by qorax View Post
It also happens with me if I keep the power saver to 'ON'... while in 'AUTO' it doesn't.

Qorax
I've it set to auto (30%), and it also happened to me when it was set to OFF.

BTW, I also reflashed the device, but no change.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#7
Originally Posted by sysedit View Post
Actually I've no issue to connect to my access point - this works like a charm, but it does not stay connected.

Nevertheless, I just changed the channel - no reason to not give a try. I was running channel 5 while InSSIDer tells me a bunch of neighbours are using channel 4 (how do they survive ?), so I moved to channel 9 which is unused, as well as 7, 8 and 10, so the frequency is less crowded.

Let see if this goes better tonight
Will not work... i got a slight improvement on ch 13 but it regressed after that. The only thing that seams to work is turning off power save.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#8
Originally Posted by sysedit View Post
I've it set to auto (30%), and it also happened to me when it was set to OFF.

BTW, I also reflashed the device, but no change.
Will not work either... you will need to turn it off from the terminal. If you have installed wireless-tools.. then i have an option for it in n9tweak.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 12 | Thanked: 3 times | Joined on Dec 2011
#9
Originally Posted by AlMehdi View Post
Yeah, you could download the wireless-tool from the sdk repo and then do "iwconfig wlan0 power off".. i have put it in a while-loop which i turn on when i need wifi.. or i do as you and just update the ap. I think could have with the ps-poll.. but are not sure.
Is there any pre-requisite to be able to turn power management off for wlan ?

Code:
~ $ devel-su -c "/sbin/iwconfig wlan0 power off"
Password:
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not permitted.
~ $
I'm always getting this error (I tried: from terminal as root, as user, connecting via ssh over usb, with or without internet connection set).

Originally Posted by AlMehdi View Post
Hopefullt they solve it.. have set up a bug on it before.
Do you have the bug id so I (and everyone else on this thread) can vote for it ?

Thanks !
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#10
Originally Posted by sysedit View Post
Is there any pre-requisite to be able to turn power management off for wlan ?
I'm always getting this error (I tried: from terminal as root, as user, connecting via ssh over usb, with or without internet connection set).



Do you have the bug id so I (and everyone else on this thread) can vote for it ?

Thanks !
You need develsh... so

Code:
echo rootme | devel-su -c "develsh -c 'while true;
		do
			date \"+%T\"
			/sbin/iwconfig wlan0 power off
			count=0
			while [ \$count -le 5 ];
			do
				/usr/bin/bmestat|sed -n '/current/p'
				/sbin/iwlist wlan0 power
				sleep 10
				count=\$((count+1))
			done
		done'"
This is the code i have in n9tweak.. just configure it to your needs.

The basic would be..

Code:
devel-su -c "develsh -c '/sbin/iwconfig wlan0 power off'"
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2011-12-31 at 02:54.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:28.