Re: Donner une adresse IP a localhost

2002-05-22 Par sujet Coolman
>En gros, toutes les options du chapitre Networking options --> IP : Netfilter 
>configuration.
>
>Ensuite, man iptables, puis une fois les règles éditées, iptables-save pour 
>créer un fichier, et iptables-restore quelque part au boot pour les retrouver.

Bon, le probleme a ete resolut (ou plutot "cache") en desinstallant le package 
"lprng" et en le remplacant par "lpr". Je n'ai plus de message d'erreur qu boot 
ou quand je cherche a imprimer (mais j'ai un probleme de filtre).

Je me pose donc la question : Est-ce pour cela que apres avoir installer cups 
et taper dans un navigateur : "localhost:631" il me jettait en me disant qu'il 
ne pouvait pas se connecter a localhost ?

Et si j'avais essaye plutot : "amaroli:631" (amaroli etant mon hostname) ca 
aurait marche ?

Je precise que mon kernel est bien configurer du cote des IP... Je ne comprends 
toujours aps ce qui c'est passer...

Merci de votre aide,
Coolman

--
   __
  /  \  / / /  |~Coolman~
 / /\ \/ / /___|  ~www.lebabillard.org~
/_/  \__/__/   | ~DEBIAN GNU/LINUX USER~

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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



Re: Donner une adresse IP a localhost

2002-05-22 Par sujet Jean-Michel OLTRA
On Tuesday 21 May 2002, Jean-Michel OLTRA wrote:
> On Monday 20 May 2002, Coolman wrote:

> > --- localhost ping statistics ---
> > 7 packets transmitted, 0 packets received, 100% packet loss
> > ~~

> > --- amaroli ping statistics ---
> > 7 packets transmitted, 0 packets received, 100% packet loss
> > ~~~

> Le firewall qui empêche le ping ?
également, ce ne pourrait pas être la désactivation dans
/proc/sys/net/ipv4/icmp_ignore_all qui empêche le ping ?

Tu pourrais faire un : cat /proc/sys/net/ipv4/icmp_ignore_all ? 
> -- 
> jean-michel
-- 
jean-michel


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



Re: Donner une adresse IP a localhost

2002-05-21 Par sujet Coulonges Philippe
Le Mardi 21 Mai 2002 21:43, Coolman a écrit :
> >De: Coulonges Philippe <[EMAIL PROTECTED]>

> >> Comment fait-on pour savoir si on a un firewall ?
> >
> >iptables -L
>
> je suis sous woody mais iptables n'etait pas installer. Donc apres l'avoir
> installe, voila ce que donne iptables -L :
>
> iptables~~~
> amaroli:/home/nc# iptables -L
> modprobe: Can't locate module ip_tables
> iptables v1.2.4: can't initialize iptables table ilter': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> amaroli:/home/nc#
> ~~~
>
> Ca sent le kernel tout ca... Je precise que je roule sur un kernel
> crustormiser par mes soins. J'ai l'impression que j'ai du enlever trop
> d'option :D mais lesquelles ? Que dois-je faire ! Help !

En gros, toutes les options du chapitre Networking options --> IP : Netfilter 
configuration.

Ensuite, man iptables, puis une fois les règles éditées, iptables-save pour 
créer un fichier, et iptables-restore quelque part au boot pour les retrouver.

A+
CPHIL

-- 
  @==@
  @==@
@==@


|UL  UL|
|  |
|  |
|  |
|   ---|
|UL |**|



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



Re: Donner une adresse IP a localhost

2002-05-21 Par sujet Coolman
>De: Coulonges Philippe <[EMAIL PROTECTED]>
>Sujet: Re: Donner une adresse IP a localhost
>> >
>> >Certainement une route à ajouter.
>> >envoie nous le resultat de route -n STP
>>
>> Voila mon route -n :
>>
>> ~~~route -n
>> amaroli:/home/nc# route -n
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric RefUse
>> Iface amaroli:/home/nc#
>> ~~~
>>
>> Voila,
>> J'espere que ca pourra aider au schmilblick...
>>
>> PS : Je n'ai pas de connection internet donc je ne pense pas avoir de
>> firewall... En tout cas, je n'en ai pas installer volontairement... Comment
>> fait-on pour savoir si on a un firewall ?
>
>iptables -L
>(ou ipchains si on a une patate).

Voici donc mon ipchains :)

~~ipchains~~~
amaroli:/home/nc# ipchains -L
ipchains: Incompatible with this kernel
amaroli:/home/nc# 
~

je suis sous woody mais iptables n'etait pas installer. Donc apres l'avoir 
installe, voila ce que donne iptables -L :

iptables~~~
amaroli:/home/nc# iptables -L
modprobe: Can't locate module ip_tables
iptables v1.2.4: can't initialize iptables table ilter': iptables who? (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
amaroli:/home/nc# 
~~~

Ca sent le kernel tout ca... Je precise que je roule sur un kernel crustormiser 
par mes soins. J'ai l'impression que j'ai du enlever trop d'option :D mais 
lesquelles ? Que dois-je faire ! Help !

Coolman

--
   __
  /  \  / / /  |~Coolman~
 / /\ \/ / /___|  ~www.lebabillard.org~
/_/  \__/__/   | ~DEBIAN GNU/LINUX USER~

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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



Re: Donner une adresse IP a localhost

2002-05-21 Par sujet Coulonges Philippe
Le Mardi 21 Mai 2002 17:13, Coolman a écrit :
> >Date: Mon, 20 May 2002 15:44:06 -0400
> >A: debian-user-french@lists.debian.org
> >De: marco <[EMAIL PROTECTED]>
> >Sujet: Re: Donner une adresse IP a localhost
> >
> >Certainement une route à ajouter.
> >envoie nous le resultat de route -n STP
>
> Voila mon route -n :
>
> ~~~route -n
> amaroli:/home/nc# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface amaroli:/home/nc#
> ~~~
>
> Voila,
> J'espere que ca pourra aider au schmilblick...
>
> PS : Je n'ai pas de connection internet donc je ne pense pas avoir de
> firewall... En tout cas, je n'en ai pas installer volontairement... Comment
> fait-on pour savoir si on a un firewall ?

iptables -L
(ou ipchains si on a une patate).

A+
CPHIL

-- 
L'évolution de la pensée pré-situationniste entre l'école hégélienne et le 
négativisme de l'infrastructure néo-nietzschéenne a-t-elle, inconsciemment ou 
non, influencé la carrière de Raymond Poulidor ?
-- Pierre Desproges.


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



Re: Donner une adresse IP a localhost

2002-05-21 Par sujet Coolman
>Date: Mon, 20 May 2002 15:44:06 -0400
>A: debian-user-french@lists.debian.org
>De: marco <[EMAIL PROTECTED]>
>Sujet: Re: Donner une adresse IP a localhost
>
>Certainement une route à ajouter.
>envoie nous le resultat de route -n STP

Voila mon route -n :

~~~route -n
amaroli:/home/nc# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
amaroli:/home/nc#
~~~

Voila,
J'espere que ca pourra aider au schmilblick...

PS : Je n'ai pas de connection internet donc je ne pense pas avoir de 
firewall... En tout cas, je n'en ai pas installer volontairement... Comment 
fait-on pour savoir si on a un firewall ?

--
   __
  /  \  / / /  |~Coolman~
 / /\ \/ / /___|  ~www.lebabillard.org~
/_/  \__/__/   | ~DEBIAN GNU/LINUX USER~

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)



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



Re: Donner une adresse IP a localhost

2002-05-21 Par sujet Jean-Michel OLTRA
On Monday 20 May 2002, Coolman wrote:

> --- localhost ping statistics ---
> 7 packets transmitted, 0 packets received, 100% packet loss
> ~~

> --- amaroli ping statistics ---
> 7 packets transmitted, 0 packets received, 100% packet loss
> ~~~

Le firewall qui empêche le ping ?
-- 
jean-michel


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



Re: Donner une adresse IP a localhost

2002-05-20 Par sujet William . famy
lors d'une volonté d'ecommuniquer Alain Tesio <[EMAIL PROTECTED]> 
@ posté son message le Sat, 18 May 2002 00:16:39 +0200

moi j'ai 


doug:/etc/network# cat interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

voila ca te permet de cree l'interface.

Aller A+

>On Fri, 17 May 2002 22:38:33 +0200 (CEST)
>Coolman <[EMAIL PROTECTED]> wrote:
>
>> 
>> Est-ce que vous vouriez me dire comme donner une IP a localhost ? Je pensait 
>> que ca le faisait tout seul... 'faut croire que non et moi, je suis pomme... 
>
>Il faut avoir "127.0.0.1 localhost" dans /etc/hosts
>
>Alain
>
>


-- 
 \\\|///
   \\  - -  //
(  @ @  )
+-oOOo-(_)-oOOo--+
|Famy William[EMAIL PROTECTED]|
+--Oooo--+
   oooO   (   )
  (   )) /
   \ ((_/
\_)


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



Re: Donner une adresse IP a localhost

2002-05-20 Par sujet Coolman
>Date: Mon, 20 May 2002 15:44:06 -0400
>A: debian-user-french@lists.debian.org
>De: marco <[EMAIL PROTECTED]>
>Sujet: Re: Donner une adresse IP a localhost
>
>Certainement une route à ajouter.
>envoie nous le resultat de route -n STP

Salut Marco !

J'envoie ca demain etant donne que je n'ai pas internet sur ma becanne et que 
je suis obliger de faire un transfere par disquette. Merci !

Coolman

--
   __
  /  \  / / /  |~Coolman~
 / /\ \/ / /___|  ~www.lebabillard.org~
/_/  \__/__/   | ~DEBIAN GNU/LINUX USER~

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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



Re: Donner une adresse IP a localhost

2002-05-20 Par sujet marco

Certainement une route à ajouter.
envoie nous le resultat de route -n STP

--
marco


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



Re: Donner une adresse IP a localhost

2002-05-20 Par sujet Coolman
>> Est-ce que vous vouriez me dire comme donner une IP a localhost ? Je pensait 
>> que ca le faisait tout seul... 'faut croire que non et moi, je suis pomme... 
>
>Il faut avoir "127.0.0.1 localhost" dans /etc/hosts

Merci a tous pour vos reponses ! Voila les messages d'erreurs :

Voici le message d'erreur initial :


[EMAIL PROTECTED]:~$ lpr fichier 
Get_local_host: 'localhost' IP address not available!


Avec mon fichier /etc/hosts :

~~/etc/hosts~~
127.0.0.1   amaroli

# 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 mon /etc/network/interfaces:

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



Ping de localhost :


[EMAIL PROTECTED]:~$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote localhost 64 chars, ret=-1

--- localhost ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
~~

Ping de amaroli (c'est mon hostname):

~~
[EMAIL PROTECTED]:~$ ping amaroli
PING amaroli (127.0.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote amaroli 64 chars, ret=-1

--- amaroli ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
~~~

Apres avoir modifier mon /etc/hosts en rajoutant la ligne "127.0.0.1 localhost" 
comme ceci :

~~~
#host2:
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
127.0.0.1 localhost
::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


Le message d'erreur a disparu au boot mais quand j'essai d'imprimer, j'ai ca :


[EMAIL PROTECTED]:~$ lpr fichier
Status Information:
 sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
 connecting to 'localhost', attempt 1
 cannot open connection to localhost - Network is unreachable
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports


Vous y comprenez quelques chose vous ? Parce moi je nage... :(

Comment faut-il modifier /etc/hosts ? Qu'est ce qu'y cloche ?
J'ai l'impression que tout ceci est la base de tous mes soucis (imprimante qui 
n'imprime pas et scanner accessible qu'en root)

J'ai besoin de votre aide...
Merci infiniment,
Coolman

--
   __
  /  \  / / /  |~Coolman~
 / /\ \/ / /___|  ~www.lebabillard.org~
/_/  \__/__/   | ~DEBIAN GNU/LINUX USER~

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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



Re: Donner une adresse IP a localhost

2002-05-17 Par sujet Alain Tesio
On Fri, 17 May 2002 22:38:33 +0200 (CEST)
Coolman <[EMAIL PROTECTED]> wrote:

> 
> Est-ce que vous vouriez me dire comme donner une IP a localhost ? Je pensait 
> que ca le faisait tout seul... 'faut croire que non et moi, je suis pomme... 

Il faut avoir "127.0.0.1 localhost" dans /etc/hosts

Alain


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



Donner une adresse IP a localhost

2002-05-17 Par sujet Coolman
Bonjour,

Que de question en ce moment ;)

J'ai voulu installer mon imprimante 940c grace aux explications d'Olivier 
(merci Olivier! :). J'ai donc installe lprng et tout le toutim, copier les 
fichiers de conf au bon endroit etc...

Je redemarre(au cas ou) et bien m'en pris car lprng me dit (dans le message de 
boot) qu'il n'y a pas d'adresse IP assigne a "localhost".

j'essai quand meme d'imprimer :
$lpr mon_fichier
UNABLE TO IDENTIFY THE IP OF LOCALHOST
(le message est approximatif car je n'ai pas ma becanne sous les yeux...)

Est-ce que vous vouriez me dire comme donner une IP a localhost ? Je pensait 
que ca le faisait tout seul... 'faut croire que non et moi, je suis pomme... 

Merci !
Coolman

--
   __
  /  \  / / /  |~Coolman~
 / /\ \/ / /___|  ~www.lebabillard.org~
/_/  \__/__/   | ~DEBIAN GNU/LINUX USER~

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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