Linux Newbie help
 help / color / mirror / Atom feed
* Networking issue
@ 2003-01-02  9:36 Adam Luchjenbroers
  2003-01-02 16:38 ` Ray Olszewski
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Luchjenbroers @ 2003-01-02  9:36 UTC (permalink / raw)
  To: linux-newbie


I installed Mandrake 9.0 on a server box I'm putting together, I installed the 
firewall shorewall. Couldn't connect to the ssh server or even ping the box 
(the inability to ping it, I assumed was the result of shorewall).

Reconnected monitor and keyboard to server, server couldn't ping any of the 
other computers (sendmsg not permitted)

So I turned off shorewall and even removed it from startup, can now ping from 
the server to other computers but it cannot be pinged (even ping 127.0.0.1 
doesn't work) or connected to using ssh (sshd is running)

Any idea whats wrong?

-- 
"I had a letter in the post today. It said 'Gas Bill'. It sounds a tempting 
offer" - Alan Cox

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Networking issue
@ 2003-01-03  5:27 Adam Luchjenbroers
  2003-01-03  7:09 ` Ray Olszewski
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Luchjenbroers @ 2003-01-03  5:27 UTC (permalink / raw)
  To: linux-newbie

> 1. What system is gtelnet running on?

Workstation, running mandrake 9.0

> 3. From the Mandrake system, can you ssh to localhost (or to 127.0.0.1)? If
> not, EXACTLY what error does the ssh client report? (If you don't have an
> ssh client installed, see what "telnet localhost 22" does. It should
> display the banner from the sshd daemon.)

Its a very minimal install on the server, it has neither ssh or telnet
 clients

> 4. When gtelnet "then fails", does it display any sort of error message? If
> you are interpreting no response as a failure, how long are you waiting?

I wait until the status display goes from displaying "connected" until it
 goes to "not connected"

tried to connect using the ssh command, got this error

ssh_exchange_identification: Connection closed by remote host

> 5. In the ifconfig output you posted here, there are packet counts for RX
> and TX packets on each interface. After you try and fail to ssh from the
> wworkstation to the server, are the server's eth0 packet counts higher? If
> ssh'ing to localhost on the server also fails, the same question for its lo
> interface.

RX/TX values do increase.

> 6. I'm assuming you are running sshd as a daemon and not through inetd. But
> let's check the basics here. So ...
>
>          A. If you do a "ps ax | grep ssh", does sshd show up on the
> process list?

yes

>          B. If you do a "netstat -nl", does port 22 show up on the list? It
> will be a line something like this:
>          tcp        0      0 0.0.0.0:22              0.0.0.0:*   LISTEN

yes

> 7. After a failure, does sshd log anything? I'm not sure how Mandrake keeps
> its logs, but something like this should work (as root):
>
>          grep sshd /var/log/*

log files are stored there, but can't tell which one belongs to ssh

> 8. Finally, do you have anything in your configuration that blocks ssh
> connects from this workstation? Are there any relevant entries in
> /etc/hosts.deny?

no

> There are probably more things to check, but this set is a good start.

On another note, I corrected the system clock on tthe server (it thought it
was 1998) now one of my user accounts has expired, how do I reactiveate it.

--
"You can bring any calculator you like to the midterm, as long as it doesn't
dim the lights when you turn it on." - Hepler, Systems Design 182

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-01-05 14:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-02  9:36 Networking issue Adam Luchjenbroers
2003-01-02 16:38 ` Ray Olszewski
2003-01-03  3:15   ` Adam Luchjenbroers
2003-01-03  4:24     ` Ray Olszewski
2003-01-03 18:58       ` glenn
2003-01-05 14:33         ` Adam Luchjenbroers
  -- strict thread matches above, loose matches on Subject: below --
2003-01-03  5:27 Adam Luchjenbroers
2003-01-03  7:09 ` Ray Olszewski
2003-01-03 11:31   ` Adam Luchjenbroers
2003-01-03 16:20     ` Ray Olszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox