View previous topic :: View next topic |
Author |
Message |
RenfildDust Guru
Joined: 22 Nov 2003 Posts: 321 Location: Reggio Calabria - Catania - Roma
|
Posted: Thu Jan 22, 2004 10:58 am Post subject: Strani problemi di rete locale...[RISOLTO] |
|
|
Questo è l'ouput di ifconfig:
Code: |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:9F:2D:91:60
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:4 Base address:0x1800
eth1 Link encap:Ethernet HWaddr 00:60:4C:17:23:42
inet addr:192.168.60.30 Bcast:192.168.60.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32235 errors:0 dropped:0 overruns:0 frame:0
TX packets:37205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:12772268 (12.1 Mb) TX bytes:14503776 (13.8 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:656 errors:0 dropped:0 overruns:0 frame:0
TX packets:656 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32800 (32.0 Kb) TX bytes:32800 (32.0 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:82.84.35.147 P-t-P:213.205.16.41 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:32159 errors:0 dropped:0 overruns:0 frame:0
TX packets:37128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:12191244 (11.6 Mb) TX bytes:13758959 (13.1 Mb)
|
eht1 è il modem adsl. Il mio dubbio è chi ha assegnato alla scheda di rete (eth0) l'IP 192.168.0.2?
Solitamente (altre distro) lo attivavo io con (per esempio) Code: | #ifconfig eth0 192.168.0.2 netmask 255.255.255.0 |
Il secondo problema è il demonse ssh:
Code: |
#sshd
Could not load host key: /etc/ssh/ssh_host_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disablinbg protocol version 1. Could not load host key
Disablinbg protocol version 2. Could not load host key
sshd: no hostkeys avaible -- exiting.
|
Ho provato a smanettare su i files /etc/ssh/ssh_config e /etc/ssh/ssh_config provando anche a togliere tutto ciò che conteneva keys ed rsa, ma niente... _________________ La generazione di numeri casuali è troppo importante per essere lasciata al caso.
Last edited by RenfildDust on Thu Jan 22, 2004 1:44 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Thu Jan 22, 2004 11:07 am Post subject: Re: Strani problemi di rete locale... |
|
|
RenfildDust wrote: | eht1 è il modem adsl. Il mio dubbio è chi ha assegnato alla scheda di rete (eth0) l'IP 192.168.0.2? |
Forse il file /etc/conf.d/net?
RenfildDust wrote: | Il secondo problema è il demonse ssh:
Ho provato a smanettare su i files /etc/ssh/ssh_config e /etc/ssh/ssh_config provando anche a togliere tutto ciò che conteneva keys ed rsa, ma niente... |
Hai provato a ricreare le key con
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
RenfildDust Guru
Joined: 22 Nov 2003 Posts: 321 Location: Reggio Calabria - Catania - Roma
|
Posted: Thu Jan 22, 2004 11:20 am Post subject: Re: Strani problemi di rete locale... |
|
|
fedeliallalinea wrote: | RenfildDust wrote: | eht1 è il modem adsl. Il mio dubbio è chi ha assegnato alla scheda di rete (eth0) l'IP 192.168.0.2? |
Forse il file /etc/conf.d/net?
|
Mi sa che è statoproprio lui!
Grazie!
Per quanto riguarda sshd, adesso ho provato:
[code]#ssh-keygen -t rsa[code]
Ma il risultato è lo stesso..
(Non ho molta confidenza con ssh.. ) _________________ La generazione di numeri casuali è troppo importante per essere lasciata al caso. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Thu Jan 22, 2004 1:13 pm Post subject: |
|
|
prova a lanciare ssh con
Code: | # /etc/init.d/sshd start |
visto che lanciando esegui soltanto il demone in /usr/sbin/sshd... _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
RenfildDust Guru
Joined: 22 Nov 2003 Posts: 321 Location: Reggio Calabria - Catania - Roma
|
Posted: Thu Jan 22, 2004 1:41 pm Post subject: |
|
|
Peach wrote: | prova a lanciare ssh con
Code: | # /etc/init.d/sshd start |
|
Ottimo suggerimento.. lo script crea le chiavi e tutto il resto.. solo che le ultime due righe di output (e la successiva esecuzione di #/etc/init.d/sshd start ): Code: |
* Starting sshd...
Missing privilege separation directory: /var/empty [ !! ] |
...Aspetta un'attimo.. Provo a creare /var/empty...
Funziona!
Code: |
* Starting sshd... [ ok ] |
Grazie a tutti!!! _________________ La generazione di numeri casuali è troppo importante per essere lasciata al caso. |
|
Back to top |
|
|
|