[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re:could not connect to host



Le Jeudi 13 Février 2003 11:56, joel fernandez a écrit :
> Salut,
> 
> d'après ce que j'ai pu lire, tu aurais une carte ethernet.
> si tu te connectes directement sur le web depuis cette
> machine et que ta carte ethernet est active (i.e ifconfig te
> donne ethx), 

ça me donne eth1, eth0 et lo...

> alors effectivement tu n'arriveras pas à te
> connecter.
> En revanche, si tu fais d'abord un ifdown ethx avant de
> lancer ta connexion, tout devrait fonctionner.
> 

j'ai fais un :

# /etc/init.d/networking stop
Deconfiguring network interfaces: done.

afin de stopper ma connection...

puis:

ifdown eth0 (qui est la carte sur laquelle se trouve la connection internet)
et ifdown eth1

puis 

# /etc/init.d/networking start
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces: ifup: interface lo already configured
ifup: interface eth1 already configured
ifup: interface eth0 already configured
done.

ce qui semble remonter les interfaces...

mais lors d'un  :

# host www.google.fr
192.168.1.0 connect : Permission denied
192.168.1.0 connect : Permission denied
Nameserver not responding
www.google.fr A record not found, try again

Pour info: j'utilise le eicon diva adsl.

> @+

à bientot,
merci quand même...

> 
> jo

patrice

--
mon interface :

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

# The loopback interface
auto lo
iface lo inet loopback

#vers internet
auto eth0
iface eth0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

-- 
"Chasteté : vice contre nature" 
    ,.   (   .      )        .      "   
   ("     )  )'     ,'        )  . (`     '`    
 .; )  ' (( (" )    ;(,     ((  (  ;)  "  )"	Léo Campion
 _"., ,._'_.,)_(..,( . )_  _' )_') (. _..( '..



Reply to: