LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2013, 02:38 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
My server isn't reconnecting after losing a connection


I have a web server setup in my living room in the house and it's connected to the router via wireless (Don't start telling me to move it to the router so I can hard wire it in there, nobody wants me to move the computer to another part of the house). There will be times when the wireless interface briefly loses a connection and then attempt to re-connect back and everything will be fine. Lately that hasn't been happening. whenever a connection is lost through the wireless interface it will not attempt to re-connect back to the router until I physically go over to it and tell it to reconnect. I have tried (before someone mentions this because this was the first thing I did) was that I opened network-manager in the gnome interface and went to the wireless tab, selected my connection name and clicked edit. I entered my root password and checked the box that says "connect automatically" and applied the settings. I went to the other side of the house where the router was located and unplugged it for a few seconds so that the machine can lose the connection as an experiment. I plugged the router back into the power and everyone else in the house (Linux and Windows computers alike) connected back to it automatically except for the one in the living room. What is going on here because every conventional method of making sure that it does what I want it to do isn't working.
 
Old 05-03-2013, 04:20 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
The system or the router more than likely believes that the DHCP lease is still active and is such is not attempting to obtain a new DHCP lease from the router.

You note that you don't want people to tell you to hardwire it but thats really the only way to avoid connectivity drops such as this. You could attempt to statically assign an IP on the machine and go into the router and assign the static IP reservation but I have still seen intermittent issues like this pop up with wi-fi connections.


You could start a tcpdump on your interface and log it to a text file so that you can see what is going on when the connection drops.

IF YOU DO THIS MAKE SURE TO CHECK IT OFTEN! This file could get very big very quickly and take up all of your space, if your system is setup correctly and has a separate filesystem for /tmp/ put it there so if it does fill up only /tmp is affected and you will easily be able to rm the file and get your system back.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Connection Constantly Dropping and Reconnecting TheEvilOne6620 Linux - Wireless Networking 1 08-03-2009 01:02 PM
Wireless Connection Constantly Dropping and Reconnecting TheEvilOne6620 Linux - Networking 1 07-26-2009 02:55 AM
losing network connection to linux server aznewbie Linux - Networking 4 10-25-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration