Internet connection drops every now and then

Issues related to configuring your network
Post Reply
Johnny_K
Posts: 2
Joined: 2008/06/27 09:12:30

Internet connection drops every now and then

Post by Johnny_K » 2008/06/27 09:46:25

Hello!

I have a little problem with my CentOS server.

Some informations about my server:

Intel Celeron 1100 MHz
128 MB RAM
HDD 40 GB
2 LAN cards
CentOS 4.6 Final
WEB Server
Mail Server (Sendmail)

The problem:

It happens from time to time (after 12 hours, 1 day, 2, days, it's really random) that my Internet connection drops. When that happens no connections can be made to or from the outside (internet, mail etc.). My local network works though, and I can access the server from another station.
If I restart the server, then everything it's back to normal, for... some time. Then it happens again.
I don't have anything "fancy" installed on my server, just the usual to work as a simple server.
At first, when CentOS was installed, everything worked smoothly, but after a few months it started doing these problems to me. I'd mention that I didn't install/configure anything before that problem occurred.

I hope that I was clear in my explanations. I'm a beginner with Linux.. so please take me easy. :-)

If u know something about this problem, please give me a little help!

With many thanks in advance!

kentyler
Posts: 161
Joined: 2007/06/20 13:31:05
Location: Northeast Ohio
Contact:

Internet connection drops every now and then

Post by kentyler » 2008/08/12 20:01:01

It sounds like a network issue.

Next time it happens issue the command ifconfig and post the output here.

It may have an ip address that does not renew or has a bad wire which drops the connection allot.

User avatar
AlanBartlett
Forum Moderator
Posts: 9325
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Internet connection drops every now and then

Post by AlanBartlett » 2008/08/13 10:26:32

[quote]128 MB RAM[/quote]
Just a general comment. That's an incredibly small quantity of RAM for a [i]server[/i].

Johnny_K
Posts: 2
Joined: 2008/06/27 09:12:30

Re: Internet connection drops every now and then

Post by Johnny_K » 2008/08/18 08:18:24

@kentyler:

Thank you for your response.
The server dropped the connection today (18.08.2008).
I runned the ifconfig and the output is the following:

[quote]

[root@prefecturahr log]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BF:44:19:BE
inet addr:89.121.21.174 Bcast:89.121.21.175 Mask:255.255.255.252
inet6 addr: fe80::250:bfff:fe44:19be/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:342739 errors:0 dropped:0 overruns:0 frame:0
TX packets:275529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:349703695 (333.5 MiB) TX bytes:119254701 (113.7 MiB)
Interrupt:10 Base address:0xe000

eth1 Link encap:Ethernet HWaddr 00:50:BF:43:EB:B6
inet addr:192.168.80.1 Bcast:192.168.80.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe43:ebb6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:305538 errors:0 dropped:0 overruns:0 frame:0
TX packets:339149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:110589111 (105.4 MiB) TX bytes:351282986 (335.0 MiB)
Interrupt:11 Base address:0xe400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34160 (33.3 KiB) TX bytes:34160 (33.3 KiB)

[root@prefecturahr log]# eth0 Link encap:Ethernet HWaddr 00:50:BF:44:19:BE
inet addr:89.121.21.174 Bcast:89.121.21.175 Mask:255.255.255.252
inet6 addr: fe80::250:bfff:fe44:19be/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:342739 errors:0 dropped:0 overruns:0 frame:0
TX packets:275529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:349703695 (333.5 MiB) TX bytes:119254701 (113.7 MiB)
bash: eth0: command not found
Interrupt:10 Base address:0xe000

eth1 Link encap:Ethernet HWaddr 00:50:BF:43:EB:B6
inet addr:192.168.80.1 Bcast:192.168.80.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe43:ebb6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:305538 errors:0 dropped:0 overruns:0 frame:0
[root@prefecturahr log]# UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
bash: UP: command not found

[/quote]


I noticed one more thing:

I have a computer in our LAN which runs a surveillance camera monitoring software. This software connects (through Internet, over a specific port) with a server that the surveillance cameras are connected to, server that is in another building. About one month ago that computer from our LAN broke. Since then (I think it was 21.07.2008), when I took the computer out of the LAN to get it fixed, until today the Internet connection hasn't dropped (I must say that I didn't connect the computer with the monitoring software to our LAN yet). I don't know if that computer and my Internet connection droppings are somehow related or it's just a coincidence.


@AlanJBartlett

I know it's a small quantity of RAM. :-( I'm planning the replacement of the whole computer.


Thank you both for your responses :)

Post Reply

Return to “CentOS 4 - Networking Support”