Hello,
total linux noob here. I have got problem with internet connection. I have laptop HP Probook 4540s and I get 5-10 Mbps max, but when I try on Windows 8 I have got 40-50 Mbps. I don’t have idea where is the problem, I tried many solutions that I find on google, nothing works. Ubuntu version is 14.04 LTS.
Here is information about the wifi:
*-network
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 00
serial: 54:35:30:61:3e:e9
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.2.0-34-generic firmware=0.37 ip=192.168.0.101 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:19 memory:d0610000-d061ffff
Thanks.
Does running these 3 commands in sequence make any diifference
sudo modprobe -r rt2800pci
then
sudo modprobe rt2800pci nohwcrypt=1
?
Be aware, this will NOT survive a reboot, so if you reboot you’ll have to run those commands again … but if it helps, we can make it permanent.
If it makes no difference, please post the output from:
iwconfig
Hello,
after running these 2 commands, it disconnected me from the WIFI and I couldn’t connect anymore.
Here is the output from the iwconfig:
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"TP-LINK_B59046"
Mode:Managed Frequency:2.452 GHz Access Point: E8:94:F6:B5:90:46
Bit Rate=108 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=46/70 Signal level=-64 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:75 Invalid misc:56 Missed beacon:0
lo no wireless extensions.
okay try this
echo "options rt2800pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt2800pci.conf
then REBOOT.
Now test wireless.
If that leaves you unable to connect, running:
sudo rm -v /etc/modprobe.d/rt2800pci.conf
then rebooting, should get you back to where you are now.
Now it is little bit better. It makes 15-20 Mbps, but on Windows is still 40-50 Mbps.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"TP-LINK_B59046"
Mode:Managed Frequency:2.452 GHz Access Point: E8:94:F6:B5:90:46
Bit Rate=108 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=44/70 Signal level=-66 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2744 Invalid misc:2102 Missed beacon:0
lo no wireless extensions.
Where are you getting your figures of
15 - 20mbps from ?
as that output suggests you have a wireless link speed to your router of
Bit Rate=108 Mb/s
But the “Tx excessive retries” and “Invalid misc” count has actually risen since we applied that “fix” … so if I were you I’d remove the fix with:
sudo rm -v /etc/modprobe.d/rt2800pci.conf
then log off/on (or reboot)
Are these tests both on the same machine, or two different ones ?
Are they both full installs ?
Mark Greaves (PCNetSpec) post:10:
Are these tests both on the same machine, or two different ones ?
Are they both full installs ?
It’s the same machine.
And they are full installs - I’m not using virtual machine - if that is the question.
Try setting IPv6 to “Ignore” in networkmanager.
and how do they compare when the tests are run using an ethernet cable rather than wireless ?
With cable on Ubuntu: Speedtest by Ookla - The Global Broadband Speed Test - everything is fine.
I wasn’t able to find networkmanager - is this will do the job: How to disable IPv6 in Ubuntu 14.04? - Ask Ubuntu ? (I think I disabled it, when I was searching for the problem from google, but I am not sure)
Networkmanager is an icon by your clock … you should be able to right-click it and select “edit connections”
then select your wireless profile and click “Edit”
then on the IPv6 tab, change
Method: Ignore
then save the connection.
then log off/on.
But you can disable IPv6 altogether by your method if you wish
If no improvement, can you post the output from:
lspci -vnn | grep -i net
There is little improvement - Speedtest by Ookla - The Global Broadband Speed Test
Here is the output:
04:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
Can we also have to output from:
uname -a
Linux valentin 4.2.0-34-generic #39~14.04.1-Ubuntu SMP Fri Mar 11 11:38:02 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Okay, you game for compiling the rt3290sta driver and giving it a shot ?
Can you post the output from:
dpkg -l | build-essential
and
dpkg -l | grep linux-image-generic
I will do what ever you say, man You just need to guide me
Strange, the first line outputs:
build-essential: command not found
even though when I type sudo apt-get install build-essential it outputs:
build-essential is already the newest version.
Second line:
ii linux-image-generic 3.13.0.83.89 amd64 Generic Linux kernel image
ii linux-image-generic-lts-wily 4.2.0.34.27 amd64 Generic Linux kernel image
Okay, open a terminal and run these commands in sequence:
mkdir ~/rt3290sta
then
cd ~/rt3290sta
then
wget https://github.com/pkeeper/rt3290sta/archive/master.zip
then
unzip master.zip
then
cd ~/rt3290sta/rt3290sta-master
then
make
then
sudo make install
then
sudo modprobe -r rt2800pci rt2x00pci
then
sudo modprobe rt3290sta
did wireless come to life … and is it better ?
what’s the output now from:
sudo lshw -C network
?
BE AWARE - this driver will probably not survive a reboot, but if it was any better we can make it permanent.
To undo
Run:
cd ~/rt3290sta/rt3290sta-master
then
sudo make uninstall
then
sudo rmmod rt3290sta
then
sudo modprobe rt2800pci
(or rebooot afer the first 2 undo commands)
.