laptop, wlan and distance from the wireless router

Hi,
I was quite happy when my wlan was running on suse 11.2 without a problem for over two weeks but I didn’t say touchwood :X and **** it, recently it started showing strange behaviors.
I see my wlan connected (shows active) but the internet is too slow and ping to google.com would timeout sometimes (Sendmsg: No Buffer Space Available) but if I bring my laptop closer to the router, the speed would be very good and ping times would drastically reduce. I don’t understand because I keep my laptop at the same place all this while for over two years but it only started happening recently.
I was thinking may be its something to do with router but I could connect with windows with my laptop at the same place and even further from the router and the ping times would still be very low.
Nothing has changed.
I don’t know why this unexpected behavior now with suse :expressionless:

Best Regards
Humayun

I would also like to mention that I am a new user of linux. I don’t want to go back to windows for these small inconsistencies. I am sure there is some way but I don’t know yet.

Did you try rebooting the router?

Yes. tried it. but the distance problem still holds.

I actually get better performance in Linux than in Windows.
Strange eh!

I’m really not a wireless Guru like some here. Be patient and perhaps they will respond.

couldn’t agree more.
Thanks. Just want to fix this, so I don’t have to settle for less.

I’ve seen a case at home where a neighbour installed a new router, and their router’s wireless transmission channel was close to the channel of our router. That then caused us a problem until we could change our channel. A colleague at work also had the same problem with their home router (and same solution).

@oldcpu maybe it was that problem. but its seems it was temporary. I will study its symptoms next time if it occurs again.
Thanks again to all who helpped.
internet speed is back to normal at my normal place.

These things come to keep us on our toes
Happy to hear it’s back to normal

Then that will be it. Had to find out the hard way at a customer’s. When I was there during daytime, no issues at all, in the evenings it was horrible. Then I found out the neighbours caused it, being on the same channel, switching their wifi router on only when being at home for energy saving reasons…

For future reference, you should do the following command:


sudo /usr/sbin/iwlist scan

Save the output. If/when you have the network problems, rerun that command to
see what changed. As caf4926 said, you likely have some interfering source nearby.

One other consideration: The spacing of the channels is 5 MHz, but each channel
has a 20 MHz width, thus adjoining channels will interfere. In fact, the only
channels that do not interfere are 1, 6, and 11. Sometimes, some ignorant person
will setup on channel 3, for example. When doing so, they actually manage to
pollute channels 1 AND 6.

Hi,
one thing I am convinced that it has to be interfering source nearby. I have been sourcing output of the command you gave me and using sdiff to find out what is causing it. I haven’t find any conclusive results yet. sometimes even when some wireless are running at the same frequency/channel as mine, the wlan is fast.
but maybe I should just schedule it through cron and check output across a time range.
one time I found that the resource was busy error but then after 5 seconds it was gone. shown below.

linux-9ikl:/home/humayun/wlants # iwlist scan > scan281020101226am_slow
lo Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

wmaster0 Interface doesn’t support scanning.

wlan0 Interface doesn’t support scanning : Device or resource busy

Is there any particular thing that I should be looking for.

one more thing, sorry for my saying this, but is it a bug in linux?

On 10/28/2010 12:06 PM, hmanzer wrote:
>
> Hi,
> one thing I am convinced that it has to be interfering source nearby. I
> have been sourcing output of the command you gave me and using sdiff to
> find out what is causing it. I haven’t find any conclusive results yet.
> sometimes even when some wireless are running at the same
> frequency/channel as mine, the wlan is fast.

It could be some other source of 2.4 GHz interference. Some microwaves
interfere, as do some wireless phones. Not cell phones, but the handsets that
connect to a base.

> but maybe I should just schedule it through cron and check output
> across a time range.
> one time I found that the resource was busy error but then after 5
> seconds it was gone. shown below.
>
>
> linux-9ikl:/home/humayun/wlants # iwlist scan > scan281020101226am_slow
>
> lo Interface doesn’t support scanning.
>
>
> eth0 Interface doesn’t support scanning.
>
> wmaster0 Interface doesn’t support scanning.
>
> WLAN0 INTERFACE DOESN’T SUPPORT SCANNING : DEVICE OR RESOURCE BUSY
> Is there any particular thing that I should be looking for.

That happened because NetworkManager was scanning at that time, which is why the
resource was busy.

> one more thing, sorry for my saying this, but is it a bug in linux?

Not likely. These kinds of things are usually due to local conditions.

If possible, try changing the channel to another of the clear ones that I
mentioned earlier.

Hi lwfinger,
I am already on channel 11 and most of the other wireless are also either on 1,6 or 11. I don’t have much information on changing channels and how to do it. (please pardon me)
I would like to show some “fast” and “slow” outputs. when its fast my wireless comes in cell 01 but when its slow it comes as cell 03
The name of my wireless is bukitaman.


Really slow

 Cell 03 - Address: 00:1A:70:77:95:6D
                Channel:11
                Frequency:2.462 GHz (Channel 11)
                Quality=51/70  Signal level=-59 dBm  
                Encryption key:on
                ESSID:"bukitaman"
                Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                          12 Mb/s; 24 Mb/s; 36 Mb/s
                Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                Mode:Master
                Extra:tsf=0000001b2b014181
                Extra: Last beacon: 291ms ago
                IE: Unknown: 000962756B6974616D616E
                IE: Unknown: 010882848B960C183048
                IE: Unknown: 03010B
                IE: Unknown: 0706444520010D14
                IE: Unknown: 2A0100
                IE: Unknown: 32041224606C
                IE: WPA Version 1
                    Group Cipher : TKIP
                    Pairwise Ciphers (1) : TKIP
                    Authentication Suites (1) : PSK
                IE: Unknown: 02500217FF000060361400158B010000195BE0C03C00000000000000000C00058B06000000000000000C00058B85090000060000000800018C13A5004B08002B8B000000080C001B8B04

Fast

Cell 01 - Address: 00:1A:70:77:95:6D
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=47/70 Signal level=-63 dBm
Encryption key:on
ESSID:“bukitaman”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000001b57e3e49a
Extra: Last beacon: 57ms ago
IE: Unknown: 000962756B6974616D616E
IE: Unknown: 010882848B960C183048
IE: Unknown: 03010B
IE: Unknown: 0706444520010D14
IE: Unknown: 2A0100
IE: Unknown: 32041224606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: 1A6C0017FF000000001400158B01001CBDB9FC950700000000000000000C00058B01000000000000000C00058B6C090000060000000800018C12A4004B08002B8B000000080F001B8B07

You have to login to your router to change the channel. It’s usually fairly straightforward. You’ll want to do it while plugged into it with a cable.

The cell number is just the order in which the AP is found. The fact that it is
1st when the network is fast and 3rd when slow argues for interference.

Unfortunately, I cannot tell anything about your network from the scan data for
your AP alone. Please post the entire output (all cells) for the fast and slow
cases.

@lwfinger
The output was too large if I combined slow and fast outputs, so I couldn’t post it. I don’t know how can I upload text files to the post.
The post option of URL is present.

Open up the large output in a text editor and copy it, and then paste it on a pastebin site such as Pastebin.com - paste tool, and press ‘submit’ on that site. It will give you a URL/web-address where the output is located. You can post that URL here.