Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Host not found [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Thu Mar 04, 2004 5:52 pm    Post subject: Host not found [RISOLTO] Reply with quote

Ho il solito errore di host not found, ho configurato la connessione adsl e funzionava egregiamente sul cd live. Quando ho riavviato il sistema e installato kde la connessione è saltata.Si connette e poi sia un ping tipo www.google.it oppure ping xxx.xxx.xxx.xxx mi da host not found oppure network is unreachable.
Ho controllato i vari post e applicato ler soluzioni ma nessun miglioramento vi posto

il mio ifconfig

Code:
[color=red]eth0     
 Link encap:Ethernet  HWaddr 00:0D:87:63:2F:19 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:104 errors:0 dropped:0 overruns:0 frame:0 TX packets:73 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6576 (6.4 Kb)  TX bytes:2846 (2.7 Kb)
          Interrupt:23 Base address:0xe000


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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol 
     
inet addr:80.183.12.229  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:160 (160.0 b)  TX bytes:30 (30.0 b)[/color]


E qui c'è il mio resolv.conf

Code:
[color=red]
nameserver 151.99.125.1
nameserver 151.99.0.100[/size][/color]
Sto usando un ip fisso,senza usare dhcp[/size]
Il mio modem è un alcatel speed touch home e come abbonamento ho alice adsl.
Username e password non sono sbagliati e nemmeno c'è un errore in /etc/conf.d/net

Grazie


Last edited by galactus on Sun Mar 07, 2004 10:09 am; edited 3 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Thu Mar 04, 2004 5:54 pm    Post subject: Reply with quote

Hai altri pc? Io ho avuto un problema con win che mi voleva prendere un ip già in uso. Ho risolto mettendo come te uno fisso.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Mar 04, 2004 5:54 pm    Post subject: Re: Host not found Reply with quote

Prova a pingare i dns del tuo provider per vedere se effettivamente la connessione é su,

Per migliorare la leggibilità ti suggerisco di usare il tag "code" ivece di un font microscopico ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Thu Mar 04, 2004 6:08 pm    Post subject: Reply with quote

Ho provato a pingare il dns ma dice
connect: network unrechable

ecco il mio conf.dnet

Code:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp" //ho provato anche ad aggiungere up ma senza risultato
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.100.1"
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Thu Mar 04, 2004 6:21 pm    Post subject: Reply with quote

Ma se usi un ip fisso devi decommentare anche la riga
Code:
gateway="eth0/192.168.0.1"

dove l'ip è quello del tuo modem.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Thu Mar 04, 2004 7:47 pm    Post subject: Reply with quote

Ho provato a decommentare il gateway e l'iop del modem è 10.0.0.138, l'ip fisso del pc è diventato 10.0.0.3.
Il pc ora presenta un rallentamento quando risolve i nomi ma poi nn li trova. Continu a dirmi host not found
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Mar 04, 2004 8:24 pm    Post subject: Reply with quote

posta un:

Code:

route -n


e magari un
Code:

traceroute 66.102.7.104


ciao
Back to top
View user's profile Send private message
blueocean
n00b
n00b


Joined: 03 Oct 2003
Posts: 48
Location: Torino - Italy

PostPosted: Thu Mar 04, 2004 9:48 pm    Post subject: Reply with quote

Ho la tua stessa configurazione, in /etc/conf.d/net devi settare l'ip di eth0 a 10.0.0.1 e netmask 255.255.255.0 la broadcast levala tanto la setta da solo, il gateway levalo e poi riavvia e riprova vedrai che va tutto bene, mi stupisco che ti si connetta anche con quella subnet perchè di solito quel modem è molto schizzinoso e non va se non con la sua 10.0.0.*
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 9:10 am    Post subject: Reply with quote

ecco il route -n

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo


Ho provato pure a mettere lip 10.0.0.1 senza gateway con la subnet 255.255.255.0 ma tutto è uguale come sempre
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Mar 05, 2004 9:39 am    Post subject: Reply with quote

Ma il gateway deve esserci se no come fa ad uscire?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Mar 05, 2004 9:44 am    Post subject: Reply with quote

fedeliallalinea wrote:
Ma il gateway deve esserci se no come fa ad uscire?

Confermo
_________________
Ciao da me!
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 10:13 am    Post subject: Reply with quote

Rimesso il gateway 10.0.0.138 e questo col ping ovviamente nn da errore.Solo che oltre proprio nn ci va,continua con le solite frasi
host not found
network is unrechable
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Mar 05, 2004 10:23 am    Post subject: Reply with quote

Scusa il tuo ip e' 192.168.0.2 giusto? Ma come fa a raggiungere il gateway 10.0.0.138? Metti come ip 10.0.0.2 e vedi se va.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 10:26 am    Post subject: Reply with quote

ma il mio ip è 10.0.0.1
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Fri Mar 05, 2004 10:26 am    Post subject: Reply with quote

diciamo che si sta facendo un po' di confusione!

all'inizio del post eri sulla buona strada.

Come ti ha detto fedeliallalinea lascia tutto su 10.0.0.x
setta quindi il tuo ip come 10.0.0.2

e poi quando si connette posta tutto questo:

route -n
ifconfig

ciao
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Mar 05, 2004 10:28 am    Post subject: Reply with quote

xchris wrote:
diciamo che si sta facendo un po' di confusione!

Parole sante :D .
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 10:29 am    Post subject: Reply with quote

Ma il 192.168.100.1 che ho nel mio route -n da dove salta fuori?????? Nel file conf.d/net nn ho messo un valore simile e nemmeno una subnet 255.255.255.255. Questi valori da dove li va a prendere?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Mar 05, 2004 10:31 am    Post subject: Reply with quote

Posta ifconfig e route -n e poi possiamo dirti. Il file dove sono settate queste cose comunque e' in /etc/conf.d/net .
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 10:46 am    Post subject: Reply with quote

Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:87:63:2F:19 
          inet addr:10.0.0.2  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7203 (7.0 Kb)  TX bytes:5477 (5.3 Kb)
          Interrupt:23 Base address:0xe000

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:80.183.10.177  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:27 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1216 (1.1 Kb)  TX bytes:30 (30.0 b)


Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         10.0.0.138      0.0.0.0         UG    1      0        0 eth0
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Mar 05, 2004 10:51 am    Post subject: Reply with quote

La configurazione di eth0 sembra giusta. Anche con questa configurazione se pinghi ti da lo stesso messaggio?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 11:08 am    Post subject: Reply with quote

Nn ne vuole proprio sapere. L'unica cosa strana che capita quando do una configurazione esatta come questa è che durante il boot del kernel dopo aver attivato

Starting local

il sistema si blocca per qualche secondo e poi mi da la possibilità di fare il login
Poi quando mi connetto con adsl-start e faccio un emerge o un ping la risoluzione dei nomi diviene lenta,l'errore hosto not found me lo da ma senza un'immediatezza naturale
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 11:09 am    Post subject: Reply with quote

l'errore di ping è
ping: unknown host www.google.it
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Mar 05, 2004 11:14 am    Post subject: Reply with quote

galactus wrote:
l'errore di ping è
ping: unknown host www.google.it


Prova a fare il ping con un indirizzo IP:
Code:
#ping 216.239.59.104

_________________
Ciao da me!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Mar 05, 2004 11:22 am    Post subject: Reply with quote

Metti nel resolv.conf
Code:
10.0.0.138

e commenta gli altri.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
galactus
n00b
n00b


Joined: 26 Oct 2003
Posts: 40

PostPosted: Fri Mar 05, 2004 12:09 pm    Post subject: Reply with quote

Ho messo nel resolv.conf

nameserver 10.0.0.138

Ho provato poi a fare il solito ping con l'indirizzo che mi ha dato randomaze. Partono i pacchetti del ping ma ritornano con l'avviso host unreachable
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum