Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-14 Par sujet François
Le Mon, 13 May 2002 22:17:20 +0200
Francis Allouche [EMAIL PROTECTED] a dit:

  route add -net 127.0.0.0
 
 beastie:/home/francis# route add -net 127.0.0.0
 SIOCADDRT: Argument invalide
 
 Grrr...

Dans les dernières (encore que ça commence à dater) versions, ifconfig
fait la route automatiquement donc pas grave, Emmanuel Lesouef m'a
envoyé un message (me prenant pour toi) suggérant de mettre

auto lo
iface lo inet loopback

dans le fichier /etc/network/interfaces. Essaye, ça devrait créer
l'interface loopback au boot.
Rq: Chez moi, il n'y a pas le auto lo et ça marche qd même mais bon...

FB


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-14 Par sujet Francis Allouche
Le Tue, 14 May 2002 09:04:23 +
François Boisson [EMAIL PROTECTED] a écrit:

 Le Mon, 13 May 2002 22:17:20 +0200
 Francis Allouche [EMAIL PROTECTED] a dit:
 
   route add -net 127.0.0.0
  
  beastie:/home/francis# route add -net 127.0.0.0
  SIOCADDRT: Argument invalide
  
  Grrr...
 
 Dans les dernières (encore que ça commence à dater) versions, ifconfig
 fait la route automatiquement donc pas grave, Emmanuel Lesouef m'a
 envoyé un message (me prenant pour toi) suggérant de mettre
 
 auto lo
 iface lo inet loopback
 
 dans le fichier /etc/network/interfaces. Essaye, ça devrait créer
 l'interface loopback au boot.
 Rq: Chez moi, il n'y a pas le auto lo et ça marche qd même mais bon...

Merci beaucoup pour cette aide. Leafnode fonctionne correctement maintenant 

Francis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet dominique

Qu'est-ce ca dit dans

/etc/hosts

et ifconfig?

Francis Allouche wrote:


Bonsoir à tous,

J'utilise une Debian Woody sur un poste isolé, connecté au net via un modem rtc.

Afin d'économiser mon temps de connexion, je souhaite mettre en place un 
serveur de news local via leafnode. J'ai installé le paquet leafnode, récupéré 
la liste des newsgroups disponibles depuis mon FAI, mais je bute sur la mise en 
place du serveur local. Je ne peux me connecter à mon serveur local :

[EMAIL PROTECTED]:~$ telnet localhost 119
telnet: could not resolve localhost/119: Temporary failure in name resolution

[EMAIL PROTECTED]:~$ telnet Beastie 119
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Network is unreachable

(même chose en tant que 'root' bien sûr...)

Je suis loin d'être familier avec ces questions aussi un petit coup de main 
serait le bienvenue...

Merci.

Francis





--

Dominique Arpin___[espace
gestionnaire réseau  courbe]

 http://www.espacecourbe.com/
 téléphone514.933.9861
 télécopieur  514.933.9546







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet Francis Allouche
Le Mon, 13 May 2002 15:24:03 -0400
dominique [EMAIL PROTECTED] a écrit:

 Qu'est-ce ca dit dans
 
 /etc/hosts

[EMAIL PROTECTED]:~$ cat /etc/hosts
127.0.0.1   beastie

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

 et ifconfig?

beastie:/home/francis# ifconfig 
ppp0  Lien encap:Protocole Point-à-Point  
  inet adr:62.147.148.232  P-t-P:192.168.254.254  Masque:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:1238 errors:0 dropped:0 overruns:0 frame:0
  TX packets:997 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:3 
  RX bytes:1362344 (1.2 MiB)  TX bytes:61117 (59.6 KiB)

Voilà...

Francis



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet Grégoire Cachet
Le lun 13/05/2002 à 21:25, Francis Allouche a écrit :

 [EMAIL PROTECTED]:~$ cat /etc/hosts
 127.0.0.1   beastie

si tu fais un telnet Beastie 119, ca risque pas de marcher ;-)

telnet beastie 119 c'est pas mieux ? (et oui ... la casse !!)

ou bien ajoute ce qu'il faut a ton /etc/hosts

en espérant que ca aide ;-)

grégoire
-- 
Le nombre partage, organise le monde.
Fernand Braudel, Les structures du quotidien


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet Mickaël Villers
On lun 13 Mae 2002 21:41:48, Grégoire Cachet wrote:
 Le lun 13/05/2002 à 21:25, Francis Allouche a écrit :
 
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1   beastie
 
 si tu fais un telnet Beastie 119, ca risque pas de marcher ;-)
 
 telnet beastie 119 c'est pas mieux ? (et oui ... la casse !!)
 
j'ai du créer une entrée coincoin pour faire le test ( coincoin n'est
pas dans mon dns :) ) mais il me semble que tu dis une conn... ( tu serais pas  
le frère de Barthez :) )

 ping coinCoiN
 PING meuble (127.0.0.1): 56 data bytes
 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.1 ms

 ping coincoiN
 PING meuble (127.0.0.1): 56 data bytes
 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.1 ms
 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.1 ms

 bref, la casse m'a pas l'air plus importante que ça (et ça serait
 impensable sur le net ! )


pgpV2Ba1O0CFE.pgp
Description: PGP signature


Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet Sylvain Sauvage
13 May 2002 21:41:48 +0200, Grégoire Cachet a écrit :
 Le lun 13/05/2002 à 21:25, Francis Allouche a écrit :
 
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1   beastie
 
 si tu fais un telnet Beastie 119, ca risque pas de marcher ;-)
 
 telnet beastie 119 c'est pas mieux ? (et oui ... la casse !!)
 
 ou bien ajoute ce qu'il faut a ton /etc/hosts

Ne JAMAIS supprimer localhost du /etc/hosts !!!
À la rigueur, on peut ajouter un alias :

127.0.0.1   localhost   beastie
 
-- 
| Sylvain Sauvage, doctorant/ATER [IAD  SMA]  | bzz?.o:.
|   GREYC -- CNRS UMR 6072, Université de Caen |   ` %^..^___§  o::o::
|   tél://+33 (0)2 31 56 74 31 |   @  (oo)   )  ::o::o
|__ http://www.info.unicaen.fr/~sauvage ___| _`|'___WW¯WW_][__


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet Francis Allouche
Le 13 May 2002 21:41:48 +0200
Grégoire Cachet [EMAIL PROTECTED] a écrit:

 Le lun 13/05/2002 à 21:25, Francis Allouche a écrit :
 
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1   beastie
 
 si tu fais un telnet Beastie 119, ca risque pas de marcher ;-)
 
 telnet beastie 119 c'est pas mieux ? (et oui ... la casse !!)

telnet beastie 119 donne exactement le même résultat.

 ou bien ajoute ce qu'il faut a ton /etc/hosts

C'est-à-dire ? (je sais je suis une truffe...)

Francis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet François
Le 13 May 2002 21:41:48 +0200
Grégoire Cachet [EMAIL PROTECTED] a dit:

 Le lun 13/05/2002 à 21:25, Francis Allouche a écrit :
 
  [EMAIL PROTECTED]:~$ cat /etc/hosts
  127.0.0.1   beastie
 
 si tu fais un telnet Beastie 119, ca risque pas de marcher ;-)

Ben on dirait que si: 
[EMAIL PROTECTED]:~$ telnet Beastie 119
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Network is unreachable

Il a bien vu l'adresse IP. Par contre il n'y a pas de loopback dans le
ifconfig... Voilà la cause à mon avis.

F.Boisson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet François
 beastie:/home/francis# ifconfig 
 ppp0  Lien encap:Protocole Point-à-Point  
   inet adr:62.147.148.232  P-t-P:192.168.254.254 
Masque:255.255.255.255
   UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
   RX packets:1238 errors:0 dropped:0 overruns:0 frame:0
   TX packets:997 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 lg file transmission:3 
   RX bytes:1362344 (1.2 MiB)  TX bytes:61117 (59.6 KiB)
 

tu devrais avoir en plus
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:3924  Metric:1
  RX packets:44 errors:0 dropped:0 overruns:0 frame:0
  TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
ou qque chose d'approchant.
As tu une ligne se référant à l'interface loopback dans
/etc/network/interfaces genre
iface lo inet loopback ?

Sinon essayes brutalement
ifconfig lo 127.0.0.1
route add -net 127.0.0.0

Puis ton ping. Ca devrait marcher.

F.Boisson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: telnet: Unable to connect to remote host: Network is unreachable

2002-05-13 Par sujet Francis Allouche
Le Mon, 13 May 2002 22:10:19 +
François Boisson [EMAIL PROTECTED] a écrit:

  beastie:/home/francis# ifconfig 
  ppp0  Lien encap:Protocole Point-à-Point  
inet adr:62.147.148.232  P-t-P:192.168.254.254 
 Masque:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
RX packets:1238 errors:0 dropped:0 overruns:0 frame:0
TX packets:997 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:3 
RX bytes:1362344 (1.2 MiB)  TX bytes:61117 (59.6 KiB)
  
 
 tu devrais avoir en plus
 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:3924  Metric:1
   RX packets:44 errors:0 dropped:0 overruns:0 frame:0
   TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
 ou qque chose d'approchant.
 As tu une ligne se référant à l'interface loopback dans
 /etc/network/interfaces genre
 iface lo inet loopback ?

[EMAIL PROTECTED]:~$ cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

Et c'est tout...

 Sinon essayes brutalement
 ifconfig lo 127.0.0.1

Bingo : ifconfig lo 127.0.0.1 me permet ensuite d'accéder à localhost et 
d'utiliser mon serveur leafnode :-)

 route add -net 127.0.0.0

beastie:/home/francis# route add -net 127.0.0.0
SIOCADDRT: Argument invalide

Grrr...

Francis 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]