Sign in with
Sign up | Sign in
Your question
Solved

Ubuntu 14.04 slow wifi

Tags:
  • Windows
  • WiFi
  • Ubuntu
Last response: in Linux/Free BSD
Share
October 9, 2014 4:50:36 AM

Yesterday I installed dual boot ubuntu and Windows but the wifi on Ubuntu is super slow, but on Windows is perfectly fine. How do I fix it?

More about : ubuntu slow wifi

October 9, 2014 5:28:32 AM

Rig specs please. Especially wifi dongle/chip. Comparison of speeds and method you used to check speeds.
m
0
l
October 9, 2014 5:50:59 AM

  1. lenovou400
  2. description: Notebook
  3. product: 09932MU (System SKUNumber)
  4. vendor: LENOVO
  5. version: Lenovo IdeaPad U400
  6. width: 64 bits
  7. capabilities: smbios-2.6 dmi-2.6 vsyscall32
  8. configuration: administrator_password=unknown boot=normal chassis=notebook family=HuronRiver System frontpanel_password=unknown keyboard_password=unknown power-on_password=unknown sku=System SKUNumber uuid=18C579A0-4AFD-11E1-B284-E4E3FF5147BF
  9. *-core
  10. description: Motherboard
  11. product: Emerald Lake
  12. vendor: LENOVO
  13. physical id: 0
  14. version: FAB1
  15. serial: WB04812803
  16. slot: Part Component
  17. *-firmware
  18. description: BIOS
  19. vendor: LENOVO
  20. physical id: 0
  21. version: 57CN30WW
  22. date: 12/05/2011
  23. size: 128KiB
  24. capacity: 2496KiB
  25. capabilities: pci upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer int10video pc98 acpi usb biosbootspecification netboot
  26. *-cpu
  27. description: CPU
  28. product: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
  29. vendor: Intel Corp.
  30. physical id: 30
  31. bus info: cpu@0
  32. version: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
  33. serial: Not Supported by CPU
  34. slot: CPU
  35. size: 1GHz
  36. capacity: 1GHz
  37. width: 64 bits
  38. clock: 100MHz
  39. capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid cpufreq
  40. configuration: cores=2 enabledcores=2 threads=4
  41. *-cache:0
  42. description: L1 cache
  43. physical id: 31
  44. slot: L1-Cache
  45. size: 64KiB
  46. capacity: 64KiB
  47. capabilities: synchronous internal write-through data
  48. *-cache:1
  49. description: L2 cache
  50. physical id: 32
  51. slot: L2-Cache
  52. size: 256KiB
  53. capacity: 256KiB
  54. capabilities: synchronous internal write-through data
  55. *-cache:2
  56. description: L3 cache
  57. physical id: 33
  58. slot: L3-Cache
  59. size: 3MiB
  60. capacity: 3MiB
  61. capabilities: synchronous internal write-back unified
  62. *-memory
  63. description: System Memory
  64. physical id: 34
  65. slot: System board or motherboard
  66. size: 6GiB
  67. *-bank:0
  68. description: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
  69. product: M471B5273DH0-CH9
  70. vendor: Samsung
  71. physical id: 0
  72. serial: 610CB46F
  73. slot: ChannelA-DIMM0
  74. size: 4GiB
  75. width: 64 bits
  76. clock: 1333MHz (0.8ns)
  77. *-bank:1
  78. description: DIMMProject-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <en_GB@li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2014-07-07 12:12+0000X-Generator: Launchpad (build 17086) [empty]
  79. physical id: 1
  80. slot: ChannelA-DIMM1
  81. *-bank:2
  82. description: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
  83. product: M471B5773DH0-CH9
  84. vendor: Samsung
  85. physical id: 2
  86. serial: 00599872
  87. slot: ChannelB-DIMM0
  88. size: 2GiB
  89. width: 64 bits
  90. clock: 1333MHz (0.8ns)
  91. *-bank:3
  92. description: DIMMProject-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <en_GB@li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2014-07-07 12:12+0000X-Generator: Launchpad (build 17086) [empty]
  93. physical id: 3
  94. slot: ChannelB-DIMM1
  95. *-pci
  96. description: Host bridge
  97. product: 2nd Generation Core Processor Family DRAM Controller
  98. vendor: Intel Corporation
  99. physical id: 100
  100. bus info: pci@0000:00:00.0
  101. version: 09
  102. width: 32 bits
  103. clock: 33MHz
  104. *-pci:0
  105. description: PCI bridge
  106. product: Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
  107. vendor: Intel Corporation
  108. physical id: 1
  109. bus info: pci@0000:00:01.0
  110. version: 09
  111. width: 32 bits
  112. clock: 33MHz
  113. capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
  114. configuration: driver=pcieport
  115. resources: irq:40 ioport:2000(size=4096) memory:f0600000-f06fffff ioport:d0000000(size=268435456)
  116. *-generic
  117. description: Unassigned class
  118. product: Illegal Vendor ID
  119. vendor: Illegal Vendor ID
  120. physical id: 0
  121. bus info: pci@0000:01:00.0
  122. version: ff
  123. width: 32 bits
  124. clock: 66MHz
  125. capabilities: bus_master vga_palette cap_list rom
  126. configuration: driver=radeon latency=255 maxlatency=255 mingnt=255
  127. resources: irq:16 memory:d0000000-dfffffff memory:f0600000-f061ffff ioport:2000(size=256) memory:f0620000-f063ffff
  128. *-display
  129. description: VGA compatible controller
  130. product: 2nd Generation Core Processor Family Integrated Graphics Controller
  131. vendor: Intel Corporation
  132. physical id: 2
  133. bus info: pci@0000:00:02.0
  134. version: 09
  135. width: 64 bits
  136. clock: 33MHz
  137. capabilities: msi pm vga_controller bus_master cap_list rom
  138. configuration: driver=i915 latency=0
  139. resources: irq:50 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:3000(size=64)
  140. *-communication
  141. description: Communication controller
  142. product: 6 Series/C200 Series Chipset Family MEI Controller #1
  143. vendor: Intel Corporation
  144. physical id: 16
  145. bus info: pci@0000:00:16.0
  146. version: 04
  147. width: 64 bits
  148. clock: 33MHz
  149. capabilities: pm msi bus_master cap_list
  150. configuration: driver=mei_me latency=0
  151. resources: irq:48 memory:f0725000-f072500f
  152. *-network
  153. description: Ethernet interface
  154. product: 82579V Gigabit Network Connection
  155. vendor: Intel Corporation
  156. physical id: 19
  157. bus info: pci@0000:00:19.0
  158. logical name: eth0
  159. version: 05
  160. serial: f0:de:f1:c2:6f:d1
  161. width: 32 bits
  162. clock: 33MHz
  163. capabilities: pm msi cap_list ethernet physical
  164. configuration: broadcast=yes driver=e1000e latency=0 multicast=yes
  165. resources: irq:20 memory:f0700000-f071ffff memory:f072b000-f072bfff ioport:3080(size=32)
  166. *-usb:0
  167. description: USB controller
  168. product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
  169. vendor: Intel Corporation
  170. physical id: 1a
  171. bus info: pci@0000:00:1a.0
  172. version: 05
  173. width: 32 bits
  174. clock: 33MHz
  175. capabilities: pm debug ehci bus_master cap_list
  176. configuration: driver=ehci-pci latency=0
  177. resources: irq:16 memory:f072a000-f072a3ff
  178. *-multimedia
  179. description: Audio device
  180. product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
  181. vendor: Intel Corporation
  182. physical id: 1b
  183. bus info: pci@0000:00:1b.0
  184. version: 05
  185. width: 64 bits
  186. clock: 33MHz
  187. capabilities: pm msi pciexpress bus_master cap_list
  188. configuration: driver=snd_hda_intel latency=0
  189. resources: irq:51 memory:f0720000-f0723fff
  190. *-pci:1
  191. description: PCI bridge
  192. product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
  193. vendor: Intel Corporation
  194. physical id: 1c
  195. bus info: pci@0000:00:1c.0
  196. version: b5
  197. width: 32 bits
  198. clock: 33MHz
  199. capabilities: pci pciexpress msi pm normal_decode cap_list
  200. configuration: driver=pcieport
  201. resources: irq:16
  202. *-pci:2
  203. description: PCI bridge
  204. product: 6 Series/C200 Series Chipset Family PCI Express Root Port 2
  205. vendor: Intel Corporation
  206. physical id: 1c.1
  207. bus info: pci@0000:00:1c.1
  208. version: b5
  209. width: 32 bits
  210. clock: 33MHz
  211. capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
  212. configuration: driver=pcieport
  213. resources: irq:17 memory:f0500000-f05fffff
  214. *-network
  215. description: Wireless interface
  216. product: Centrino Wireless-N 1030 [Rainbow Peak]
  217. vendor: Intel Corporation
  218. physical id: 0
  219. bus info: pci@0000:03:00.0
  220. logical name: wlan0
  221. version: 34
  222. serial: 4c:eb:42:1c:1d:08
  223. width: 64 bits
  224. clock: 33MHz
  225. capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
  226. configuration: broadcast=yes driver=iwlwifi driverversion=3.13.0-37-generic firmware=18.168.6.1 ip=192.168.1.71 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
  227. resources: irq:49 memory:f0500000-f0501fff
  228. *-pci:3
  229. description: PCI bridge
  230. product: 6 Series/C200 Series Chipset Family PCI Express Root Port 5
  231. vendor: Intel Corporation
  232. physical id: 1c.4
  233. bus info: pci@0000:00:1c.4
  234. version: b5
  235. width: 32 bits
  236. clock: 33MHz
  237. capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
  238. configuration: driver=pcieport
  239. resources: irq:16 memory:f0400000-f04fffff
  240. *-usb
  241. description: USB controller
  242. product: uPD720200 USB 3.0 Host Controller
  243. vendor: NEC Corporation
  244. physical id: 0
  245. bus info: pci@0000:04:00.0
  246. version: 04
  247. width: 64 bits
  248. clock: 33MHz
  249. capabilities: pm msi msix pciexpress xhci bus_master cap_list
  250. configuration: driver=xhci_hcd latency=0
  251. resources: irq:16 memory:f0400000-f0401fff
  252. *-usb:1
  253. description: USB controller
  254. product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
  255. vendor: Intel Corporation
  256. physical id: 1d
  257. bus info: pci@0000:00:1d.0
  258. version: 05
  259. width: 32 bits
  260. clock: 33MHz
  261. capabilities: pm debug ehci bus_master cap_list
  262. configuration: driver=ehci-pci latency=0
  263. resources: irq:23 memory:f0729000-f07293ff
  264. *-isa
  265. description: ISA bridge
  266. product: HM65 Express Chipset Family LPC Controller
  267. vendor: Intel Corporation
  268. physical id: 1f
  269. bus info: pci@0000:00:1f.0
  270. version: 05
  271. width: 32 bits
  272. clock: 33MHz
  273. capabilities: isa bus_master cap_list
  274. configuration: driver=lpc_ich latency=0
  275. resources: irq:0
  276. *-storage
  277. description: SATA controller
  278. product: 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
  279. vendor: Intel Corporation
  280. physical id: 1f.2
  281. bus info: pci@0000:00:1f.2
  282. version: 05
  283. width: 32 bits
  284. clock: 66MHz
  285. capabilities: storage msi pm ahci_1.0 bus_master cap_list
  286. configuration: driver=ahci latency=0
  287. resources: irq:46 ioport:30a8(size=8) ioport:30b4(size=4) ioport:30a0(size=8) ioport:30b0(size=4) ioport:3060(size=32) memory:f0728000-f07287ff
  288. *-serial UNCLAIMED
  289. description: SMBus
  290. product: 6 Series/C200 Series Chipset Family SMBus Controller
  291. vendor: Intel Corporation
  292. physical id: 1f.3
  293. bus info: pci@0000:00:1f.3
  294. version: 05
  295. width: 64 bits
  296. clock: 33MHz
  297. configuration: latency=0
  298. resources: memory:f0724000-f07240ff ioport:efa0(size=32)
  299. *-scsi:0
  300. physical id: 1
  301. logical name: scsi1
  302. capabilities: emulated
  303. *-disk
  304. description: ATA Disk
  305. product: ST500LT012-1DG14
  306. vendor: Seagate
  307. physical id: 0.0.0
  308. bus info: scsi@1:0.0.0
  309. logical name: /dev/sda
  310. version: 0001
  311. serial: W3P5G9QR
  312. size: 465GiB (500GB)
  313. capabilities: partitioned partitioned:dos
  314. configuration: ansiversion=5 sectorsize=4096 signature=f3f3a5ed
  315. *-volume:0
  316. description: Windows NTFS volume
  317. physical id: 1
  318. bus info: scsi@1:0.0.0,1
  319. logical name: /dev/sda1
  320. version: 3.1
  321. serial: bc5f9fc3-8abe-0b4c-b69f-e204b9481fb3
  322. size: 172GiB
  323. capacity: 172GiB
  324. capabilities: primary bootable ntfs initialized
  325. configuration: clustersize=4096 created=2014-09-30 02:56:37 filesystem=ntfs modified_by_chkdsk=true mounted_on_nt4=true resize_log_file=true state=dirty upgrade_on_mount=true
  326. *-volume:1
  327. description: Extended partition
  328. physical id: 2
  329. bus info: scsi@1:0.0.0,2
  330. logical name: /dev/sda2
  331. size: 292GiB
  332. capacity: 292GiB
  333. capabilities: primary extended partitioned partitioned:extended
  334. *-logicalvolume:0
  335. description: HPFS/NTFS partition
  336. physical id: 5
  337. logical name: /dev/sda5
  338. capacity: 197GiB
  339. *-logicalvolume:1
  340. description: Linux filesystem partition
  341. physical id: 6
  342. logical name: /dev/sda6
  343. logical name: /
  344. capacity: 93GiB
  345. configuration: mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered state=mounted
  346. *-logicalvolume:2
  347. description: Linux swap / Solaris partition
  348. physical id: 7
  349. logical name: /dev/sda7
  350. capacity: 1903MiB
  351. capabilities: nofs
  352. *-scsi:1
  353. physical id: 2
  354. logical name: scsi4
  355. capabilities: emulated
  356. *-cdrom
  357. description: DVD-RAM writer
  358. product: DVD-RAM UJ8A7AS
  359. vendor: MATSHITA
  360. physical id: 0.0.0
  361. bus info: scsi@4:0.0.0
  362. logical name: /dev/cdrom
  363. logical name: /dev/sr0
  364. version: SB51
  365. capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
  366. configuration: ansiversion=5 status=open
  367. *-battery
  368. product: Smart Battery
  369. vendor: Intel Corp.
  370. physical id: 1
  371. version: 2008
  372. serial: 1.0
  373. slot: Rear
  374. *-power UNCLAIMED
  375. description: TBD by ODM
  376. product: TBD by ODM
  377. vendor: TBD by ODM
  378. physical id: 2
  379. version: 1.0
  380. serial: TBD by ODM
  381. capacity: 32768mWh


The speed differences are massive. On ubuntu I can barely open a page, on Windows or on my phone it's perfectly fine.
m
0
l
Related resources
October 9, 2014 6:21:44 AM

In ubuntu terminal, enter:

sudo modprobe -r iwlwifi
then enter your password at the prompt and press enter

then enter:

sudo modprobe iwlwifi 11n_disable=1 and press enter

See if that improves the speed and report back.
m
0
l
October 9, 2014 6:24:27 AM

Im getting this :

modprobe: FATAL: Module iwlwifi is in use.
m
0
l

Best solution

October 9, 2014 6:32:03 AM

Ok.

In terminal run:

sudo gedit /etc/modprobe.d/iwlwifi.conf

This will give you the wireless conf file.

At the bottom of the file, press enter to give yourself a blank line, then enter:

options iwlwifi 11n_disable=1

Save the file and reboot, then test speeds.
Share
October 9, 2014 6:34:59 AM

It's an empty file.
m
0
l
October 9, 2014 6:36:58 AM

Enter the code and save. Reboot and try.
m
0
l
October 9, 2014 6:43:17 AM

It looks Ok for now. Thank you very much. If there's a problem I'll write again.
m
0
l
October 9, 2014 6:52:26 AM

No problem. Also make sure to use wpa2 encryption for best results with linux drivers.
m
0
l
October 9, 2014 7:33:32 AM

Actually after 10 minutes the speed is very low again..
m
0
l
October 9, 2014 8:37:21 AM

What router? What channel on the router (try 1 or 11)? What ISP? What test(s) are you using?
m
0
l
October 9, 2014 8:45:31 AM

Can you please give me instructions for a complete idiot, I don't really understand the routers :D 
m
0
l
October 9, 2014 9:06:34 AM

You can try different paramaters:
  1. modinfo iwlwifi

  1. parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
  2. parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
  3. parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int)
  4. parm: fw_restart:restart firmware in case of error (default true) (bool)
  5. parm: antenna_coupling:specify antenna coupling in dB (defualt: 0 dB) (int)
  6. parm: wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable (default: 1) (int)
  7. parm: nvm_file:NVM file name (charp)
  8. parm: uapsd_disable:disable U-APSD functionality (default: N) (bool)
  9. parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
  10. parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
  11. parm: power_save:enable WiFi power management (default: disable) (bool)
  12. parm: power_level:default power save level (range from 1 - 5, default: 1) (int)


maybe in addition to setting 11n_disable=1 you also need to set your router to bg mode instead of bgn mode.

setting 'swcrypt=1' or other combination of parameter may be useful. You will have to experiment.

In addition this may be a bug that has been fixed in a newer kernel. 3.13 is already quite old.
Try the Ubuntu 14.10 Beta2 LiveCD/LiveUSB and see if the problem is still present. 14.10 comes with Kernel 3.16.
http://releases.ubuntu.com/utopic/
m
0
l
!