Losing connection to specific servers until reboot
I have had a networking problem off and on for several years. I could never figure it out before, partly because I saw the problem on only one machine, so there was not much to compare. Now I'm seeing the problem on multiple machines, so it's worth coming back to it.
The problem: Periodically, I lose connection with specific servers. This happens most often with IMAP/SMTP connections to e-mail, but sometimes it happens with specific websites. When this happens, rebooting clears the problem immediately. But, rebooting is a disruption to workflow and I would prefer to avoid it as much as possible. Observations:
Does anybody have any ideas? Even random neural firings? The preponderance of evidence points to some bad data lingering in RAM until a reboot purges it. But when I've asked this question before, I've been told that that's not possible. Well, something is causing this... Thanks, James |
I am thinking you are using a SOHO router.switch combo your ISP has given you yes?
It sounds to me like a bad SOHO router to me, do you lose conectivity from computer to computer if you plug computer A directly into computer B? if not, i would put my money on a bad switch/router. |
Quote:
Computer-to-computer is a rough test because the issue is sporadic. After a reboot, the network is fine for a day or two, or sometimes longer... but when it breaks, it's done. I can't realistically take my computer off the network and leave it hard-connected to another computer for a few days. One test I haven't tried is to wait for the issue to happen again, then cycle power on the router. Another possible test is to disable wifi using F8, and then re-enable it. (IIUC, this should reset the wifi kernel module.) James |
reboot of what helps you to solve this issue? I think - probably - sometimes the router is out of resources, but ...
You can try - instead of rebooting a linux - just remove the wifi kernel module and reload it. |
Well, the problem just happened again. So here are the tests I performed.
1. Switch off WiFi using the XF86WLAN key*, and then switch it back on. In my e-mail client (wanderlust in Emacs 24), cycle alt-T to kill any open connection processes so that the next request will start with a fresh connection. * Someone told me on another forum that disabling WiFi this way would remove the WiFi kernel module, and toggling it back on would restart that module. If that was correct, then the conclusion is valid. If not, could someone tell me the name of the proprietary Broadcomm kernel module? Result: No connection. Conclusion: If the kernel module was successfully reset, then the problem has nothing to do with the kernel module. 2. Quit Emacs, relaunch and restart wanderlust. Result: No connection. Conclusion: The problem is not a bug in wanderlust. 3. Quit all applications, log out and log back in (without rebooting the machine). Then relaunch wanderlust and try e-mail again. Result: No connection. Conclusion: The problem persists through shell sessions. 4. Cycle power on the WiFi router, reset wanderlust's connection and try again. Result: No connection. Conclusion: The problem seems not to be in the router. Note also that my phone, connected to the same WiFi router, has no problem accessing the IMAP server. As I'm writing this, only my computer is unable to connect. Which leaves the observation from my first post -- some information, somewhere in my computer, seems to be stale and the only way to clear it is to reboot. It's hard to imagine how it could be a router or ISP problem, because other devices on the same WiFi router have no problem connecting to an IMAP server that my computer simply can't. So, now I'm going to reboot my machine so that I can send one e-mail. Just... one... e-mail... and I have to friggen' reboot??? I do appreciate the advice so far. I hope someone has some other ideas, as this is really quite frustrating -- something that really quite obviously should not happen, but this has been going on for four years. Thanks in advance -- James |
Update on the last message: After reboot, the initial connection failed, but I retried the connection (without a second reboot) and everything worked.
So, to recap: Other devices on the same wifi router, not affected. Nothing on my laptop fixes the problem except rebooting. What could cause that? James |
you can try lsmod before and after "Switch off WiFi using the XF86WLAN key", and you will see if there was a missing/removed kernel module.
As far as I see the "switch on" was not successful - you can check lsmod again, and also ifconfig. |
All times are GMT -5. The time now is 10:10 PM. |