PDA

View Full Version : mandriva webserver e problema rete


Alexxio
01-06-2009, 21:35
ciao raga, oggi stavo pulendo un po' di cose dal mio webserver e devo aver cancellato qlcs che serviva a far funzionare la rete..difatti la situazione è questa:
#ifconfig eth0 mi dà il giusto ip
#ifup mi ritorna senza dir niente
#route add default gw xxx.xxx lo stesso
#ping xxxx (router) invece dice unreachable..

in pratica dopo aver liberato un po' di spazio ho riavviato, e difatti il pc si è effettivamente restartato, però senza poter andare in rete..e questo è un bel casino perchè la macchina in questione è in remoto e purtroppo chi può metterci su le mani non potrà mai aiutarmi se non gli dico io i comandi da fare..

c'è qualcuno che abbia un'idea di cosa posso fare per ripristinare? è strano perchè i comandi base della rete sono quelli ma il ping anke interno non raggiunge il gw..
in attesa di vedere un dmesg o un /var/log/messages non so che fare..

dennyv
02-06-2009, 13:35
Perchè dai ifup? ifup va a pescare i dati dai file di configurazione e non è detto che siano ok... (in pratica ti sovrascrive il primo ifconfig)

La sequenza migliore, perché "tutta manuale" è:
ifconfig eth0 xxx.xxx.xxx.xxx up
route add default gw xxx.xxx.xxx.yyy
ping xxx.xxx.xxx.yyy


Il firewall è apposto?

Prova a fare un flush e stopparlo.

Poi un bel dmesg ti aiuta di certo...

Alexxio
02-06-2009, 15:02
eh si è vero, però tanto c'è l'ip statico quindi in effetti non fa niente..
che fa flush?
devo riuscire a prendere il dmesg solo che lo devo far mettere su una chiavetta..

dennyv
02-06-2009, 15:38
Lo "svuoti" e resetti:

iptables -F
iptables -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT

Alexxio
02-06-2009, 16:49
ah no scusa avevo dato per scontato che il firewall non c'è e non l'ho detto..

Alexxio
03-06-2009, 19:54
secondo voi è uno di questi?
Jun 1 11:32:29 localhost perl: [RPM] kboincmgr-0.3.0-4mdv2009.0 removed
Jun 1 11:32:31 localhost perl: [RPM] libkdeui5-4.2.2-26mdv2009.1 removed
Jun 1 11:32:41 localhost perl: [RPM] libkdecore4-3.5.10-11mdv2009.1 removed
Jun 1 11:32:43 localhost perl: [RPM] qt4-style-iaora-0.2.1.1-1mdv2009.1 removed
Jun 1 11:32:44 localhost perl: [RPM] kde4-style-iaora-0.2.1.1-1mdv2009.1 removed
Jun 1 11:32:46 localhost perl: [RPM] plasma-desktoptheme-aya-4.2.2-2mdv2009.1 removed
Jun 1 11:32:47 localhost perl: [RPM] libkunittest4-4.2.2-26mdv2009.1 removed
Jun 1 11:32:48 localhost perl: [RPM] libkntlm4-4.2.2-26mdv2009.1 removed
Jun 1 11:32:50 localhost perl: [RPM] libktexteditor4-4.2.2-26mdv2009.1 removed
Jun 1 11:32:51 localhost perl: [RPM] libkfile4-4.2.2-26mdv2009.1 removed
Jun 1 11:32:52 localhost perl: [RPM] libkio5-4.2.2-26mdv2009.1 removed
Jun 1 11:32:57 localhost perl: [RPM] mandriva-kde4-config-common-2009.1-23mdv2009.1 removed
Jun 1 11:33:33 localhost perl: [RPM] kdelibs3-common-3.5.10-11mdv2009.1 removed
Jun 1 11:33:34 localhost perl: [RPM] free-kde4-config-2009.1-23mdv2009.1 removed
Jun 1 11:33:36 localhost perl: [RPM] libkparts4-4.2.2-26mdv2009.1 removed
Jun 1 11:33:37 localhost perl: [RPM] libkjsembed4-4.2.2-26mdv2009.1 removed
Jun 1 11:33:37 localhost perl: [RPM] kde4-style-iaora-common-0.2.1.1-1mdv2009.1 removed
Jun 1 11:33:39 localhost perl: [RPM] free-kde-config-2009.0-8.1mdv2009.0 removed
Jun 1 11:33:40 localhost perl: [RPM] libkrosscore4-4.2.2-26mdv2009.1 removed
Jun 1 11:33:41 localhost perl: [RPM] libkhtml5-4.2.2-26mdv2009.1 removed
Jun 1 11:33:43 localhost perl: [RPM] libkdecore5-4.2.2-26mdv2009.1 removed
Jun 1 11:34:07 localhost perl: [RPM] kde4-l10n-it-4.2.2-1mdv2009.1 removed
Jun 1 11:34:08 localhost perl: [RPM] libkutils4-4.2.2-26mdv2009.1 removed
Jun 1 11:34:27 localhost perl: [RPM] kdelibs4-core-4.2.2-26mdv2009.1 removed
Jun 1 11:34:28 localhost perl: [RPM] libkdecorations4-4.2.2-18mdv2009.1 removed