LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-04-2007, 06:42 AM   #1
Astarath
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
Angry eth0 going down (connection reset by peer, then connection refused)


I have a fresh install of slack 12.0 on a box on my lan, however from time to time, just like a woman, it ignores everything except ping packets if ping packets are the ipv4 equivalent of poking.

If I am ssh'd into the box I will recieve a connection reset by peer error (or browsing a mounted directory via samba), and after that about 5-10 minutes of "connection refused".

At first I thought it was because ipv6 and ipv4 were conflicting in attempting to control listen ports bound to 0.0.0.0, so I made ssh and samba use specific ipv4 IP addresses - that didn't seem to help.

There is only one network card in this box.

I am not experiencing the same problem on a fresh install of slack 10.2 on a different box (192.168.0.10 for those that are curious)

Anyway, here's the ifconfig info of the box in question

root@isfrael:/media1# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0D:88:58:80:5F
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32851 errors:0 dropped:0 overruns:0 frame:0
TX packets:45623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3216037 (3.0 MiB) TX bytes:53239167 (50.7 MiB)
Interrupt:20

and if I ssh from the slack 10.2 box and i'm disconnected, here's the error message pertaining to what I'm talking about

root@isfrael:/media1# Read from remote host 192.168.0.11: Connection reset by peer
Connection to 192.168.0.11 closed.
omega@azhure:~$ ssh 192.168.0.11
ssh: connect to host 192.168.0.11 port 22: Connection refused
omega@azhure:~$


If there's any kind of logs I should be looking at (dmesg, /var/log/syslog and /var/log/messages don't tell me anything useful as far as I can tell) then I am more than happy to provide them.

Also note that during this time the box cheerfully responds to pings, unlike a woman (they tend to poke you back or hit you in my experience, quite uncheerfully)

oh, and i tried the ServerKeepAlive option in ssh_config, doesn't do much except keep ghost connections alive. For instance:-

root 3049 0.0 0.1 6400 1928 ? Ss 07:25 0:00 sshd: omega [priv]
omega 3051 0.0 0.1 6400 1216 ? S 07:25 0:00 sshd: omega@pts/0
omega 3052 0.0 0.1 3524 1984 pts/0 Ss 07:25 0:00 -bash
root 3065 0.0 0.1 3020 1704 pts/0 S+ 07:27 0:00 bash
root 3128 0.7 0.0 0 0 ? S 07:41 0:33 [pdflush]
root 3130 0.6 0.0 0 0 ? S 07:45 0:31 [pdflush]
root 3157 0.0 0.1 6400 1932 ? Ss 08:07 0:00 sshd: omega [priv]
omega 3159 0.0 0.1 6400 1220 ? S 08:07 0:00 sshd: omega@pts/1
omega 3160 0.0 0.1 3520 1976 pts/1 Ss 08:07 0:00 -bash
root 3179 0.0 0.1 3024 1708 pts/1 S+ 08:10 0:00 bash
root 3185 0.0 0.1 3820 1080 ? Ss 08:11 0:00 /usr/sbin/sshd
root 3211 0.0 0.1 6404 1928 ? Ss 08:56 0:00 sshd: omega [priv]
omega 3213 0.0 0.1 6404 1220 ? S 08:56 0:00 sshd: omega@pts/2
omega 3214 0.0 0.1 3516 1940 pts/2 Ss 08:56 0:00 -bash

root@isfrael:/media1# who
omega pts/0 2003-05-16 07:25 (192.168.0.10)
omega pts/1 2003-05-16 08:07 (192.168.0.10)
omega pts/2 2003-05-16 08:56 (192.168.0.10)

Last edited by Astarath; 09-04-2007 at 07:11 AM.
 
Old 09-05-2007, 05:14 AM   #2
Astarath
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Turns out someone had changed their IP and hadn't told me. Thanks, dude. Thanks for the ip conflict.

The way I found out was this command:

arp -a

on a different box during the downtime and during the uptime. The MAC address for the conflicted IP changed.

Last edited by Astarath; 09-05-2007 at 05:17 AM.
 
  


Reply

Tags
connection, eth0, networking, peer, refused


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection reset by peer manojg Linux - Networking 6 11-29-2008 12:43 AM
Connection reset by peer: why? stupendus Linux - Software 5 08-07-2007 12:50 AM
Connection reset by peer tkt Linux - Newbie 1 06-22-2005 10:48 AM
Connection reset by peer mijohnst Linux - Networking 7 07-14-2004 11:14 AM
Connection reset by peer digimike Linux - Networking 0 06-18-2003 10:53 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration