Ubuntu Networking :: No More Dropping Connection But Really Slow
May 10, 2010
Lately I have been using my window's partition due to the fact that 10.04 drops my wireless signal every 5-10 minutes, but today I downloaded the new updates and that seems to have fix the issue with the dropping of the wireless connection. Now the only problem is the internet is so slow when trying to go to webpages it times out. I have opened up firefox gone to about:config and changed the necessary lines, but still dreadfully slow.
I have a windows installation (partition) but have installed into freespace on the same drive using the auto-partition manager, etc, and everything is fine. I got my network going fairly easily by going Preferences > Wireless and inputting SSID and WPA encryption key (PSK). My router issues an WLAN IP, I can get on the net, I can see my other Windows PCs on the network, I can reach my router, and all is good.So after several hours of mooching about and looking at things, I have updated all the Linux packages via Synaptics (following a prompt to update everything) including GRUB. My dual boot now shows two versions of the OS:
GRUB 1.7~Beta4 Ubuntu, Linux 2.6.31-19 - generic (I am booting this one) Ubuntu, Linux 2.6.31-14 - generic
I also set up my HP F4580 printer over wifi on the network though with slightly incorrect drivers (for the F4400 series as this was recommended at the closest match). It works, and I can print a test page no problem.The only thing is that now (since doing all that) Ubuntu seems to periodically drop my connection to the network and then request the network PSK again, but when I enter it, it spends time trying to renegotiate but fails, and then re-requests the PSK, over and over and it never reconnects. I have to reboot and then I can connect again (automatically), until it drops at some random point (like 5 or 10 mins later)
Two weeks ago I decided to ditch my XP install completely and switch to Ubuntu 10.04. So far so good, and I'm very happy with my decision. However, about 3 days ago, my wired connection started playing up. It keeps dropping out every 2 hours or so between 13.00 and 04.00. After dropping out, it immediately reconnects again (at least when I use Automatically DCHP config). From 04.00 to 13.00 it is more or less stable.
I tried resolving by reserving an IP in the DCHP Client Table in my router (linksys WRT120N). Additionally, I told the Network Manager to use the Manual configuration. Unfortunately these changes didn't help and the problems stay the same......
The daemon.log shows the following information code...
I've just loaded the new Hamachi2 Linux beta with Haguichi for a GUI. Everything installed & connects OK, but the connection at the hub is dropping & reconnecting every minute or so. I tried adding a line to the sshd_config file to keep it alaive but it didn't make a difference.
Here's the situation: I've got an eee pc 901 running Ubuntu 9.10 netbook remix. I'm using it to connect to a WPA-encrypted wireless network on a WRT54GL running dd-wrt. It mostly connects and works ok, but sometimes it just stops working for no apparent reason (the netbook still shows itself as connected), but you can't get anywhere until you manually disconnect and reconnect. Other times, it will drop the connection, and then quickly reconnect (or sometimes not). Obviously, this behavior is pretty irritating. At first I thought the problem was with the router, but I checked the logs there and they all seem fine, and other computers on the same router don't have this problem. Looking at "dmesg | tail" on my netbook, I see a lot of instances of the following error, which I'm thinking is probably the problem:
I searched for that error message and I found this Ubuntu bug report: [URL] that describes symptoms that match mine. In that report, a poster mentions that he compiled and installed a new version of the wireless driver from the Ralink website, and it fixed his problem. Do you think installing a new driver would be good? Or has that updated driver already been added to the kernel since that bug report was filed? I've never compiled a kernel module before.
One other thing, I also see repeated instances of these lines (or similar ones) in dmesg, which look like they could be related. Code: [44096.275923] RX DESC f30ca000 size = 2048 [44096.276885] <-- RTMPAllocTxRxRingMemory, Status=0 [44096.281404] --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat [44096.281424] 1. Phy Mode = 0 [44096.281435] 2. Phy Mode = 0 [44096.309841] 3. Phy Mode = 0 [44096.314533] MCS Set = 00 00 00 00 00 [44096.316196] <==== RTMPInitialize, Status=0 [44096.316280] 0x1300 = 000a4260 [44096.401269] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11) [44096.472502] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 116 [44096.472977] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11) [44106.768056] ra0: no IPv6 routers present
as the titles states my wireless is dropping out but the networks manager is still saying i have a connection. the only way i have been able to be on the network every minute or so i have to manauly disconnect and reconnect to my wifi. under my windows 7 and vista installs the wireless card works fine now my card is a dlink dwa-547 and it uses the arthores chipset, it is encprtyed wifi, wpa2 aes on a n/g based network
Code: Network controller: Intel Corporation Wireless WiFi Link 5300 I have Ubuntu 10.04 32bit installed:
Code: Linux dani-laptop 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux
It has been working fine since I installed 10.04 but recently (end of last week I think) it stared dropping the wireless connection very often. So it will disconnect and reconnect, but I can't seem to find a pattern, sometimes it goes for hours without an issue and sometimes it does it several times in a row. Below is an extract of syslogs from when this happens. But not sure if what I need is there... the only weird thing I can see is:
Code: Oct 27 18:58:32 username-laptop wpa_supplicant: Trying to associate with 00:1e:be:a6:c0:0f (SSID='accessp' freq=5280 MHz) Oct 27 18:58:32 username-laptop NetworkManager: <info> (wlan0): supplicant connection state: completed -> associating Oct 27 18:58:32 username-laptop kernel: [123835.372217] wlan0: deauthenticating from 00:1e:7a:6f:d9:90 by local choice (reason=3) ..... Oct 27 18:59:29 username-laptop ntpdate: no server suitable for synchronization found
I am running F13 on my Desktop (with a Ralink RT2870 wireless card) and also on my Laptop (Acer Aspire 5738Z) and am connecting to the internet via a NetGear router. On my Laptop I can connect to the internet fine with no problems. However on my Desktop when I turn my computer on it connects to the internet fine, and works, however after some time (maybe 5-10 minutes) it disconnects and the box asking for the password reappears, then I click connect but no joy.
The connection box just keeps reappearing and it won't connect again until I restart the computer (although sometimes it takes more than 1 restart!). This is not a signal issue, as my Desktop also has a Windows partition and that connects to the internet fine and does not drop off. I have installed the RT2870 driver through rpmfusion, which didn't fix the problem, although uninstalling the driver didn't stop the card from working.
I usually start up my Internet service by typing ./rc.inet1. While its connecting I usually see my routers ip address then I connect and I start browsing and everything is fine. A few times I noticed that instead of seeing the routers address it showed some other address and I could not get online. I try ./rc.inet1 stop and renew but still cannot connect, I reboot and I then see the router and I can connect. I am using slackware13, and opera10 browser.
Sorry if this has already been solved;answered anywhere else - I tried looking it up but to no avail. The problem persists & the hints I found around the forum did not provide a solution to the case, neither other net solutions i looked up I run Winblows at the lab and sometimes take my Ubuntu PC with me. There is an open Wireless network where they set MAC permission, and there's no pwd to access. It so should be fairly easy to change m MAC and access it, right! No. I run ifconfig and macchange, successfully change my MAC addr BUT the connection drops! Then if I change it back (MAC to my original address) it goes back online. And yes, I shut down the service -- "ifconfig wlan0 down" and then up..WHAT ON EARTH am I doing wrong??? No webpages touch this 'trouble-frigging-shooting instance!
I have a Dell Inspiron 6000 laptop running Fedora 12. Recently my wireless connection has begun dropping every few hours and not reconnecting. After trying for about 30-45 seconds, the WPA password prompt comes up but still doesn't connect.
Fedora release 12 (Constantine) Kernel Linux 126.96.36.199-67.fc12.i686 GNOME 2.28.2 Memory: 2.0 GB Processor: Intel Pentium R 1.60 GHz
As soon as i'm starting to copy a large file enough file (>700Mb) to my ubuntu box (connected to an Asus router via wifi) from a Windows 7 client (connected to router via ethernet cable) i get a dramatic drop in speed. upload starts at 1,0Mb/sec with a ping to ubuntu box at <1ms, and in 2 minutes it drops to 200kb/sec with a ping of over 1000ms! The ping increases with every second in a linear progression.
To exlude router as a possible problem copying to a windows 7 notebook connected to router via wifi results in an average of 2,7Mb/sec with an average ping of 150ms.
MB Model: Asus P5B Deluxe wifi OS: Ubuntu Server 9.10 + desktop installed Wifi configured via GUI
Just installed kubuntu 10.10 on a dual boot with winxp on my asus r101 netbook. wireless connects perfectly, but after roughly 30 seconds, i cant access any address or ping an url or ip. however network manager says im still connected. so i click on network manager, and click on the wireless connection, it then reconnects in a couple of seconds, and all is good again. i carry on browsing, and 30 seconds later the same happens again!!! my wireless signal is fairly week, however connection works everytime and in xp this is not an issue.
I'm running Ubuntu Karmic on my desktop machine which is connected to my wireless router (via LAN cable).
I have two laptops on the LAN as well. One is my wife's Windows 7 laptop and the other is my Ubuntu Karmic laptop.
They both connect wirelessly to the LAN and all three computers have static IP addresses assigned.
So here's the issue. The desktop serves the laptops over the LAN with Samba file sharing, SSH, VNC and DAAP.
From the Windows 7 laptop, the connection over the LAN is fine. I generally use it to connect to the Samba shares and occasionally use it for VNCing to my Desktop's....desktop. It is fast and responsive.
From the Ubuntu laptop though, everything seems very slow. Connecting to the samba shares results in a wait of at least 30-60 seconds, even if they have only recently been accessed. Once it has connected (i.e. once the share opens up and you can see files) actually opening the files themselves is delayed too, but not to the same extent.
Also, connecting to the desktop via VNC is intolerably slow, with mouse movements being so delayed that it is almost impossible to click on anything.
SSH takes a long time to connect too (up to 30 secs) but obviously once connected it is fine. In a similar vain, FreeNX connection takes a long time to connect but once the desktop has loaded it is fine too.
I can use FreeNX instead of VNC but actually like using both for different functions. I understand VNC is slower than FreeNX but over a 100Mbps LAN connection I wouldn't expect it to be slow at all.
This laptop used to be a Windows Vista/Win7 laptop prior to being replaced with Ubuntu and it was able to connect to the server with no speed problems.
After entering the command I have lost all ability to even use my wireless ability even if it was for 5 minutes. Now I am using a different kernel, internet still drops every 5 minutes, but would love to get my internet up and running again.
I've just installed the ubuntu 9.10. I have one problem with it. I have a home net in configuration: Windows XP on a cable, Ubuntu on a cable and Windows on wifi. When I'm surfing on the net on Ubuntu, Wifi isn't work how it should. It's very slow and I don't know what to do with it. Windows XP on a cable is OK, it works good. What happen and how can I repair it?
Since I've updated from 9.10 to 10.04, I'm having some difficulties to use the internet. Even though I can connect to my home wireless network, the connection is really slow. I've got a Dell Inspiron 1545, and here comes the configuration:
I am running Kubuntu 10.04 (32-bit) on a Sony VAIO VPCCW23FX, when I connected to my router through Wireless the connection is too slow and random, 3 kB - 50 kB. But when connect to the router through Ethernet cable I get the normal speed 265 kB. I read many posts but can't find solution, and already updated all packages. the Wireless card is:
Code: 02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) the output of iwconfig:
Code: wlan0 IEEE 802.11bgn ESSID:"zzzzplw9" Mode:Managed Frequency:2.437 GHz Access Point: 00:25:68:9B:0D:FE Bit Rate=1 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off
It has a button next to the power to show the wireless status, on or off. If I turn the laptop on with the wireless active, it keeps flickering between on and off states, and gives me a really slow connection.It happened in 10.04 if I booted with the wireless activated, but could be fixed by resetting the wireless. Now in 10.10, it happens constantly, and I just wont stop.My laptop is a CompaQ Altec Lansing running 64 bit.
I have an Ubuntu box, 11.04 x64, running on a Dual Opteron SFF box (iWill ZMaxDP... pretty old machine). Up until a few weeks ago, it was acting as a Windows 2008 Server, but i moved it to Ubuntu.
Anyway, the machine will not stay on the network for any amount of time, without falling off... I have changed network cards, cables, ports on the switch, etc, and nothing seems to work. I have a Windows 2003 box giving out DHCP addresses, and for a while, i actually tured that off and setup a second Ubuntu box to give IPs... it made no difference. The box gets an IP, and can ping outside for a bit (2 min or so) and then just looses connectivity... ifconfig shows it with an IP (i have tried both Static and DHCP config) and nothing seems to work...
I've installed Lucid Lynx in both kubuntu and xubuntu variants, and experienced the same problem, (Note I'm also still running 9,04,on the same computer, trouble free). With 10.04, the problem is that sound playback software works initially, but drops the connection with the sound driver randomly, at times varying from a few seconds to a couple of minutes. It seems to happen regardless of whether Alsa or PulseAudio is set as default. This happens with Movie Player, VLC, Audacity, and with Flash in Firefox - they all appear to start normally, with sound, but soon fail. (Again, I don't have this problem with earlier releases, using the same computer) I know little about sound configuration.
I set up the web/backup server for our department and I'm having some major issues. Firstly, the server seems to be dropping the network connection periodically. I checked all of the logs and it appeared to be an IP6 issue as the only message that seemed to correlate with it was "eth0: no IPv6 routers present" in syslog. I added "ipv6.disable=1" to my boot options in menu.lst and this seemed to take care of the problem. However, I woke up this morning and the server was back down.
This didn't seem to take care of the problem. It seems to occur when my automatic backup scripts go through. I have several BASH backup scripts that use rysnc over SSH to backup several computers to the server and the server to my desktop at home. I was able to trigger the problem a couple of times running the backup script this morning. Now, I'm getting the following error when running the script, instead of losing the network connection:
I tried booting with a previous kernel to see if that was the problem and I'm still getting this error. I've searched through all of the logs that I could think of to try to track down any software based problems and I just don't see anything. In the past, whenever I've run into such serious with a Linux box that popped up out of nowhere, it's always been a hardware failure. I've currently disabled all of the backup scripts and I'm going to see if it lasts through the weekend.
I have a linux server that has seemingly random network slow downs. This server is mainly my dvr. I'm starting to think it's a hardware problem, but that's just a gut feeling. I don't really know how to determine if it isn't.
Slow summary:SSH, HTTP, VNC incoming traffic are all affected Outgoing traffic seems ok. I haven't tested this as much. Rebooting mostly helps. Stopping/starting network doesn't help Load average is below 1.0 Updated Kernel with no change
I use Slackware 12.1 and I have a big problem that I can't solve by myself. I'm connecting to a LAN where there are almost 20 PC connected, all with static IP.
my ip: 192.168.1.205 netmask: 255.255.255.0 gateway: 192.168.1.1 DNS server: 188.8.131.52, 184.108.40.206
I configured manually it but it doesn't works well. I set up the DHCP server on Windows 2003 so I tried to configure it with dhcp too. It gives addresses from 192.168.1.200 to 192.168.1.240 there are no PCs connected with DHCP at the moment, so my IP is only mine.
My problem is the following: bash-3.1# ifconfig eth0 Link encap:Ethernet HWaddr 00:1e:68:3d:1b:ad inet addr:192.168.1.201 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21e:68ff:fe3d:1bad/64 Scope:Link Up Broadcast Running Multicast MTU:1500 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:44 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7041 (6.8 KiB) TX bytes:6282 (6.1 KiB) Interrupt:17 Base address:0xc000
bash-3.1# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
bash-3.1# ping www.google.es PING www.l.google.com (220.127.116.11) 56(84) bytes of data. 64 bytes from 18.104.22.168: icmp_seq=1 ttl=243 time=78.7 ms 64 bytes from 22.214.171.124: icmp_seq=2 ttl=243 time=84.2 ms 64 bytes from 126.96.36.199: icmp_seq=3 ttl=243 time=75.1 ms 64 bytes from 188.8.131.52: icmp_seq=4 ttl=243 time=82.1 ms 64 bytes from 184.108.40.206: icmp_seq=5 ttl=243 time=82.8 ms 64 bytes from 220.127.116.11: icmp_seq=6 ttl=243 time=79.4 ms 64 bytes from 18.104.22.168: icmp_seq=7 ttl=243 time=82.3 ms 64 bytes from 22.214.171.124: icmp_seq=8 ttl=243 time=75.2 ms 64 bytes from 126.96.36.199: icmp_seq=9 ttl=243 time=80.7 ms 64 bytes from 188.8.131.52: icmp_seq=10 ttl=243 time=84.7 ms 64 bytes from 184.108.40.206: icmp_seq=11 ttl=243 time=75.0 ms 64 bytes from 220.127.116.11: icmp_seq=12 ttl=243 time=82.2 ms 64 bytes from 18.104.22.168: icmp_seq=13 ttl=243 time=85.1 ms 64 bytes from 22.214.171.124: icmp_seq=14 ttl=243 time=80.9 ms 64 bytes from 126.96.36.199: icmp_seq=15 ttl=243 time=87.7 ms 64 bytes from 188.8.131.52: icmp_seq=16 ttl=243 time=87.6 ms 64 bytes from 184.108.40.206: icmp_seq=17 ttl=243 time=83.2 ms
It takes a lot of time connecting to a internet web site! It's really strange because downloading a file the transferring rate is good, it takes some time starting, but it works normally. I wait almost 7 seconds after seeing a web site. All the others PC's (windows xp) can connect perfectly to network using static and DHCP. Trying with another wire in another room I've got the same result. My /etc/resolve.conf is configured with the IPs specified upper in this page.
I set up my linux router as a simple NAT router. I use CentOS 5.4. When I set up ISP proxy IP in the browser of client PC, Internet access is fast. When I remove ISP proxy IP from the browser, Internet access is slow.
ISP use transparent caching but I can use manual caching as well. Clients on my network with transparent caching get slow internet access and using ISP proxy get fast internet access.
ISP announce that we can use transparent caching or manual caching.
So, I set up my linux router with squid. I set up cache_peer TAG point to ISP's proxy IP. But the problem is the same. Using my squid proxy is slow and using ISP proxy directly is fast. All other network settings are correct.
How can I improve my internet connection using transparent caching. I don't want to set up proxy IP address on all clients.
I recently installed ubuntu on my laptop and the wifi is horrible. The connection was very slow and dropped every 5 minutes or so. I have tried enabling the proprietary madwifi drivers - however then it wouldn't connect at all.
I am currently staying on a university campus in Taiwan. Internet on Ubuntu Lucid 64bit here is often painfully slow, except for connections to Taiwanese websites. I dual boot with Windows 7, and there is no problem there. For instance, I downloaded the same piece of software (Spideroak) on both Win and Ubuntu, with Ubuntu I had to try repeatedly as the download would not complete, and in the end it took several hours to download. On W7, it took 10 minutes. What is Windows and Ubuntu doing differently?
I tried disabling ipv6 for this session by running sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1, as a number of posts mention improving connection speed that way, but no effect.
I know that websites from Taiwan are working well, because I am getting my Ubuntu updates from a Taiwanese mirror: updates are fast, except for packages in the 'partner' repos (presumably not loaded from the mirror) which take hours to load, if at all. I don't want to depend on Windows for large downloads... (I don't want to depend on Windows for anything).
I have Ubuntu running on my HTPC and for the longest time all this was working fine. Now all of the sudden my Internet connection is all sorts of slow. Chrome browser, transmission bt, apt-get, all have the same speed issue. I tried disabling IPv6, changing my DNS and installing all the latest updates. Nothing works.
I am running the newest version of Ubuntu on my laptop. The connection randomly seems to massively slow down. After a speed test is run it registers at .05 download and Ubuntu crashes before it gets to upload. I reboot from the crash and it runs fine for a while, then it suddenly does the same thing. The connection is running fine on my Windows 7 desktop, I don't know what is going on. In transmission the upload speeds are running at ~100kbps though. If I try downloading a mere 400kb .torrent file it stops half way through, usually at 200-300kb done, downloading at 1.2kbps the entire time. This is getting very frustrating and I really don't want to go back to Windows.