LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2005, 10:54 AM   #1
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
ADSL connection drops overnight, wont reconnect


Hi there I have an unusual problem, (I think), regarding my ADSL connection. I will try to give as much background as possible.

First off this is in a corporate environment so I have frustrated users (and boss!) after me.

Here's a diagram of my current setup:

Internet -- adsl modem -- Linux server -- switch -- LAN clients

The ADSL modem is NOT a router. The linux server is an IBM eServer xSeries 335 wtih Linux Mandrake MNF on it (Kernel 2.4.18-8). This server is a firewall (iptables,) router, gateway, DNS server, proxy cache and DHCP server for my Lan clients (mostly Windows XP professional clients).

Now most of the time, everything works great.

However, some mornings I come in to work (about 1 or 2 times per week) and the Internet connection is not working. However all other (internal) network activities do work, like DHCP and network printing.

Logging in to the server and issuing a "adsl-restart" or "adsl-stop/adsl-start" has no effect (the adsl appears to think it is connected fine.) We use to have a hardware router before acquiring this server, and this problem never happened. The only way we have found to get the Internet back on is to reboot the server. Obviously I don't think this is an acceptable solution.

We have tried, restarting squid (no effect), restarting the adsl connection (no effect) and restarting named (no effect). I dont know if this is related, but my MNF operating systems seems to have automatically configured crontab to issue an adsl-reconnect.sh script every five minutes. However this doesn't seem to affect normal browsing.

Any other suggestions are welcome!!!
 
Old 02-01-2005, 07:16 PM   #2
ryanzietlow
LQ Newbie
 
Registered: Oct 2003
Posts: 26

Rep: Reputation: 15
is your asdl modem set as a dhcp server to your linux server? I am running the same setup Internet ----> ASDL Modem ----> LInux Server -----> Switch -----> LAN Clients. My modem has a static internal IP (say 10.0.0.2) and gives eth0 (1st NIC on server) a dynamic ip (somewhere betwen 10.0.0.3-10) then my linux server runs as a dhcp server out of eth1 to the LAN. Anyways not sure if that makes sense or not but I was having the same problem. I would come in and squid would be running, samba would be running but the internet connection would be off for some reason. I finally figured out that the modem was set to lease out the ip to eth0 for a certain time.
Not sure if this will help but maybe give you another avenue to check out?
 
Old 02-02-2005, 08:39 AM   #3
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Hm, interesting.... I have no idea. I know that ppp0 gets an IP dynamically from the ISP, (eth0), however I don't know how to check the modem. It isnt' a router, and doesn't handle DHCP on its own, and I can't log into it.

How did you end up solving your problem?
 
Old 02-11-2005, 09:09 AM   #4
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
I have a wee bit of a breakthrough here.

I've noticed that when the Internet connection seems to go down, the log file entries change from:
Code:
Feb 11 01:25:21 localhost kernel: passed IN=eth1 OUT=ppp0 SRC=192.168.1.121 DST=216.94.XX.Y LEN=40 TOS=0x00 PREC=0x00 TTL=127 ID=36619 DF PROTO=TCP SPT=1134 DPT=110 WINDOW=8255 RES=0x00 ACK URGP=0
to

Code:
Feb 11 01:35:42 localhost kernel: dropped IN=eth1 OUT=ipsec0 SRC=192.168.1.121 DST=216.94.XX.Y LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=38411 DF PROTO=TCP SPT=1135 DPT=110 WINDOW=8192 RES=0x00 SYN URGP=0
What is IPSEC? It seems my iptables rules are dropping it. What would cause it to switch from PPP to IPSEC? It seems to happen randomly after a keep-alive adsl-reconnect.
 
Old 02-14-2005, 12:02 PM   #5
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Anyone?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandriva wi-fi drops connection... shadowmoses Linux - Wireless Networking 1 08-18-2005 02:03 PM
adsl connection drops when port forwarding large files nosbod Linux - Networking 1 07-03-2005 09:05 AM
Internet connection drops how to reconnect a file transfer jspsandhu Linux - Networking 2 06-21-2005 04:43 PM
Can't reconnect internet when connection has lost Mikessu *BSD 1 06-18-2004 06:37 PM
ADSL reconnect - without rebooting Newman_SCO Linux - Newbie 0 07-31-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 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