connection speed limit semi solved

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

connection speed limit semi solved

Postby Foz on Thu Sep 11, 2008 6:34 am

I am running Linux Mint, Elyssa on two machines and having the same problem on both.
The wireless internet connection is very slow.
This machine is dual booted with Win XP where wireless works fine. It also works when wired.
This machine uses a Belkin /02.11g card and the other a second hand one that says Edimax. Both are PCI cards.

From here I get the same results on both PC's.
lspci says they are RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01) and mintwifi adds PCI ID = 1814:0201 (rev 01)
Elsewhere on the forums it is stated this is supported by Mint. Although the network is detected and does work, speeds are extremely low (<200kbs) for a 20Mbs connection.
connection information states: interface 802.00 WiFi (wlan0), speed 1Mb/s, driver rt2500pci
When I run network tools from the menu it gives the same info (including 1meg speed). But if I press the configure button it says the connection (wlan0) does not exist.

Is this likely to be a driver problem or have a missed something more basic?
Any help received gratefully.
Foz
Level 1
Level 1
 
Posts: 16
Joined: Tue Sep 09, 2008 6:05 pm

Linux Mint is funded by ads and donations.
 

Re: connection speed limit

Postby Husse on Fri Sep 12, 2008 6:31 am

Post the output of
Code: Select all
sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: connection speed limit

Postby Foz on Fri Sep 12, 2008 7:01 am

'ere we go

-------------------------
* I. scanning WIFI PCI devices...
-- RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
==> PCI ID = 1814:0201 (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"the hive mind"
Mode:Managed Frequency:2.442 GHz Access Point: 00:17:3F:07:B4:C4
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:2F24-CEA3-E2EF-15A0-AE86-A6D8-E761-2DFA [2]
Link Quality=69/100 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:e0:4c:e4:81:c4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8400 (8.2 KB) TX bytes:8400 (8.2 KB)

wlan0 Link encap:Ethernet HWaddr 00:11:50:a9:5b:8a
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:746 errors:0 dropped:0 overruns:0 frame:0
TX packets:757 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:792739 (774.1 KB) TX bytes:172475 (168.4 KB)

wmaster0 Link encap:UNSPEC HWaddr 00-11-50-A9-5B-8A-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

-------------------------
* V. querying DHCP...
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wmaster0/
Sending on LPF/wmaster0/
Listening on LPF/eth0/00:e0:4c:e4:81:c4
Sending on LPF/eth0/00:e0:4c:e4:81:c4
Listening on LPF/wlan0/00:11:50:a9:5b:8a
Sending on LPF/wlan0/00:11:50:a9:5b:8a
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPREQUEST of 192.168.2.2 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.2.2 from 192.168.2.1
bound to 192.168.2.2 -- renewal in 926266054 seconds.
-------------------------
* VI. querying nslookup google.com...
Server: 194.168.4.100
Address: 194.168.4.100#53

Non-authoritative answer:
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 64.233.167.99
Name: google.com
Address: 72.14.207.99
Foz
Level 1
Level 1
 
Posts: 16
Joined: Tue Sep 09, 2008 6:05 pm

Re: connection speed limit

Postby Mr. Blue on Sat Sep 13, 2008 8:46 am

iwconfig will give you an output something like the one you posted:

Code: Select all
wlan0 IEEE 802.11g ESSID:"the hive mind"
Mode:Managed Frequency:2.442 GHz Access Point: 00:17:3F:07:B4:C4
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:2F24-CEA3-E2EF-15A0-AE86-A6D8-E761-2DFA [2]
Link Quality=69/100 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


The relevant line is 'Bit Rate=1 Mb/s'

You can change the speed by using iwconfig.

Code: Select all
sudo iwconfig wlan0 rate 11M


It may take a while for the card to renegotiate the new speed, but be patient. Check the output of iwconfig to see the change. 11Mb has been fine for streaming audio/video for me, but use whatever speed you need.
...and that should work...theoretically.
User avatar
Mr. Blue
Level 2
Level 2
 
Posts: 69
Joined: Sun Jul 13, 2008 9:25 pm

Re: connection speed limit

Postby Foz on Sun Sep 14, 2008 10:58 am

Fantastic, problem solved.
Thanks for the help.

I had a shuftie at the man iwconfig page, it said most cards defaulted to auto, so I set it to auto but nothing happened, then I set it to 50M as I like round numbers, that generated an error. Since you suggested 11M I tried that, and it liked it. I thought 11M seemed an odd number to just pick so I tried the 11g standard of 54M and it likes that to. I justed installed Opera in less than a minute!
I am really enjoying the functionality of the command line, but there is just so much to learn.
Foz
Level 1
Level 1
 
Posts: 16
Joined: Tue Sep 09, 2008 6:05 pm

Re: connection speed limit

Postby Husse on Sun Sep 14, 2008 3:40 pm

50M as I like round numbers, that generated an error

That's because there is no standard set to that speed - these numbers are aliases for b g n etc...
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: connection speed limit

Postby Foz on Thu Sep 18, 2008 7:29 am

Did I say problem solved.
That's 'cos I didn't realise changes made using iwconfig, or ifconfig are not persistent and that after every user change or shutdown we're back to 1Mbs.
This means I must find where the card is configured at boot or login and make the change there.
Any suggestions?
I've looked in /etc/network/ but none of the files there seemed helpful, but since I'm new to both scripting and the FHS that's not too surprising.
Incidentally, network manager in the mint menu still won't recognise wlan0. Is this a common problem?
Foz
Level 1
Level 1
 
Posts: 16
Joined: Tue Sep 09, 2008 6:05 pm

Re: connection speed limit

Postby Mr. Blue on Sat Sep 20, 2008 9:57 am

I also have to reset the speed after a reboot. Haven't found a way to make it permanent.

Looks like a bug with a wireless driver:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/190515
...and that should work...theoretically.
User avatar
Mr. Blue
Level 2
Level 2
 
Posts: 69
Joined: Sun Jul 13, 2008 9:25 pm

Re: connection speed limit

Postby Husse on Sat Sep 20, 2008 12:42 pm

I cant understand why changes in iwconfig are not persistent and I've not found any real solution
One way of doing it would be to have a script that runs iwconfig at boot
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: connection speed limit

Postby Foz on Thu Sep 25, 2008 4:30 pm

First off, a big thankyou to both Husse and Mr. Blue for your help.
I'm sorry for the delays between postings, I have a lot of demands on my time right now.
One of these is Cisco's, IT Essentials, network operating systems course. This is what sparked my inerest in Linux. Though for some reason it will not allow me to log in using Elyssa.
I have not been able to solve my problems, but I have found a work around in Daryna. It runs at the right speed and allows me to learn about Linux on a Linux machine (which is much easier than running upstairs every ten minutes).
This is not a good solution but at the moment, needs must. When I have more time and hopefully, better skills I shall return to the subject.
'till then
adios
Jon.
Foz
Level 1
Level 1
 
Posts: 16
Joined: Tue Sep 09, 2008 6:05 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Firry, Flemur, niowluka, waynea and 37 guests