View previous topic :: View next topic |
Author |
Message |
robasan n00b
Joined: 07 Dec 2004 Posts: 24 Location: Austin
|
Posted: Mon Dec 27, 2004 5:44 pm Post subject: Emerged Fluxbox and SSH wont work now... |
|
|
Ultra2 Creator (dual 300mhz, 768 Ram, 2 x 73gig hd
Stage3 install with sparc-sources, kernel-2.4.28-sparc-r4 (did not compile kernel with base inputs since it cause it to bomb)
Emerged fluxbox...took hours\
When finished, cannot startx or xterm..
Worse, using Putty, ssh, port 22, with /etc/init.d/sshd started (tried stopping, restarting, etc....top command shows sshd running) I try to connect...terminal flashes on screen just fast enough that I cannot see anything...and BAM! it's gone...
Clueless.
Any help appreciated _________________ The next kernel rev has never addressed the basic problem: my innate incompetence. |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Mon Dec 27, 2004 7:12 pm Post subject: |
|
|
is your network running? with correct ip address? _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
robasan n00b
Joined: 07 Dec 2004 Posts: 24 Location: Austin
|
Posted: Mon Dec 27, 2004 11:57 pm Post subject: Emerged Fluxbox and SSH wont work now... |
|
|
Yes...I can ssh into another box...192.168.1.113 without any problem. Identical machine running same kernel with same options. the .113 box does not have X or any graphical interface on it save what is necessary and installed by emerging link (links2).
I can ping both boxes ...even the ssh-problem child at 192.168.1.115... don't have ipchains or iptables running?
Now, more clueless. _________________ The next kernel rev has never addressed the basic problem: my innate incompetence. |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Tue Dec 28, 2004 12:10 am Post subject: |
|
|
so, what does `netstat -l --inet -n -p` on failing box say? what is in logs? are you able to do `ssh localhost` from failing host "to itself"? _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
robasan n00b
Joined: 07 Dec 2004 Posts: 24 Location: Austin
|
Posted: Tue Dec 28, 2004 5:09 am Post subject: |
|
|
su to root:
netstat -l --inet -n -p gives the following results:
Active internet connections (only servers)
Proto Recv-Q Send-Q Loacal Address Foreign Adddress State PID/Program name
No values are listed at all.
When I type : ssh 192. 168.1.115 results in :
Read from socket failed: Connection reset by peer.
Hope that helps... _________________ The next kernel rev has never addressed the basic problem: my innate incompetence. |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Tue Dec 28, 2004 8:34 am Post subject: |
|
|
and is your network really running? could you post results of `iptables --list`, `ifconfig -a`? _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
robasan n00b
Joined: 07 Dec 2004 Posts: 24 Location: Austin
|
Posted: Tue Dec 28, 2004 3:19 pm Post subject: Listen |
|
|
Thank you for the quick reply...
Here's what I have...
'iptables --list`, `ifconfig -a
iptables --list returns "-bash: ip_tables: command not found"
(tried ip_tables --list .... tried 'iptables--list' and tried 'ip_tables --list')
ifconfig -a returns
eht0: Link encap:E#thernet HWaddr 08:00:20:8F:D1:AD
inet addr:192.168.1.115 Bcaset: 192.168.0.255 Mask:255.255.255.0
inet6 add: fe80::a00:20ff:fe8f:d1ad/64 Scope:Link
UP BROADAst RUNNING MULTIST T150 Metric:1
RX Packets:53636 erors:0 dropped:0 overruns:0 Frame:0
TX packets:27226 erros:0 dropped:0 overruns:0 Carrier:0
collisions: txquelen:1000
RX bytes: 7666761 (75.2 Mb) TX bytes 1810604 (1.7 Mb)
Interupt: 160
lo and sit0 appear to be fine...I'll post if you like...
I am able to go to yahoo by the following:
links2 http://www.yahoo.com
Additionally, I can log into 192.168.1.115 (the problem child)...then ssh into another machine 192.168.1.113 without problem... From the ssh session into .113, I can ping back to .115
On the .115 machine, I typed again:
netstat -l
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:sh *:* LISTEN
One final thing:
on the kernel config options, I compiled all of the encryption choices into the kernel (a noob thing to do I'm sure...)
Any direction you could give is much appreciated... _________________ The next kernel rev has never addressed the basic problem: my innate incompetence. |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Tue Dec 28, 2004 8:03 pm Post subject: |
|
|
Is the ssh keys okay? I mean the ones in /etc/ssh
If not, try to recreate these keys. Of course you need to back up the existing keys first. |
|
Back to top |
|
|
robasan n00b
Joined: 07 Dec 2004 Posts: 24 Location: Austin
|
Posted: Tue Dec 28, 2004 8:54 pm Post subject: |
|
|
I will try...
can you tell me how to recreate the keys?
I'm 2 Noob 2 know...
And the keys are in /etc/ssh/? _________________ The next kernel rev has never addressed the basic problem: my innate incompetence. |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Mon Jan 03, 2005 7:49 pm Post subject: Re: Listen |
|
|
so your network seems to be ok.
Quote: |
Additionally, I can log into 192.168.1.115 (the problem child)...then ssh into another machine 192.168.1.113 without problem... From the ssh session into .113, I can ping back to .115 |
so ssh to .115 works? or do you mean console login?
Quote: |
On the .115 machine, I typed again:
netstat -l
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:sh *:* LISTEN
|
You probably mean "ssh", not only "sh"...
Quote: |
One final thing:
on the kernel config options, I compiled all of the encryption choices into the kernel (a noob thing to do I'm sure...) |
well, you can't damage anything by doing so, but it has nothing to do with ssh. _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
|